Bug 806045

Summary: [REST API] Domain misses the rhc-domain property
Product: OKD Reporter: Andre Dietisheim <adietish>
Component: PodAssignee: Lili Nader <lnader>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bmeng, mfisher, rmillner, xcoulon
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 18:35:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andre Dietisheim 2012-03-22 18:09:32 UTC
In the former service implementation one would have to build the application url using the

1) application name
2) domain/namespace
3) domain/rhc-domain

As stated in https://bugzilla.redhat.com/show_bug.cgi?id=806004 it would be preferrable to have the construction logic opaque to clients. 
But even if the new REST-service would not require clients to build the application url, I still guess that the rhc-domain is a property that one would like to get reported.

The very same applies to the construction of the git uri file in https://bugzilla.redhat.com/show_bug.cgi?id=805997

Comment 1 Lili Nader 2012-03-23 22:48:34 UTC
added suffix

<response>
  <status>ok</status>
  <type>domain</type>
  <domain>
    <suffix>dev.rhcloud.com</suffix>
    <namespace>abc</namespace>
    <links>

Comment 2 Meng Bo 2012-03-26 09:39:44 UTC
verified on devenv_1672,
issue has been fixed.