To create an instance of the Views service, proceed as follows:
- Sign in to your GE Predix account and open GE's Predix catalog, using this link: http://predix.io/catalog/services.
- Select the Views service.
- Select a plan and click Subscribe.
- Fill in the form and click Create Service.
- Bind the service instance to the previously deployed web app:
cf bind-service ui predix-views-service-instance
- To get the endpoint URL of the Views service, run this command:
cf env ui
The command will return the following response in JSON:
{ "VCAP_SERVICES": { "predix-views": [ { "credentials": { "instanceId": "b3e07566-273f-4d1e-85ce-a5d4b2632a27", "uri": "https://predix-views.run.aws-usw02-pr.ice.predix.io"... ...