rhq-project/rhq — pull request #40 by lzoubek (2014-05-22 09:09:13+00:00)
Title: [BZ 1069691] (JON3-25, PRODMGT-368) DomainDeployments should be managed in a single menu option in domain mode

Deploymet resource has been removed from Server-Group level. Now we have
only DomainDeployment (living under DC) and Deployment (discovered under
ManagedServer). We manage everything related to ServerGroups within
DomainDeployment's configuration and operations. Operation 'promote' remains
(although not needed anymore)

* To assign DomainDeployment with Server-Group user adds new Configuration map
item, select SG, runtime-name and enabled/disabled state.
* To enable/disable deployment on given SG user edits particular configite and
changes enabled boolean attribute
* To remove DomainDeployment from SG user just removes given map item.

Given domain deployment cannot be assigned to same server group more than
once (even with different runtime-name) - EAP restriction. runtime-name
cannot be changed on existing map items (it's documented and ignored)

New operation for DomainDeployment resource called 'restart' was introduced.
User can restart deployment in particular SG or in all assigned SGs.

DomainDeplooyment's getAvailability() was also changed to return MISSING
instead of DOWN when deployment is not found on EAP.