Bug 1155018

Summary: Website should indicate that the cartridge is downloaded in the application.
Product: OpenShift Online Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Fabiano Franz <ffranz>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 2.xCC: jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-18 16:52:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description Yanping Zhang 2014-10-21 09:29:59 UTC
Description of problem:
Create an application with the newly added cartridge.Check the application detail page on the website.It doesn't indicate downloadable cartridge info for the application. User couldn't distinguish whether the app uses downloadable cartridge or custom cartridge.

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

How reproducible:
Always

Steps to Reproduce:
1.Add one downloadable cartridge on broker:
oo-admin-ctl-cartridge -c import --url https://raw.githubusercontent.com/yanpzhan/ruby1010/master/metadata/manifest.yml --activate
2.On website create application with new added cartridge:yanpzhan-ruby-1.9
3.Check the application page, show the detail.
4.In command line ,check application info:
# rhc app show yanpzhanruby19

Actual results:
3.Have no info to indicate the cartridge app used is downloaded:
Ruby is a dynamic, reflective, general-purpose object-oriented programming language. Popular development frameworks include Ruby on Rails and Sinatra. 
Version  1.9 
License  Ruby BSDL  
Website  http://www.ruby-lang.org

4.Show the cartridge is yanpzhan-ruby-1.9 and the manifesti.yml url.
# rhc app show yanpzhanruby19
yanpzhanruby19 @ http://yanpzhanruby19-dom1.ose22.manual.com/
  (uuid: 544601246b263c3567000031)
-------------------------------------------------------------
  Domain:     dom1
  Created:    2:45 PM
  Gears:      1 (defaults to small)
  Git URL:    ssh://544601246b263c3567000031.manual.com/~/git/yanpzhanruby19.git/
  SSH:        544601246b263c3567000031.manual.com
  Deployment: auto (on git push)

  yanpzhan-ruby-1.9 (Ruby 1.9)
  ----------------------------
    From:    https://raw.githubusercontent.com/yanpzhan/ruby1010/master/metadata/manifest.yml
    Website: http://www.ruby-lang.org
    Gears:   1 small

Expected results:
3.On the app page, should show the cartridge is yanpzhan-ruby-1.9 and give the manifesti.yml url.

Additional info:

Comment 1 Fabiano Franz 2014-10-21 15:01:59 UTC
Created attachment 949008 [details]
screenshot

Comment 2 Fabiano Franz 2014-10-21 15:04:56 UTC
I'm seeing it like this (check the attached screenshot). In the application page you click "details" and then you have "Origin: custom cartridge" which links to the cartridge manifest. The icon aside "Ruby 1.9" also denotes it's a downloadable cartridge. Are you seeing something different?

Comment 3 Yanping Zhang 2014-10-22 02:33:13 UTC
Test on devenv_5256, on the app detail pages, indeed found "Origin: custom cartridge" which links to the cartridge manifest. Thanks for instructions.