cloudfoundry / cloudfoundry/multiapps-cli-plugin
Introduce “--delete-all” option which deletes all MTA managed runtime artifacts
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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