Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
Description
UI changes required for MM support.
- resource_filters should be defined for all custom commands, custom actions (POST requests)
- operation_level should be added to requests where it is applicable
- operation_level info should look like:
{"RequestInfo": { "command": "RESTART", "context": "Restart components with Stale Configs on vm-0.vm", "operation_level": { "level": "HOST_COMPONENT", "cluster_name": "c1", "service_name": "HDFS", "hostcomponent_name": "NAMENODE", "host_name": "vm-0.vm" } }, "Requests/resource_filters": [ { "service_name": "GANGLIA", "component_name": "GANGLIA_MONITOR", "hosts": "vm-0.vm" } ]}
- Possible values for and operation level are CLUSTER|SERVICE|HOST|HOST_COMPONENT
- maintenance state is only possible for service, component, host, service component host. Maintenance mode on cluster level will not be available.