You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 10
Next »
Example
applicationServiceDescriptor:
type: tosca.nodes.asd
description: "Sample Application"
properties:
descripter_id: fdsa-3211-sdfsd-wqeuy
descripter_invariant_id: ddsx-2234-wers-1234
version: 1.0
schemaVersion: 2.0
provider: MyCompany
applicationName: SampleApp
applicationVersion: 2.3
applicationInfoName: Sample Application
extCpds:
- id: 1
description: webpage-service
virtualLinkRequirement: endUser
- id: 2
description: transactionAPI
virtualLinkRequirement: backhaul
interfaceOrder: 0
enhancedClusterCapabilities: [ ... ]
artifacts: #these are the deployment items:
sampleapp-db:
type: tosca.artifacts.asd.deploymentItem
file: "sampleapp-db-operator-helm.tgz" # or a URI
properties:
artifactType: "helm_chart"
itemId: 1
deploymentOrder: 1
lifecycleParameters:
- ".Values.db.fullBackupInterval"
- ".Values.db.walConsolidationInterval"
sampleapp-services:
type: tosca.artifacttype.asd.deploymentItem
file: "sampleapp-services-helm.tgz" # or a URI
properties:
artifactType: "helm_chart"
itemId: 2
deploymentOrder: 2
lifecycleParameters:
- ".Values.app.initialWebReplicas"