[
https://issues.apache.org/jira/browse/AMBARI-23611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated AMBARI-23611:
------------------------------------
Labels: pull-request-available (was: )
> Add Service Group to various start/stop/restart API calls
> ---------------------------------------------------------
>
> Key: AMBARI-23611
> URL: https://issues.apache.org/jira/browse/AMBARI-23611
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 3.0.0
> Reporter: Jason Golieb
> Assignee: Jason Golieb
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
>
> The UI exposes various Start, Stop, and Restart API calls which now must be
> updated to include Service Groups. The functions in scope for this issue are:
> * Start/Stop All Services
> * Restart All Stale Services
> * Restart Service on Selected Hosts
> * Restart Service (on all hosts)
> * Restart Component (on specific Host)
> * Restart Stale Components (on specific Host)
> * Restart All Components (on specific Host)
> * Configure Client (restart client component)
> * Service Check
> For these functions, in the body of the {{RequestInfo, resource_filters}} are
> used to actually target the intended recipients of the command (when not
> using a specific URL). Any time that the resource_filter contains a
> service_name, we will add service_group_name. If multiple service groups are
> in scope, then the resource_filter will be duplicated for each service group.
> There are two exceptions to this pattern that are also in scope:
> * Start/Stop Service - these requests are made to the specific service
> endpoint, and the service group will be indicated in the URL
> * Start/Stop (Host) Component - these requests are made to the specific host
> component endpoint, and the specific component is targeted either by
> including its ID in the URL (which obviates the need to indicate the service
> group) or by including identifying information (including the service group)
> in the request body.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)