Alex Heneveld created BROOKLYN-38:
-------------------------------------
Summary: Edit config via the GUI
Key: BROOKLYN-38
URL: https://issues.apache.org/jira/browse/BROOKLYN-38
Project: Brooklyn
Issue Type: Improvement
Affects Versions: 0.7.0-M1
Reporter: Alex Heneveld
Priority: Minor
Currently many things can be editted via REST and/or the GUI (e.g. policy
config), but entity config cannot. This would be a handy addition.
It might also be useful to have a lifecycle operation `addConfig` which can
take yaml, in order to define more complex things like maps etc.
As a workaround for the time being this is possible programmatically, e.g. via
the `/#v1/script/groovy` endpoint using:
mgmt.entityManager.getEntity("id1234ef").setConfig(
brooklyn.entity.java.UsesJava.JAVA_SYSPROPS,
brooklyn.event.basic.MapConfigKey.MapModifications.put(
[ "sample.property": "value" ] ))
--
This message was sent by Atlassian JIRA
(v6.2#6252)