0fb5f09b126d59cdd5d7e3d54dfb8c35fcb99b17
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / a1mediator / resources / ricmanifest.json
1 {
2   "controls":[
3     {
4       "name":"admission_control_policy",
5       "description":"various parameters to control admission of dual connection",
6       "message_receives_rmr_type":"DC_ADMISSION_INTERVAL_CONTROL",
7       "message_receives_payload_schema":{
8         "$schema":"http://json-schema.org/draft-07/schema#",
9         "type":"object",
10         "properties":{
11           "enforce":{
12             "type":"boolean",
13             "default":true
14           },
15           "window_length":{
16             "type":"integer",
17             "default":1,
18             "minimum":1,
19             "maximum":60,
20             "description":"Sliding window length (in minutes)"
21           },
22           "blocking_rate":{
23             "type":"number",
24             "default":10,
25             "minimum":1,
26             "maximum":100,
27             "description":"% Connections to block"
28           },
29           "trigger_threshold":{
30             "type":"integer",
31             "default":10,
32             "minimum":1,
33             "description":"Minimum number of events in window to trigger blocking"
34           }
35         },
36         "required":[
37           "enforce",
38           "blocking_rate",
39           "trigger_threshold",
40           "window_length"
41         ],
42         "additionalProperties":false
43       },
44       "message_sends_rmr_type":"DC_ADMISSION_INTERVAL_CONTROL_ACK",
45       "message_sends_payload_schema":{
46         "$schema":"http://json-schema.org/draft-07/schema#",
47         "type":"object",
48         "properties":{
49           "status":{
50             "type":"string",
51             "enum":[
52               "SUCCESS",
53               "FAIL"
54             ]
55           },
56           "message":{
57             "type":"string"
58           }
59         },
60         "required":[
61           "status"
62         ],
63         "additionalProperties":false
64       }
65     }
66   ]
67 }