-
Notifications
You must be signed in to change notification settings - Fork 13
/
application-docker.properties
211 lines (169 loc) · 7.69 KB
/
application-docker.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
### App setup
spring.banner.location=classpath:true-connector-banner.txt
logging.config=classpath:logback-PROVIDER.xml
spring.devtools.restart.enabled=false
# Choose which events to log from list bellow
#auditableEvents=ALL,NONE,SELF_DESCRIPTION,SELF_DESCRIPTION_ALL,CONTRACT_OFFER,OFFERED_RESOURCE,REPRESENTATION,USER,EXCEPTION,CONNECTOR
# if left empty it will default to ALL
application.logging.auditableEvents=ALL
#define the directory where you can find certificates
application.targetDirectory=/cert/
#SSL Settings for https communication
#use https instead of http, if false the ssl settings can be empty
application.ssl.key-store.name=${KEYSTORE_NAME}
application.ssl.key-store-password=${KEYSTORE_PASSWORD}
application.ssl.key-password=${KEY_PASSWORD}
server.ssl.key-alias=${ALIAS}
server.port=8449
server.max-http-header-size=15360
server.ssl.key-store=${application.targetDirectory}${application.ssl.key-store.name}
server.ssl.key-password=${application.ssl.key-password}
server.ssl.key-store-password=${application.ssl.key-store-password}
server.ssl.key-store-provider=SUN
server.ssl.key-store-type=JKS
server.ssl.SHA256=AC3BCAED1F01C63E18D4E0994C48D18EB6F79D01844564A4BA8476BE2D17F5E4
# Values accepted
# good -> only good check
# unknown -> only good and unknown check
# none -> no OCSP test needed
application.OCSP_RevocationCheckValue=none
#### Enable WebSocket over Https
application.dataApp.websocket.isEnabled=${WS_EDGE}
#Enabling WS between ECC
application.websocket.isEnabled=${WS_ECC}
### DAPS Parameters (for getting token)
application.isEnabledDapsInteraction=false
# Use extended jwt validation - transportCertsSha
application.extendedTokenValidation=false
#Cache token(true) or always use new token(false)
application.tokenCaching=${CACHE_TOKEN}
#Fetch and cache token on startup. application.tokenCaching must be true!
application.fetchTokenOnStartup=${FETCH_TOKEN_ON_STARTUP}
#possible values: v2,orbiter
application.dapsVersion=v2
#AISEC v2 URL
application.dapsUrl=https://daps.aisec.fraunhofer.de/v2/token
application.dapsJWKSUrl=https://daps.aisec.fraunhofer.de/.well-known/jwks.json
#ORBITER URL
#application.dapsUrl=http://212.81.222.225:8084/token
#Omejdn
#application.dapsUrl=https://omejdn/auth/token
#application.dapsJWKSUrl=https://omejdn/auth/jwks.json
#AISEC DAPS settings
application.keyStoreName=${DAPS_KEYSTORE_NAME}
application.keyStorePassword=${DAPS_KEYSTORE_PASSWORD}
application.keystoreAliasName=${DAPS_KEYSTORE_ALIAS}
#Not used if you use AISEC v2
application.connectorUUID=4c49777d-4718-4d5c-9afe-1057849c1256
application.trustStoreName=${TRUSTORE_NAME}
application.trustStorePassword=${TRUSTORE_PASSWORD}
#ORBITER DAPS settings
application.daps.orbiter.privateKey=
application.daps.orbiter.password=
#enable protocol validation (default=true)
#correct protocol is required in Forward-To (https/http://example.com || wss://example.com || idscp://example.com)
application.validateProtocol=false
#skip protocol validation (default=true)
#if true the Forward-To header is same as input
application.enableProtocolValidation=false
#encode/decode payload on ECC boundaries - default value false
application.encodeDecodePayload=false
# BROKER
application.selfdescription.registrateOnStartup=false
application.selfdescription.brokerURL=${BROKER_URL}
#Firewall
application.firewall.isEnabled=${FIREWALL}
#Clearing House
application.clearinghouse.isEnabledClearingHouse=false
application.clearinghouse.username=
application.clearinghouse.password=
application.clearinghouse.baseUrl=
application.clearinghouse.logEndpoint=/messages/log/
application.clearinghouse.processEndpoint=/process/
#Connector ID
application.connectorid=${CONNECTOR_ID}
#IDSCP2 enabled
application.idscp2.isEnabled=${IDSCP2}
application.idscp.server.ttpUri=https://localhost/nonexistingdummy_ttp
#Define if the connector is used as receiver or sender
application.isReceiver=true
#WSS Port
application.wss-server-port=8086
#Camel A endpoint
application.camelSenderPort=8887
#Camel B endpoint
application.camelReceiverPort=8889
#Open API Data APP
application.openDataAppReceiver=${DATA_APP_ENDPOINT}
# Multipart Body between Execution Core Container and Data APP
application.openDataAppReceiverRouter=${MULTIPART_EDGE}
#Multipart Body between connectors
application.eccHttpSendRouter=${MULTIPART_ECC}
#Camel - Spring Boot
camel.ssl.config.key-managers.key-password=${application.ssl.key-password}
camel.ssl.config.key-managers.key-store.resource=${application.targetDirectory}${application.ssl.key-store.name}
camel.ssl.config.key-managers.key-store.password=${application.ssl.key-store-password}
#Camel - Jetty
camel.component.jetty.keystore=${application.targetDirectory}${application.ssl.key-store.name}
camel.component.jetty.ssl-password=${application.ssl.key-store-password}
camel.component.jetty.ssl-key-password=${application.ssl.key-password}
# Usage Control App
spring.ids.ucapp.baseUrl=${UC_DATAAPP_URI}
application.isEnabledUsageControl=false
# mydata or platoon
application.usageControlVersion=platoon
#Technical headers
application.technicalHeaders=header,Is-Enabled-DataApp-WebSocket,payload,Forward-To,Payload-Content-Type,Host
#number of consecutive failed attempts
application.user.lock.maxattempts=5
# duration for how long user will be locked
application.user.lock.duration=30
# time unit used for locking user, possible values are: SECONDS,MINUTES,HOURS,DAYS
application.user.lock.unit=MINUTES
##Password Validator
#Password length should be in between (for example) 8 and 16 characters, 0 disable rule
application.password.validator.minLength=8
application.password.validator.maxLength=16
#At least one Upper-case character, 0 disable rule
application.password.validator.minUpperCase=1
#At least one Lower-case character, 0 disable rule
application.password.validator.minLowerCase=1
#At least one digit, 0 disable rule
application.password.validator.minDigit=1
#At least one special character, 0 disable rule
application.password.validator.minSpecial=1
application.selfdescription.description=Data Provider Connector description
application.selfdescription.title=Data Provider Connector title
application.selfdescription.curator=http://provider.curatorURI.com
application.selfdescription.maintainer=http://provider.maintainerURI.com
application.selfdescription.filelocation=/home/nobody/data/sd
application.selfdescription.inboundModelVersion=4.0.0,4.1.0,4.1.2,4.2.0,4.2.1,4.2.2,4.2.3,4.2.4,4.2.5,4.2.6,4.2.7
application.selfdescription.defaultEndpoint=
#For logging the response over WSS set to DEBUG, else leave empty
#logging.level.it.eng.idsa.businesslogic.processor.receiver=
#H2 properties
spring.datasource.url=jdbc:h2:file:/home/nobody/data/audit_logs_provider;CIPHER=AES
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.datasource.driver-class-name=org.h2.Driver
spring.jpa.show-sql=false
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
spring.h2.console.enabled=true
spring.datasource.username=sa
spring.datasource.password=file_password password
## Health check properties
application.healthcheck.enabled=false
application.healthcheck.cron.expression=0 */5 * ? * *
# fixedDelay in ms
application.healthcheck.resourcemanager.cron.fixedDelay=60000
## Threshold in percentages - from max value
application.healthcheck.threshold.audit=5
application.healthcheck.threshold.cpu=0.5
application.healthcheck.threshold.memory=10.5
application.healthcheck.dataapp=https://be-dataapp-provider:8183/about/version
application.healthcheck.usagecontrol=https://uc-dataapp-provider:8080/platoontec/PlatoonDataUsage/1.0/about/version
application.healthcheck.daps=${application.dapsJWKSUrl}
application.healthcheck.clearinghouse=
springdoc.swagger-ui.enabled=false
springdoc.api-docs.enabled=false