From: jhh Date: Thu, 16 Apr 2020 22:30:36 +0000 (-0500) Subject: relax optional 'description' to also allow empty X-Git-Tag: 1.6.2~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=fd5641ae01a36b81ddfc590d120dd3efc49593be;p=policy%2Fdrools-pdp.git relax optional 'description' to also allow empty 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 Change-Id: I0c80368b5b6aa5fe5b1c25516cb9ba0a677d7b9a --- diff --git a/policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json b/policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json index a7dbf8b0..7f56b2ba 100644 --- a/policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json +++ b/policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json @@ -153,8 +153,7 @@ "title": "Description", "examples": [ "Restart the VM" - ], - "pattern": "^(.+)$" + ] }, "operation": { "$id": "#/properties/properties/properties/operations/items/properties/operation", @@ -327,4 +326,4 @@ } } } -} \ No newline at end of file +}