brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geom...@apache.org
Subject [2/2] brooklyn-server git commit: Closes #612
Date Thu, 06 Apr 2017 08:54:14 GMT
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 <geoff.macartney@cloudsoftcorp.com>
Authored: Thu Apr 6 09:54:02 2017 +0100
Committer: Geoff Macartney <geoff.macartney@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(-)
----------------------------------------------------------------------



Mime
View raw message