Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89B4A10188 for ; Wed, 17 Jul 2013 20:47:46 +0000 (UTC) Received: (qmail 85148 invoked by uid 500); 17 Jul 2013 20:47:46 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 85120 invoked by uid 500); 17 Jul 2013 20:47:46 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 85111 invoked by uid 99); 17 Jul 2013 20:47:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 20:47:46 +0000 Date: Wed, 17 Jul 2013 20:47:46 +0000 (UTC) From: "Brian Swan (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-2405) Make non-cloud response objects optional MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13711593#comment-13711593 ] Brian Swan commented on AMBARI-2405: ------------------------------------ Forgot to add the "ph_cpu_count" to my comment above (adding it now). > 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//hosts//host_components/datanode (also tasktracker) > * disk > * cpu > * load > * memory > * network > /clusters/:clusterName > * workflows > /clusters//hosts/ > * host_status > * host_state -- 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