Remove straggling zookeper references
[music.git] / docs / swagger.json
index 27db769..3bc6705 100644 (file)
         }
       }
     },
-    "/v{version}/service/pingCassandra/{consistency}": {
+    "/v{version}/service/pingZookeeper": {
       "get": {
         "tags": [
           "Healthcheck Api"
         ],
         "summary": "Get Health Status",
         "description": "",
-        "operationId": "cassandraStatus",
+        "operationId": "ZKStatus",
         "produces": [
           "application/json"
         ],
-        "parameters": [
-          {
-            "name": "consistency",
-            "in": "path",
-            "description": "Consistency level",
-            "required": true,
-            "type": "string"
+        "parameters": [],
+        "responses": {
+          "200": {
+            "description": "successful operation",
+            "schema": {
+              "type": "object",
+              "additionalProperties": {
+                "type": "object"
+              }
+            }
           }
+        }
+      }
+    },
+    "/v{version}/service/musicHealthCheck": {
+      "get": {
+        "tags": [
+          "Healthcheck Api"
         ],
+        "summary": "Get Health Status",
+        "description": "",
+        "operationId": "musicHealthCheck",
+        "produces": [
+          "application/json"
+        ],
+        "parameters": [],
         "responses": {
           "200": {
             "description": "successful operation",
         }
       }
     },
-    "/v{version}/service/pingZookeeper": {
+    "/v{version}/service/pingCassandra/{consistency}": {
       "get": {
         "tags": [
           "Healthcheck Api"
         ],
         "summary": "Get Health Status",
         "description": "",
-        "operationId": "ZKStatus",
+        "operationId": "cassandraStatus",
         "produces": [
           "application/json"
         ],
-        "parameters": [],
+        "parameters": [
+          {
+            "name": "consistency",
+            "in": "path",
+            "description": "Consistency level",
+            "required": true,
+            "type": "string"
+          }
+        ],
         "responses": {
           "200": {
             "description": "successful operation",
           "Lock Api"
         ],
         "summary": "Create Lock",
-        "description": "Puts the requesting process in the q for this lock. The corresponding node will be created in zookeeper if it did not already exist. Lock Name is the \"key\" of the form keyspaceName.tableName.rowId",
+        "description": "Puts the requesting process in the q for this lock. The corresponding lock will be created if it did not already exist. Lock Name is the \"key\" of the form keyspaceName.tableName.rowId",
         "operationId": "createLockReference",
         "produces": [
           "application/json"
             "description": "Application namespace",
             "required": true,
             "type": "string"
-          },
-          {
-            "name": "userId",
-            "in": "header",
-            "description": "userId",
-            "required": true,
-            "type": "string"
-          },
-          {
-            "name": "password",
-            "in": "header",
-            "description": "Password",
-            "required": true,
-            "type": "string"
           }
         ],
         "responses": {