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

Srimanth Gunturi updated AMBARI-5886:
-------------------------------------

    Attachment: AMBARI-5886.patch

Review at https://reviews.apache.org/r/21895/

Response at 
{{http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apptypes}}
 will be
{code}

{
  "href" : 
"http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apptypes";,
  "items" : [
    {
      "href" : 
"http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apptypes/ACCUMULO";,
      "id" : "ACCUMULO",
      "instance_name" : "SLIDER_1",
      "version" : "1.0.0",
      "view_name" : "SLIDER"
    },
    {
      "href" : 
"http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apptypes/HBASE";,
      "id" : "HBASE",
      "instance_name" : "SLIDER_1",
      "version" : "1.0.0",
      "view_name" : "SLIDER"
    },
    {
      "href" : 
"http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apptypes/STORM";,
      "id" : "STORM",
      "instance_name" : "SLIDER_1",
      "version" : "1.0.0",
      "view_name" : "SLIDER"
    }
  ]
}
{code}

> Implement app_types endpoint to provide app definitions
> -------------------------------------------------------
>
>                 Key: AMBARI-5886
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5886
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.6.1
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.6.1
>
>         Attachments: AMBARI-5886.patch
>
>
> Slider Apps View should provide {{/api/v1/app_types}} endpoint to provide 
> definitions of various app_types supported by this Slider Apps View. Only 
> apps in this type can be created through UI.



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

Reply via email to