SAP / cf-html5-apps-repo-cli-plugin

Cloud Foundry CLI plugin to work with SAP Cloud HTML5 Applications Repository
Apache License 2.0
43 stars 6 forks source link

`cf html5-list` fails if there is a broken `app-runtime` service instance in space #24

Closed micellius closed 4 years ago

micellius commented 4 years ago

Description

cf html5-list tries to reuse existing service instance of app-runtime and create a service key for it. The problem is that if service instance last operation state is "delete failed", service instance can't be reused and any attempt to create service instance for it will fail.

cf html5-list should first check status of last operation on app-runtime service instance before considering it to be reused. If all existing service instances are not suitable for reuse, new service instance should be temporary created.

Environment