GitHub user aledsage opened a pull request:
https://github.com/apache/brooklyn-server/pull/866
catalog-init: add support for item/bundle removal
See
https://docs.google.com/document/d/1Lm47Kx-cXPLe8BO34-qrL3ZMPosuUHJILYVQUswEH6Y/edit#heading=h.pdq16wrd8wjf
for the Brooklyn proposal for upgrade support.
This PR implements a small part of that doc (and of that section). It adds
support for:
* `brooklyn-catalog-force-remove-bundles`: says to ignore the given
bundle(s) that are encountered in persisted state.
* `brooklyn-catalog-force-remove-legacy-items`: says to remove the given
legacy items that are encountered in persisted state.
The next step is to add support for `brooklyn-catalog-upgrade-for-bundles`
(not done in this PR).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/brooklyn-server
catalogInit-support-item-removal
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/866.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #866
----
commit 9ebde3fd37597c41eb16a0337c753128ddd5ad20
Author: Aled Sage <[email protected]>
Date: 2017-10-19T08:47:57Z
Support catalog item removal on init
commit 495ea30f7b1451ac73c7a8619d4811c24d79d80e
Author: Aled Sage <[email protected]>
Date: 2017-10-20T14:41:50Z
Support force-bundle-removal on init
----
---