[jbosstools-issues] [JBoss JIRA] (JBIDE-16714) Embed wizard, Application wizard: Embed same cartridge with different version should show warning

Andre Dietisheim (JIRA) issues at jboss.org
Mon Sep 1 10:47:00 EDT 2014


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

Andre Dietisheim edited comment on JBIDE-16714 at 9/1/14 10:46 AM:
-------------------------------------------------------------------

In OJSC-110 the REST backend introduced the notion of "obsolete" cartridges. We should not implement our own logic were older versions are considered harmful but only warn if a cartridge is obsolete.

{code:title=curl -H "Accept: application/json; version=1.2" --user <USER>:<PASSWORD> https://openshift.redhat.com/broker/rest/cartridges | json_reformat | less}
{
            "activation_time": "2014-04-08T20:30:59Z",
            "automatic_updates": true,
            "creation_time": "2014-04-08T20:30:59Z",
            "description": "A PHP server by Zend for applications that require performance, reliability and security. Zend Server combined with Zend Studio offers code optimization, debugging, and code assist.",
            "display_name": "PHP 5.3 with Zend Server 5.6",
            "help_topics": {
                "Developer Center": "https://www.openshift.com/developers"
            },
            "id": "53445c82e0b8cddcff00000d",
            "license": "Commercial",
            "license_url": "http://static.zend.com/topics/Zend-License-EULA-2010-09-2.pdf",
            "maintained_by": "redhat",
            "name": "zend-5.6",
            "obsolete": true,
            "supported_scales_from": 1,
            "supported_scales_to": 1,
            "tags": [
                "service",
                "php",
                "web_framework"
            ],
            "type": "standalone",
            "usage_rates": [

            ],
            "version": "5.6",
            "website": "http://www.zend.com"
        }
{code}


was (Author: adietish):
{code:title=curl -H "Accept: application/json; version=1.2" --user <USER>:<PASSWORD> https://openshift.redhat.com/broker/rest/cartridges | json_reformat | less}
{
            "activation_time": "2014-04-08T20:30:59Z",
            "automatic_updates": true,
            "creation_time": "2014-04-08T20:30:59Z",
            "description": "A PHP server by Zend for applications that require performance, reliability and security. Zend Server combined with Zend Studio offers code optimization, debugging, and code assist.",
            "display_name": "PHP 5.3 with Zend Server 5.6",
            "help_topics": {
                "Developer Center": "https://www.openshift.com/developers"
            },
            "id": "53445c82e0b8cddcff00000d",
            "license": "Commercial",
            "license_url": "http://static.zend.com/topics/Zend-License-EULA-2010-09-2.pdf",
            "maintained_by": "redhat",
            "name": "zend-5.6",
            "obsolete": true,
            "supported_scales_from": 1,
            "supported_scales_to": 1,
            "tags": [
                "service",
                "php",
                "web_framework"
            ],
            "type": "standalone",
            "usage_rates": [

            ],
            "version": "5.6",
            "website": "http://www.zend.com"
        }
{code}

> Embed wizard, Application wizard: Embed same cartridge with different version should show warning
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-16714
>                 URL: https://issues.jboss.org/browse/JBIDE-16714
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.2.0.Alpha2
>            Reporter: Marián Labuda
>            Assignee: Andre Dietisheim
>            Priority: Minor
>              Labels: application_wizard, embed_wizard
>             Fix For: 4.2.x
>
>
> Nowadays, when on OpenShift Online are available multiple cartridges differentiated only by version (e.g. PostgreSQL 8.4 and 9.2) there should be some kind of warning about embedding both (what could happen accidentally or by ignorance...). 
> How it works now? If user choose 2 cartridges of the same type, then just the first one is embedded and while trying to embed second cartridge user get error that application has already embedded that kind of cartridge (that they cannot coexist).
> I suggest to have similar dialog as in embedding e.g. Jenkins cartridge to application without having Jenkins Application (server) etc.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the jbosstools-issues mailing list