| What Add a new command to the CLI to get integrations for provisioned services within the namespace. If the command already exists. Review the command and ensure it is properly unit tested.
oc plugin mobile get integrations |
This command should look at the service instances provisioned, for each of these it should look at the ClusterServiceClass and pull out the integrations list. It should then look for any serviceinstances that have the label
If there is none then the integration is not available If there is one we should check for a binding between that serviceinstance and the integration service instance. This can be done by checking the consumer and provider labels on the binding. If there is no binding then the integration is available but not enabled. If there is a binding then the integration is enabled |