You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sv...@apache.org on 2016/04/20 18:00:29 UTC

[2/2] brooklyn-server git commit: Closes #111

Closes #111

pull displayName from flags in LocationTransformer if present - fixes BROOKLYN-250

Untyped config from the YAML is being pushed into flags rather than config, so rather than expose flags in the locations API (which we're moving away from to the catalog API), I'm now checking for the presence of a displayName parameter in flags and setting it in the LocationTransformer.

Tests added.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/3ad95599
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/3ad95599
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/3ad95599

Branch: refs/heads/master
Commit: 3ad9559991b80070548b0e3d991da71e0ab5f9e1
Parents: 5472c1e 049c852
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Wed Apr 20 16:58:24 2016 +0100
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Wed Apr 20 16:58:24 2016 +0100

----------------------------------------------------------------------
 .../rest/transform/LocationTransformer.java     |   8 +-
 .../rest/resources/LocationResourceTest.java    | 114 +++++++++++++++++++
 2 files changed, 120 insertions(+), 2 deletions(-)
----------------------------------------------------------------------