Tom Beerbower created AMBARI-9311:
-------------------------------------

             Summary: Stacks API structure changes when timestamp is applied
                 Key: AMBARI-9311
                 URL: https://issues.apache.org/jira/browse/AMBARI-9311
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower
             Fix For: 2.0.0


A Stacks API call made without timestamp and with timsestamp returns with 
different response:
{code}
 
http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.2/services?fields=StackServices/*,serviceComponents/*,serviceComponents/dependencies/Dependencies/scope
{code}

{code}
 
http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.2/services?fields=StackServices/*,serviceComponents/*,serviceComponents/dependencies/Dependencies/scope&_=
{code}

The element in the items array has a field *components* in the call without 
timestamp and *serviceComponents* in the call with timestamp




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to