[
https://issues.apache.org/jira/browse/AMBARI-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14215063#comment-14215063
]
Hadoop QA commented on AMBARI-8353:
-----------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12681951/AMBARI-8353.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 10 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-server.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/666//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/666//console
This message is automatically generated.
> 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)