-
Notifications
You must be signed in to change notification settings - Fork 25
/
config-example.json
92 lines (92 loc) · 2.79 KB
/
config-example.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
92
{
"version": "1.0",
"zookeepers": [
"zookeeper"
],
"clusterId": "iudx-aaa-cluster",
"options":{
"postgresOptions": {
"databaseIP": "139.59.80.176",
"databasePort": "5432",
"databaseName": "iudx",
"databaseSchema":"test",
"databaseUserName": "iudx_user",
"databasePassword": "iudx@123"
},
"commonOptions":{
"cosDomain":"auth.test.com",
"cosAdminUserId": "a74792c1-a86d-48e4-b4f0-544585981718"
},
"keycloakOptions":{
"keycloakRealm": "some-realm",
"keycloakUrl": "{{protocol}}://{{keycloakHost}}:{{keycloakPort}}/auth",
"keycloakAdminClientId": "some-admin-client-id",
"keycloakAdminClientSecret": "f5800be0-258a-4cd2-820f-8128818ed70a",
"keycloakAdminPoolSize": "10",
"keycloakJwtLeeway": 90
},
"jwtKeystoreOptions":{
"keystorePath": "configs/keystore.jks",
"keystorePassword": "secret"
}
},
"modules": [
{
"id": "iudx.aaa.server.policy.PolicyVerticle",
"verticleInstances": 1,
"required":["postgresOptions", "commonOptions"],
"poolSize": "5",
"catalogueOptions": {
"catServerHost": "api.catalogue.iudx.io",
"catServerPort": "443",
"catServerBasePath": "/iudx/cat/v1"
}
},
{
"id": "iudx.aaa.server.registration.RegistrationVerticle",
"verticleInstances": 1,
"required":["postgresOptions", "keycloakOptions", "commonOptions"],
"serversOmittedFromRevoke":[],
"poolSize": "5"
},
{
"id": "iudx.aaa.server.token.TokenVerticle",
"verticleInstances": 1,
"required":["postgresOptions", "commonOptions", "jwtKeystoreOptions"],
"poolSize": "5"
},
{
"id": "iudx.aaa.server.admin.AdminVerticle",
"verticleInstances": 1,
"required":["postgresOptions", "commonOptions", "keycloakOptions"],
"poolSize": "5"
},
{
"id": "iudx.aaa.server.apd.ApdVerticle",
"verticleInstances": 1,
"required":["postgresOptions", "commonOptions"],
"webClientTimeoutMs": 4000,
"poolSize": "25"
},
{
"id": "iudx.aaa.server.auditing.AuditingVerticle",
"verticleInstances": 1,
"auditingDatabaseIP": "localhost",
"auditingDatabasePort": 4352,
"auditingDatabaseName": "audit_service",
"auditingDatabaseUserName": "root",
"auditingDatabasePassword": "root",
"auditingDatabaseTableName": "table-name",
"auditingPoolSize": 25
},
{
"id": "iudx.aaa.server.apiserver.ApiServerVerticle",
"verticleInstances": 1,
"httpPort": 8443,
"required":["postgresOptions", "commonOptions", "keycloakOptions", "jwtKeystoreOptions"],
"poolSize": "5",
"serverTimeoutMs": 5000,
"corsRegexString": "*"
}
]
}