ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yurii Shylov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-8353) Repository Version Management - Create subresource for hosts and clusters
Date Thu, 20 Nov 2014 14:06:33 GMT

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

Yurii Shylov updated AMBARI-8353:
---------------------------------
    Attachment:     (was: AMBARI-8353.patch)

> Repository Version Management - Create subresource for hosts and clusters
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-8353
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8353
>             Project: Ambari
>          Issue Type: Technical task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Yurii Shylov
>            Assignee: Yurii Shylov
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8353.patch
>
>
> {code}
> GET /api/v1/clusters/c1/stack_versions
> {
>   "items": [
>     "ClusterStackVersions": {
>       "id": 1,
>       "cluster_name": "c1"
>     }
>   ]
> }
> {code}
> {code}
> GET /api/v1/hosts/host1/stack_versions
> {
>   "items": [
>     "HostStackVersions": {
>       "id": 1,
>       "host_name": "host1"
>     }
>   ]
> }
> {code}
> {code}
> GET /api/v1/clusters/c1/stack_versions/1
> {
>   "ClusterStackVersions": {
>     "id": 1,
>     "cluster_name": "c1",
>     "stack": "HDP",
>     "version": "2.2.0.1-885",
>     "state": "INSTALLING"
>     "installed_hosts": ["host1", "host2"],
>     "current_hosts": ["host1"],
>     "repositories": [
>       {
>         "os": "redhat6",
>         "baseurls": [
>           {
>             "id": "HDP-2.2.0.1-885",
>             "type": "HDP",
>             "baseurl": "http://host1/hdp"
>           },
>           {
>             "id": "HDP-UTILS-1.0.0.20",
>             "type": "HDP-UTILS",
>             "baseurl": "http://host1/hdp-utils"
>           }
>         ]
>       }
>     ]
>   }
> }
> {code}
> {code}
> GET /api/v1/hosts/host1/stack_versions/1
> {
>   "HostStackVersions": {
>     "id": 1,
>     "host_name": "host1",
>     "stack": "HDP",
>     "version": "2.2.0.1-885",
>     "state": "INSTALLING"
>     "repositories": [
>       {
>         "os": "redhat6",
>         "baseurls": [
>           {
>             "id": "HDP-2.2.0.1-885",
>             "type": "HDP",
>             "baseurl": "http://host1/hdp"
>           },
>           {
>             "id": "HDP-UTILS-1.0.0.20",
>             "type": "HDP-UTILS",
>             "baseurl": "http://host1/hdp-utils"
>           }
>         ]
>       }
>     ]
>   }
> }
> {code}



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

Mime
View raw message