GitHub user aledsage opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/850
Feature: catalog item disabled
As discussed on mailing list.
(I still need to rebase this against master, after all the package renames,
so it cannot yet be merged).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/incubator-brooklyn
feature/CatalogItem-disabled
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/850.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 #850
----
commit 4bf72a824a3ec802030d56c021542736723b1ae0
Author: Aled Sage <[email protected]>
Date: 2015-08-19T13:38:40Z
CatalogPredicates: test + not anonymous classes
commit cc28743fa3059a5d61d53ee1d043f0e927831d79
Author: Aled Sage <[email protected]>
Date: 2015-08-19T13:46:33Z
Adds CatalogItem.disabled
- BrooklynCatalog filters these out for getDefaultVersion
- RESTâs CatalogResource filters these out for listApplications,
listEntities, listLocations and listPolicies.
- Applications refuse to deploy when referenced catalog item is disabled
- log.warn when deprecated catalog item is used.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---