[
https://issues.jboss.org/browse/JBIDE-15429?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-15429:
------------------------------------------
The next problem I had to deal with is an internal library problem:
When you submit the cartridge to the backend you only know about it's url. The name is
then set by the backend when it deploys the cartridge (it takes it from the cartridge
manifest when it checks it out). I thus had to change the ICartridge and IApplication
classes. It now allows you to submit a cartridge with an url and returns you the full
cartridge as it is reported by the REST response:
{code}
"additional_gear_storage":0,
"base_gear_storage":1,
"collocated_with":[
"smarterclayton-go-1.1",
"mysql-5.1"
],
"current_scale":1,
"description":"Foreman TODO",
"display_name":"Foreman",
"gear_profile":"small",
"help_topics":{
"Building with
MySQL":"http://docs.redhat.com/docs/en-US/OpenShift/2.0/html/Us...
},
"license":"ASL 2.0",
"license_url":"http://www.apache.org/licenses/LICENSE-2.0.txt",
"links":{
"GET":{
"href":"https://openshift.redhat.com/broker/rest/domains/foobarz/applications/downloadablecart/cartridges/andygoldstein-foreman-0.63.0",
"method":"GET",
"optional_params":[
],
...
{code}
openshift-java-client: add support for downloadable cartridges
--------------------------------------------------------------
Key: JBIDE-15429
URL:
https://issues.jboss.org/browse/JBIDE-15429
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.1.0.Final
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Labels: openshift-java-client
Fix For: 4.2.0.Alpha1
OpenShift added support for downloadable cartridges lately. This allows you to provide
your very own cartridge by providing a git-url where it may be checked out.
Fusesource provided a PR on github that we should merge in:
https://github.com/openshift/openshift-java-client/pull/68
The PR seems perfectly functional but it has a few shortcomings though that we have to
fix though (see comments in the PR)
--
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