...
Your repository name should be of the format <component_prefix>-<component_id>
, where component_prefix
may only include alphanumeric characters and underscores. It must begin with a letter and cannot have '_' as the last character. Similarly, your component_id
should only include letters and underscore. For example, if you are building a component for Predictive Maintenance, your repository name can be pm-PredictiveMaintenance
.
Note |
---|
Both component_prefix and component_id must be unique in order to prevent conflicts with other components. |
Warning |
---|
We are required to name the GitHub repository in this specific format because it enables us to integrate multiple components into the IA system. Each component repository includes predefined action services, as detailed in step 2. Without a unique prefix for these action services, the component cannot be added, as the IA system will attempt to register services with identical names, resulting in conflicts. |
...
Component Action Service | Caller | Description |
---|---|---|
| This service is called when a component is created through the UI ( added to an asset type )through the Intelligent Assets user interface, and only called if no other instances of that component exist yet in the system. It is called as a developer and creates new ClearBlade resources if required. Most of the resources will be a part of the IPM itself, but you will need to use this in the event you want to use secrets to create external dbs, bucket sets, etc., or to setup any other external entities. | |
| This service is called every time a component is created through the UI ( added to an asset type )through the Intelligent Assets user interface. It can interacts with IPM/IA resources to create entities such as collection rows, publish messages to IA services, add data to IA collections, etc. | |
| This service is called in the event a user updates an existing instance of a component through the UIIntelligent Assets user interface. It interacts with IPM/IA resources to update any entities such as collection rows, etc. | |
| This service is called everytime an existing instance of a component is deleted through the UI ( removed from an asset type )in the Intelligent Assets user interface. It should delete any entities created by the corresponding | |
| This service is called if a component is deleted through the UI ( removed from an asset type )in the Intelligent Assets user interface, and if after deletion removal no other instances of that component would be present in the system. It is called as a developer and should clean up anything that was created by the corresponding |
...