ServiceInstanceConfiguration
The ServiceInstanceConfiguration object is the holder of all instance specific configuration values. The connector is initialized with a ServiceInstanceConfiguration instance that contains all the properties configured for this instance. The list of properties available is dependent on the property types declared in the service metadata.
public class ServiceInstanceConfiguration { /* Returns the Service UUID */ public String getServiceUUID(); /* Returns the Service Instance UUID */ public String getInstanceUUID(); /* Returns the map of property name id and Instance Property */ public Map<String, ServiceInstanceProperty> getInstanceProperties(); } public class ServiceInstanceProperty { /* Returns the type of property */ public String getType(); /* Returns whether the property is encrypted or not */ public Boolean isEncrypted(); /* Returns the value of property */ public Object getValue(); /* Returns the validation string for the property */ public String getValidation(); }
When the operator configures a service instance, CPBM will request the operator to configure the set of properties required for that service instance. These properties can be managed in the CPBM configuration UI. Once initialized, any changes to these configurations are NOT reflected in the running instance. Therefore, CPBM will have to be restarted when a service instance is reconfigured. Further, once configured to point to a particular service instance, changes to configuration cannot modify the target instance. This is due to the fact that CPBM has handles and references to resources in that service instance and will fail if those handles and references are no longer valid.
Comments