cloudfoundry / cloudfoundry/multiapps-cli-plugin

Introduce “--delete-all” option which deletes all MTA managed runtime artifacts

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Go
Stars
87
Forks
42
Avg merge
17d 21h
Merged PRs (30d)
1

Description

Description

Someone administrating an MTA might not always know what entities were created during the cf deploy. In particular, he might not know if there are service instances or service brokers created.

Thus, it's proposed to have a --delete-all option for cf undeploy to get rid of everything that was created during cf deploy. Thus, so he can be sure that no manual cleanup is necessary afterwards.

Expected behavior

The --delete-all option should act the same as providing --delete-services --delete-service-brokers to the undeploy command.

An example usage would be:
cf undeploy my.example.mta --delete-all

Internal Tracking Number:

LMCROSSITXSADEPLOY-546

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the cf undeploy command's option handling and compare the existing --delete-services and --delete-service-brokers behavior. Add --delete-all so it has the same effect as supplying both existing options, then verify the example command removes all MTA-managed runtime artifacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, cloud
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.