I have to work on a Bluemix environment without ACE. It means that I don't have a website like ace.ng.bluemix.net but I can only use the cf tool of Cloud Foundry to communicate with the APIs of Bluemix and Cloud Foundry.
Now, I want to use a particular service on this Bluemix system. When creating an instance of this service, a dashboard for the created service instance is generated and the URL is returned by the Service Broker. My question is: How can I retrieve the URL of the dashboard?
Remark: The dashboard does not use SSO. The URL is sufficient the access the dashboard.
Answer by nsharma (166) | Aug 25, 2014 at 08:29 AM
use commandline tool (cf.exe) install the tool from https://www.ng.bluemix.net/docs/#starters/BuildingWeb.html#install_cf and login via cf tool set the flag CF_TRACE=true and then print env for the application
$CF_TRACE=true $cf env my_test_application
or set env and run command together $CF_TRACE=true cf env my_test_application
every property associated with the application will be printed.
in case you do not have application associated with your service, use following command
$CF_TRACE=true cf service my_test_service
[NOTE: my_test_application and my_test_service are example names of application and service]
Thanks, it worked well:
export CF_TRACE=true
cf service demo-service | grep dashboard