3 description: This is a draft API for RIC appmgr
8 url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
16 summary : Health check of xApp Manager - Liveness probe
19 operationId : getHealthAlive
22 description : Status of xApp Manager is ok
25 summary : Readiness check of xApp Manager - Readiness probe
28 operationId : getHealthReady
31 description : xApp Manager is ready for service
33 description: xApp Manager is not ready for service
36 summary: Deploy a xapp
39 operationId: deployXapp
45 - name: XappDescriptor
47 description: xApp deployment info
49 $ref: '#/definitions/XappDescriptor'
52 description: xApp successfully created
54 $ref: '#/definitions/Xapp'
56 description: Invalid input
58 description: Internal error
60 summary: Returns the status of all xapps
63 operationId: getAllXapps
68 description: successful query of xApps
70 $ref: '#/definitions/AllDeployedXapps'
72 description: Internal error
75 summary: Returns the list of all deployable xapps
78 operationId: listAllXapps
83 description: successful list of deployable xApps
85 $ref: '#/definitions/AllDeployableXapps'
87 description: Internal error
90 summary: Returns the status of a given xapp
93 operationId: getXappByName
99 description: Name of xApp
104 description: successful operation
106 $ref: '#/definitions/Xapp'
108 description: Invalid ID supplied
110 description: Xapp not found
112 description: Internal error
114 summary: Undeploy an existing xapp
117 operationId: undeployXapp
121 description: Xapp to be undeployed
126 description: Successful deletion of xApp
128 description: Invalid xApp name supplied
130 description: Internal error
131 /xapps/{xAppName}/instances/{xAppInstanceName}:
133 summary: Returns the status of a given xapp
136 operationId: getXappInstanceByName
142 description: Name of xApp
145 - name: xAppInstanceName
147 description: Name of xApp instance to get information
152 description: successful operation
154 $ref: '#/definitions/XappInstance'
156 description: Invalid name supplied
158 description: Xapp not found
160 description: Internal error
163 summary: Modify xApp config
166 operationId: ModifyXappConfig
174 description: xApp config
176 $ref: '#/definitions/XAppConfig'
179 description: xApp config successfully modified
181 $ref: '#/definitions/ConfigValidationErrors'
183 description: Invalid input
185 description: Validation of configuration failed
187 description: Internal error
189 summary: Returns the configuration of all xapps
192 operationId: getAllXappConfig
197 description: successful query of xApp config
199 $ref: '#/definitions/AllXappConfig'
201 description: Internal error
204 summary: Returns the given element of the configuration
207 operationId: GetConfigElement
213 description: Name of configuration element
218 description: successful query of config elements
220 $ref: '#/definitions/AllXappConfig'
222 description: Internal error
225 summary: Subscribe event
229 operationId: addSubscription
235 - name: subscriptionRequest
237 description: New subscription
240 $ref: '#/definitions/subscriptionRequest'
243 description: Subscription successfully created
245 $ref: '#/definitions/subscriptionResponse'
247 description: Invalid input
249 summary: Returns all subscriptions
253 operationId: getSubscriptions
258 description: successful query of subscriptions
260 $ref: '#/definitions/allSubscriptions'
261 /subscriptions/{subscriptionId}:
263 summary: Returns the information of subscription
267 operationId: getSubscriptionById
271 - name: subscriptionId
273 description: ID of subscription
278 description: successful operation
280 $ref: '#/definitions/subscription'
282 description: Invalid ID supplied
284 description: Subscription not found
286 summary: Modify event subscription
290 operationId: modifySubscription
296 - name: subscriptionId
298 description: ID of subscription
302 name: subscriptionRequest
303 description: Modified subscription
306 $ref: '#/definitions/subscriptionRequest'
309 description: Subscription modification successful
311 $ref: '#/definitions/subscriptionResponse'
313 description: Invalid input
315 summary: Unsubscribe event
320 operationId: deleteSubscription
322 - name: subscriptionId
324 description: ID of subscription
329 description: Successful deletion of subscription
331 description: Invalid subscription supplied
334 summary: Register a new xApp
338 operationId: registerXapp
344 - name: registerRequest
346 description: New xApp registration
349 $ref: '#/definitions/registerRequest'
352 description: Registration successful
354 description: Invalid input
357 summary: Deregister an existing xApp
361 operationId: deregisterXapp
365 - name: deregisterRequest
367 description: Xapp to be unregistered
370 $ref: '#/definitions/deregisterRequest'
373 description: Successful deregistration of xApp
375 description: Invalid xApp name supplied
377 description: Internal error
386 $ref: '#/definitions/Xapp'
396 description: xapp status in the RIC
409 $ref: '#/definitions/XappInstance'
419 description: xapp instance status
451 description: Name of the xApp in helm chart
454 description: The exact xapp helm chart version to install
457 description: Name of the xapp to be visible in Kubernetes
460 description: Name of the namespace to which xApp is deployed. Overrides the value given in Helm chart value file.
463 description: JSON string of override file for 'helm install' command
467 $ref: '#/definitions/XappDescriptor'
476 description: Name of the xApp
479 description: Name of the namespace
480 ConfigValidationError:
488 description: Name of the parameter
491 description: Description of validation error
492 ConfigValidationErrors:
495 $ref: '#/definitions/ConfigValidationError'
503 $ref: '#/definitions/ConfigMetadata'
506 description: Configuration in JSON format
510 $ref: '#/definitions/XAppConfig'
513 description: Event which is subscribed
532 example: 'http://localhost:11111/apps/webhook/'
534 $ref: '#/definitions/EventType'
537 description: Maximum number of retries
540 description: Time in seconds to wait before next retry
547 $ref: '#/definitions/SubscriptionData'
548 subscriptionResponse:
556 $ref: '#/definitions/EventType'
560 $ref: '#/definitions/subscription'
567 $ref: '#/definitions/SubscriptionData'
568 subscriptionNotification:
576 $ref: '#/definitions/EventType'
578 $ref: '#/definitions/AllDeployedXapps'