...
Table 1: Application Service Descriptor model
Attribute | Value |
asdId | fdsa-xdsfg-sdfsd-wqeuy |
asdSchemaVersion | 1.0 |
asdProvider | MyCompany |
asdApplicationName | SampleApp |
asdApplicationVersion | 2.3 |
asdApplicationInfoName | Sample Application |
asdInfoDescription | Sample Application to illustrate ASD usage. |
asdExtCpd | webpage-service, transaction-api |
extraServiceRequirements | (empty) |
enhancedClusterCapabilities | o-ran.o-cloud.hw.gpgpu |
deploymentItems | (see next table) |
Table 2: “deploymentItems” model
deploymentItemId | artifactId | deploymentOrder | lifecycleParameters |
1 | sampleapp-db-operator-helm.tgz | 1 | “.Values.db.fullBackupInterval”, “.Values.db.walConsolidationInterval” |
2 | sampleapp-services-helm.tgz | 2 | “.Values.app.initialWebReplicas” |
Example mapping to YAML
For the purpose of illustration of the ASD model, this example uses a YAML mapping of the descriptor model.
sample-app-asd.yaml
kind: ASD
applicationServiceDescriptor:
id: “fdsa-xdsfg-sdfsd-wqeuy”
schemaVersion: 1.0
provider: MyCompany
applicationName: SampleApp
applicationVersion: “2.3”
applicationInfoName: “Sample Application”
infoDescription: “Sample Application to Illustrate ASD Usage”
extCpd:
- webpage-service
- transactionAPI
extraServiceRequirements: {}
enhancedClusterCapabilities: [ o-ran.o-cloud.hw.gpgpu ]
deploymentItems:
- itemId: 1
artifactId: “sampleapp-db-operator-helm.tgz”
deploymentOrder: 1
lifecycleParameters:
[ “.Values.db.fullBackupInterval”, “.Values.db.walConsolidationInterval” ]
- itemId: 2
artifactId: “sampleapp-services-helm.tgz”
deploymentOrder: 2
lifecycleParameters: [ “.Values.app.initialWebReplicas” ]
The deployment order parameters “deploymentItems” above, the “sampleapp-db-operator” chart will be deployed first, followed by the “sampleapp-services” chart, since they are labelled for consecutive deployment orders. If both charts were to be deployed in parallel, the value of deploymentOrder would be set to 1.
...