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

Improve handling 'empty'/null string in Service fields

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • Montreal Release
    • None
    • SDC
    • None

      In scope of https://jira.onap.org/browse/SDC-4576 now is possible to edit template manually.
      It can lead to mix between empty string and null-value like model/serviceType/serviceRole/serviceFunction/namingPolicy in following example

      tosca_definitions_version: tosca_simple_yaml_1_3
      metadata:
        invariantUUID: 95e87d5e-48cf-400b-9fbf-1a8c9dc4f8da
        UUID: cb14c81c-2a03-4fdb-bdc0-e12c6f1fc4fb
        name: s1
        description: Description
        model:
        category: ETSI NFV Network Service
        type: Service
        serviceType: ''
        serviceRole:
        serviceFunction: ''
        environmentContext: General_Revenue-Bearing
        template_version: '0.1'
        instantiationType: A-la-carte
        ecompGeneratedNaming: true
        namingPolicy:
        ETSI Version: 2.5.1

      Code should be robust for any of those values

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

              Created:
              Updated:
              Resolved: