Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. 

Code Block
titleexample of ASD node_templates example
collapsetrue
applicationServiceDescriptor:
      type: tosca.nodes.asd
      description: "Sample Application"
      properties: 
        descripter_id: fdsa123e4567-e89b-321112d3-sdfsda456-wqeuy426614174000
           descripter_invariant_id: ddsx123e4yyy-e89b-223412d3-wersa456-1234426614174abc
           descripter_version: 1.0
        schemaVersionschema_version: 2.0
        provider: MyCompany
        applicationNameapplication_name: SampleApp
        applicationVersionapplication_version: 2.3
        applicationInfoNameapplication_info_name: Sample Application
        extCpds:
          - id: 1
            description: webpage-service
            virtualLinkRequirementvirtual_link_requirement: endUser  
          - id: 2
            description: transactionAPI
            virtualLinkRequirementvirtual_link_requirement: backhaul
            interfaceOrder: 0
        enhancedClusterCapabilities: 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:
            artifactTypeartifact_type: "helm_chart" 
            itemIditem_id: 1 
            deploymentOrderdeployment_order: 1 
            lifecycleParameterslifecycle_parameters: 
              - ".Values.db.fullBackupInterval"
              - ".Values.db.walConsolidationInterval"
        sampleapp-services:
          type: tosca.artifacttypeartifacts.asd.deploymentItem
          file: "sampleapp-services-helm.tgz"  # or a URI
          properties:
            artifactTypeartifact_type: "helm_chart"
            itemIditem_id: 2 
            deploymentOrderdeployment_order: 2 
            lifecycleParameterslifecycle_parameters:
              - ".Values.app.initialWebReplicas"  

...