-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
.cdsrc.json
91 lines (91 loc) · 1.99 KB
/
.cdsrc.json
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
{
"requires": {
"[development]": {
"db": {
"credentials": {
"database": "db/bookshop.db"
}
}
},
"[instance1]": {
"db": {
"kind": "sqlite",
"credentials": {
"database": "instance1.db"
}
},
"JobExecutionService": {
"kind": "odata-v4",
"model": "srv/job-execution-service",
"credentials": {
"destination": "job-execution-service",
"requestTimeout": 30000,
"path": "/job-execution"
}
}
},
"[instance2]": {
"db": {
"kind": "sqlite",
"credentials": {
"database": "instance2.db"
}
},
"JobService": {
"kind": "odata-v4",
"model": "srv/job-service",
"credentials": {
"destination": "job-service",
"requestTimeout": 30000,
"path": "/job"
}
}
},
"auth": {
"kind": "basic-auth",
"users": {
"requester": {
"password": "",
"roles": ["admin"]
},
"booksadmin": {
"password": "",
"roles": ["booksadmin"]
},
"job": {
"password": "Secret1",
"roles": ["job"]
},
"job-execution": {
"password": "Secret2",
"roles": ["job-execution"]
},
"admin": {
"password": "",
"roles": ["admin", "roleadmin", "booksadmin", "MODEL_ALL"]
},
"roleadmin": {
"roles": ["admin", "roleadmin"]
},
"littleadmin": {
"password": "",
"roles": ["admin"]
},
"bob": {
"password": "",
"roles": ["authenticated-user", "openid"],
"attr": {
"level": 5,
"directory": "A",
"version": 2
}
},
"error": {
"password": "",
"roles": ["authenticated-user", "openid"]
},
"*": true
}
}
}
}