[jbosstools-issues] [JBoss JIRA] (JBIDE-15115) No confirmation dialog is reported back to user after embedding cartridges

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Jul 3 10:46:21 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-15115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787355#comment-12787355 ] 

Andre Dietisheim commented on JBIDE-15115:
------------------------------------------

The root cause to this is a breaking change in the REST service API. When you created an application or embedded a cartridge we looked into the messages that the broker was handling us back and displayed what was shown to us in "result". We got something like this back:

{code}
"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"
      }
   ],
{code}

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):

{code}
"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.
"
    }
]
{code}

                
> 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
>            Assignee: Andre Dietisheim
>            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


More information about the jbosstools-issues mailing list