public class RHQDeployUtil extends Object
| Constructor and Description |
|---|
RHQDeployUtil(String rhqUser,
String rhqPassword,
String rhqBaseUrl,
Integer rhqPort) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(Integer as7Id,
byte[] bytes,
String artifactName)
In RHQ the group needs be a grouping of JBossAS7/EAP6 SERVERs
|
Integer |
getGroupIdForGroup(String groupName)
Looks up the group id in RHQ for the given group name.
|
List<Integer> |
getServerIdsForGroup(Integer groupId)
Given a RHQ Group this will return a the resource Ids in this
Group.
|
void |
wipeArchiveIfNecessary(String artifactName,
Integer groupId)
Deletes (undeploys) all archives from the all AS7/EAP servers in the given
RHQ group.
|
public Integer getGroupIdForGroup(String groupName) throws ConfigException
groupName - - name of the groupConfigExceptionpublic List<Integer> getServerIdsForGroup(Integer groupId)
groupId - - the group's RHQ id.public void deploy(Integer as7Id, byte[] bytes, String artifactName) throws IOException
as7Id - in - artifactName - IOExceptionCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.