[jbosstools-issues] [JBoss JIRA] (JBIDE-13561) Cannot embed cartridges
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Fri Feb 15 07:48:56 EST 2013
[ https://issues.jboss.org/browse/JBIDE-13561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754097#comment-12754097 ]
Andre Dietisheim edited comment on JBIDE-13561 at 2/15/13 7:47 AM:
-------------------------------------------------------------------
There is a regression in OpenShift that leaks behavior from protocol 1.1 to 1.0. All existing JBDS/JBT users are affected:
If you list the cartridges of one of your applications
{code}
curl -k -H "Accept: application/xml; version=1.0" --user "USERNAME:PASSWORD" https://openshift.redhat.com/broker/rest/domains/myops/applications/kitch/cartridges -X GET
{code}
You get the application type (and embedded cartridges there are)
{code}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>ok</status>
<type>cartridges</type>
<data>
<cartridge>
<name>jbossas-7</name>
<type>standalone</type>
<status-messages nil="true"></status-messages>
<properties>
</properties>
</cartridge>
</data>
<messages/>
<version>1.0</version>
<supported-api-versions>
<supported-api-version>1.0</supported-api-version>
<supported-api-version>1.1</supported-api-version>
<supported-api-version>1.2</supported-api-version>
<supported-api-version>1.3</supported-api-version>
</supported-api-versions>
</response>
{code}
In https://bugzilla.redhat.com/show_bug.cgi?id=838611 this request was fixed to only return embeddable cartridges in protocol 1.0, not the standalone/application-type.
was (Author: adietish):
There is a regression in OpenShift that leaks behavior from protocol 1.1 to 1.0. All existing JBDS/JBT users are affected:
If you list the cartridges of one of your applications
{code}
[adietish at adietish-thinkpad studio]$ curl -k -H "Accept: application/xml; version=1.0" --user "USERNAME:PASSWORD" https://openshift.redhat.com/broker/rest/domains/myops/applications/kitch/cartridges -X GET
{code}
You get the application type (and embedded cartridges there are)
{code}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>ok</status>
<type>cartridges</type>
<data>
<cartridge>
<name>jbossas-7</name>
<type>standalone</type>
<status-messages nil="true"></status-messages>
<properties>
</properties>
</cartridge>
</data>
<messages/>
<version>1.0</version>
<supported-api-versions>
<supported-api-version>1.0</supported-api-version>
<supported-api-version>1.1</supported-api-version>
<supported-api-version>1.2</supported-api-version>
<supported-api-version>1.3</supported-api-version>
</supported-api-versions>
</response>
{code}
In https://bugzilla.redhat.com/show_bug.cgi?id=838611 this request was fixed to only return embeddable cartridges in protocol 1.0, not the standalone/application-type.
> Cannot embed cartridges
> -----------------------
>
> Key: JBIDE-13561
> URL: https://issues.jboss.org/browse/JBIDE-13561
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.0.0.Final
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Blocker
> Attachments: apptype-is-embedded-cartridge.png, jbds6-erroring-embedding-cartridge.png
>
>
> If you try to embed cartridges (or remove embedded cartridges) in 4.0.0 Final or JBDS6, then you wont be able to do it.
> This is an issue that shall help us track modifications on the OpenShift platform. There's nothing we can do about it, it's *OpenShift that has to hot-fix*.
--
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