Bug 805997

Summary: [REST API] git-uri for application is missing
Product: OKD Reporter: Andre Dietisheim <adietish>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: urgent Docs Contact:
Priority: medium    
Version: 2.xCC: rmillner, xcoulon, xtian
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-stickshift-controller-0.7.4-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 18:30:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andre Dietisheim 2012-03-22 16:08:02 UTC
The only git-uri that the REST service currently reports is the one on the gear:

<response>
  <messages/>
  <data>
    <gear>
      ...
      <uuid>de33eace81a741bea1d55c467bf68475</uuid>
      <git-url>ssh://XXXXX/~/git/jbossas.git/</git-url>
    </gear>

According to what we discussed in our meeting, this git uri is not the one that the user shall push it's code changes too. We therefore need a git-uri property on application resource.

Comment 1 Abhishek Gupta 2012-03-27 22:22:04 UTC
A new property (git_url) has been added to the XML/JSON output of the application object being returned for a REST call.

Comment 2 Xiaoli Tian 2012-03-29 09:59:21 UTC
(In reply to comment #1)
> A new property (git_url) has been added to the XML/JSON output of the
> application object being returned for a REST call.

Test it on devenv_1679, git url is provided:
      <git-url>ssh://9ff35777cc6c436dabef1d7414fe649d.rhcloud.com/~/git/scaleruby1.git/</git-url>
      <creation-time>2012-03-29T02:14:17-04:00</creation-time>
      <framework>ruby-1.8</framework>