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

Validation problems when trying to set an operation input of complex type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Montreal Release
    • Montreal Release
    • None
    • None

      When setting a value for an operation input of complex type not all 'required' sub-properties are validated. Only 'required' sub-properties of scalar types and sub-properties with constraints are actually required

      To reproduce:

      • Add an interface operation to a VFC
      • Add an input of complex type to interface operation with a scalar type or a type with a constraint and at least another sub-property where all sub-properties are required e.g tosca.datatypes.nfv.VirtualFileStorageData
      • Add the VFC to a service
      • Set the scalar or constraint sub-property to a valid value
      • No error is thrown even though not all 'required' sub-properties were set

            JvD_Ericsson JEFF VAN DAM
            JvD_Ericsson JEFF VAN DAM
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: