[jbosstools-issues] [JBoss JIRA] (JBIDE-14698) openshift-java-client: add support for reading available GearProfiles

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Thu May 30 12:58:54 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-14698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-14698:
-------------------------------------

    Description: 
The openshift-java-client currently wont let you query the PaaS for the available GearProfile(s).

I see gear sizes available when getting https://openshift.redhat.com/broker/rest/user

<code>
      <capabilities/><br>
          <subaccounts>false</subaccounts><br>
          <gear-sizes><br>
              <gear-size>small&lt:/gear-size><br>
              <gear-size>medium&lt:/gear-size><br>
          </gear-sizes><br>
      </capabilities><br>
</code>

and they also show up in the optional parameters when creating an application:

<code>
<link><br>
            <rel>Create new application</rel><br>
            <method>POST</method><br>
            <href>https://openshift.redhat.com/broker/rest/domains/foobarz/applications</href><br>
            ...<br>
            <optional-param><br>
                  <name>gear_profile</name><br>
                  <type>string</type><br>
                  <description>The size of the gear</description><br>
                  <valid-options><br>
                    <valid-option>small</valid-option><br>
                      <valid-option>medium</valid-option><br>
                  </valid-options><br>
                  <default-value>small</default-value><br>
              </optional-param><br>
</code>

The OpenShift java client is hard-coding these currently as it was the case for embedded cartridges in prior versions. Is this what you're talking about?

Cheers
André

  was:The openshift-java-client currently wont let you query the PaaS for the available GearProfile(s).


    
> openshift-java-client: add support for reading available GearProfiles
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-14698
>                 URL: https://issues.jboss.org/browse/JBIDE-14698
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.1.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.1.0.Beta2
>
>
> The openshift-java-client currently wont let you query the PaaS for the available GearProfile(s).
> I see gear sizes available when getting https://openshift.redhat.com/broker/rest/user
> <code>
>       <capabilities/><br>
>           <subaccounts>false</subaccounts><br>
>           <gear-sizes><br>
>               <gear-size>small&lt:/gear-size><br>
>               <gear-size>medium&lt:/gear-size><br>
>           </gear-sizes><br>
>       </capabilities><br>
> </code>
> and they also show up in the optional parameters when creating an application:
> <code>
> <link><br>
>             <rel>Create new application</rel><br>
>             <method>POST</method><br>
>             <href>https://openshift.redhat.com/broker/rest/domains/foobarz/applications</href><br>
>             ...<br>
>             <optional-param><br>
>                   <name>gear_profile</name><br>
>                   <type>string</type><br>
>                   <description>The size of the gear</description><br>
>                   <valid-options><br>
>                     <valid-option>small</valid-option><br>
>                       <valid-option>medium</valid-option><br>
>                   </valid-options><br>
>                   <default-value>small</default-value><br>
>               </optional-param><br>
> </code>
> The OpenShift java client is hard-coding these currently as it was the case for embedded cartridges in prior versions. Is this what you're talking about?
> Cheers
> André

--
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