From fd5641ae01a36b81ddfc590d120dd3efc49593be Mon Sep 17 00:00:00 2001 From: jhh Date: Thu, 16 Apr 2020 17:30:36 -0500 Subject: 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 --- ....policies.controlloop.operational.common.Drools-1.0.0.schema.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'policy-domains') 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 +} -- cgit 1.2.3-korg