Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-3372

Support for interface input during import VFC

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • Honolulu Release
    • SDC
    • None

    Description

      Allow to import interface inputs during the "Import VFC" feature.

      Currently, while importing a VFC, interface inputs are not being considered.

      Using the following example, interfaces->Standard->inputs will not be created:

      tosca_definitions_version: tosca_simple_yaml_1_1
      node_types:
        org.openecomp.resource.eo.nodes.InterfaceInputTest:
          derived_from: tosca.nodes.Root
          description: eo.nodes.InterfaceInput
          properties:
            profile:
              type: map
              required: true
              entry_schema:
                type: string
            resourceType:
              default: ServiceProxy
              type: string
              required: false
          interfaces:
            Standard:
              inputs:
                anInput:
                  type: string
                  description: anInput description
                  required: true
                  default: defaultValue
                anComplexTypeListInput:
                  type: list
                  entry_schema: tosca.datatypes.network.NetworkInfo
                  description: anComplexTypeListInput description
                  required: true
                  default:
                    - network_name: a name
                      network_id: an id
                      addresses:
                        - 127.0.0.1
                        - 127.0.0.2
                aComplexTypeInput:
                  type: tosca.datatypes.network.NetworkInfo
              type: tosca.interfaces.node.lifecycle.Standard
              create:
                implementation: "camunda/serviceSelect"
              start:
                implementation: "camunda/executeAction"
                inputs:
                  action:
                    type: org.openecomp.resource.eo.datatypes.Action
              stop:
                implementation: "camunda/executeAction"
                inputs:
                  action:
                    type: org.openecomp.resource.eo.datatypes.Action
              delete:
                implementation: "camunda/serviceDeselect"
      

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            andre.schmid André Schmid
            andre.schmid André Schmid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: