You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2017/10/09 07:47:00 UTC
[jira] [Resolved] (AMBARI-22164) Update services API to user
service_name, service_type instead of service_display_name, service_name
[ https://issues.apache.org/jira/browse/AMBARI-22164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jayush Luniya resolved AMBARI-22164.
------------------------------------
Resolution: Fixed
> Update services API to user service_name, service_type instead of service_display_name, service_name
> ----------------------------------------------------------------------------------------------------
>
> Key: AMBARI-22164
> URL: https://issues.apache.org/jira/browse/AMBARI-22164
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server, ambari-web
> Affects Versions: 3.0.0
> Reporter: Jayush Luniya
> Assignee: Jayush Luniya
> Priority: Critical
> Fix For: 3.0.0
>
>
> Follow up to AMBARI-21824.
> Update services API as
> {code}
> POST /api/v1/clusters/cl1/servicegroups/core/services
> {
> "ServiceInfo" : {
> "service_name": "ZK1",
> "service_type": "ZOOKEEPER"
> }
> }
> {code}
> When creating a service if no service_type is passed, then service_type will be assumed to be same as service_name.
> {code}
> POST /api/v1/clusters/cl1/servicegroups/core/services
> {
> "ServiceInfo" : {
> "service_name": "ZOOKEEPER"
> }
> }
> {code}
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)