-
Notifications
You must be signed in to change notification settings - Fork 11
/
prod.yaml
51 lines (40 loc) · 850 Bytes
/
prod.yaml
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
#########################
# Schema validation test bed
# Also, using _shared
#########################
port: 5042
# threading related stuff
threading:
min: 4
max : 8
timeout: 30000
# path mapping
routes:
post:
/person: _/create_person.zm
/invalid: _/invalid.zm
get:
/person/:personId : _/fetch_person.zm
proxies:
get:
/users: json_place/users
/u2: json_place/users
filters:
finally:
/users: _/after.zm
plugins:
cowj.plugins:
curl: CurlWrapper::CURL
mem-st: MemoryBackedStorage::STORAGE
data-sources:
json_place:
type: curl
url: https://jsonplaceholder.typicode.com
in-mem-storage:
type: mem-st
cron:
r:
exec: _/cron.zm
boot: true
at: "0/30 * * * * ? *"
# https://stackoverflow.com/questions/35214149/cron-expression-for-every-30-seconds-in-quartz-scheduler