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

The scalar unit type value is in correctly created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Frankfurt Release
    • Amsterdam Release
    • SDC
    • None
    • SDC Sprint 6, SDC Sprint 18

      when using the scalar unit data type the vlue set to the property with thsi value should be 

      in the following format: 1024 MB

      curently SDC drops the MB sufix

      example:

      resource-D7c9539373964d74A3b0-template.yml cinder_volume
      properties:
      size: '(get_input : volume_size) * 1024'
      3.2.6 TOSCA scalar-unit type
      TOSCA scalar-unit typed values have the following grammar:
      <scalar> <unit> , such as 1024 MB

       

      TDP:

      https://sdp.web.att.com/fa3ccm1/web/projects/Application_Development_Tools_LM_20.20.01#action=com.ibm.team.workitem.viewWorkItem&id=338620&tab=overview

        1. base_vvg.zip
          1 kB
        2. service-vvg.csar
          41 kB
        3. vvg.zip
          1 kB
        4. resource-TestScalarUnitSize-csar.csar
          48 kB
        5. Scalar_Unit_Value.png
          Scalar_Unit_Value.png
          212 kB
        6. vvg_01.zip
          1 kB
        7. SDC_CI_Extent_Report.html
          107 kB
        8. SDC_CI_Extent_Report.html
          107 kB
        9. SDC_CI_Extent_Report.html
          107 kB

            aribeiro aribeiro
            ml636r ml636r
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: