From 40ff44f435bca51e30264846685eb3cba5cc9a06 Mon Sep 17 00:00:00 2001 From: jhh Date: Mon, 23 Mar 2020 14:37:27 -0500 Subject: 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 Change-Id: Ib726c935a9ea344577dc58638bdd39192c7a10d1 --- .../schemas/onap.policies.controlloop.Operational-1.0.0.schema.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'policy-domains/src/main') 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 820bdd70..0b52fe32 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", -- cgit 1.2.3-korg