Github user neykov commented on the pull request:
https://github.com/apache/incubator-brooklyn/pull/116#issuecomment-52774166
Tests passing, UI working for me, +1 for the changes.
In #124 adding policies to the catalog is accomplished by the existing API
methods (i.e. BrooklynCatalog.addItem). The type of the item depends on the
yaml contents (does it have services or policy property). Having that in mind
it isn't necessary to explicitly select the type (entity vs policy) to add to
the catalog, the selector is superfluous.
---
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.
---