-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstatic.conf
146 lines (130 loc) · 3.69 KB
/
static.conf
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
server.static {
database {
requestTimeout = 5 //in seconds
//MariaDB
mariadb {
url = "jdbc:mariadb://localhost:3306/core3_test"
//username = ??? //pass as -D command line parameter; ex: -Dserver.static.database.mariadb.username="<some user>"
//password = ??? //pass as -D command line parameter; ex: -Dserver.static.database.mariadb.password="<some password>"
}
//Solr
solr {
hostname = "localhost"
port = 8983
schema = "http"
//username = ??? //pass as -D command line parameter; ex: -Dserver.static.database.solr.username="<some user>"
//password = ??? //pass as -D command line parameter; ex: -Dserver.static.database.solr.password="<some password>"
shardsCount = 1
replicasCount = 1
maxCommitTime = 3 //in seconds
}
//Redis
redis {
hostname = "localhost"
port = 6379
//secret = ??? //pass as -D command line parameter; ex: -Dserver.static.database.redis.secret="<some secret>"
connectionTimeout = 5 //in seconds
databaseID = 0
scanCount = 100
}
//CouchDB
couchdb {
hostname = "localhost"
port = 5984
schema = "http"
//username = ??? //pass as -D command line parameter; ex: -Dserver.static.database.couchdb.username="<some user>"
//password = ??? //pass as -D command line parameter; ex: -Dserver.static.database.couchdb.password="<some password>"
cacheOnly = false
}
//ElasticSearch - Search
elastic-search {
hostname = "localhost"
port = 9300
clusterName = "dev.elastic"
searchOnly = true
coexist = false
refreshPolicy = "NONE"
scrollSize = 10
scrollExpiration = 30 //in seconds
}
//ElasticSearch - Search
elastic-store {
hostname = "localhost"
port = 9300
clusterName = "dev.elastic"
searchOnly = false
coexist = false
refreshPolicy = "IMMEDIATE"
scrollSize = 10
scrollExpiration = 30 //in seconds
}
}
security {
authentication {
services {
LocalServiceController_Public {
uri = "https://localhost:19001/public"
serviceUser = "test-client"
serviceUserPassword = "some-test-password#"
}
}
clients {
LocalClientController {
instanceSalt = "change-to-something-random!"
passwordIterations = 15000
keyLength = 256
placeholderPasswordSize = 128
saltSize = 128
sessionTokenSize = 130
localTokenExpiration = 15 //in minutes
override {
userID = "test-admin"
password = "some-test-password!"
}
}
LocalServiceController {
instanceSalt = "change-to-something-random!"
passwordIterations = 15000
keyLength = 256
placeholderPasswordSize = 128
saltSize = 128
sessionTokenSize = 130
localTokenExpiration = 15 //in minutes
}
}
}
}
testing {
config {
valueOne = 1
valueTwo = "two"
valueThree = false
}
security {
valid {
instanceSalt = "not-so-random-test-salt!"
passwordIterations = 15000
keyLength = 256
placeholderPasswordSize = 128
saltSize = 128
}
invalid {
instanceSalt = "not-so-random-test-salt!"
passwordIterations = 14999
keyLength = 256
placeholderPasswordSize = 128
saltSize = 128
}
}
reports {
time {
jsonPath = "/tmp/reports/time"
dsvPath = "/tmp/reports/time"
}
memory {
jsonPath = "/tmp/reports/memory"
dsvPath = "/tmp/reports/memory"
}
}
}
}