ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-22345) Add service dependencies
Date Mon, 13 Nov 2017 17:52:00 GMT

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

Vitaly Brodetskyi resolved AMBARI-22345.
----------------------------------------
    Resolution: Fixed

Committed to branch-feature-AMBARI-14714

> Add service dependencies
> ------------------------
>
>                 Key: AMBARI-22345
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22345
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-22345.patch, AMBARI-22345_part2.patch
>
>
> API:
> {code}
> POST http://SERVER:8080/api/v2/clusters/{cluster-id}/servicegroups/{sgId}/services
> Request
> {
>   "ServiceInfo" : {
>     "service_name" : "{service-name}",
>     "service_display_name" : "{service-display-name}",
>     "service_version" : "{service-version}",
>     "stack_id" : "{stack-id}",
>     "hosting_platform" : "Ambari|Yarn"
>   }
>   "dependencies" : [
>       {
>         "ServiceInfo" : {
>           "service_id" : "{dependent-service-id}",
>           "cluster_id" : "{dependent-cluster-id}",
>           "service_group_id" : "{dependent-service-group-id}",        
>        }
>       }
>     ]
> }
> {code}
> DB:
> Add table {{servicedependencies}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message