1 # ============LICENSE_START===============================================
2 # Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
3 # ========================================================================
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.
15 # ============LICENSE_END=================================================
21 description: The rApp Manager is a lifecycle management service for rApps. It gets the rApp as ASD formatted package and lifecycle manages it based on it instance configuration.
23 name: Copyright (C) 2023 OpenInfra Foundation Europe. Licensed under the Apache License.
24 url: http://www.apache.org/licenses/LICENSE-2.0
30 description: API for rApps
32 description: API for rApp Instances
39 summary: Get specific rApp details
53 $ref: '#/components/schemas/Rapp'
55 description: Not found
59 summary: Prime/Deprime rApp
60 operationId: primeRapp
71 $ref: '#/components/schemas/RappPrimeOrder'
77 description: Bad Request
79 description: Not found
81 description: Bad Gateway
87 operationId: createRapp
106 description: Accepted
108 description: Bad Request
113 operationId: deleteRapp
124 description: Bad Request
126 description: Not found
127 /rapps/{rapp_id}/instance/{rapp_instance_id}:
131 summary: Get specific rApp instance details
132 operationId: getRappInstance
139 - name: rapp_instance_id
151 $ref: '#/components/schemas/RappInstance'
153 description: Not found
157 summary: Deploy/Undeploy rApp instance
158 operationId: deployRappInstance
165 - name: rapp_instance_id
175 $ref: '#/components/schemas/RappInstanceDeployOrder'
181 description: Bad Request
183 description: Not found
185 description: Bad Gateway
189 summary: Delete rApp instance
190 operationId: deleteRappInstance
197 - name: rapp_instance_id
207 description: Not found
208 /rapps/{rapp_id}/instance:
212 summary: Get all instances of rApp
213 operationId: getAllRappInstances
227 additionalProperties:
228 $ref: '#/components/schemas/RappInstance'
230 description: Not found
234 summary: Create rApp instance
235 operationId: createRappInstance
246 $ref: '#/components/schemas/RappInstance'
254 $ref: '#/components/schemas/RappInstance'
256 description: Not found
261 summary: Get All rApps
262 operationId: getRapps
271 $ref: '#/components/schemas/Rapp'
282 RappInstanceDeployOrder:
293 compositionDefinitions:
295 compositionInstances:
345 $ref: '#/components/schemas/RappResources'
348 additionalProperties:
349 $ref: '#/components/schemas/RappInstance'
391 $ref: '#/components/schemas/RappACMInstance'
393 $ref: '#/components/schemas/RappSMEInstance'
395 $ref: '#/components/schemas/RappDMEInstance'
400 $ref: '#/components/schemas/ACMResources'
402 $ref: '#/components/schemas/SMEResources'
404 $ref: '#/components/schemas/DMEResources'