Andrii Babiichuk created AMBARI-5635:
----------------------------------------
Summary: UI changes for required for MM support
Key: AMBARI-5635
URL: https://issues.apache.org/jira/browse/AMBARI-5635
Project: Ambari
Issue Type: Bug
Components: client
Affects Versions: 1.6.0
Reporter: Andrii Babiichuk
Assignee: Andrii Babiichuk
Fix For: 1.6.1
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:
{code}
{"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"
}
]}
{code}
- 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)