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

Fix constraints saving as strings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • London Release
    • SDC
    • None

      If constraints are ints or floats they are saved as strings when downloading the TOSCA artificat

       

      node_types:   org.openecomp.resource.TestImportVFC:     derived_from: tosca.nodes.Root
          description: test
          properties:       aProperty:         type: string
              required: false
            int_prop:         default: 10
              type: integer
              required: false
              constraints:         - greater_than: '5'
      

            eschcam eschcam
            eschcam eschcam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: