1 # ==================================================================================
2 # Copyright (c) 2022 Samsung.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # This source code is part of the near-RT RIC (RAN Intelligent Controller)
17 # platform project (RICP).
18 # ==================================================================================
22 description: APIs for RIC-DMS
37 description: Get helm chart list
41 description: Get helm chart list failed
43 $ref: '#/definitions/error_message'
46 operationId: get_charts_list
47 summary: Returns the list of xApp helm charts that have been onboarded
48 '/charts/xApp/download/{xApp_name}/ver/{version}':
64 description: Download helm chart OK
69 description: Get helm chart values.yaml failed
71 $ref: '#/definitions/error_message'
74 description: Download helm chart.
75 operationId: download_helm_chart
76 summary: Download helm chart
77 '/charts/xApp/{xApp_name}':
88 description: Get helm chart
94 description: Get helm chart failed
96 $ref: '#/definitions/error_message'
99 operationId: get_chart
100 summary: Returns the helm chart for the specified xApp
101 '/charts/xApp/{xApp_name}/ver/{version}':
117 description: Deleted specified helm chart
121 description: Delete helm chart failed
123 $ref: '#/definitions/error_message'
126 operationId: delete_chart
127 summary: Delete helm chart for the specified xApp and version
142 description: Get helm chart details OK
146 description: Get helm chart details failed
148 $ref: '#/definitions/error_message'
151 operationId: get_charts_fetcher
152 summary: get the helm chart for the specified xApp and version
153 '/charts/xApp/{xApp_name}/ver/{version}/values.yaml':
169 description: Get helm chart values.yaml OK
173 description: Get helm chart values.yaml failed
175 $ref: '#/definitions/error_message'
178 description: yaml file of the specified xApp and version.
179 operationId: get_values_yaml_fetcher
180 summary: Returns the helm values
188 - description: Input for the xApp deploy
193 $ref: '#/definitions/deleteDeploymentDesc'
196 description: successful un-deploy xApp
200 description: un-deployment failed
202 $ref: '#/definitions/error_message'
205 summary: Undeploy xApp
212 - description: Input for the xApp deployment
217 $ref: '#/definitions/deploymentDesc'
220 description: successful deployment of xApp
224 description: deployment failed
226 $ref: '#/definitions/error_message'
236 - description: Input for the xApp deploy
241 $ref: '#/definitions/updateDeploymentDesc'
244 description: successful updated xApp
248 description: un-deployment failed
250 $ref: '#/definitions/error_message'
261 description: Health check OK
263 $ref: '#/definitions/status'
265 description: ric-dms is not ready
267 $ref: '#/definitions/error_message'
270 operationId: get_health_check
271 summary: Returns the health condition of ric dms
272 '/healthcheck/xApp/{xApp_name}/namespace/{namespace}':
287 description: Health check OK
289 $ref: '#/definitions/status'
291 description: xApp onboarder is not ready
293 $ref: '#/definitions/error_message'
296 summary: Return status of xApp deployment
317 description: xApp onboard successfully.
319 $ref: '#/definitions/status'
321 description: xApp descriptor format error
323 $ref: '#/definitions/error_message'
325 description: xApp onboarder is not ready
327 $ref: '#/definitions/error_message'
330 operationId: delete_onboardx_apps
331 summary: offload xApp using the xApp name and version
332 x-codegen-request-body-name: payload
343 $ref: '#/definitions/descriptor'
346 description: xApp onboard successfully.
348 $ref: '#/definitions/status'
350 description: xApp descriptor format error
352 $ref: '#/definitions/error_message'
354 description: xApp onboarder is not ready
356 $ref: '#/definitions/error_message'
359 operationId: post_onboardx_apps
361 Onboard xApp using the xApp descriptor and schema or URL of descriptor
363 x-codegen-request-body-name: payload
365 deleteDeploymentDesc:
368 description: namespace to deploy xApp
381 description: namespace to deploy xApp
384 description: override file
396 description: represents content of config file for xApp onboarding.
399 description: specify url of config-file.
402 description: represents conent of schema file for xApp onboarding.
405 description: specify url of schema-file.
411 description: source of the error
414 description: source of the error
417 description: http response message
432 description: status of the service
437 updateDeploymentDesc:
440 description: namespace to deploy xApp
457 - description: onboard xApps
459 - description: health check
461 - description: Managing helm charts
463 - description: Managing deployment