relax optional 'description' to also allow empty 63/106163/1
authorjhh <jorge.hernandez-herrero@att.com>
Thu, 16 Apr 2020 22:30:36 +0000 (17:30 -0500)
committerjhh <jorge.hernandez-herrero@att.com>
Thu, 16 Apr 2020 22:30:36 +0000 (17:30 -0500)
description is an optional field, CLAMP users, may not populate
it and send an empty string value

    description: ''

This change removes the requirement to be a non-empty string when
present.

Issue-ID: POLICY-2503
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I0c80368b5b6aa5fe5b1c25516cb9ba0a677d7b9a

policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json

index a7dbf8b..7f56b2b 100644 (file)
                                 "title": "Description",
                                 "examples": [
                                     "Restart the VM"
-                                ],
-                                "pattern": "^(.+)$"
+                                ]
                             },
                             "operation": {
                                 "$id": "#/properties/properties/properties/operations/items/properties/operation",
             }
         }
     }
-}
\ No newline at end of file
+}