Implementing the Catalog 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 Catalog 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).
Service Catalog Import
Capability:
com.bmc.dsm.catalog:catalogProvider
The catalog import SPI allows BMC Digital Workplace Catalog to import services i.e. catalog items or requestable offerings from external sources that support similar concepts.
| |
---|---|
List summaries of all importable services for a connection instance. | |
request |
|
response |
|
| |
---|---|
Fetches the localized details of the specified service on a connection instance. Each locale will have one version of the service details included in the "services" property of the response. In general, it is called by BMC Digital Workplace some time after listing the service summaries. The default localization (locale = null) is a localization that will be used when no more specific locale can be matched by BMC Digital Workplace Catalog. Unsupported locales are ignored. | |
request |
|
response |
|
| |
---|---|
Fetches the bytes of a specified content. A "content" is anything binary and associated with some other concept, like, for instance, a service logo. The "uri" parameter acts as a key for the content and should be constructed in a way that allows this end-point to find the content. You might have to use prefixes, paths, etc in order to concatenate information like so: | |
request |
|
response | The binary payload of the content accompanied by an appropriate "Content-Type" header. This end-point is an exception in the general request/response pattern of the remote connector SPI. |
Comments
Log in or register to comment.