summaryrefslogtreecommitdiffstats
path: root/test/placement-tests/test_by_scope.yaml
blob: 2cdd4e4d3351c2267fae4d47586c6872ae352c4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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