Bug 805997 - [REST API] git-uri for application is missing
Summary: [REST API] git-uri for application is missing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
urgent
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-22 16:08 UTC by Andre Dietisheim
Modified: 2015-05-15 01:48 UTC (History)
3 users (show)

Fixed In Version: rubygem-stickshift-controller-0.7.4-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 18:30:43 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 806045 0 medium CLOSED [REST API] Domain misses the rhc-domain property 2021-02-22 00:41:40 UTC

Internal Links: 806045

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>


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