Peripli / service-manager

Service Manager Core
Apache License 2.0
69 stars 28 forks source link

add PreserveInstanceKey in osb_store_plugin #710

Closed nirbenrey closed 2 years ago

nirbenrey commented 2 years ago

Motivation

At the moment, if poll-instance of osb create operation fails SM will automatically delete the service-instance from its DB. But, In some cases it is useful that the service-instance will remain in SM DB.

Approach

Add a ctx param key, "PreserveInstanceKey", that indicate the osb_store_plugin to ignore the service-instance creation failure and to keep it in SM DB