The Application Service Descriptor (ASD) Resource Data Mode is created based on the ONAP agreed Application Service Descriptor (ASD) onboarding Information Model, ver. 1.0.

The application service descriptor resource data model specified in this wiki page includes the ASD node type, ASD data type, ASD artifact type and ASD package format. This data model specifies the format of a vendor provided ASD package which is going to be onboarded to ONAP.

This application service descriptor (ASD) resource data model is specified in the scope of ONAP PoC implementation.

If the ASD concept is accepted by any standardization organization (e.g. ORAN), ONAP may open the discussion on how to align the ONAP implementation with the standard defined ASD data model. 

example of ASD node_templates
applicationServiceDescriptor:
      type: tosca.nodes.asd
      description: "Sample Application"
      properties: 
        descripter_id: 123e4567-e89b-12d3-a456-426614174000
        descripter_invariant_id: 123e4yyy-e89b-12d3-a456-426614174abc
        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" 
            item_id: 1 
            deployment_order: 1 
            lifecycle_parameters: 
              - ".Values.db.fullBackupInterval"
              - ".Values.db.walConsolidationInterval"
        sampleapp-services:
          type: tosca.artifacts.asd.deploymentItem
          file: "sampleapp-services-helm.tgz"  # or a URI
          properties:
            artifact_type: "helm_chart"
            item_id: 2 
            deployment_order: 2 
            lifecycle_parameters:
              - ".Values.app.initialWebReplicas"  
  • No labels

4 Comments

  1. itemId
    property name is item_id in definition
  2. tosca.artifacttype.asd.deploymentItem
    artifacttype should be artifacts