diff options
author | PatrikBuhr <patrik.buhr@est.tech> | 2021-12-27 11:32:58 +0100 |
---|---|---|
committer | PatrikBuhr <patrik.buhr@est.tech> | 2021-12-27 11:32:58 +0100 |
commit | 2b27764f3ba4de24cdf58f3e0df83537b180bb56 (patch) | |
tree | 00d52a32ce9b65e5e96a80e232e5666d1a9cf41b /docs/offeredapis/swagger/pms-api.json | |
parent | 6e31874958b44f45c5dd78aef5c783916b16c6ee (diff) |
A1 Policy Management
API documentation updates. Enabled actuator API documentation generation.
Issue-ID: CCSDK-3495
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Change-Id: I023a97ffad23fb926fbe1a49e8dc33488579ebf3
Diffstat (limited to 'docs/offeredapis/swagger/pms-api.json')
-rw-r--r-- | docs/offeredapis/swagger/pms-api.json | 151 |
1 files changed, 150 insertions, 1 deletions
diff --git a/docs/offeredapis/swagger/pms-api.json b/docs/offeredapis/swagger/pms-api.json index 88196a97..a8a444f7 100644 --- a/docs/offeredapis/swagger/pms-api.json +++ b/docs/offeredapis/swagger/pms-api.json @@ -336,6 +336,13 @@ "enum": ["AVAILABLE"] } } + }, + "Link": { + "type": "object", + "properties": { + "templated": {"type": "boolean"}, + "href": {"type": "string"} + } } }}, "openapi": "3.0.1", @@ -420,6 +427,15 @@ }}, "tags": ["Health Check"] }}, + "/actuator/threaddump": {"get": { + "summary": "Actuator web endpoint 'threaddump'", + "operationId": "handle_2_1_3", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "tags": ["Actuator"] + }}, "/services": { "get": { "summary": "Returns service information", @@ -501,6 +517,24 @@ ], "tags": ["NearRT-RIC Repository"] }}, + "/actuator/loggers": {"get": { + "summary": "Actuator web endpoint 'loggers'", + "operationId": "handle_6", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "tags": ["Actuator"] + }}, + "/actuator/health/**": {"get": { + "summary": "Actuator web endpoint 'health-path'", + "operationId": "handle_12", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "tags": ["Actuator"] + }}, "/a1-policy/v2/policy-types": {"get": { "summary": "Query policy type identities", "operationId": "getPolicyTypes_1", @@ -591,6 +625,21 @@ "tags": ["A1 Policy Management"] } }, + "/actuator/metrics/{requiredMetricName}": {"get": { + "summary": "Actuator web endpoint 'metrics-requiredMetricName'", + "operationId": "handle_5", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "parameters": [{ + "schema": {"type": "string"}, + "in": "path", + "name": "requiredMetricName", + "required": true + }], + "tags": ["Actuator"] + }}, "/a1-policy/v2/configuration": { "get": { "summary": "Returns the contents of the configuration file", @@ -757,6 +806,21 @@ "tags": ["A1 Policy Management V1.0"] } }, + "/actuator": {"get": { + "summary": "Actuator root web endpoint", + "operationId": "links_1", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": { + "additionalProperties": { + "additionalProperties": {"$ref": "#/components/schemas/Link"}, + "type": "object" + }, + "type": "object" + }}} + }}, + "tags": ["Actuator"] + }}, "/policies": {"get": { "summary": "Query policies", "operationId": "getPolicies", @@ -798,6 +862,38 @@ ], "tags": ["A1 Policy Management V1.0"] }}, + "/actuator/loggers/{name}": { + "post": { + "summary": "Actuator web endpoint 'loggers-name'", + "operationId": "handle_0", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "parameters": [{ + "schema": {"type": "string"}, + "in": "path", + "name": "name", + "required": true + }], + "tags": ["Actuator"] + }, + "get": { + "summary": "Actuator web endpoint 'loggers-name'", + "operationId": "handle_7", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "parameters": [{ + "schema": {"type": "string"}, + "in": "path", + "name": "name", + "required": true + }], + "tags": ["Actuator"] + } + }, "/a1-policy/v2/services/{service_id}/keepalive": {"put": { "summary": "Heartbeat indicates that the service is running", "description": "A registerred service must call this in regular intervals to indicate that it is in operation. Absence of this call will lead to that teh service will be deregisterred and all its policies are removed.", @@ -867,6 +963,15 @@ }], "tags": ["A1 Policy Management V1.0"] }}, + "/actuator/metrics": {"get": { + "summary": "Actuator web endpoint 'metrics'", + "operationId": "handle_4", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "tags": ["Actuator"] + }}, "/policy_status": {"get": { "summary": "Returns a policy status", "operationId": "getPolicyStatus", @@ -1027,6 +1132,15 @@ "tags": ["Service Registry and Supervision"] } }, + "/actuator/info": {"get": { + "summary": "Actuator web endpoint 'info'", + "operationId": "handle_9", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "tags": ["Actuator"] + }}, "/ric": {"get": { "summary": "Returns the name of a RIC managing one Mananged Element", "operationId": "getRic", @@ -1101,6 +1215,24 @@ }], "tags": ["A1 Policy Management"] }}, + "/actuator/logfile": {"get": { + "summary": "Actuator web endpoint 'logfile'", + "operationId": "handle_8", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "tags": ["Actuator"] + }}, + "/actuator/health": {"get": { + "summary": "Actuator web endpoint 'health'", + "operationId": "handle_11", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "tags": ["Actuator"] + }}, "/a1-policy/v2/policies": { "get": { "summary": "Query policy identities", @@ -1258,6 +1390,15 @@ "required": true }], "tags": ["A1 Policy Management"] + }}, + "/actuator/heapdump": {"get": { + "summary": "Actuator web endpoint 'heapdump'", + "operationId": "handle_10", + "responses": {"200": { + "description": "OK", + "content": {"*/*": {"schema": {"type": "object"}}} + }}, + "tags": ["Actuator"] }} }, "info": { @@ -1279,6 +1420,14 @@ {"name": "NearRT-RIC Repository"}, {"name": "Service Registry and Supervision"}, {"name": "Health Check"}, - {"name": "Callbacks"} + {"name": "Callbacks"}, + { + "name": "Actuator", + "description": "Monitor and interact", + "externalDocs": { + "description": "Spring Boot Actuator Web API Documentation", + "url": "https://docs.spring.io/spring-boot/docs/current/actuator-api/html/" + } + } ] }
\ No newline at end of file |