[jbosstools-issues] [JBoss JIRA] (JBIDE-15262) openshift-java-client: allow to provide cartridges when creating an application

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Jul 19 10:24:26 EDT 2013


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

Andre Dietisheim commented on JBIDE-15262:
------------------------------------------

The REST endpoint allows one to add cartridges when creating an application:

{code:ADD_APPLICATION link listed in the domain resource}
         "ADD_APPLICATION":{
            "href":"https://openshift.redhat.com/broker/rest/domains/foobars/applications",
            "method":"POST",
            "optional_params":[
               {
                  "default_value":null,
                  "description":"Array of one or more cartridge names. i.e. [\"php-5.3\", \"mongodb-2.2\"]",
                  "name":"cartridges",
                  "type":"array",
                  "valid_options":[
                     "nodejs-0.6",
                     "jbossews-2.0",
                     "zend-5.6",
                     "ruby-1.9",
                     "python-3.3",
                     "jbossas-7",
                     "python-2.6",
                     "jenkins-1.4",
                     "ruby-1.8",
                     "python-2.7",
                     "jbosseap-6.0",
                     "diy-0.1",
                     "jbossews-1.0",
                     "php-5.3",
                     "perl-5.10"
                  ]
               },
               {
                  "default_value":false,
                  "description":"Mark application as scalable",
                  "name":"scale",
                  "type":"boolean",
                  "valid_options":[
                     true,
                     false
                  ]
               },
               {
                  "default_value":"small",
                  "description":"The size of the gear",
                  "name":"gear_profile",
                  "type":"string",
                  "valid_options":[
                     "small",
                     "medium"
                  ]
               },
               {
                  "default_value":null,
                  "description":"A URL to a Git source code repository that will be the basis for this application.",
                  "name":"initial_git_url",
                  "type":"string",
                  "valid_options":[

                  ]
               }
            ],
            "rel":"Create new application",
            "required_params":[
               {
                  "description":"Name of the application",
                  "invalid_options":[
                     "amentra",
                     "aop",
                     "apiviz",
                     "arquillian",
                     "blacktie",
                     "boxgrinder",
                     "byteman",
                     "cirras",
                     "cloud",
                     "cloudforms",
                     "cygwin",
                     "davcache",
                     "dogtag",
                     "drools",
                     "drools",
                     "ejb3",
                     "errai",
                     "esb",
                     "fedora",
                     "freeipa",
                     "gatein",
                     "git",
                     "gfs",
                     "gravel",
                     "guvnor",
                     "hibernate",
                     "hornetq",
                     "iiop",
                     "infinispan",
                     "ironjacamar",
                     "javassist",
                     "jbcaa",
                     "jbcd",
                     "jboss",
                     "jbpm",
                     "jdcom",
                     "jgroups",
                     "jmx",
                     "jopr",
                     "jrunit",
                     "jsfunit",
                     "kosmos",
                     "liberation",
                     "makara",
                     "mass",
                     "maven",
                     "metajizer",
                     "metamatrix",
                     "mobicents",
                     "mod_cluster",
                     "modeshape",
                     "mugshot",
                     "mysql",
                     "netty",
                     "openshift",
                     "osgi",
                     "overlord",
                     "ovirt",
                     "penrose",
                     "picketbox",
                     "picketlink",
                     "portletbridge",
                     "portletswap",
                     "posse",
                     "pressgang",
                     "qumranet",
                     "railo",
                     "redhat",
                     "resteasy",
                     "rhca",
                     "rhcds",
                     "rhce",
                     "rhcsa",
                     "rhcss",
                     "rhct",
                     "rhcva",
                     "rhel",
                     "rhev",
                     "rhq",
                     "rhx",
                     "richfaces",
                     "riftsaw",
                     "savara",
                     "scribble",
                     "seam",
                     "shadowman",
                     "shotoku",
                     "shrinkwrap",
                     "snowdrop",
                     "solidice",
                     "spacewalk",
                     "spice",
                     "steamcannon",
                     "stormgrind",
                     "switchyard",
                     "tattletale",
                     "teiid",
                     "tohu",
                     "torquebox",
                     "weld",
                     "wise",
                     "xnio"
                  ],
                  "name":"name",
                  "type":"string",
                  "valid_options":[

                  ]
               }
            ]
         },
{code}
                
> openshift-java-client: allow to provide cartridges when creating an application
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-15262
>                 URL: https://issues.jboss.org/browse/JBIDE-15262
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.1.0.CR1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.2.0.Alpha1
>
>
> For certain openshift example one needs to be able to add cartridges when creating the application, not only afterwards. Without the cartridge present in the application some examples (ex. wordpress example at https://github.com/openshift/wordpress-example) will fail the initial build. 

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