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

Hudson commented on AMBARI-25030:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10377 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/10377/])
AMBARI-25030. Improve component-host association syntax in Add Service (github: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=6231892fdc052016eba183935d69277b56a73917])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/RequestValidator.java
* (edit) ambari-server/src/test/resources/add_service_api/request1.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AddServiceRequest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/topology/Configuration.java
* (edit) ambari-server/src/test/resources/add_service_api/request2.json
* (edit) ambari-server/src/test/resources/add_service_api/request4.json
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/AddServiceRequestTest.java


> Add better host-matching syntax to Add Service request
> ------------------------------------------------------
>
>                 Key: AMBARI-25030
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25030
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: 2.8.0
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Change syntax of the Add Service request:
> # allow multiple hosts per component
> # simplify {{component_name}} to {{name}} to be more consistent with 
> blueprints
> {noformat}
>    "components" : [
>       {
>         "name" : "DATANODE",
>           “hosts”: [
>              { "fqdn" : "c7401.ambari.apache.org" },
>              { "fqdn" : "c7402.ambari.apache.org" },
>              ...
>           ]
>       },
>       {
>          "name" : "NODEMANAGER",
>          “hosts”: [
>              { "fqdn" : "c7401.ambari.apache.org" },
>              { "fqdn" : "c7402.ambari.apache.org" },
>              ...
>           ]
>       }
>   ],
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to