forked from ScorpioBroker/ScorpioBroker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapplication.properties
95 lines (95 loc) · 4.42 KB
/
application.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
quarkus.application.name=aio-runner
quarkus.http.port=9090
quarkus.log.level=INFO
quarkus.ssl.native=true
quarkus.http.host=0.0.0.0
#quarkus.log.category."org.apache.kafka".level=ERROR
#quarkus.log.category."eu.neclab".level=DEBUG
quarkus.vertx.event-loops-pool-size=100
quarkus.native.additional-build-args=--allow-incomplete-classpath,--initialize-at-run-time=org.apache.commons.lang3.RandomStringUtils
quarkus.vertx.prefer-native-transport=true
#quarkus.http.so-reuse-port=true
#quarkus.http.tcp-quick-ack=true
#quarkus.http.tcp-cork=true
#quarkus.http.tcp-fast-open=true
mysettings.postgres.host=${POSTGRES_SERVICE:localhost}
mysettings.postgres.port=${dbport:5432}
mysettings.postgres.username=${dbuser:ngb}
mysettings.postgres.password=${POSTGRES_PASSWORD:ngb}
mysettings.postgres.database-name=${POSTGRES_DBNAME:ngb}
mysettings.gateway.host=${gateway.host:localhost}
mysettings.gateway.port=${gateway.port:9090}
jdbcurl=jdbc:postgresql://${mysettings.postgres.host}:${mysettings.postgres.port}/${mysettings.postgres.database-name}?ApplicationName=${quarkus.application.name}&sslmode=require
scorpio.messaging.duplicate=true
scorpio.gatewayurl=http://localhost:9090
atcontext.url=http://localhost:9090/ngsi-ld/v1/jsonldContexts/
atcontext.cache.duration=5m
scorpio.directDB=true
scorpio.history.autorecording=true
scorpio.history.max-limit=1000
scorpio.history.default-limit=50
scorpio.history.batch-operations.create.max=1000
scorpio.history.batch-operations.upsert.max=1000
scorpio.history.batch-operations.update.max=1000
scorpio.history.batch-operations.delete.max=1000
scorpio.history.batch-operations.query.max=1000
scorpio.entity.max-limit=1000
scorpio.entity.default-limit=50
scorpio.entity.batch-operations.create.max=1000
scorpio.entity.batch-operations.upsert.max=1000
scorpio.entity.batch-operations.update.max=1000
scorpio.entity.batch-operations.delete.max=1000
scorpio.entity.batch-operations.query.max=1000
scorpio.registry.max-limit=1000
scorpio.registry.default-limit=50
scorpio.registry.autorecording=false
scorpio.registry.batch-operations.create.max=1000
scorpio.registry.batch-operations.upsert.max=1000
scorpio.registry.batch-operations.update.max=1000
scorpio.registry.batch-operations.delete.max=1000
scorpio.registry.batch-operations.query.max=1000
scorpio.topics.entitybatch=${ENTITYBATCH_TOPIC:ENTITYBATCH}
scorpio.topics.entity=${ENTITY_TOPIC:ENTITY}
scorpio.topics.registry=${REGISTRY_TOPIC:REGISTRY}
scorpio.topics.temporal=${TEMPORAL_TOPIC:TEMPORAL}
scorpio.topics.internalnotification=${INTERNAL_NOTIFY_TOPIC:I_NOTIFY}
scorpio.topics.internalregsub=${INTERNAL_REGISTRYSUB_TOPIC:I_REGSUB}
scorpio.topics.subalive=${SUB_ALIVE_TOPIC:SUB_ALIVE}
scorpio.topics.subsync=${SUB_SYNC_TOPIC:SUB_SYNC}
scorpio.topics.regsubalive=${REGISTRYSUB_ALIVE_TOPIC:REG_SUB_ALIVE}
scorpio.topics.regsubsync=${REGISTRYSUB_SYNC_TOPIC:REG_SUB_SYNC}
# scorpio.topics.histsync=HIST_SUB_SYNC not used without history manager
scorpio.entitymap.cleanup.ttl=30 sec
scorpio.entitymap.cleanup.schedule=10s
scorpio.startupdelay=5s
scorpio.sync.announcement-time=30s
scorpio.sync.check-time=90s
#Database settings
quarkus.transaction-manager.default-transaction-timeout=300
quarkus.datasource.db-kind=postgresql
quarkus.datasource.username=${mysettings.postgres.username}
quarkus.datasource.password=${mysettings.postgres.password}
quarkus.datasource.jdbc.url=${jdbcurl}
quarkus.datasource.reactive.url=postgresql://${mysettings.postgres.host}:${mysettings.postgres.port}/${mysettings.postgres.database-name}?sslmode=require
quarkus.datasource.reactive.shared=true
quarkus.datasource.reactive.cache-prepared-statements=true
quarkus.datasource.reactive.max-size=50
quarkus.datasource.reactive.idle-timeout=15s
quarkus.datasource.reactive.trust-all=true
#quarkus.datasource.reactive.event-loop-size=100
quarkus.flyway.migrate-at-start=true
quarkus.flyway.baseline-on-migrate=true
quarkus.flyway.connect-retries=10
quarkus.flyway.repair-at-start=true
selfhostcorecontext=http://localhost:9090/corecontext
ngsild.corecontext=https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.7.jsonld
quarkus.rest-client.entity-service.url=http://localhost:9090
quarkus.rest-client.atcontext-service.url=http://localhost:9090
scorpio.registry.subscription.checkinterval=30s
scorpio.subscription.checkinterval=2s
scorpio.fedupdaterate=600s
quarkus.http.limits.max-initial-line-length=50000
#Keycloak
quarkus.oidc.auth-server-url=${KEYCLOAK_SERVER_URL}realms/${REALM}
quarkus.oidc.client-id=${CLIENT_ID}
quarkus.oidc.tls.verification=none