X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fswagger.json;h=3bc6705022ea6f973730040a907c5b433134c26c;hb=3135f7122bc7de7845c4b60e457245c9cc9ff511;hp=27db769f62ad7bc4704d94f52a44510455452a8f;hpb=c79755d43c123176515e5cafbba0774a03d297d3;p=music.git diff --git a/docs/swagger.json b/docs/swagger.json index 27db769f..3bc67050 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -875,26 +875,43 @@ } } }, - "/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", @@ -908,18 +925,26 @@ } } }, - "/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", @@ -939,7 +964,7 @@ "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" @@ -1269,20 +1294,6 @@ "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": {