ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Speidel (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-6201) Fix sub-resource names in /stacks API
Date Thu, 19 Jun 2014 14:16:24 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Speidel resolved AMBARI-6201.
----------------------------------

    Resolution: Fixed

merged to trunk

> Fix sub-resource names in /stacks API
> -------------------------------------
>
>                 Key: AMBARI-6201
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6201
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: John Speidel
>            Assignee: John Speidel
>              Labels: api, stack
>             Fix For: 1.6.1
>
>
> The /stacks api uses sub-resource names such as stackServices and serviceComponents instead
of services and components which are the names of the resources specified in the URL.  These
incorrect resource names would need to be used in any queries for stack resources.
> For example:
> To get stack service named HDFS the URL would be:
> api/v1/stacks/HDP/versions/2.1/services/HDFS
> But, if we wanted to do a query of for HDFS services across all versions:
> api/v1/stacks/HDP/versions?stackServices/StackServices/service_name=HDFS
> Instead this should be:
> api/v1/stacks/HDP/versions?services/StackServices/service_name=HDFS
> Fix all sub-resource names that are returned and fix sub-resource names used in queries
and partial response.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message