Implementing the Asset Service Provider Interface
Tip
Click here to download the JSON (JavaScript Object Notation) snippets included in these topics, and customize them to use according to your requirements.
The Asset SPI is a subset of the remote connector SPIs that a connector can implement to support business features of BMC Digital Workplace Catalog beside the initial handshakes (descriptors, health checks) and actions (because each action is, in a way, specific to its connector).
Assets
Capability:
com.bmc.dsm.catalog:assetProvider
The asset SPI enables BMC Digital Workplace Catalog to expose assets specific to a connection to end-users within their "My Stuff" area.
Asset Actions also known as "Day-2 Actions"
Asset actions exposed by connectors are simple actions that can be performed on the associated assets. This kind of actions have to be simple enough to not require any input from users.
Any more sophisticated action on My Stuff items should be authored through the "Service Action" functionality of BMC Digital Workplace Catalog.
Asset SPI
| |
---|---|
Lists the assets associated with the specified user. Note that it is acceptable (but not mandatory) to expose assets that are still being provisioned as long as they have a "pending" status type. If the provisioning fails, the asset should eventually disappear from this list. The same goes for deprovisioned assets. | |
request |
|
response |
|
| |
---|---|
Returns the details of one specific asset. | |
request |
|
response | The structure of the asset objects is the same as for the
|
| |
---|---|
Executes the specified asset action. | |
request |
|
response |
|
Comments
Log in or register to comment.