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

Support for interface input during import VFC

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Honolulu Release
    • None
    • SDC
    • None

      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"
      

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

              Created:
              Updated:
              Resolved: