commit | 40ff44f435bca51e30264846685eb3cba5cc9a06 | [log] [tgz] |
---|---|---|
author | jhh <jorge.hernandez-herrero@att.com> | Mon Mar 23 14:37:27 2020 -0500 |
committer | jhh <jorge.hernandez-herrero@att.com> | Mon Mar 23 14:37:27 2020 -0500 |
tree | c4ab168b14f654bc6f1a85a5e109293f98516336 | |
parent | 97e19c931535a5b474d4942a9982f0b7a1cf7414 [diff] |
make policy-id optional for legacy operational policies, PAP does not populate the metadata.policy-id field. The metadata structure is empty. Issue-ID: POLICY-2356 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib726c935a9ea344577dc58638bdd39192c7a10d1
diff --git a/policy-domains/src/main/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json b/policy-domains/src/main/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json index 820bdd7..0b52fe3 100644 --- a/policy-domains/src/main/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json +++ b/policy-domains/src/main/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json
@@ -53,9 +53,7 @@ "$id": "#/properties/metadata", "type": "object", "title": "Metadata", - "required": [ - "policy-id" - ], + "required": [], "properties": { "policy-id": { "$id": "#/properties/metadata/properties/policy-id",