-
Notifications
You must be signed in to change notification settings - Fork 23
/
create_router_nop_logger_proprietary_exp.json.tmpl
99 lines (99 loc) · 2.87 KB
/
create_router_nop_logger_proprietary_exp.json.tmpl
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"environment_name": "dev",
"name": "e2e-experiment-{{ .TestID }}",
"config": {
"routes": [
{
"id": "control",
"type": "PROXY",
"endpoint": "{{ .Mockserver.Endpoint }}/control",
"timeout": "5s"
}
],
"experiment_engine": {
"type": "proprietary",
"config": {
"client": {
"id": "1",
"username": "test",
"passkey": "test"
},
"experiments": [
{
"id": "001",
"name": "exp_1"
}
],
"variables": {
"experiment_variables": {
"001": [
{
"name": "client_id",
"type": "unit",
"required": true
}
]
},
"config": [
{
"name": "client_id",
"required": true,
"field": "client.id",
"field_source": "payload"
}
]
}
}
},
"resource_request": {
"min_replica": 1,
"max_replica": 1,
"cpu_request": "100m",
"memory_request": "250Mi"
},
"timeout": "5s",
"protocol": "HTTP_JSON",
"log_config": {
"result_logger_type": "nop"
},
"enricher": {
"image": "{{ .Echoserver.Image }}",
"resource_request": {
"min_replica": 1,
"max_replica": 1,
"cpu_request": "250m",
"memory_request": "256Mi"
},
"endpoint": "enrich",
"timeout": "3s",
"port": 80,
"env": [
{
"name": "TEST_ENV",
"value": "enricher"
}
]
},
"ensembler": {
"type": "docker",
"docker_config": {
"image": "{{ .Echoserver.Image }}",
"resource_request": {
"min_replica": 1,
"max_replica": 1,
"cpu_request": "250m",
"memory_request": "256Mi"
},
"endpoint": "ensemble",
"timeout": "3s",
"port": 80,
"env": [
{
"name": "TEST_ENV",
"value": "ensembler"
}
]
}
}
}
}