[jbosstools-issues] [JBoss JIRA] (JBIDE-13248) openshift-java-client: provide nice names, versions and descriptions for cartridges

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Mon May 6 03:46:54 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-13248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772244#comment-12772244 ] 

Andre Dietisheim edited comment on JBIDE-13248 at 5/6/13 3:46 AM:
------------------------------------------------------------------

in protocol 1.2 we already have support for nice cartridge names etc.:

{code:xml|title=curl -H "Accept: application/xml; version=1.2" --user adietish at redhat.com:XXXXX https://openshift.redhat.com/broker/rest/cartridges}
<response>
  <status>ok</status>
  <type>cartridges</type>
  <data>
    <cartridge>
      <name>mongodb-2.2</name>
      <version>2.2</version>
      <display-name>MongoDB NoSQL Database 2.2</display-name>
      <description>MongoDB is a scalable, high-performance, open source NoSQL database.</description>
      <license>ASL 2.0</license>
      <license-url>http://www.apache.org/licenses/LICENSE-2.0.txt</license-url>
      <tags>
        <tag>service</tag>
        <tag>database</tag>
        <tag>nosql</tag>
        <tag>embedded</tag>
      </tags>
      <website>http://www.10gen.com</website>
      <type>embedded</type>
      <supported-scales-from>1</supported-scales-from>
      <scales-from>1</scales-from>
      <supported-scales-to>1</supported-scales-to>
      <scales-to>1</scales-to>
      <current-scale>0</current-scale>
      <scales-with>haproxy-1.4</scales-with>
      <help-topics>
        <help-topic>
          <Building-with-MongoDB>https://openshift.redhat.com/community/developers/mongodb</Building-with-MongoDB>
        </help-topic>
      </help-topics>
      <usage-rates/>
    </cartridge>
{code}
                
      was (Author: adietish):
    in protocol 1.2 we already have support for nice cartridge names etc.:

{code:title=curl -H "Accept: application/xml; version=1.2" --user adietish at redhat.com:XXXXX https://openshift.redhat.com/broker/rest/cartridges}
<response>
  <status>ok</status>
  <type>cartridges</type>
  <data>
    <cartridge>
      <name>mongodb-2.2</name>
      <version>2.2</version>
      <display-name>MongoDB NoSQL Database 2.2</display-name>
      <description>MongoDB is a scalable, high-performance, open source NoSQL database.</description>
      <license>ASL 2.0</license>
      <license-url>http://www.apache.org/licenses/LICENSE-2.0.txt</license-url>
      <tags>
        <tag>service</tag>
        <tag>database</tag>
        <tag>nosql</tag>
        <tag>embedded</tag>
      </tags>
      <website>http://www.10gen.com</website>
      <type>embedded</type>
      <supported-scales-from>1</supported-scales-from>
      <scales-from>1</scales-from>
      <supported-scales-to>1</supported-scales-to>
      <scales-to>1</scales-to>
      <current-scale>0</current-scale>
      <scales-with>haproxy-1.4</scales-with>
      <help-topics>
        <help-topic>
          <Building-with-MongoDB>https://openshift.redhat.com/community/developers/mongodb</Building-with-MongoDB>
        </help-topic>
      </help-topics>
      <usage-rates/>
    </cartridge>
{code}
                  
> openshift-java-client: provide nice names, versions and descriptions for cartridges
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-13248
>                 URL: https://issues.jboss.org/browse/JBIDE-13248
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.0.0.CR1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>            Priority: Minor
>             Fix For: 4.1.x
>
>
> The response (protocol v1.3) when querying the OpenShift REST service for cartridges (standalone and embeddable ones) was enhanced lately. It now offers
> * <display-name />
> * <version />
> * <description />
> eventually
> * <website />
> * <help-topics />
> We should add at least these 3 in the ICartridge.
> There are also further interesting informations:
> * <tag /> 
> * <scales-from /> & <scales-to />
> * <scales-with />

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