diff options
author | Shankaranarayanan Puzhavakath Narayanan <snarayanan@research.att.com> | 2020-03-09 15:08:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-09 15:08:56 +0000 |
commit | bfb0a45de2eaade4064c40d294fd56e89672d199 (patch) | |
tree | 6502e2ab28074671c2439d0a9394b9193ec8a7b0 /test/placement-tests/test_by_scope.yaml | |
parent | c2b97eaebfcf1f39e1428cdc7b5a3539334087a0 (diff) | |
parent | c1625bd8163ca269ee1a6b25a1f569b97b529b17 (diff) |
Merge "[WIP]Migration to new policy api"
Diffstat (limited to 'test/placement-tests/test_by_scope.yaml')
-rw-r--r-- | test/placement-tests/test_by_scope.yaml | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/test/placement-tests/test_by_scope.yaml b/test/placement-tests/test_by_scope.yaml index 2cdd4e4..1968b89 100644 --- a/test/placement-tests/test_by_scope.yaml +++ b/test/placement-tests/test_by_scope.yaml @@ -2,23 +2,32 @@ references: service_name: source: request value: serviceInfo.serviceName + resource: + source: request + value: placementInfo.placementDemands.resourceModuleName subscriber_role: - source: SubscriberPolicy - value: content.properties.subscriberRole + source: onap.policies.optimization.SubscriberPolicy + value: properties.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 - - + - + scope: + - OSDF_FRANKFURT + - onap.policies.optimization.SubscriberPolicy + service: - get_param: service_name + - + scope: + - OSDF_FRANKFURT - get_param: subscriber_role + service: + - get_param: service_name + # - + # - get_param: service_name + # - get_param: subscriber_role default: # if no explicit service related information is needed policy_fetch: by_name - policy_scope: none + policy_scope: none
\ No newline at end of file |