incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbeerbo...@apache.org
Subject git commit: AMBARI-2405 - Make non-cloud response objects optional
Date Tue, 10 Sep 2013 23:33:10 GMT
Updated Branches:
  refs/heads/trunk 01659c224 -> 7a058ce61


AMBARI-2405 - Make non-cloud response objects optional


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/7a058ce6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/7a058ce6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/7a058ce6

Branch: refs/heads/trunk
Commit: 7a058ce61992ae333916cab10327fb745f46be84
Parents: 01659c2
Author: tbeerbower <tbeerbower@hortonworks.com>
Authored: Tue Sep 10 19:13:52 2013 -0400
Committer: tbeerbower <tbeerbower@hortonworks.com>
Committed: Tue Sep 10 19:32:41 2013 -0400

----------------------------------------------------------------------
 ambari-server/docs/api/v1/schemas.md | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/7a058ce6/ambari-server/docs/api/v1/schemas.md
----------------------------------------------------------------------
diff --git a/ambari-server/docs/api/v1/schemas.md b/ambari-server/docs/api/v1/schemas.md
index c9e0e4f..b0f805a 100644
--- a/ambari-server/docs/api/v1/schemas.md
+++ b/ambari-server/docs/api/v1/schemas.md
@@ -320,7 +320,7 @@ GET cluster
               "type":"number",
               "title":"ClusterId",
               "description":"The unique cluster ID.",
-              "required":true
+              "required":false
             },
             "cluster_name":{
               "type":"string",
@@ -343,7 +343,7 @@ GET cluster
         "configurations":{
           "type":"array",
           "title":"Configuration set",
-          "required":true,
+          "required":false,
           "items":{
             "type":"object",
             "title":"Configuration",
@@ -426,7 +426,7 @@ GET cluster
         "requests":{
           "type":"array",
           "title":"Request set",
-          "required":true,
+          "required":false,
           "items":{
             "type":"object",
             "title":"Request",
@@ -500,7 +500,7 @@ GET cluster
         "workflows":{
           "type":"array",
           "title":"Workflow set",
-          "required":true,
+          "required":false,
           "items":{
             "type":"object",
             "title":"Workflow",
@@ -1794,7 +1794,7 @@ GET host
             },
             "cpu_count": {
               "type":"number",
-              "required":true
+              "required":false
             },
             "desired_configs":{
               "type":"object",
@@ -1826,12 +1826,12 @@ GET host
               "type":"string",
               "title": "HostState",
               "description": "The state of the host.",
-              "required":true
+              "required":false
             },
             "host_status": {
               "type":"string",
               "title": "HostStatus",
-              "required":true
+              "required":false
             },
             "ip": {
               "type":"string",
@@ -1843,11 +1843,11 @@ GET host
             },
             "last_heartbeat_time": {
               "type":"number",
-              "required":true
+              "required":false
             },
             "last_registration_time": {
               "type":"number",
-              "required":true
+              "required":false
             },
             "os_arch": {
               "type":"string",
@@ -1859,19 +1859,19 @@ GET host
             },
             "ph_cpu_count": {
               "type":"number",
-              "required":true
+              "required":false
             },
             "public_host_name": {
               "type":"string",
-              "required":true
+              "required":false
             },
             "rack_info": {
               "type":"string",
-              "required":true
+              "required":false
             },
             "total_mem": {
               "type":"number",
-              "required":true
+              "required":false
             }
           }
         },
@@ -2405,7 +2405,7 @@ GET host_component
             },
             "stack_id": {
               "type":"string",
-              "required":true
+              "required":false
             },
             "state": {
               "type":"string",


Mime
View raw message