GitHub user ahgittin opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/156
GUI+REST improvements - yaml spec and advanced tab for entities
This adds some oft-requested functionality to the GUI and REST API:
* You can add children given a YAML spec
* Problem indicators are included in the summary reason when an entity is
on-fire
* You can clear the problem indicators (so enrichers re-populate them if
the problem recurs)
* You can see the blueprint YAML on the Summary tab
* You can rename an entity
* The REST API supports setting config and sensors (and policy config set
has been fixed)
It also restructures the GUI (moving lifecycle, config, and some new things
to the "Advanced" tab) and improves JSON rendering (using a Brooklyn-specific
ObjectMapper).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ahgittin/incubator-brooklyn
js-lifecycle-and-server
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/156.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #156
----
commit 418851cf3dc5099bf54dd19aa4547e2c25c99ddb
Author: Alex Heneveld <[email protected]>
Date: 2014-09-02T17:00:21Z
add ability to rename entity via REST - WIP deep tag serialization
commit e6dcfb791ad69e5d271860447b67901c56e55fcf
Author: Alex Heneveld <[email protected]>
Date: 2014-09-03T16:01:46Z
include data from problem indicators in jsgui when entities are on fire
commit f35c358f33b980e9035fd5fde8de775619b14070
Author: Alex Heneveld <[email protected]>
Date: 2014-09-03T16:04:24Z
improve logic and synopsis for service state detection, esp with
ControlledDWAC and nginx
commit b5beeaaedb627ccbb9070389d964cfef239ab936
Author: Alex Heneveld <[email protected]>
Date: 2014-09-04T01:32:54Z
add support for setting and deleting sensors, with tests, and setting
config on entities dynamically;
also major version changes and removal of old dependencies:
* remove dropwizard as it had buggy treatment of string return values from
jersey methods (it would convert them to json, even though jersey/jackson
itself does not)
* jump to latest jersey (1.18.1) fixing issues there (see below)
the issues with jersey were mainly around stricter/cleaner
serialization/deserialization
commit 3afc58845d6dd9616d5c7891ddb63a35169e4921
Author: Alex Heneveld <[email protected]>
Date: 2014-09-04T14:25:30Z
customize REST JSON serialization, with tests. means entities and
management context are now returned in a concise, readable way. (and one we can
deserialize, incidentally!)
commit 68a306dc1a3da91584adf513b953428382107fae
Author: Alex Heneveld <[email protected]>
Date: 2014-09-08T07:37:47Z
move config and lifecycle to new "advanced" tab; and make config page have
same hover menu like sensors
commit b7536f1180fdf0d00c9e9a9b97dd8d5aa8ad1a1e
Author: Alex Heneveld <[email protected]>
Date: 2014-09-08T10:09:00Z
gui advanced tab cleanup (expunge now just a button), and supports changing
name and resetting problem indicators
commit 7943bb11f6a1adab13a0177ddf22da99c44dfb9e
Author: Alex Heneveld <[email protected]>
Date: 2014-09-08T11:31:39Z
support adding a child or children via the REST API and via the GUI; also
adds a MODIFY_ENTITY entitlement and support for controlling auto-promotion
when creating specs from AssemblyTemplate
commit e0962a2619da8812c05af8f47e8312f0b6462483
Author: Alex Heneveld <[email protected]>
Date: 2014-09-08T15:43:10Z
add "New Policy" button to advanced tab (as well as policies tab) and
refactor existing modals to follow policy modal style
commit efb50f2c6b192a41a47899763170869a4c62f884
Author: Alex Heneveld <[email protected]>
Date: 2014-09-08T17:00:41Z
move entity json to advanced tab, and also show location json info there
commit 22d61918dbc1eec4f74982b2fcd1b4f292938bcc
Author: Alex Heneveld <[email protected]>
Date: 2014-09-08T20:24:55Z
preserve the yaml spec source code through CAMP and set it on entities
created from specs, currently using tags as per BrooklynTags, and note that the
yaml source code for services and nested children is not currently extracted
(that's not as easy as it may seem); add API support for getting and setting
spec; add GUI support for rendering the entity spec in the summary tab, and
entity tags in the advanced tab; tweak tag display
commit 40b837cb266b9ca9414f7b21ea2bf399f1828b4e
Author: Alex Heneveld <[email protected]>
Date: 2014-09-08T21:18:55Z
bring policy config setting in line with entity config, now support JSON;
and fix tests
commit 2567b08884ae975b926786f95e831d7fefc9427f
Author: Alex Heneveld <[email protected]>
Date: 2014-09-08T21:42:25Z
sort locations by display name, ignoring case (and sorting numbers as
numbers); and tidy how catalog items are displayed
----
---
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.
---