You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ge...@apache.org on 2017/04/06 08:54:14 UTC
[2/2] brooklyn-server git commit: Closes #612
Closes #612
BROOKLYN-460: Brooklyn Camp syntax for adding tags to an entity spec
```yaml
services:
- type: BasicApplication
brooklyn.tags: [tag1, tag2]
```
`brooklyn.tags` adds NamedStringTag to an entity spec.
_Tags can be inspected via REST API `/v1/applications/<appId>/entities/<entityId>/tags`_
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/b6086355
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/b6086355
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/b6086355
Branch: refs/heads/master
Commit: b6086355611aa1741a44ebf9aa4a2d343931d655
Parents: 4956e6c 08d7bf9
Author: Geoff Macartney <ge...@cloudsoftcorp.com>
Authored: Thu Apr 6 09:54:02 2017 +0100
Committer: Geoff Macartney <ge...@cloudsoftcorp.com>
Committed: Thu Apr 6 09:54:02 2017 +0100
----------------------------------------------------------------------
.../camp/brooklyn/BrooklynCampReservedKeys.java | 1 +
.../BrooklynComponentTemplateResolver.java | 1 +
.../BrooklynEntityDecorationResolver.java | 56 +++++++-
.../spi/creation/BrooklynEntityMatcher.java | 1 +
.../camp/brooklyn/BrooklynTagsRebindTest.java | 59 ++++++++
.../camp/brooklyn/spi/dsl/TagsYamlTest.java | 135 +++++++++++++++++++
.../apache/brooklyn/core/mgmt/BrooklynTags.java | 18 ++-
7 files changed, 268 insertions(+), 3 deletions(-)
----------------------------------------------------------------------