You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yurii Shylov (JIRA)" <ji...@apache.org> on 2014/11/17 19:21:33 UTC
[jira] [Updated] (AMBARI-8353) Repository Version Management -
Create subresource for hosts and clusters
[ https://issues.apache.org/jira/browse/AMBARI-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yurii Shylov updated AMBARI-8353:
---------------------------------
Issue Type: Technical task (was: Task)
Parent: AMBARI-8162
> 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
>
>
> {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)