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

Wrong space when use service instance by name #12

Closed micellius closed 5 years ago

micellius commented 5 years ago

Description

When html5-push -n <APP_HOST_NAME>, and there is a service instance of html5-apps-repo app-host plan with the same name in other space that developer has access to, resolved GUID of service instance may point to service instance in wrong space. As a result, applications are pushed to incorrect space.

APIs that accept APP_HOST_NAME as argument and resolve it to APP_HOST_ID should take in account the space, developer is currently logged-in.

Environment