cloud_controller_ng icon indicating copy to clipboard operation
cloud_controller_ng copied to clipboard

**CLI** user should NOT see a **diff** when **removing services**

Open sethboyles opened this issue 4 years ago • 1 comments

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 cups command (create-user-provided-service).
  • The manifest diff endpoint should not return service instance deletions, so this logic can be shared across all clients

sethboyles avatar Apr 19 '21 21:04 sethboyles

migrated from https://www.pivotaltracker.com/story/show/173689014

sethboyles avatar Apr 19 '21 21:04 sethboyles