[jbosstools-issues] [JBoss JIRA] (JBIDE-11881) Display application state in OpenShift Explorer and Properties view
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Wed Mar 6 09:32:57 EST 2013
[ https://issues.jboss.org/browse/JBIDE-11881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758996#comment-12758996 ]
Andre Dietisheim commented on JBIDE-11881:
------------------------------------------
the gear_groups tells you about the state of the gears that an application is running on (*<gear><state>*):
{code}
curl --proxy http://file.rdu.redhat.com:3128 -H "Accept: application/xml; version=1.0" --user <USER>:<PASS> "https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications/scalable/gear_groups" -X GET
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>ok</status>
<type>gear_groups</type>
<data>
<gear-group>
<uuid>51371581e0b8cd15b900002e</uuid>
<name>51371581e0b8cd15b900002e</name>
<gear-profile>medium</gear-profile>
<gears>
<gear>
<id>51371581e0b8cd15b900001b</id>
<state>started</state>
</gear>
<gear>
<id>513728ee5004465cbb0002bd</id>
<state>started</state>
</gear>
</gears>
<cartridges>
<cartridge>
<name>jbosseap-6.0</name>
<display-name>JBoss Enterprise Application Platform 6.0</display-name>
<tags>
<tag>service</tag>
<tag>web_framework</tag>
<tag>java</tag>
<tag>jboss</tag>
<tag>jee_full_profile</tag>
<tag>premium</tag>
</tags>
</cartridge>
<cartridge>
<name>haproxy-1.4</name>
<display-name>OpenShift Web Balancer</display-name>
<tags>
<tag>web_proxy</tag>
<tag>scales</tag>
<tag>embedded</tag>
</tags>
</cartridge>
</cartridges>
<scales-from>2</scales-from>
<scales-to>-1</scales-to>
<base-gear-storage>1</base-gear-storage>
<additional-gear-storage>0</additional-gear-storage>gU
</gear-group>
</data>
{code}
> Display application state in OpenShift Explorer and Properties view
> -------------------------------------------------------------------
>
> Key: JBIDE-11881
> URL: https://issues.jboss.org/browse/JBIDE-11881
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 3.3.0.Beta3
> Reporter: Xavier Coulon
> Assignee: Andre Dietisheim
> Fix For: 4.1.0.Alpha2
>
>
> From Bugzilla#805989
> The state of the application on each gear can be checked using the gear_groups
> rest api.
> /broker/rest/domains/<domain-name>/applications/<app-name>/gear_groups
> This rest call reflects the state of the application on each gear based on the
> contents of the file $OPENSHIFT_GEAR_DIR/runtime/.state
> The following states should be tracked in ~/runtime/.state
> stopped
> building
> deploying
> started
> idle
> unknown
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list