[
https://issues.jboss.org/browse/JBIDE-15262?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-15262:
------------------------------------------
I pushed a unfinished implementation to the JBIDE-15262 topics branch in my fork at
https://github.com/adietish/openshift-java-client/tree/JBIDE-15262:
IDomain#createApplication now offers you a varargs parameter for embeddable cartridges:
{code}
public IApplication createApplication(String name, IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile, String initialGitUrl, int timeout, IEmbeddableCartridge...
cartridges)
throws OpenShiftException
{code}
The cartridges are passed to the REST endpoint but the response is not yet verified. I
have to make sure the new application is correctly initialized with the correct amount of
embedded cartridges. By purely looking at the code the stuff should be all fine right away
but to get really assured I need to write tests.
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