summaryrefslogtreecommitdiffstats
path: root/policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-04-16 17:30:36 -0500
committerjhh <jorge.hernandez-herrero@att.com>2020-04-16 17:30:36 -0500
commitfd5641ae01a36b81ddfc590d120dd3efc49593be (patch)
tree8e168ec904d3a57433927a68bebde48483758e9b /policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json
parent1a85ab71be02b7dba7d41a140f92f8b33e5e8b91 (diff)
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 <jorge.hernandez-herrero@att.com> Change-Id: I0c80368b5b6aa5fe5b1c25516cb9ba0a677d7b9a
Diffstat (limited to 'policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json')
-rw-r--r--policy-domains/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json5
1 files changed, 2 insertions, 3 deletions
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
+}