]
Andre Dietisheim commented on JBIDE-18679:
------------------------------------------
[~mlabuda] good catch, yes, it looks like the json we get from the broker allows us to
know. Thanks for looking it up!
JBDS IDE for Creating New Openshift Application does not
differentiate between cartridges that support scaling and cartridges that do not support
scaling.
----------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-18679
URL:
https://issues.jboss.org/browse/JBIDE-18679
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: openshift
Affects Versions: 4.2.0.CR2
Environment: JBDS IDE CR02 release, Open Shift Wizard - to create new openshift
applications.
Reporter: Aakanksha Singh
Priority: Minor
Fix For: 4.3.x
When I create a new openshift application using Openshift Application wizard, the
application creation fails.
If i choose a cartidge without knowing if it is scalable, my application is not created
due to the following reasons.
1. I choose a cartridge, for example diy-0.1 and proceed to select the "Enable
scaling " feature in the wizard. My app is not created as the cartiridge is not
scalable.
Error message:
"Could not request
https://openshift.redhat.com/broker/rest/domain/aakanksha/applications?in...:
The cartridge 'diy-0.1' does not support being made scalable."
2. I choose a cartridge, for example haproxy-1.4 and proceed without selecting the
"Enable scaling " feature in the wizard. My app is not created as the cartiridge
is scalable.
Error message:
1]Error Message:
"Could not create application aakanksha
Could not request
https://openshift.redhat.com/broker/rest/domain/aakanksha/applications?in...:
haproxy-1.4 cannot be added to existing applications. It is automatically added when you
create a scaling application."
Change requested:
Somewhere in the UI the "enable scaling" and the list of cartridges should be
linked.
So If user selects a cartridge is not scalable and selects "Enable scaling"
feature, the UI shows a warning sign.
OR
Once user selects "Enable scaling", only the list of cartridges that are
scalable should be displayed in the UI and viceversa.