[
https://issues.apache.org/jira/browse/AMBARI-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Swan updated AMBARI-2405:
-------------------------------
Description:
Several of the Ambari API response schemas
(https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/schemas.md)
list several objects as required that don't make sense when Ambari is deployed
in a cloud hosting environment. These objects should be made optional.
Specifically, the following properties should be optional (listed by API call):
/clusters/:clusterName
* cluster_id
* requests
* configurations
/clusters/:clusterName/hosts/:hostname
* public_host_name
* rack_info
* total_mem
/clusters/:clusterName/hosts/:hostName/host_components/:componentName
* desired_stack_id
* stack_id
/clusters/<name>/hosts/<node>/host_components/datanode (also tasktracker)
* disk
* cpu
* load
* memory
* network
/clusters/:clusterName
* workflows
was:
Several of the Ambari API response schemas
(https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/schemas.md)
list several objects as required that don't make sense when Ambari is deployed
in a cloud hosting environment. These objects should be made optional.
Specifically, the following properties should be optional (listed by API call):
/clusters/:clusterName
* cluster_id
* requests
* configurations
/clusters/:clusterName/hosts/:hostname
* public_host_name
* rack_info
* total_mem
/clusters/:clusterName/hosts/:hostName/host_components/:componentName
* desired_stack_id
* stack_id
/clusters/<name>/hosts/<node>/host_components/datanode (also tasktracker)
* disk
* cpu
* load
* memory
* network
> Make non-cloud response objects optional
> ----------------------------------------
>
> Key: AMBARI-2405
> URL: https://issues.apache.org/jira/browse/AMBARI-2405
> Project: Ambari
> Issue Type: Improvement
> Components: documentation
> Reporter: Brian Swan
> Priority: Minor
>
> Several of the Ambari API response schemas
> (https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/schemas.md)
> list several objects as required that don't make sense when Ambari is
> deployed in a cloud hosting environment. These objects should be made
> optional. Specifically, the following properties should be optional (listed
> by API call):
> /clusters/:clusterName
> * cluster_id
> * requests
> * configurations
> /clusters/:clusterName/hosts/:hostname
> * public_host_name
> * rack_info
> * total_mem
> /clusters/:clusterName/hosts/:hostName/host_components/:componentName
> * desired_stack_id
> * stack_id
> /clusters/<name>/hosts/<node>/host_components/datanode (also tasktracker)
> * disk
> * cpu
> * load
> * memory
> * network
> /clusters/:clusterName
> * workflows
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira