diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-08-24 15:50:31 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2020-08-25 09:50:47 -0400 |
commit | f8d2c21bb589303febc11024f3cd667946f44459 (patch) | |
tree | cac720552a5c5e71416d56c001f2196dd6546a88 /applications/match/src/test/resources/test-match-policies.yaml | |
parent | d4b134ae54a260f084be82ba1a6fcd4e6a3040e1 (diff) |
Add new Match application to XACML
Add new generic match application to XACML PDP. This app
will allow ONAP users to design their own matchable policy
types and use StdMatchableTranslator out-of-the box without
any modification. Fills the gap left behind since "configure"
via the Monitoring can support StdCombinedResultsTranslator,
but the Optimization policy types have a specific "closest
match" algorithm tied to them. Gives flexibility.
removed unused import
Issue-ID: POLICY-2596
Change-Id: I0aebae706fb9634e7bb13d78eff0ccc1ae4d752f
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/match/src/test/resources/test-match-policies.yaml')
-rw-r--r-- | applications/match/src/test/resources/test-match-policies.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/applications/match/src/test/resources/test-match-policies.yaml b/applications/match/src/test/resources/test-match-policies.yaml new file mode 100644 index 00000000..d0e214ca --- /dev/null +++ b/applications/match/src/test/resources/test-match-policies.yaml @@ -0,0 +1,19 @@ +tosca_definitions_version: tosca_simple_yaml_1_1_0 +topology_template: + policies: + - test_match_1: + type: onap.policies.match.Test + version: 1.0.0 + type_version: 1.0.0 + name: test_match_1 + properties: + matchable: foo + nonmatchable: value1 + - test_match_2: + type: onap.policies.match.Test + version: 1.0.0 + type_version: 1.0.0 + name: test_match_2 + properties: + matchable: bar + nonmatchable: value2
\ No newline at end of file |