This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to tag history/branches/lucene-solr/branch_7_1
in repository https://gitbox.apache.org/repos/asf/solr.git

commit eb230e13f0ae400b4e8d108fed85c75a7600947d
Author: Shalin Shekhar Mangar <[email protected]>
AuthorDate: Thu Oct 26 15:14:11 2017 +0530

    SOLR-9735: Fix autoscaling.Commands.json structure
    
    (cherry picked from commit b5d3d24)
    
    (cherry picked from commit 7a3491d)
---
 .../resources/apispec/autoscaling.Commands.json    | 43 +++++++++++-----------
 1 file changed, 21 insertions(+), 22 deletions(-)

diff --git a/solr/solrj/src/resources/apispec/autoscaling.Commands.json 
b/solr/solrj/src/resources/apispec/autoscaling.Commands.json
index 95563ed..31820ce 100644
--- a/solr/solrj/src/resources/apispec/autoscaling.Commands.json
+++ b/solr/solrj/src/resources/apispec/autoscaling.Commands.json
@@ -13,7 +13,7 @@
   },
   "commands": {
     "set-trigger": {
-      "type":"object",
+      "type": "object",
       "description": "The set-trigger command allows you to add and update 
triggers on various system metrics",
       "properties": {
         "name": {
@@ -48,11 +48,10 @@
           }
         }
       },
-        "required": [
-          "name",
-          "event"
-        ]
-      }
+      "required": [
+        "name",
+        "event"
+      ]
     },
     "remove-trigger": {
       "description": "Remove a trigger",
@@ -87,21 +86,21 @@
           "type": "array",
           "description": "The stage of the trigger for which to listen",
           "items": {
-            "type" : "string"
+            "type": "string"
           }
         },
         "beforeAction": {
           "type": "array",
           "description": "The name of the action before which the listener 
should be notified",
           "items": {
-            "type" : "string"
+            "type": "string"
           }
         },
         "afterAction": {
           "type": "array",
           "description": "The name of the action after which the listener 
should be notified",
           "items": {
-            "type" : "string"
+            "type": "string"
           }
         },
         "class": {
@@ -159,23 +158,23 @@
         "name"
       ]
     },
-    "set-policy" : {
-      "type":"object",
+    "set-policy": {
+      "type": "object",
       "description": "The set-policy command allows you to add and update 
policies that apply to collections",
-    /*  "patternProperties": {
-        "^.+$": {
-          "type": "array"
-        }
-      },*/
+      /*  "patternProperties": {
+          "^.+$": {
+            "type": "array"
+          }
+        },*/
       "additionalProperties": true
     },
-    "set-cluster-policy" : {
-      "type" : "array",
-      "description" : "The set-cluster-policy command allows you to add and 
update cluster-level policy that acts as the base for all collection level 
policies, if any"
+    "set-cluster-policy": {
+      "type": "array",
+      "description": "The set-cluster-policy command allows you to add and 
update cluster-level policy that acts as the base for all collection level 
policies, if any"
     },
-    "set-cluster-preferences" : {
-      "type" : "array",
-      "description" : "The set-cluster-preferences command allows you to add 
and update cluster-level preferences that are used to sort nodes for selection 
in cluster operations"
+    "set-cluster-preferences": {
+      "type": "array",
+      "description": "The set-cluster-preferences command allows you to add 
and update cluster-level preferences that are used to sort nodes for selection 
in cluster operations"
     },
     "remove-policy": {
       "description": "Remove a policy",

Reply via email to