Bug 1013957

Summary: when doing a REST query against domain, the id field is not showing in PROD/STG/INT but it's present in DEVENV/
Product: OpenShift Online Reporter: Peter Ruan <pruan>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: ccoleman, lnader
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: 2013-10-01 18:45:03 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:

Description Peter Ruan 2013-10-01 07:10:21 UTC
Description of problem:
when doing a REST query against domain, the id field is not showing in PROD/STG/INT but it's present in DEVENV/Origin.  Please note that the Origin build from 8/26 is not showing this id field.
 
PROD
=================
    {
     
        "api_version": 1.6,
        "data": [
            {
                "allowed_gear_sizes": [
                    "small",
                    "medium"
                ],
                "creation_time": "2013-09-27T06:58:41Z",
                "links": { … },
                "members": [ … ],
                "name": "inorqu",
                "suffix": "rhcloud.com"
            }
        ],
        "messages": [ ],
        "status": "ok",
        "supported_api_versions": [
            1,
            1.1,
            1.2,
            1.3,
            1.4,
            1.5,
            1.6
        ],
        "type": "domains",
        "version": "1.6"
     
    }


DEVENV
========    {
     
        "api_version": 1.6,
        "data": [
            {
                "allowed_gear_sizes": [
                    "small"
                ],
                "creation_time": "2013-09-30T21:07:34Z",
                "id": "5249e8166892dfd462000006",
                "links": { … },
                "members": [ … ],
                "name": "origin",
                "suffix": "example.com"
            }
        ],
        "messages": [ ],
        "status": "ok",
        "supported_api_versions": [
            1,
            1.1,
            1.2,
            1.3,
            1.4,
            1.5,
            1.6
        ],
        "type": "domains",
        "version": "1.6"
     
    }

ORIGIN (latest build)
{
api_version: 1.6,
data: [
{
allowed_gear_sizes: [
"small"
],
creation_time: "2013-09-30T21:07:34Z",
id: "5249e8166892dfd462000006",
links: {},
members: [
{
explicit_role: null,
from: [
{
type: "owner",
role: "admin"
}
],
id: "5249e80c6892dfd462000001",
login: "admin",
owner: true,
role: "admin",
type: "user"
}
],
name: "origin",
suffix: "example.com"
}
],
messages: [ ],
status: "ok",
supported_api_versions: [
1,
1.1,
1.2,
1.3,
1.4,
1.5,
1.6
],
type: "domains",
version: "1.6"
}


ORIGIN (8/26/2013 build)
{
api_version: 1.6,
data: [
{
creation_time: "2013-09-26T23:33:16Z",
links: {},
name: "lq1rli",
suffix: "openshift.local"
}
],
messages: [ ],
status: "ok",
supported_api_versions: [
1,
1.1,
1.2,
1.3,
1.4,
1.5,
1.6
],
type: "domains",
version: "1.6"
}


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Clayton Coleman 2013-10-01 18:45:03 UTC
ID was added in API 1.6 in this sprint.  It did not exist prior to this sprint.

Comment 2 Peter Ruan 2013-10-01 20:35:05 UTC
This change will impact QE's test script.  QE will patch the tests to accomodate for this change.