-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CF update-service has no option to update dashboard URL #995
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/152878973 The labels on this github issue will be updated when the story is started. |
The dashboard url is a field that is managed by the broker and not by users. It is not intended for a user to update this field, since this could cause it to no longer match what the broker is expecting to present a management interface. When you run |
@zrob : We tried sending a value for dashboard_url attribute in the response body , but see that the cloud controller code does not have any hook to update the value of dashboard_url and the value never gets updated . Hook only present in create -
No hook to update the value in update method - cloud_controller_ng/lib/services/service_brokers/v2/client.rb Lines 185 to 231 in 11be238
Can you please confirm this understanding ? |
The service broker api recently merged a change to allow this here openservicebrokerapi/servicebroker#437 Pinging the SAPI team about plans to add support @mattmcneeney |
@zrob : Thanks for the update ! We actually made a workaround recently in our broker to handle the flow in update case as well - cloudfoundry/service-fabrik-broker#277 . However it will be great if platform handles this as we can avoid additional calls to CC !! @mattmcneeney : please let us ETA once this item gets picked up implementation. |
Hey @kamath-prasad |
Another request for this: https://cloudfoundry.slack.com/archives/C07C04W4Q/p1528394325000440 |
@kamath-prasad This has now been merged in CloudController, it should make it into a CAPI release shortly. |
Thanks for submitting an issue to
cloud_controller_ng
. We are always trying to improve! To help us, please fill out the following template.Issue
"cf update-service" does not provide any option to update the dashboard URL
Context
Currently we use the dashboard_url parameter (https://apidocs.cloudfoundry.org/272/service_instances/creating_a_service_instance.html) to set the service instance dashboard URL while creating a new service instance .
We provide the instance id , plan id and other needed details in the URL that can be used to render the details in the dashboard. The dashboard is rendered by the custom code in the service broker.
When the instance plan gets updated via "cf update-service" , we see that the dashboard url remains unchanged since there is no option to update the value for dashboard_url . This leads to incorrect rendering of details in the instance dashboard.
Steps to Reproduce
Expected result
update of the same instance should have an option to take in updated value for dashboard_url.
Current result
update of the same instance does not have an option to take in updated value for dashboard_url.
Possible Fix
Enhanced the update service code to provide an option to read the dashboard_url from the response body of broker and keep updating the value of dashboard_url that is set during instance provisioning.
The text was updated successfully, but these errors were encountered: