diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-09-08 17:04:49 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-09-09 16:02:19 +0000 |
commit | 1a87ab847d70db032edc260096121c7016ee50d7 (patch) | |
tree | 71f1814ccbb4c7adf8b4748a8b25780d7e875dc9 /models-examples/src/main | |
parent | 79cee88a95874d81ae92fbe34eef73c3eb9469b7 (diff) |
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 <pdragosh@research.att.com>
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-examples/src/main')
-rw-r--r-- | models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml | 14 |
1 files changed, 10 insertions, 4 deletions
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 |