raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2020-2023 Nordix Foundation |
| 3 | # Modifications Copyright (C) 2021 Pantheon.tech |
| 4 | # Modifications Copyright (C) 2021 Bell Canada |
| 5 | # ================================================================================ |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # |
| 18 | # SPDX-License-Identifier: Apache-2.0 |
| 19 | # ============LICENSE_END========================================================= |
| 20 | |
| 21 | openapi: 3.0.3 |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 22 | info: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 23 | description: "<h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service\ |
| 24 | \ provides a REST API for management of A1 policies. <br/>The main tasks of the\ |
| 25 | \ service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring\ |
| 26 | \ and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining\ |
| 27 | \ a view of supported Near-RT RIC policy types</li><li>Supervision of using services\ |
| 28 | \ (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs\ |
PatrikBuhr | 9f1d949 | 2023-04-17 13:00:15 +0200 | [diff] [blame] | 29 | \ provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This\ |
| 30 | \ is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation,\ |
| 31 | \ modification and deletion.</li><li>Retrieval of supported A1 Policy types for\ |
| 32 | \ a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management\ |
| 33 | \ of configuration</h3><p>API for updating and retrieval of the component configuration.\ |
| 34 | \ Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These\ |
| 35 | \ are endpoints that are invoked by this service. The callbacks are registered\ |
| 36 | \ in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This\ |
| 37 | \ is an API that provides support for looking up a NearRT-RIC. Each A1 policy\ |
| 38 | \ is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision\ |
| 39 | \ of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used\ |
| 40 | \ for registering services that uses PMS. Each A1 policy is optionally owned by\ |
| 41 | \ a service. PMS can supervise each registered service by a heart-beat supervision\ |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 42 | \ and will automatically remove policies for unavailable services. Note that a\ |
| 43 | \ service does not need to be registered in order to create A1 Policies. This\ |
PatrikBuhr | 9f1d949 | 2023-04-17 13:00:15 +0200 | [diff] [blame] | 44 | \ is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used\ |
| 45 | \ for access control of A1 Policy access. If configured, an external authorization\ |
| 46 | \ provider is requested to grant access to the A1 Policy type.</p><h3>Spring Boot\ |
| 47 | \ Actuator</h3><p>Provides generic functions used to monitor and manage the Spring\ |
| 48 | \ web application.</p>" |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 49 | license: |
PatrikBuhr | c0218ad | 2022-11-28 09:40:36 +0100 | [diff] [blame] | 50 | name: Copyright (C) 2020-2023 Nordix Foundation. Licensed under the Apache License. |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 51 | url: http://www.apache.org/licenses/LICENSE-2.0 |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 52 | title: A1 Policy Management Service |
PatrikBuhr | 9f1d949 | 2023-04-17 13:00:15 +0200 | [diff] [blame] | 53 | version: 1.2.0 |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 54 | servers: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 55 | - url: / |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 56 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 57 | - description: "API used for authorization of information A1 policy access (this is |
| 58 | provided by an authorization producer such as OPA). <br> Note that this API is called |
| 59 | by PMS, it is not provided." |
| 60 | name: Authorization API |
| 61 | - description: Monitor and interact |
| 62 | externalDocs: |
| 63 | description: Spring Boot Actuator Web API Documentation |
| 64 | url: https://docs.spring.io/spring-boot/docs/current/actuator-api/html/ |
| 65 | name: Actuator |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 66 | paths: |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 67 | /a1-policy/v2/policy-instances: |
| 68 | get: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 69 | description: "Returns a list of A1 policies matching given search criteria.\ |
| 70 | \ <br>If several query parameters are defined, the policies matching all conditions\ |
| 71 | \ are returned." |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 72 | operationId: getPolicyInstances |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 73 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 74 | - description: Select policies with a given type identity. |
| 75 | explode: true |
| 76 | in: query |
| 77 | name: policytype_id |
| 78 | required: false |
| 79 | schema: |
| 80 | type: string |
| 81 | style: form |
| 82 | - description: Select policies for a given Near-RT RIC identity. |
| 83 | explode: true |
| 84 | in: query |
| 85 | name: ric_id |
| 86 | required: false |
| 87 | schema: |
| 88 | type: string |
| 89 | style: form |
| 90 | - description: Select policies owned by a given service. |
| 91 | explode: true |
| 92 | in: query |
| 93 | name: service_id |
| 94 | required: false |
| 95 | schema: |
| 96 | type: string |
| 97 | style: form |
| 98 | - description: Select policies of a given type name (type identity has the format |
| 99 | <typename_version>) |
| 100 | explode: true |
| 101 | in: query |
| 102 | name: type_name |
| 103 | required: false |
| 104 | schema: |
| 105 | type: string |
| 106 | style: form |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 107 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 108 | "200": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 109 | content: |
| 110 | application/json: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 111 | examples: |
| 112 | policy_info_list: |
| 113 | $ref: '#/components/examples/policy_info_list' |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 114 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 115 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 116 | description: Policies |
| 117 | "404": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 118 | content: |
| 119 | application/json: |
| 120 | schema: |
| 121 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 122 | description: "Near-RT RIC, policy type or service not found" |
| 123 | summary: Query for A1 policy instances |
| 124 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 125 | - A1 Policy Management |
PatrikBuhr | f07e4b3 | 2023-04-05 14:40:07 +0200 | [diff] [blame] | 126 | /example-authz-check: |
| 127 | post: |
| 128 | description: The authorization function decides if access is granted. |
| 129 | operationId: performAccessControl |
| 130 | requestBody: |
| 131 | content: |
| 132 | application/json: |
| 133 | schema: |
| 134 | $ref: '#/components/schemas/policy_authorization' |
| 135 | required: true |
| 136 | responses: |
| 137 | "200": |
| 138 | content: |
| 139 | application/json: |
| 140 | schema: |
| 141 | $ref: '#/components/schemas/authorization_result' |
| 142 | description: OK |
| 143 | summary: Request for access authorization. |
| 144 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 145 | - Authorization API |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 146 | /actuator/threaddump: |
| 147 | get: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 148 | operationId: threaddump |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 149 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 150 | "200": |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 151 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 152 | text/plain;charset=UTF-8: |
| 153 | schema: |
| 154 | type: object |
| 155 | application/vnd.spring-boot.actuator.v3+json: |
| 156 | schema: |
| 157 | type: object |
| 158 | application/json: |
| 159 | schema: |
| 160 | type: object |
| 161 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 162 | schema: |
| 163 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 164 | description: OK |
| 165 | summary: Actuator web endpoint 'threaddump' |
| 166 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 167 | - Actuator |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 168 | /a1-policy/v2/status: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 169 | get: |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 170 | operationId: getStatus |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 171 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 172 | "200": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 173 | content: |
| 174 | application/json: |
| 175 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 176 | type: object |
| 177 | examples: |
| 178 | status_info: |
| 179 | $ref: '#/components/examples/status_info' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 180 | description: Service is living |
| 181 | summary: Returns status and statistics of this service |
| 182 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 183 | - Health Check |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 184 | /actuator/loggers: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 185 | get: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 186 | operationId: loggers |
| 187 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 188 | "200": |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 189 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 190 | application/vnd.spring-boot.actuator.v3+json: |
| 191 | schema: |
| 192 | type: object |
| 193 | application/json: |
| 194 | schema: |
| 195 | type: object |
| 196 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 197 | schema: |
| 198 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 199 | description: OK |
| 200 | summary: Actuator web endpoint 'loggers' |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 201 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 202 | - Actuator |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 203 | /actuator/health/**: |
| 204 | get: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 205 | operationId: health-path |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 206 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 207 | "200": |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 208 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 209 | application/vnd.spring-boot.actuator.v3+json: |
| 210 | schema: |
| 211 | type: object |
| 212 | application/json: |
| 213 | schema: |
| 214 | type: object |
| 215 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 216 | schema: |
| 217 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 218 | description: OK |
| 219 | summary: Actuator web endpoint 'health-path' |
| 220 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 221 | - Actuator |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 222 | /a1-policy/v2/rics/ric: |
| 223 | get: |
JohnKeeney | 069b469 | 2022-05-12 22:15:14 +0100 | [diff] [blame] | 224 | description: Either a Near-RT RIC identity or a Managed Element identity can |
| 225 | be specified.<br>The intention with Managed Element identity is the ID used |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 226 | in O1 for accessing the traffical element (such as the ID of CU). |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 227 | operationId: getRic |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 228 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 229 | - description: "The identity of a Managed Element. If given, the Near-RT RIC\ |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 230 | \ managing the ME is returned." |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 231 | explode: true |
| 232 | in: query |
| 233 | name: managed_element_id |
| 234 | required: false |
| 235 | schema: |
| 236 | type: string |
| 237 | style: form |
| 238 | - description: The identity of a Near-RT RIC to get information for. |
| 239 | explode: true |
| 240 | in: query |
| 241 | name: ric_id |
| 242 | required: false |
| 243 | schema: |
| 244 | type: string |
| 245 | style: form |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 246 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 247 | "200": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 248 | content: |
| 249 | application/json: |
| 250 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 251 | type: object |
| 252 | examples: |
| 253 | ric_info: |
| 254 | $ref: '#/components/examples/ric_info' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 255 | description: Near-RT RIC is found |
| 256 | "404": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 257 | content: |
| 258 | application/json: |
| 259 | schema: |
| 260 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 261 | description: Near-RT RIC is not found |
| 262 | summary: Returns info for one Near-RT RIC |
| 263 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 264 | - NearRT-RIC Repository |
PatrikBuhr | c0218ad | 2022-11-28 09:40:36 +0100 | [diff] [blame] | 265 | /actuator/shutdown: |
| 266 | post: |
PatrikBuhr | c0218ad | 2022-11-28 09:40:36 +0100 | [diff] [blame] | 267 | operationId: shutdown |
| 268 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 269 | "200": |
PatrikBuhr | c0218ad | 2022-11-28 09:40:36 +0100 | [diff] [blame] | 270 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 271 | application/vnd.spring-boot.actuator.v3+json: |
| 272 | schema: |
| 273 | type: object |
| 274 | application/json: |
| 275 | schema: |
| 276 | type: object |
| 277 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | c0218ad | 2022-11-28 09:40:36 +0100 | [diff] [blame] | 278 | schema: |
| 279 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 280 | description: OK |
| 281 | summary: Actuator web endpoint 'shutdown' |
| 282 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 283 | - Actuator |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 284 | /a1-policy/v2/policy-types: |
| 285 | get: |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 286 | operationId: getPolicyTypes |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 287 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 288 | - description: Select types for the given Near-RT RIC identity. |
| 289 | explode: true |
| 290 | in: query |
| 291 | name: ric_id |
| 292 | required: false |
| 293 | schema: |
| 294 | type: string |
| 295 | style: form |
| 296 | - description: Select types with the given type name (type identity has the |
| 297 | format <typename_version>) |
| 298 | explode: true |
| 299 | in: query |
| 300 | name: type_name |
| 301 | required: false |
| 302 | schema: |
| 303 | type: string |
| 304 | style: form |
| 305 | - description: Select types that are compatible with the given version. This |
| 306 | parameter is only applicable in conjunction with type_name. As an example |
| 307 | version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching |
| 308 | types will be returned sorted in ascending order. |
| 309 | explode: true |
| 310 | in: query |
| 311 | name: compatible_with_version |
| 312 | required: false |
| 313 | schema: |
| 314 | type: string |
| 315 | style: form |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 316 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 317 | "200": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 318 | content: |
| 319 | application/json: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 320 | examples: |
| 321 | policy_type_id_list: |
| 322 | $ref: '#/components/examples/policy_type_id_list' |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 323 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 324 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 325 | description: Policy type IDs |
| 326 | "404": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 327 | content: |
| 328 | application/json: |
| 329 | schema: |
| 330 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 331 | description: Near-RT RIC is not found |
| 332 | summary: Query policy type identities |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 333 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 334 | - A1 Policy Management |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 335 | /a1-policy/v2/policies/{policy_id}: |
| 336 | delete: |
| 337 | operationId: deletePolicy |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 338 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 339 | - explode: false |
| 340 | in: path |
| 341 | name: policy_id |
| 342 | required: true |
| 343 | schema: |
| 344 | type: string |
| 345 | style: simple |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 346 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 347 | "200": |
| 348 | content: |
| 349 | '*/*': |
| 350 | schema: |
| 351 | $ref: '#/components/schemas/void' |
| 352 | description: Not used |
| 353 | "423": |
| 354 | content: |
| 355 | '*/*': |
| 356 | schema: |
| 357 | $ref: '#/components/schemas/error_information' |
| 358 | description: Near-RT RIC is not operational |
| 359 | "204": |
| 360 | content: |
| 361 | '*/*': |
| 362 | schema: |
| 363 | $ref: '#/components/schemas/void' |
| 364 | description: Policy deleted |
| 365 | "404": |
| 366 | content: |
| 367 | '*/*': |
| 368 | schema: |
| 369 | $ref: '#/components/schemas/error_information' |
| 370 | description: Policy is not found |
| 371 | summary: Delete a policy |
| 372 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 373 | - A1 Policy Management |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 374 | get: |
| 375 | operationId: getPolicy |
| 376 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 377 | - explode: false |
| 378 | in: path |
| 379 | name: policy_id |
| 380 | required: true |
| 381 | schema: |
| 382 | type: string |
| 383 | style: simple |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 384 | responses: |
| 385 | "200": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 386 | content: |
| 387 | application/json: |
| 388 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 389 | type: object |
| 390 | examples: |
| 391 | policy_info: |
| 392 | $ref: '#/components/examples/policy_info' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 393 | description: Policy found |
| 394 | "404": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 395 | content: |
| 396 | application/json: |
| 397 | schema: |
| 398 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 399 | description: Policy is not found |
| 400 | summary: Returns a policy |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 401 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 402 | - A1 Policy Management |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 403 | /actuator/metrics/{requiredMetricName}: |
| 404 | get: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 405 | operationId: metrics-requiredMetricName |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 406 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 407 | - explode: false |
| 408 | in: path |
| 409 | name: requiredMetricName |
| 410 | required: true |
| 411 | schema: |
| 412 | type: string |
| 413 | style: simple |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 414 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 415 | "200": |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 416 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 417 | application/vnd.spring-boot.actuator.v3+json: |
| 418 | schema: |
| 419 | type: object |
| 420 | application/json: |
| 421 | schema: |
| 422 | type: object |
| 423 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 424 | schema: |
| 425 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 426 | description: OK |
| 427 | summary: Actuator web endpoint 'metrics-requiredMetricName' |
| 428 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 429 | - Actuator |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 430 | /a1-policy/v2/configuration: |
| 431 | get: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 432 | operationId: getConfiguration |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 433 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 434 | "200": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 435 | content: |
| 436 | application/json: |
| 437 | schema: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 438 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 439 | description: Configuration |
| 440 | "404": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 441 | content: |
| 442 | application/json: |
| 443 | schema: |
| 444 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 445 | description: File is not found or readable |
| 446 | summary: Returns the contents of the application configuration file |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 447 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 448 | - configuration |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 449 | put: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 450 | operationId: putConfiguration |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 451 | requestBody: |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 452 | content: |
| 453 | application/json: |
| 454 | schema: |
| 455 | type: object |
| 456 | required: true |
| 457 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 458 | "200": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 459 | content: |
| 460 | '*/*': |
| 461 | schema: |
| 462 | $ref: '#/components/schemas/void' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 463 | description: Configuration updated |
| 464 | "400": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 465 | content: |
| 466 | '*/*': |
| 467 | schema: |
| 468 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 469 | description: Invalid configuration provided |
| 470 | "500": |
| 471 | content: |
| 472 | '*/*': |
| 473 | schema: |
| 474 | $ref: '#/components/schemas/error_information' |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 475 | description: Something went wrong when replacing the configuration. Try |
| 476 | again. |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 477 | summary: Replace the current configuration file with the given configuration |
| 478 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 479 | - configuration |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 480 | /actuator: |
| 481 | get: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 482 | operationId: links |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 483 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 484 | "200": |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 485 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 486 | application/vnd.spring-boot.actuator.v3+json: |
| 487 | schema: |
| 488 | additionalProperties: |
| 489 | additionalProperties: |
| 490 | $ref: '#/components/schemas/Link' |
| 491 | type: object |
| 492 | type: object |
| 493 | application/json: |
| 494 | schema: |
| 495 | additionalProperties: |
| 496 | additionalProperties: |
| 497 | $ref: '#/components/schemas/Link' |
| 498 | type: object |
| 499 | type: object |
| 500 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 501 | schema: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 502 | additionalProperties: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 503 | additionalProperties: |
| 504 | $ref: '#/components/schemas/Link' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 505 | type: object |
| 506 | type: object |
| 507 | description: OK |
| 508 | summary: Actuator root web endpoint |
| 509 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 510 | - Actuator |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 511 | /actuator/loggers/{name}: |
| 512 | get: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 513 | operationId: loggers-name |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 514 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 515 | - explode: false |
| 516 | in: path |
| 517 | name: name |
| 518 | required: true |
| 519 | schema: |
| 520 | type: string |
| 521 | style: simple |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 522 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 523 | "200": |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 524 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 525 | application/vnd.spring-boot.actuator.v3+json: |
| 526 | schema: |
| 527 | type: object |
| 528 | application/json: |
| 529 | schema: |
| 530 | type: object |
| 531 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 532 | schema: |
| 533 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 534 | description: OK |
| 535 | summary: Actuator web endpoint 'loggers-name' |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 536 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 537 | - Actuator |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 538 | post: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 539 | operationId: loggers-name_2 |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 540 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 541 | - explode: false |
| 542 | in: path |
| 543 | name: name |
| 544 | required: true |
| 545 | schema: |
| 546 | type: string |
| 547 | style: simple |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 548 | requestBody: |
| 549 | content: |
| 550 | application/json: |
| 551 | schema: |
| 552 | enum: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 553 | - TRACE |
| 554 | - DEBUG |
| 555 | - INFO |
| 556 | - WARN |
| 557 | - ERROR |
| 558 | - FATAL |
| 559 | - "OFF" |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 560 | type: string |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 561 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 562 | "200": |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 563 | content: |
| 564 | '*/*': |
| 565 | schema: |
| 566 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 567 | description: OK |
| 568 | summary: Actuator web endpoint 'loggers-name' |
| 569 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 570 | - Actuator |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 571 | /a1-policy/v2/services/{service_id}/keepalive: |
| 572 | put: |
JohnKeeney | 08486cf | 2022-05-24 12:34:49 +0100 | [diff] [blame] | 573 | description: A registered service should invoke this operation regularly to |
| 574 | indicate that it is still alive. If a registered service fails to invoke this |
| 575 | operation before the end of a timeout period the service will be deregistered |
| 576 | and all its A1 policies wil be removed. (This timeout can be set or disabled |
| 577 | when each service is initially registered) |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 578 | operationId: keepAliveService |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 579 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 580 | - explode: false |
| 581 | in: path |
| 582 | name: service_id |
| 583 | required: true |
| 584 | schema: |
| 585 | type: string |
| 586 | style: simple |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 587 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 588 | "200": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 589 | content: |
| 590 | '*/*': |
| 591 | schema: |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 592 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 593 | description: "Service supervision timer refreshed, OK" |
| 594 | "404": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 595 | content: |
| 596 | '*/*': |
| 597 | schema: |
| 598 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 599 | description: "The service is not found, needs re-registration" |
| 600 | summary: Heartbeat indicates that the service is running |
| 601 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 602 | - Service Registry and Supervision |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 603 | /actuator/metrics: |
| 604 | get: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 605 | operationId: metrics |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 606 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 607 | "200": |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 608 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 609 | application/vnd.spring-boot.actuator.v3+json: |
| 610 | schema: |
| 611 | type: object |
| 612 | application/json: |
| 613 | schema: |
| 614 | type: object |
| 615 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 616 | schema: |
| 617 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 618 | description: OK |
| 619 | summary: Actuator web endpoint 'metrics' |
| 620 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 621 | - Actuator |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 622 | /a1-policy/v2/rics: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 623 | get: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 624 | description: The call returns all Near-RT RICs that supports a given policy |
| 625 | type identity |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 626 | operationId: getRics |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 627 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 628 | - description: "The identity of a policy type. If given, all Near-RT RICs supporting\ |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 629 | \ the policy type are returned" |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 630 | explode: true |
| 631 | in: query |
| 632 | name: policytype_id |
| 633 | required: false |
| 634 | schema: |
| 635 | type: string |
| 636 | style: form |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 637 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 638 | "200": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 639 | content: |
| 640 | application/json: |
| 641 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 642 | type: object |
| 643 | examples: |
| 644 | ric_info_list: |
| 645 | $ref: '#/components/examples/ric_info_list' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 646 | description: OK |
| 647 | "404": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 648 | content: |
| 649 | application/json: |
| 650 | schema: |
| 651 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 652 | description: Policy type is not found |
| 653 | summary: Query Near-RT RIC information |
| 654 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 655 | - NearRT-RIC Repository |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 656 | /a1-policy/v2/services: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 657 | get: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 658 | description: Either information about a registered service with given identity |
| 659 | or all registered services are returned. |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 660 | operationId: getServices |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 661 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 662 | - description: The identity of the service |
| 663 | explode: true |
| 664 | in: query |
| 665 | name: service_id |
| 666 | required: false |
| 667 | schema: |
| 668 | type: string |
| 669 | style: form |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 670 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 671 | "200": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 672 | content: |
| 673 | application/json: |
| 674 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 675 | type: object |
| 676 | examples: |
| 677 | service_status_list: |
| 678 | $ref: '#/components/examples/service_status_list' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 679 | description: OK |
| 680 | "404": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 681 | content: |
| 682 | application/json: |
| 683 | schema: |
| 684 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 685 | description: Service is not found |
| 686 | summary: Returns service information |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 687 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 688 | - Service Registry and Supervision |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 689 | put: |
| 690 | description: "Registering a service is needed to:<ul><li>Get callbacks about\ |
| 691 | \ available NearRT RICs.</li><li>Activate supervision of the service. If a\ |
| 692 | \ service is inactive, its policies will automatically be deleted.</li></ul>Policies\ |
| 693 | \ can be created even if the service is not registerred. This is a feature\ |
| 694 | \ which it is optional to use." |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 695 | operationId: putService |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 696 | requestBody: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 697 | content: |
| 698 | application/json: |
| 699 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 700 | $ref: '#/components/schemas/service_registration_info' |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 701 | required: true |
| 702 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 703 | "200": |
| 704 | content: |
| 705 | '*/*': |
| 706 | schema: |
| 707 | type: object |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 708 | description: Service updated |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 709 | "201": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 710 | content: |
| 711 | '*/*': |
| 712 | schema: |
| 713 | type: object |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 714 | description: Service created |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 715 | "400": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 716 | content: |
| 717 | '*/*': |
| 718 | schema: |
| 719 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 720 | description: The ServiceRegistrationInfo is not accepted |
| 721 | summary: Register a service |
| 722 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 723 | - Service Registry and Supervision |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 724 | /actuator/info: |
| 725 | get: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 726 | operationId: info |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 727 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 728 | "200": |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 729 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 730 | application/vnd.spring-boot.actuator.v3+json: |
| 731 | schema: |
| 732 | type: object |
| 733 | application/json: |
| 734 | schema: |
| 735 | type: object |
| 736 | application/vnd.spring-boot.actuator.v2+json: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 737 | schema: |
| 738 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 739 | description: OK |
| 740 | summary: Actuator web endpoint 'info' |
| 741 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 742 | - Actuator |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 743 | /status: |
| 744 | get: |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 745 | operationId: getStatusV1 |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 746 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 747 | "200": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 748 | content: |
| 749 | '*/*': |
| 750 | schema: |
| 751 | type: string |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 752 | description: Service is living |
| 753 | summary: Returns status and statistics of this service |
| 754 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 755 | - Health Check |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 756 | /a1-policy/v2/policy-types/{policytype_id}: |
| 757 | get: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 758 | operationId: getPolicyTypeDefinition |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 759 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 760 | - explode: false |
| 761 | in: path |
| 762 | name: policytype_id |
| 763 | required: true |
| 764 | schema: |
| 765 | type: string |
| 766 | style: simple |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 767 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 768 | "200": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 769 | content: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 770 | application/json: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 771 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 772 | type: object |
| 773 | examples: |
| 774 | policy_type_definition: |
| 775 | $ref: '#/components/examples/policy_type_definition' |
| 776 | description: schema of the given policy type |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 777 | "404": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 778 | content: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 779 | application/json: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 780 | schema: |
| 781 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 782 | description: Policy type is not found |
| 783 | summary: Returns a policy type definition |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 784 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 785 | - A1 Policy Management |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 786 | /actuator/logfile: |
| 787 | get: |
| 788 | operationId: logfile |
| 789 | responses: |
| 790 | "200": |
| 791 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 792 | text/plain;charset=UTF-8: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 793 | schema: |
| 794 | type: object |
| 795 | description: OK |
| 796 | summary: Actuator web endpoint 'logfile' |
| 797 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 798 | - Actuator |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 799 | /actuator/health: |
| 800 | get: |
| 801 | operationId: health |
| 802 | responses: |
| 803 | "200": |
| 804 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 805 | application/vnd.spring-boot.actuator.v3+json: |
| 806 | schema: |
| 807 | type: object |
| 808 | application/json: |
| 809 | schema: |
| 810 | type: object |
| 811 | application/vnd.spring-boot.actuator.v2+json: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 812 | schema: |
| 813 | type: object |
| 814 | description: OK |
| 815 | summary: Actuator web endpoint 'health' |
| 816 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 817 | - Actuator |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 818 | /a1-policy/v2/policies: |
| 819 | get: |
| 820 | description: "Returns a list of A1 policies matching given search criteria.\ |
| 821 | \ <br>If several query parameters are defined, the policies matching all conditions\ |
| 822 | \ are returned." |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 823 | operationId: getPolicyIds |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 824 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 825 | - description: Select policies of a given policy type identity. |
| 826 | explode: true |
| 827 | in: query |
| 828 | name: policytype_id |
| 829 | required: false |
| 830 | schema: |
| 831 | type: string |
| 832 | style: form |
| 833 | - description: Select policies of a given Near-RT RIC identity. |
| 834 | explode: true |
| 835 | in: query |
| 836 | name: ric_id |
| 837 | required: false |
| 838 | schema: |
| 839 | type: string |
| 840 | style: form |
| 841 | - description: Select policies owned by a given service. |
| 842 | explode: true |
| 843 | in: query |
| 844 | name: service_id |
| 845 | required: false |
| 846 | schema: |
| 847 | type: string |
| 848 | style: form |
| 849 | - description: Select policies of types with the given type name (type identity |
| 850 | has the format <typename_version>) |
| 851 | explode: true |
| 852 | in: query |
| 853 | name: type_name |
| 854 | required: false |
| 855 | schema: |
| 856 | type: string |
| 857 | style: form |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 858 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 859 | "200": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 860 | content: |
| 861 | application/json: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 862 | examples: |
| 863 | policy_id_list: |
| 864 | $ref: '#/components/examples/policy_id_list' |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 865 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 866 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 867 | description: Policy identities |
| 868 | "404": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 869 | content: |
| 870 | application/json: |
| 871 | schema: |
| 872 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 873 | description: Near-RT RIC or type not found |
| 874 | summary: Query policy identities |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 875 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 876 | - A1 Policy Management |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 877 | put: |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 878 | operationId: putPolicy |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 879 | requestBody: |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 880 | content: |
| 881 | application/json: |
| 882 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 883 | $ref: '#/components/schemas/policy_info' |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 884 | required: true |
| 885 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 886 | "200": |
| 887 | content: |
| 888 | application/json: |
| 889 | schema: |
| 890 | $ref: '#/components/schemas/void' |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 891 | description: Policy updated |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 892 | "201": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 893 | content: |
| 894 | application/json: |
| 895 | schema: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 896 | $ref: '#/components/schemas/void' |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 897 | description: Policy created |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 898 | "423": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 899 | content: |
| 900 | application/json: |
| 901 | schema: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 902 | $ref: '#/components/schemas/error_information' |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 903 | description: Near-RT RIC is not operational |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 904 | "404": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 905 | content: |
| 906 | application/json: |
| 907 | schema: |
| 908 | $ref: '#/components/schemas/error_information' |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 909 | description: Near-RT RIC or policy type is not found |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 910 | summary: Create or update a policy |
| 911 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 912 | - A1 Policy Management |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 913 | /r-app/near-rt-ric-status: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 914 | post: |
JohnKeeney | 069b469 | 2022-05-12 22:15:14 +0100 | [diff] [blame] | 915 | description: The URL to this call is registered at Service registration. |
PatrikBuhr | 25d7850 | 2021-04-28 08:42:13 +0200 | [diff] [blame] | 916 | operationId: serviceCallback |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 917 | requestBody: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 918 | content: |
| 919 | application/json: |
| 920 | schema: |
| 921 | $ref: '#/components/schemas/service_callback_info_v2' |
| 922 | required: true |
| 923 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 924 | "200": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 925 | content: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 926 | application/json: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 927 | schema: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 928 | $ref: '#/components/schemas/void' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 929 | description: OK |
| 930 | summary: Callback for Near-RT RIC status |
| 931 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 932 | - Service callbacks |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 933 | /a1-policy/v2/services/{service_id}: |
| 934 | delete: |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 935 | operationId: deleteService |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 936 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 937 | - explode: false |
| 938 | in: path |
| 939 | name: service_id |
| 940 | required: true |
| 941 | schema: |
| 942 | type: string |
| 943 | style: simple |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 944 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 945 | "200": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 946 | content: |
| 947 | '*/*': |
| 948 | schema: |
| 949 | $ref: '#/components/schemas/void' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 950 | description: Not used |
| 951 | "204": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 952 | content: |
| 953 | '*/*': |
| 954 | schema: |
| 955 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 956 | description: Service unregistered |
| 957 | "404": |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 958 | content: |
| 959 | '*/*': |
| 960 | schema: |
| 961 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 962 | description: Service not found |
| 963 | summary: Unregister a service |
| 964 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 965 | - Service Registry and Supervision |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 966 | /actuator/heapdump: |
| 967 | get: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 968 | operationId: heapdump |
| 969 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 970 | "200": |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 971 | content: |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 972 | application/octet-stream: |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 973 | schema: |
| 974 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 975 | description: OK |
| 976 | summary: Actuator web endpoint 'heapdump' |
| 977 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 978 | - Actuator |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 979 | /a1-policy/v2/policies/{policy_id}/status: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 980 | get: |
PatrikBuhr | 2a56cf7 | 2021-12-28 13:14:46 +0100 | [diff] [blame] | 981 | operationId: getPolicyStatus |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 982 | parameters: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 983 | - explode: false |
| 984 | in: path |
| 985 | name: policy_id |
| 986 | required: true |
| 987 | schema: |
| 988 | type: string |
| 989 | style: simple |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 990 | responses: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 991 | "200": |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 992 | content: |
| 993 | application/json: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 994 | examples: |
| 995 | policy_status_info: |
| 996 | $ref: '#/components/examples/policy_status_info' |
PatrikBuhr | be0ae3e | 2021-01-14 15:31:39 +0100 | [diff] [blame] | 997 | schema: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 998 | type: object |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 999 | description: Policy status |
| 1000 | "404": |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1001 | content: |
| 1002 | application/json: |
| 1003 | schema: |
| 1004 | $ref: '#/components/schemas/error_information' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1005 | description: Policy is not found |
| 1006 | summary: Returns a policy status |
| 1007 | tags: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1008 | - A1 Policy Management |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1009 | components: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1010 | examples: |
| 1011 | service_status: |
| 1012 | description: List of service information |
| 1013 | value: |
| 1014 | callback_url: callback_url |
| 1015 | service_id: service_id |
| 1016 | keep_alive_interval_seconds: 0 |
| 1017 | time_since_last_activity_seconds: 6 |
| 1018 | service_status_list: |
| 1019 | description: List of service information |
| 1020 | value: |
| 1021 | service_list: |
| 1022 | - callback_url: callback_url |
| 1023 | service_id: service_id |
| 1024 | keep_alive_interval_seconds: 0 |
| 1025 | time_since_last_activity_seconds: 6 |
| 1026 | - callback_url: callback_url |
| 1027 | service_id: service_id |
| 1028 | keep_alive_interval_seconds: 0 |
| 1029 | time_since_last_activity_seconds: 6 |
| 1030 | policy_type_definition: |
| 1031 | description: Schema of the given Policy type |
| 1032 | value: |
| 1033 | policy_schema: "{}" |
| 1034 | policy_type_id_list: |
| 1035 | description: Array of policy type id's |
| 1036 | value: |
| 1037 | policy_type_id_list: |
| 1038 | - policytype_id |
| 1039 | - policytype_id |
| 1040 | policy_info: |
| 1041 | description: Policy information of one A1-P policy |
| 1042 | value: |
| 1043 | ric_id: ric_id |
| 1044 | policy_id: policy_id |
| 1045 | transient: false |
| 1046 | service_id: service_id |
| 1047 | policy_data: "{}" |
| 1048 | status_notification_uri: status_notification_uri |
| 1049 | policytype_id: policytype_id |
| 1050 | policy_info_list: |
| 1051 | description: List of policy information |
| 1052 | value: |
| 1053 | policies: |
| 1054 | - ric_id: ric_id |
| 1055 | policy_id: policy_id |
| 1056 | transient: false |
| 1057 | service_id: service_id |
| 1058 | policy_data: "{}" |
| 1059 | status_notification_uri: status_notification_uri |
| 1060 | policytype_id: policytype_id |
| 1061 | - ric_id: ric_id |
| 1062 | policy_id: policy_id |
| 1063 | transient: false |
| 1064 | service_id: service_id |
| 1065 | policy_data: "{}" |
| 1066 | status_notification_uri: status_notification_uri |
| 1067 | policytype_id: policytype_id |
| 1068 | policy_id_list: |
| 1069 | description: A list of policy identities |
| 1070 | value: |
| 1071 | policy_ids: |
| 1072 | - policy_ids |
| 1073 | - policy_ids |
| 1074 | policy_status_info: |
| 1075 | description: Status for one A1-P Policy |
| 1076 | value: |
| 1077 | last_modified: last_modified |
| 1078 | status: "{}" |
| 1079 | status_info: |
| 1080 | value: |
| 1081 | status: status |
| 1082 | ric_info: |
| 1083 | value: |
| 1084 | ric_id: ric_id |
| 1085 | managed_element_ids: |
| 1086 | - managed_element_ids |
| 1087 | - managed_element_ids |
| 1088 | state: UNAVAILABLE |
| 1089 | policytype_ids: |
| 1090 | - policytype_ids |
| 1091 | - policytype_ids |
| 1092 | ric_info_list: |
| 1093 | value: |
| 1094 | rics: |
| 1095 | - ric_id: ric_id |
| 1096 | managed_element_ids: |
| 1097 | - managed_element_ids |
| 1098 | - managed_element_ids |
| 1099 | state: UNAVAILABLE |
| 1100 | policytype_ids: |
| 1101 | - policytype_ids |
| 1102 | - policytype_ids |
| 1103 | - ric_id: ric_id |
| 1104 | managed_element_ids: |
| 1105 | - managed_element_ids |
| 1106 | - managed_element_ids |
| 1107 | state: UNAVAILABLE |
| 1108 | policytype_ids: |
| 1109 | - policytype_ids |
| 1110 | - policytype_ids |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1111 | schemas: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1112 | policy_type_definition: |
| 1113 | description: Contains policy type schema definition |
| 1114 | type: object |
| 1115 | properties: |
| 1116 | policy_schema: |
| 1117 | description: Policy type json schema. The schema is a json object following |
| 1118 | http://json-schema.org/draft-07/schema |
| 1119 | type: object |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1120 | error_information: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1121 | description: Problem as defined in https://tools.ietf.org/html/rfc7807 |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1122 | properties: |
| 1123 | detail: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1124 | description: ' A human-readable explanation specific to this occurrence |
| 1125 | of the problem.' |
| 1126 | example: Policy type not found |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1127 | type: string |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1128 | status: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1129 | description: 'The HTTP status code generated by the origin server for this |
| 1130 | occurrence of the problem. ' |
PatrikBuhr | 3b916e4 | 2021-10-07 18:03:53 +0200 | [diff] [blame] | 1131 | example: 404 |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1132 | format: int32 |
| 1133 | type: integer |
| 1134 | type: object |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1135 | void: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1136 | description: Void/empty |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1137 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1138 | status_info: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1139 | properties: |
| 1140 | status: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1141 | description: status text |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1142 | type: string |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1143 | type: object |
PatrikBuhr | f07e4b3 | 2023-04-05 14:40:07 +0200 | [diff] [blame] | 1144 | authorization_result: |
| 1145 | description: Result of authorization |
| 1146 | example: |
| 1147 | result: true |
| 1148 | properties: |
| 1149 | result: |
| 1150 | description: "If true, the access is granted" |
| 1151 | type: boolean |
| 1152 | required: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1153 | - result |
PatrikBuhr | f07e4b3 | 2023-04-05 14:40:07 +0200 | [diff] [blame] | 1154 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1155 | ric_info: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1156 | description: Information for a Near-RT RIC |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1157 | properties: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1158 | ric_id: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1159 | description: identity of the Near-RT RIC |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1160 | type: string |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1161 | managed_element_ids: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1162 | description: O1 identities for managed entities |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1163 | items: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1164 | description: O1 identities for managed entities |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1165 | type: string |
| 1166 | type: array |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1167 | state: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1168 | description: Represents the states for a Near-RT RIC |
| 1169 | enum: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1170 | - UNAVAILABLE |
| 1171 | - AVAILABLE |
| 1172 | - SYNCHRONIZING |
| 1173 | - CONSISTENCY_CHECK |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1174 | type: string |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1175 | policytype_ids: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1176 | description: supported policy types |
| 1177 | items: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1178 | description: supported policy types |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1179 | type: string |
| 1180 | type: array |
| 1181 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1182 | service_registration_info: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1183 | description: Information for one service |
| 1184 | properties: |
| 1185 | callback_url: |
| 1186 | description: callback for notifying of Near-RT RIC state changes |
| 1187 | type: string |
| 1188 | service_id: |
| 1189 | description: identity of the service |
| 1190 | type: string |
| 1191 | keep_alive_interval_seconds: |
| 1192 | description: "keep alive interval for the service. This is used to enable\ |
| 1193 | \ optional heartbeat supervision of the service. If set (> 0) the registered\ |
| 1194 | \ service should regularly invoke a 'keepalive' REST call. When a service\ |
| 1195 | \ fails to invoke this 'keepalive' call within the configured time, the\ |
| 1196 | \ service is considered unavailable. An unavailable service will be automatically\ |
| 1197 | \ deregistered and its policies will be deleted. Value 0 means timeout\ |
| 1198 | \ supervision is disabled." |
| 1199 | format: int64 |
| 1200 | type: integer |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1201 | required: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1202 | - service_id |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1203 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1204 | policy_info_list: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1205 | description: List of policy information |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1206 | properties: |
| 1207 | policies: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1208 | description: List of policy information |
| 1209 | items: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1210 | $ref: '#/components/schemas/policy_info' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1211 | type: array |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1212 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1213 | policy_status_info: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1214 | description: Status for one A1-P Policy |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1215 | properties: |
| 1216 | last_modified: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1217 | description: "timestamp, last modification time" |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1218 | type: string |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1219 | status: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1220 | description: the Policy status |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1221 | type: object |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1222 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1223 | service_status: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1224 | properties: |
| 1225 | callback_url: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1226 | description: callback for notifying of RIC synchronization |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1227 | type: string |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1228 | service_id: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1229 | description: identity of the service |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1230 | type: string |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1231 | keep_alive_interval_seconds: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1232 | description: policy keep alive timeout |
| 1233 | format: int64 |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1234 | type: integer |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1235 | time_since_last_activity_seconds: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1236 | description: time since last invocation by the service |
| 1237 | format: int64 |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1238 | type: integer |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1239 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1240 | ric_info_list: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1241 | description: List of Near-RT RIC information |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1242 | properties: |
| 1243 | rics: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1244 | description: List of Near-RT RIC information |
| 1245 | items: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1246 | $ref: '#/components/schemas/ric_info' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1247 | type: array |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1248 | type: object |
PatrikBuhr | f07e4b3 | 2023-04-05 14:40:07 +0200 | [diff] [blame] | 1249 | input: |
| 1250 | description: input |
| 1251 | properties: |
| 1252 | access_type: |
| 1253 | description: Access type |
| 1254 | enum: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1255 | - READ |
| 1256 | - WRITE |
| 1257 | - DELETE |
PatrikBuhr | f07e4b3 | 2023-04-05 14:40:07 +0200 | [diff] [blame] | 1258 | type: string |
| 1259 | auth_token: |
| 1260 | description: Authorization token |
| 1261 | type: string |
| 1262 | policy_type_id: |
| 1263 | description: Policy type identifier |
| 1264 | type: string |
| 1265 | required: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1266 | - access_type |
| 1267 | - auth_token |
| 1268 | - policy_type_id |
PatrikBuhr | f07e4b3 | 2023-04-05 14:40:07 +0200 | [diff] [blame] | 1269 | type: object |
| 1270 | policy_authorization: |
| 1271 | description: Authorization request for A1 policy requests |
| 1272 | properties: |
| 1273 | input: |
| 1274 | $ref: '#/components/schemas/input' |
| 1275 | required: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1276 | - input |
PatrikBuhr | f07e4b3 | 2023-04-05 14:40:07 +0200 | [diff] [blame] | 1277 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1278 | policy_type_id_list: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1279 | description: Information about policy types |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1280 | properties: |
| 1281 | policytype_ids: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1282 | description: Policy type identities |
| 1283 | items: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1284 | description: Policy type identities |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1285 | type: string |
| 1286 | type: array |
| 1287 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1288 | policy_info: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1289 | description: Information for one A1-P Policy |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1290 | properties: |
| 1291 | ric_id: |
| 1292 | description: identity of the target Near-RT RIC |
| 1293 | type: string |
| 1294 | policy_id: |
| 1295 | description: identity of the policy |
| 1296 | type: string |
| 1297 | transient: |
| 1298 | default: false |
| 1299 | description: "if true, the policy is deleted at RIC restart. If false, its\ |
| 1300 | \ value is maintained by this service until explicitly deleted. Default\ |
| 1301 | \ false." |
| 1302 | example: false |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1303 | nullable: false |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1304 | type: boolean |
| 1305 | service_id: |
| 1306 | description: the identity of the service owning the policy. This can be |
| 1307 | used to group the policies (it is possible to get all policies associated |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 1308 | to a service). Note that the service does not need to be registered. |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1309 | type: string |
| 1310 | policy_data: |
| 1311 | description: the configuration of the policy |
| 1312 | type: object |
| 1313 | status_notification_uri: |
| 1314 | description: Callback URI for policy status updates |
| 1315 | type: string |
| 1316 | policytype_id: |
| 1317 | description: identity of the policy type |
| 1318 | type: string |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1319 | required: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1320 | - ric_id |
| 1321 | - policy_id |
| 1322 | - service_id |
| 1323 | - policy_data |
| 1324 | - policytype_id |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1325 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1326 | policy_id_list: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1327 | description: A list of policy identities |
| 1328 | example: |
| 1329 | policy_ids: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1330 | - policy_ids |
| 1331 | - policy_ids |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1332 | properties: |
| 1333 | policy_ids: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1334 | description: Policy identities |
| 1335 | items: |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 1336 | description: Policy identities |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1337 | type: string |
| 1338 | type: array |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1339 | type: object |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1340 | service_status_list: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1341 | properties: |
| 1342 | service_list: |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1343 | description: List of service information |
| 1344 | items: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1345 | $ref: '#/components/schemas/service_status' |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1346 | type: array |
| 1347 | type: object |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1348 | service_callback_info_v2: |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1349 | description: Information transferred as in Service callbacks (callback_url) |
| 1350 | properties: |
| 1351 | ric_id: |
| 1352 | description: identity of a Near-RT RIC |
| 1353 | type: string |
| 1354 | event_type: |
| 1355 | description: "values:\nAVAILABLE: the Near-RT RIC has become available\ |
| 1356 | \ for A1 Policy management" |
| 1357 | enum: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1358 | - AVAILABLE |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1359 | type: string |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1360 | required: |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame^] | 1361 | - event_type |
| 1362 | - ric_id |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 1363 | type: object |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 1364 | Link: |
PatrikBuhr | 6e31874 | 2021-11-30 11:25:17 +0100 | [diff] [blame] | 1365 | properties: |
| 1366 | templated: |
| 1367 | type: boolean |
| 1368 | href: |
| 1369 | type: string |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 1370 | type: object |