Bug 1030984 - property url for embedded (add-on) cartridges is always empty
Summary: property url for embedded (add-on) cartridges is always empty
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-15 12:52 UTC by Andre Dietisheim
Modified: 2015-05-15 00:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-25 22:27:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBIDE-15978 0 Major Open Properties view: URL for embedded cartridges is empty 2013-11-26 09:17:51 UTC

Description Andre Dietisheim 2013-11-15 12:52:20 UTC
Description of problem:
When adding an embedded (add-on) cartridge, I get a response wheren the "url" property is always undefined

Version-Release number of selected component (if applicable):
protocol 1.2

How reproducible:
add an add-on cartridge, inspect the json you get back, look for the "url"-property

Steps to Reproduce:
1. add an add-on cartridge
2. inspect the json you get back
3. inspect the "url" property

Actual results:
the "url" property is "undefined", the info is present in the "connection_url" property though:

<snip>
{
    ...
    "name" => "mongodb-2.2",
    "properties" => [
        ...
        {
            "name" => "connection_url",
            "type" => "cart_data",
            "description" => "Mongo DB connection URL",
            "value" => "mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/"
        }
    ],
    ...
    "type" => "embedded",
    "url" => undefined,
    ...
}
</snip>

Expected results:
the "url" property should match the value of the "connection_url" property

Additional info:

Comment 1 Lili Nader 2013-11-25 22:27:37 UTC
The url property is for downloaded cartridges and is different from connection_url. All other cartridges (non-downlaoded) do not have a url.  

See below link for more info:

https://www.openshift.com/developers/download-cartridges


Note You need to log in before you can comment on or make changes to this bug.