summaryrefslogtreecommitdiffstats
path: root/applications/guard/src/test/resources/test-bad-policies.yaml
blob: df2431d40ce94efaea52bf829fbab94a43fa218b (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
25
26
27
28
29
30
31
32
33
34
35
tosca_definitions_version: tosca_simple_yaml_1_1_0
topology_template:
  policies:
    -
      frequency-missing-properties:
        type: onap.policies.controlloop.guard.common.FrequencyLimiter
        type_version: 1.0.0
        version: 1.0.0
    -
      frequency-timewindow:
        type: onap.policies.controlloop.guard.common.FrequencyLimiter
        type_version: 1.0.0
        version: 1.0.0
        properties:
            limit: 5
            timeWindow: i am a bad value
    -
      minmax-notarget:
        type: onap.policies.controlloop.guard.common.MinMax
        type_version: 1.0.0
        version: 1.0.0
        properties:
    -
      minmax-nominmax:
        type: onap.policies.controlloop.guard.common.MinMax
        type_version: 1.0.0
        version: 1.0.0
        properties:
            target: foo
    -
      blacklist-noblacklist:
        type: onap.policies.controlloop.guard.common.Blacklist
        type_version: 1.0.0
        version: 1.0.0
        properties: