[
https://issues.jboss.org/browse/JBIDE-13561?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-13561:
------------------------------------------
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@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... -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
Fix For: 4.1.0.Alpha2
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 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