From 1a87ab847d70db032edc260096121c7016ee50d7 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Sun, 8 Sep 2019 17:04:49 -0400 Subject: Add metadata to properties Properties should support metadata - adding it in. Added junit tests for the new metadata field. Issue-ID: POLICY-2060 Change-Id: I2e1933ca4260fe5989f36a098108893a366f657a Signed-off-by: Pamela Dragosh Signed-off-by: Jim Hahn --- .../resources/policytypes/onap.policies.Optimization.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml') diff --git a/models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml b/models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml index 49470ba3b..f88239d73 100644 --- a/models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml +++ b/models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml @@ -8,26 +8,32 @@ policy_types: scope: description: Scope for the policy - could be for a specific release. type: list - matchable: true + metadata: + matchable: true required: true + entry_schema: + type: string services: description: One or more services that the policy applies to. type: list - matchable: true + metadata: + matchable: true required: true entry_schema: type: string resources: description: One or more VNF resources that the policy applies to. type: list - matchable: true + metadata: + matchable: true required: true entry_schema: type: string geography: description: One or more geographic regions type: list - matchable: true + metadata: + matchable: true required: true entry_schema: type: string -- cgit 1.2.3-korg