From 4dec4dc6aa0b526bb21aedee4b1120d795300978 Mon Sep 17 00:00:00 2001 From: PatrikBuhr Date: Wed, 4 Nov 2020 13:48:27 +0100 Subject: Bugfix path elements containing dot Springboot trunkates last URL path element if it contains a dot '.'. This is a workaround. Change-Id: I1ae4139468a2669bfd6e33ae9eff88b2fc2a2004 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr --- docs/offeredapis/swagger/pms-api.json | 112 +++++++++++++++++----------------- 1 file changed, 56 insertions(+), 56 deletions(-) (limited to 'docs/offeredapis/swagger') diff --git a/docs/offeredapis/swagger/pms-api.json b/docs/offeredapis/swagger/pms-api.json index 3f684b8b..b503ac0c 100644 --- a/docs/offeredapis/swagger/pms-api.json +++ b/docs/offeredapis/swagger/pms-api.json @@ -35,7 +35,7 @@ "summary": "Returns status and statistics of this service", "deprecated": false, "produces": ["application/json"], - "operationId": "getStatusUsingGET_1", + "operationId": "getStatusUsingGET", "responses": { "200": { "schema": {"$ref": "#/definitions/status_info_v2"}, @@ -137,6 +137,33 @@ "tags": ["A1 Policy Management Version 1.0"] } }, + "/v2/services/{service_id}": {"delete": { + "summary": "Unregister a service", + "deprecated": false, + "produces": ["*/*"], + "operationId": "deleteServiceUsingDELETE", + "responses": { + "200": {"description": "Not used"}, + "401": {"description": "Unauthorized"}, + "204": { + "schema": {"type": "object"}, + "description": "Service unregistered" + }, + "403": {"description": "Forbidden"}, + "404": { + "schema": {"$ref": "#/definitions/error_information"}, + "description": "Service not found" + } + }, + "parameters": [{ + "in": "path", + "name": "service_id", + "description": "service_id", + "type": "string", + "required": true + }], + "tags": ["A1 Policy Management Version 2.0 (in progress)"] + }}, "/policy": { "get": { "summary": "Returns a policy configuration", @@ -775,37 +802,11 @@ "tags": ["A1 Policy Management Version 2.0 (in progress)"], "consumes": ["application/json"] }}, - "/v2/policy-types/{policyTypeId}": {"get": { - "summary": "Returns a policy type definition", - "deprecated": false, - "produces": ["application/json"], - "operationId": "getPolicyTypeUsingGET", - "responses": { - "200": { - "schema": {"$ref": "#/definitions/policytype_v2"}, - "description": "Policy type" - }, - "401": {"description": "Unauthorized"}, - "403": {"description": "Forbidden"}, - "404": { - "schema": {"$ref": "#/definitions/error_information"}, - "description": "Near-RT RIC is not found" - } - }, - "parameters": [{ - "in": "path", - "name": "policyTypeId", - "description": "policyTypeId", - "type": "string", - "required": true - }], - "tags": ["A1 Policy Management Version 2.0 (in progress)"] - }}, "/status": {"get": { "summary": "Returns status and statistics of this service", "deprecated": false, "produces": ["*/*"], - "operationId": "getStatusUsingGET", + "operationId": "getStatusUsingGET_1", "responses": { "200": { "schema": {"type": "string"}, @@ -855,33 +856,6 @@ ], "tags": ["A1 Policy Management Version 2.0 (in progress)"] }}, - "/v2/services/{serviceId}": {"delete": { - "summary": "Unregister a service", - "deprecated": false, - "produces": ["*/*"], - "operationId": "deleteServiceUsingDELETE", - "responses": { - "200": {"description": "Not used"}, - "401": {"description": "Unauthorized"}, - "204": { - "schema": {"type": "object"}, - "description": "Service unregistered" - }, - "403": {"description": "Forbidden"}, - "404": { - "schema": {"$ref": "#/definitions/error_information"}, - "description": "Service not found" - } - }, - "parameters": [{ - "in": "path", - "name": "serviceId", - "description": "serviceId", - "type": "string", - "required": true - }], - "tags": ["A1 Policy Management Version 2.0 (in progress)"] - }}, "/r-app/pms-callback": {"post": { "summary": "Callback for Near-RT RIC status", "deprecated": false, @@ -905,6 +879,32 @@ "tags": ["R-App Callbacks"], "consumes": ["application/json"] }}, + "/v2/policy-types/{policytype_id}": {"get": { + "summary": "Returns a policy type definition", + "deprecated": false, + "produces": ["application/json"], + "operationId": "getPolicyTypeUsingGET", + "responses": { + "200": { + "schema": {"$ref": "#/definitions/policytype_v2"}, + "description": "Policy type" + }, + "401": {"description": "Unauthorized"}, + "403": {"description": "Forbidden"}, + "404": { + "schema": {"$ref": "#/definitions/error_information"}, + "description": "Policy type is not found" + } + }, + "parameters": [{ + "in": "path", + "name": "policytype_id", + "description": "policytype_id", + "type": "string", + "required": true + }], + "tags": ["A1 Policy Management Version 2.0 (in progress)"] + }}, "/service": {"put": { "summary": "Register a service", "deprecated": false, @@ -1015,7 +1015,7 @@ } } }, - "host": "localhost:38593", + "host": "localhost:36953", "definitions": { "error_information": { "description": "Problem as defined in https://tools.ietf.org/html/rfc7807", -- cgit 1.2.3-korg