[
https://issues.jboss.org/browse/JBIDE-15115?page=com.atlassian.jira.plugi...
]
RH Bugzilla Integration commented on JBIDE-15115:
-------------------------------------------------
Andre Dietisheim <adietish(a)redhat.com> made a comment on [bug
980928|https://bugzilla.redhat.com/show_bug.cgi?id=980928]
Description of problem:
When creating an application or a cartridge (that I embed) I expect the result of this
operation in the messages "block". In protocol 1.2 I had so far something like
this:
"messages":[
{
"exit_code":null,
"field":null,
"severity":"info",
"text":"Application jekyll was created."
},
{
"exit_code":0,
"field":"current_ip",
"severity":"info",
"text":"107.21.169.102"
},
{
"exit_code":0,
"field":"result",
"severity":"info",
"text":"\nJenkins created successfully. Please make note of these
credentials:\n\n User: admin\n Password: edWlFXhq-BqY\n\nNote: You can change your
password at:
https://jekyll-foobarz.rhcloud.com/me/configure\n\n"
}
],
There's a field "result" that I show to the user in the OpenShift tools for
Eclipse.
In the latest version OpenShift is not giving me a "results" fields any more and
thus breaks my existing clients. I get something like this (when embedding mysql):
"messages": [
{
"exit_code" => big integer 0,
"field" => undefined,
"severity" => "info",
"text" => "Added mysql-5.1 to application as71"
},
{
"exit_code" => big integer 0,
"field" => undefined,
"severity" => "debug",
"text" => "
mysql-5.1: Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT
"
},
{
"exit_code" => big integer 0,
"field" => undefined,
"severity" => "result",
"text" => "MySQL 5.1 database added. Please make note of these
credentials:
Root User: adminv15iriK
Root Password: nyZ77qp5-h61
Database Name: as71
Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
You can manage your new MySQL database by also embedding phpmyadmin-3.4.
The phpmyadmin username and password will be the same as the MySQL credentials above.
"
}
]
Version-Release number of selected component (if applicable):
protocol 1.2
How reproducible:
always
Steps to Reproduce:
1. embed mysql to an existing application
2. check the response for "messages": and see if there's a field
"result"
3.
Actual results:
No "result" field is present and thus existing clients for the EClipse tooling
dont get the required informations (like url, credentials)
Expected results:
I should get a "result" field that I can show to the user as we could with the
prior implementations
Additional info:
No confirmation dialog is reported back to user after embedding
cartridges
--------------------------------------------------------------------------
Key: JBIDE-15115
URL:
https://issues.jboss.org/browse/JBIDE-15115
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.1.0.CR1
Reporter: Stefan Bunciak
Priority: Critical
Labels: respin-a
Fix For: 4.1.0.CR1
No error log is put to Error log view neither to workspace log when experiencing this
issue.
--
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