-
Notifications
You must be signed in to change notification settings - Fork 8
/
test-ddb-context.json
55 lines (55 loc) · 1.1 KB
/
test-ddb-context.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
{
"name": "bearcat-dao",
"scan": ["test/mock/model/ddb"],
"beans": [{
"id": "sqlTemplate",
"func": "lib.template.sql.ddbTemplate",
"props": [{
"name": "planManager",
"ref": "planManager"
}]
}, {
"id": "ddbConnectionManager",
"func": "lib.connection.sql.ddbConnectionManager",
"proxy": false,
"props": [{
"name": "user",
"value": "san"
}, {
"name": "password",
"value": "bearcat"
}, {
"name": "zkServers",
"value": "${zk.servers}"
}, {
"name": "zkChroot",
"value": "${zk.chroot}"
}]
}, {
"id": "planManager",
"func": "lib.plan.planManager",
"props": [{
"name": "connectionManager",
"ref": "ddbConnectionManager"
}]
}, {
"id": "redisConnectionManager",
"func": "lib.connection.cache.redisClusterConnectionManager",
"proxy": false,
"props": [{
"name": "zkServers",
"value": "${zk.servers}"
}, {
"name": "zkChroot",
"value": "${zk.chroot}"
}]
}, {
"id": "redisTemplate",
"func": "lib.template.cache.redisClusterTemplate",
"props": [{
"name": "connectionManager",
"ref": "redisConnectionManager"
}],
"init": "init"
}]
}