You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2017/11/01 00:17:00 UTC
[jira] [Updated] (AMBARI-22345) Add service dependencies
[ https://issues.apache.org/jira/browse/AMBARI-22345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitaly Brodetskyi updated AMBARI-22345:
---------------------------------------
Attachment: AMBARI-22345.patch
> 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
>
>
> 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)