From fa538d59b8982a48fd58f024a30a59616d43cf81 Mon Sep 17 00:00:00 2001 From: "Chayal, Avteet (ac229e)" Date: Fri, 20 Mar 2020 00:32:42 -0400 Subject: Improvements to the OSDF changes for new PEF APIs Improvements to the OSDF changes for new PEF APIs Issue-ID: OPTFRA-723 Change-Id: Ie425bb302361489f4b5a47fbc7225fdc8060e9c3 Signed-off-by: Chayal, Avteet (ac229e) --- test/placement-tests/test_by_scope_old_format.yaml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test/placement-tests/test_by_scope_old_format.yaml (limited to 'test/placement-tests/test_by_scope_old_format.yaml') diff --git a/test/placement-tests/test_by_scope_old_format.yaml b/test/placement-tests/test_by_scope_old_format.yaml new file mode 100644 index 0000000..2cdd4e4 --- /dev/null +++ b/test/placement-tests/test_by_scope_old_format.yaml @@ -0,0 +1,24 @@ +references: + service_name: + source: request + value: serviceInfo.serviceName + subscriber_role: + source: SubscriberPolicy + value: content.properties.subscriberRole + +policy_info: + placement: + policy_fetch: by_scope + policy_scope: + default_scope: OSDF_R2 + vcpe_scope: OSDF_R2 + secondary_scopes: + - + - get_param: service_name + - SubscriberPolicy + - + - get_param: service_name + - get_param: subscriber_role + default: # if no explicit service related information is needed + policy_fetch: by_name + policy_scope: none -- cgit 1.2.3-korg