Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0
Description
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.
Attachments
Issue Links
- links to