...
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
UI Integration
SDC need needs to onboard plugins in a way that will be decoupled from the SDC UI implication.
...
before you can integrate with SDC you will need to add our pubsub librery in to your aplicationapplication.
SDC will expose a base class in JS as part of the SDC UI project. Any plugin will be able to communicate with SDC after they instantiate this class.
...
Info | ||||
---|---|---|---|---|
| ||||
Loading It UpCommonJS
Global Variable
|
Plugin registration
SDC will expose a base class in JS as part of the SDC UI project. Any plugin will be able to communicate with SDC after they instantiate this class.
...
BasePubSub API
Base class holding all the basic operations needed for using the event hub.
...
Info | ||
---|---|---|
| ||
{ type: WINDOW_OUT origionorigin: "sdc-hub" data: } |
Version change
...
event example
Info | ||
---|---|---|
| ||
{ type: VERSION_CHANGE origion origin: "sdc-hub" data:{ uuid: a21af8a1daa948f78e30f9b269a253ba , version:1.1 } } |
Check in
...
event example
Info | ||
---|---|---|
| ||
{ type: CHECK_IN origion origin: "sdc-hub" data: } |
Submit for testing
...
event example
Info | ||
---|---|---|
| ||
{ type: SUBMIT_FOR_TESTING origion origin: "sdc-hub" data: } |
Undo check out
...
event example
Info | ||
---|---|---|
| ||
{ type: SUBMIT_FOR_TESTING origion origin: "sdc-hub" data: { uuid: a21af8a1daa948f78e30f9b269a253ba , version:1.1 } } |
...
Name | Type | Description |
Ready | READY | The event is posted by the plugin once it is ready. |
Action completed | ACTION_COMPLETED | The event is sent by the plugin after receiving an event from SDC that the plugin added to notify the event passed to the plugin has be completed and SDC can continue the eventsToWait list in order to notify SDC to continue with its flow. |
Ready event example
Info | ||
---|---|---|
| ||
{ type: READY origionorigin: plugin"pluginName" data: } |
Action completed event example
...
Info | ||
---|---|---|
| ||
{ type: ACTION_COMPLETED origionorigin: plugin"pluginName" data: } |
Security TBD
Need to add solution for the iframe authorization and authentication.
...