When a broker is being updated and the update is not successful in the platform itself, for example in CF, the credentials for the platform-broker are already updated in Service Manager.
If multiple updates of the same type happen, then the broker will become unusable because the platform will no longer have the credentials to call Service Manager for this broker.
Approach
keep old credentials until the new ones are verified
Coverage decreased (-0.01%) to 86.767% when pulling df6311171f09b70600a8f96f7d38d6c12e102d89 on i501080_broker_credentials into 308324989b1e473efbc71620a1914b815d47ff54 on master.
Motivation
When a broker is being updated and the update is not successful in the platform itself, for example in CF, the credentials for the platform-broker are already updated in Service Manager.
If multiple updates of the same type happen, then the broker will become unusable because the platform will no longer have the credentials to call Service Manager for this broker.
Approach
keep old credentials until the new ones are verified
Pull Request status