Closed gberche-orange closed 4 years ago
See https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#body-4
a Service Broker that wishes to return dashboard_url for a Service Instance MUST return it with the initial response to the provision request, even if the service is provisioned asynchronously. If present, MUST be a string or null.
Asked clarification about behavior of GET /v2/service_instances/:instance_id
w.r.t. dashboard_url returned in https://github.com/openservicebrokerapi/servicebroker/issues/498#issuecomment-507330920
Possible next steps:
Option 1: return inner broker dashboard in GET /v2/service_instances/:instance_id
1- have provisionning response return an initial (fake) dashboard url
https://shield-webui-m_8b04f44b-ae11-4a94-8dda-1d54fc1b1ce1.((/secrets/cloudfoundry_ops_domain))
i.e. configured as https://shield-webui-{0}.my-redactedt-ops-domain.com
where {0} is the service instance guid.2- implement the GET /v2/service_instances/:instance_id
and return instances_retrievable
in catalog service offering object
GET /v2/service_instances/:instance_id
endpointcoab-depls/c_0a9018b8-7cb2-47c1-9542-0aceb8ca740a/template/
coab-vars.yml
: currently holds CSIReq (as to share logic with Fetching a Service Instance
endpoint)coab-inner-cisresp.yml
coab-depls/c_0a9018b8-7cb2-47c1-9542-0aceb8ca740a/coab-inner-cisr.yml
(along with manifest file written by coa and watched by coab)Limitations of this design:
instances_retrievable
in version v54.0 from June 14th 2019, see https://github.com/pivotal-cf/cf-rabbitmq-multitenant-broker-release/search?q=instances_retrievable&unscoped_q=instances_retrievableLikely blocked by CC conformance, see https://github.com/cloudfoundry/cloud_controller_ng/issues/1390
Option 2: Return a dashboard URL served by COAB whose body response content includes a link to the dashboard URL of the inner broker
coab-depls/c_0a9018b8-7cb2-47c1-9542-0aceb8ca740a/template/
coab-vars.yml
: currently holds CSIReq (as to share logic with Fetching a Service Instance
endpoint)coab-inner-cisresp.yml
coab-depls/c_0a9018b8-7cb2-47c1-9542-0aceb8ca740a/coab-inner-cisr.yml
(along with manifest file written by coa and watched by coab)/dashboards/{service-instance-guids)/
which returns HTML or Json with a list of dashboards
In step 2, project this COAB dashboard with SSO
Option 3: return dashboard url template expanded from service instance guid
https://shield-webui-m_8b04f44b-ae11-4a94-8dda-1d54fc1b1ce1.((/secrets/cloudfoundry_ops_domain)) i.e. configured as https://shield-webui-{0}.my-redactedt-ops-domain.com where {0} is the service instance guid.
Ability to include brokered service guid (planned in https://github.com/orange-cloudfoundry/osb-cmdb/issues/15), or more generically Xpath expression to coab-vars.yml would enable to return a dashboard url for the cmdb users
As a service author, I need dashboard returned by nested brokers to be returned to end users. I'm ok to handle authentication for the dashboard (e.g. https url with basic auth credentials in the url) and have it shared among users.
Out of scope: