cloud_controller_ng
cloud_controller_ng copied to clipboard
**CLI** user should NOT see a **diff** when **removing services**
Context
Removing service instances from a manifest does not unbind them from the app or delete the service instance. Showing service instances removed from the manifest in the diff can confuse people into thinking the service instances will be unbound and/or deleted.
Acceptance Criteria
Omit Instance Removals
Given an app named my-app
And it is mapped to two service instances one and two
When I apply the following manifest
---
applications:
- name: my-app
services:
- two
Then the service instance one should not show up as being removed in the diff
Note:
- Pro tip for creating service instances: Try using the
cf cupscommand (create-user-provided-service). - The manifest diff endpoint should not return service instance deletions, so this logic can be shared across all clients
migrated from https://www.pivotaltracker.com/story/show/173689014