diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2020-03-23 14:37:27 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2020-03-23 14:37:27 -0500 |
commit | 40ff44f435bca51e30264846685eb3cba5cc9a06 (patch) | |
tree | c4ab168b14f654bc6f1a85a5e109293f98516336 /policy-domains/src/main/resources | |
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
Diffstat (limited to 'policy-domains/src/main/resources')
-rw-r--r-- | policy-domains/src/main/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json | 4 |
1 files changed, 1 insertions, 3 deletions
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", |