You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Application Service Descriptor (ASD) onboarding IM

Application Service Descriptor (ASD) Onboarding Packaging Format

TOSCA artifact types of ASD

TOSCA data types of ASD

TOSCA node types of ASD

Example

example of ASD node_templates
applicationServiceDescriptor:
      type: tosca.nodes.asd
      description: "Sample Application"
      properties: 
        descripter_id: fdsa-3211-sdfsd-wqeuy
        descripter_invariant_id: ddsx-2234-wers-1234
        descripter_version: 1.0
        schema_version: 2.0
        provider: MyCompany
        application_name: SampleApp
        application_version: 2.3
        application_info_name: Sample Application
        extCpds:
          - id: 1
            description: webpage-service
            virtual_link_requirement: endUser  
          - id: 2
            description: transactionAPI
            virtual_link_requirement: backhaul
        enhanced_cluster_capabilities: [ ... ]
      artifacts: #these are the deployment items:
        sampleapp-db:
          type: tosca.artifacts.asd.deploymentItem
          file: "sampleapp-db-operator-helm.tgz" # or a URI
          properties:
            artifact_type: "helm_chart" 
            itemId: 1 
            deployment_order: 1 
            lifecycle_parameters: 
              - ".Values.db.fullBackupInterval"
              - ".Values.db.walConsolidationInterval"
        sampleapp-services:
          type: tosca.artifacttype.asd.deploymentItem
          file: "sampleapp-services-helm.tgz"  # or a URI
          properties:
            artifact_type: "helm_chart"
            itemId: 2 
            deployment_order: 2 
            lifecycle_parameters:
              - ".Values.app.initialWebReplicas"  
  • No labels