[
https://issues.jboss.org/browse/JBIDE-13631?page=com.atlassian.jira.plugi...
]
RH Bugzilla Integration commented on JBIDE-13631:
-------------------------------------------------
Andre Dietisheim <adietish(a)redhat.com> made a comment on [bug
916268|https://bugzilla.redhat.com/show_bug.cgi?id=916268]
I ran some pretty complete tests against STG and things look very good now, thanks!
I saw URLs for
* mysql
* phpmyadmin
* postgres
* mongo
* rockmongo
* jenkins-client
Haproxy seems to have no info. I guess that this is correct, right?
But there 1 thing that still bothers us unfortunately:
Initially the connection URL was only available in the message at creation time and in the
environment variables. Having them in "info" was being discussed but not
implemented yet. We had to go GA and implemented an approach where we would get the
connection URL from the messages when the cartridge was created and tried to get it from
"info" later, when there were no creation messages.
This worked well until the creation messages changed, they started holding the connection
URL twice:
"messages":[
{
"exit_code":null,
"field":null,
"severity":"info",
"text":"Added mysql-5.1 to application as"
},
{
"exit_code":0,
"field":"result",
"severity":"info",
"text":"\nMySQL 5.1 database added. Please make note of these
credentials:\n\n Root User: <USER>\n Root Password: <PASS>\n Database
Name: as\n\nConnection URL:
mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/\n\nYou can manage your new
MySQL database by also embedding phpmyadmin-3.4.\nThe phpmyadmin username and password
will be the same as the MySQL credentials above.\n"
},
{
"exit_code":0,
"field":"appinfo",
"severity":"info",
"text":"Connection URL: mysql://127.11.220.3:3306/\n"
}
],
* Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT
* Connection URL: mysql://127.11.220.3:3306/
Unfortunately our regex that extracts the connection URL from the messages will now get
the first connection URL.
Is it possible to either switch the order of the message-objects in the json or simply use
the very same connection string in both?
URL for embedded cartridges is empty
------------------------------------
Key: JBIDE-13631
URL:
https://issues.jboss.org/browse/JBIDE-13631
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.0.0.Final
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.1.0.Alpha2
Attachments: existing-application.json, no-url.png
Embedded cartridges for OpenShift application have an URL property. Currently JBDS/JBT
doesn't show any, all URLs are blank
--
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