ambari-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/AMBARI-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219485#comment-14219485
] 

Hudson commented on AMBARI-8353:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit-docker #287 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/287/])
AMBARI-8353. Repository Version Management - Create subresource for hosts and clusters (Yurii
Shylov via ncole) (ncole: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2f00656c824390bbebb9a3441d3839c37427f3bc)
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
* ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
* ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
* ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
* ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
* ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
* ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
* ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java


> 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