-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdefault.properties
254 lines (221 loc) · 10.6 KB
/
default.properties
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
# Folder, where other files and subfolders will be stored
app.home=/var/tmp/xmlconv
# Application host name
app.host=converters.eionet.europa.eu
# Other applications urls
# one of the uses of this property is in HttpFileManager.getSourceUrlWithTicket method where we create
# the source url with an authentication method. This is used when there is no load balancer
config.gdem.url=https://converters.eionet.europa.eu
config.dd.url=http://dd.eionet.europa.eu
config.dd.rpc.url=https://dd.eionet.europa.eu/rpcrouter
config.cr.sparql.endpoint=https://cr.eionet.europa.eu/sparql
config.cdr.url=https://cdr.eionet.europa.eu
# Database parameters
config.db.jdbcurl=jdbc:mysql://localhost:3306/xmlconv?autoReconnect=true&characterEncoding=UTF-8&emptyStringsConvertToZero=false&jdbcCompliantTruncation=false
config.db.jdbcurl.encoded=jdbc:mysql://localhost:3306/xmlconv?autoReconnect=true&characterEncoding=UTF-8&emptyStringsConvertToZero=false&jdbcCompliantTruncation=false
config.db.driver=com.mysql.cj.jdbc.Driver
config.db.user=xmlconv_user
config.db.password=pass_pass
# Database parameters for unit tests
config.test.db.jdbcurl=jdbc:mysql://localhost:3336/xmlconv\
?autoReconnect=true\
&createDatabaseIfNotExist=true\
&server.initialize-user=true\
&useUnicode=true\
&characterEncoding=UTF-8\
&emptyStringsConvertToZero=false\
&jdbcCompliantTruncation=false
config.test.db.driver=com.mysql.cj.jdbc.Driver
config.test.db.user=testuser
config.test.db.password=testpassword
config.test.httpd.url=https://localhost:8443/
config.cache.temp.dir=/opt/cache
config.cache.http.expiryinterval=120
config.cache.http.size=2000
# JWT
jwt.secret=top-secret
jwt.issuer=issuer
jwt.audience=eea
jwt.header=Authorization
jwt.header.schema=Bearer
# Scheduler
config.heavy.threshold=10485760
# SSO Configuration
config.sso.url=https://sso.eionet.europa.eu/
# Threshold for long running jobs in ms
env.long.running.jobs.threshold=3600000
# Timeout in milliseconds for on demand jobs to get not empty html file
env.onDemand.waitForEmptyFile.timeout.ms=2000
# Maximum ms for which we will wait to retrieve not empty html file
env.onDemand.waitForEmptyFile.max.ms=10000
# UNS-related properties
#########################
# XML-RPC server URL for UNS subscription
env.uns.xml.rpc.server.url=http://uns.eionet.europa.eu/rpcrouter
# Channel name for UNS subscription method
env.uns.channel.name=123456789
# UNS subscriptions URL
env.uns.subscriptions.url=http://uns.eionet.europa.eu/subscriptions/subscriptions.jsf
# username for UNS subscriptions
env.uns.username=username
# password for UNS subscriptions
env.uns.password=password
# UNS xmlrpc function that is called for making subscription
env.uns.make.subsription.function=UNSService.makeSubscription
# UNS xmlrpc function that is called for sending notifications
env.uns.send.notification.function=UNSService.sendNotification
# If present and "true", this flag disables UNS event sending. In all other cases, sending is enabled.
# On Windows platform sending is disabled by default, unless this property is present and explicitly set to "false".
env.uns.isDisabled=${env.uns.isDisabled}
# Predicate for long running jobs
env.uns.long.running.jobs.predicate=${config.gdem.url}/jobs#long_running_jobs
# Event type predicate for UNS subscription method
env.uns.eventtype.predicate=${config.gdem.url}/jobs#event_type
# UNS event namespace
env.uns.events-namespace=${config.gdem.url}/events/
# Property for uns url
env.uns.url=
# sendNotification method url
uns.sendNotification.method=/v2/uns/event/legacy/sendNotification/
# Credentials for uns rest api calls
uns.rest.username=
uns.rest.password=
# Predicate for alerts
env.uns.alerts.predicate=${config.gdem.url}/converters#alerts
# Event type predicate for alerts
env.uns.alerts.eventtype.predicate=${config.gdem.url}/alerts#event_type
# Channel name for alerts
env.uns.alerts.channel.name=
# TEST uns properties
test.uns.xml.rpc.server.url=http://test.tripledev.ee/uns/rpcrouter
test.uns.channel.name=987654321
# urls to filter http calls
env.xquery.http.endpoints=cr.eionet.europa.eu
# time limit that http requests take to execute through basex in ms
env.basex.xquery.timeLimit=10000
# max execution time of qa scripts in ms
env.schema.maxExecutionTime=82800000
# limit for max execution time of qa scripts in ms
env.schema.maxExecutionTimeLimit=82800000
# The number of ms for after which a processing schema validation job is not considered as duplicate
schema.validation.duplicates.processing.threshold = 1800000
# cr application url
config.cr.host=
# mock application to redirect cr requests
config.cr.mockCrUrl=
# if set to true calls to cr will be redirected to the mock cr application, if set to false calls to cr will proceed normally
config.enableXqueryCrCallsInterception=false
# property for enabling scheduled task that orchestrates creation/deletion of jobExecutor containers
env.enable.jobExecutor.rancher.scheduled.task=true
# maximum number of light JobExecutor containers to run on rancher
env.max.light.jobExecutor.containers.allowed=15
# maximum number of heavy JobExecutor containers to run on rancher
env.max.heavy.jobExecutor.containers.allowed=8
# maximum number of synchronous fme JobExecutor containers to run on rancher
env.max.sync.fme.jobExecutor.containers.allowed=4
# maximum number of asynchronous fme JobExecutor containers to run on rancher
env.max.async.fme.jobExecutor.containers.allowed=1
# rabbitmq connection properties
env.rabbitmq.host=
env.rabbitmq.port=
env.rabbitmq.username=
env.rabbitmq.password=
# cdr rabbitmq connection properties
env.cdr.rabbitmq.host=
env.cdr.rabbitmq.port=
env.cdr.rabbitmq.username=
env.cdr.rabbitmq.password=
# Queue where converters sends script messages for workers to retrieve
env.rabbitmq.workers.jobs.queue=workers-jobs-queue
# Queue where workers respond with results after executing a script
env.rabbitmq.workers.jobs.results.queue=workers-jobs-results-queue
# Queue where workers send their status
env.rabbitmq.workers.status.queue=workers-status-queue
# Queue where worker responds whether it's executing a specific job
env.rabbitmq.worker.heartBeat.response.queue=worker-heart-beat-response-queue
# Exchange where converters sends message asking worker if it's executing a specific job
env.rabbitmq.xmlconv.heartBeat.request.exchange=xmlconv-heart-beat-request-exchange
# Exchange where converters sends messages
env.rabbitmq.main.xmlconv.jobs.exchange=main-xmlconv-jobs-exchange
# Exchange where workers send messages
env.rabbitmq.main.workers.exchange=main-workers-exchange
# Routing where converters sends job requests
env.rabbitmq.jobs.routingkey=xmlconv-job
# Routing where workers send job results
env.rabbitmq.jobs.results.routingkey=xmlconv-job-result
# Routing where workers send their status along with their heart beat queue name
env.rabbitmq.worker.status.routingkey=xmlconv-worker-status
# Routing where workers send responses for heart beat messages
env.rabbitmq.worker.heartBeat.response.routingKey=worker-heart-beat-response-routing
# RabbitMQ configuration for Heavy Workers
# Queue where converters sends script messages for heavy jobs in order to be received by a heavy worker
env.rabbitmq.heavy.workers.jobs.queue=workers-heavy-jobs-queue
# Exchange where converters sends messages to heavy workers
env.rabbitmq.main.xmlconv.heavy.jobs.exchange=main-xmlconv-heavy-jobs-exchange
# Routing where converters sends heavy job requests
env.rabbitmq.heavy.jobs.routingkey=xmlconv-job-heavy
# Queue where converters sends synchronous fme jobs
env.rabbitmq.workers.fme.sync.jobs.queue=workers-sync-fme-jobs-queue
# Exchange where converters sends synchronous fme jobs
env.rabbitmq.xmlconv.sync.fme.jobs.exchange=xmlconv-sync-fme-jobs-exchange
# Routing key where converters sends synchronous fme jobs
env.rabbitmq.sync.fme.jobs.routingkey=xmlconv-sync-fme-jobs-routingKey
# Queue where converters sends asynchronous fme jobs
env.rabbitmq.workers.fme.async.jobs.queue=workers-async-fme-jobs-queue
# Exchange where converters sends asynchronous fme jobs
env.rabbitmq.xmlconv.async.fme.jobs.exchange=xmlconv-async-fme-jobs-exchange
# Routing key where converters sends asynchronous fme jobs
env.rabbitmq.async.fme.jobs.routingkey=xmlconv-async-fme-jobs-routingKey
# time in milliseconds. Time limit in case of xmlrpc/rest runScript for a long running job. If this limit is exceeded we stop asking the job status
env.jobs.onDemand.limit.before.time.out=14400000
# time in milliseconds. Time limit in case of GUI Qa Sandbox runScript for a long running job. If this limit is exceeded we stop asking the job status
env.jobs.onDemand.ui.time.out=14400000
# Light Workers Dead Letter queue properties
env.rabbitmq.dead.letter.queue=workers-dead-letter-queue
env.rabbitmq.dead.letter.exchange=workers-dead-letter-exchange
env.rabbitmq.dead.letter.routingKey=workers-dead-letter-routing-key
# Health queue properties
env.rabbitmq.health.queue=xmlconv-health-queue
env.rabbitmq.health.exchange=xmlconv-health-exchange
env.rabbitmq.health.routingKey=xmlconv-health-routingKey
# queue for cdr requests messages properties
env.rabbitmq.cdr.request.queue=xmlconv_cdr_request_queue
env.rabbitmq.cdr.request.exchange=xmlconv_cdr_request_exchange
env.rabbitmq.cdr.request.routingKey=xmlconv_cdr_request_routingKey
# time to leave (in ms) for messages in the cdr request queue
env.rabbitmq.cdr.request.queue.ttl=1800000
# queue for cdr results properties
env.rabbitmq.cdr.results.queue=xmlconv_cdr_results_queue
env.rabbitmq.cdr.results.exchange=xmlconv_cdr_results_exchange
env.rabbitmq.cdr.results.routingKey=xmlconv_cdr_results_routingKey
# cdr rabbitmq dead letter queue properties
env.rabbitmq.cdr.dead.letter.queue=xmlconv_cdr_dead_letter_queue
env.rabbitmq.cdr.dead.letter.exchange=xmlconv_cdr_dead_letter_exchange
env.rabbitmq.cdr.dead.letter.routingKey=xmlconv_cdr_dead_letter_routingKey
# Converters graylog url
env.converters.graylog=
# JobExecutor graylog url
env.jobExecutor.graylog=
# FME job url in FME server
env.fme.job.url=https://fme.discomap.eea.europa.eu/fmeserver/#/job/
# Maximum retries for heavy workers
env.max.heavy.retries=3
# fme url
env.fme.url=https://fme.discomap.eea.europa.eu/fmerest/v3/transformations/jobs
# fme user
env.fme.user=
# fme password
env.fme.password=
# fme token
env.fme.token=
# The url for all rest requests to job executor
jobExecutor.requests.url=
# The endpoint to retrieve timeout related properties from jobExecutor
jobExecutor.properties.retrieve.endpoint=/properties/get/timeouts
# Url for retrieving container information
# Rancher properties
env.rancher.converters.deployment.name=
env.rancher.light.jobExec.deployment.name=
env.rancher.heavy.jobExec.deployment.name=
env.rancher.sync.fme.jobExec.deployment.name=
env.rancher.async.fme.jobExec.deployment.name=