I'm trying to update the registration of the Broker by the ServiceManager and it fails with this error:
$ smctl update-broker my-broker '{"credentials":{"tls":{"sm_provided_tls_credentials": true}}, "broker_url":"*****"}'
Error: request PATCH https://*****?async=false failed: StatusCode: 400 Body: {"error":"BadRequest","description":"updating a url of a broker requires its credentials"}
As per the implementation, if the "sm_provided_tls_credentials": true is set it should not return this error message updating a url of a broker requires its credentials, am I right?
Steps to reproduce:
Register the Broker
Update the Broker with different broker_url
Observed Results:
$ smctl update-broker my-broker '{"credentials":{"tls":{"sm_provided_tls_credentials": true}}, "broker_url":"*****"}'
Error: request PATCH https://*****?async=false failed: StatusCode: 400 Body: {"error":"BadRequest","description":"updating a url of a broker requires its credentials"}
Expected Results:
Broker registration should be updated with the new Broker URL.
Describe the problem:
I'm trying to update the registration of the Broker by the ServiceManager and it fails with this error:
As per the implementation, if the
"sm_provided_tls_credentials": true
is set it should not return this error messageupdating a url of a broker requires its credentials
, am I right?Steps to reproduce:
broker_url
Observed Results:
Expected Results:
Relevant Code Snippet: