This repository was archived by the owner on Jul 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
scala/somind/dtlab/ingest/mqtt/utils Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 9
9
healthToleranceSeconds = 120
10
10
healthToleranceSeconds = ${?HEALTH_TOLERANCE_SECONDS}
11
11
12
- keyStorePath = "~/secrets/keystore.jks"
13
- keyStorePath = ${?KEYSTORE_PATH}
14
- keyStorePassword = "mysecret"
15
- keyStorePassword = ${?KEYSTORE_PASSWORD}
12
+ keyStorePath = ${KEYSTORE_PATH}
13
+ keyStorePassword = ${KEYSTORE_PASSWORD}
16
14
17
15
mqttTopic = "data"
18
16
mqttTopic = ${?MQTT_TOPIC}
19
17
20
- mqttUrl = "ssl://my.mqtt.host:12345"
21
18
mqttUrl = ${MQTT_URL}
22
19
23
20
mqttClientId = "dtLabClient"
24
21
mqttClientId = ${?MQTT_CLIENT_ID}
25
22
26
- dtlabIngestUris = "http://localhost:8082/dtlab-alligator/extractor/telemetry/CHANGEME http://localhost:8082/dtlab-alligator/extractor/array/CHANGEME"
27
- dtlabIngestUris = ${?DTLAB_INGEST_PATHS}
23
+ dtlabIngestUris = ${DTLAB_INGEST_PATHS}
28
24
29
25
telemetryContentType = "json"
30
26
telemetryContentType = ${?TELEMETRY_CONTENT_TYPE}
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ object SslContextUtil extends LazyLogging {
12
12
def apply (): SSLContext = {
13
13
14
14
val keyStore = KeyStore .getInstance(" pkcs12" )
15
+ logger.info(s " loading keystore from $keyStorePath" )
15
16
keyStore.load(new FileInputStream (keyStorePath),
16
17
keyStorePassword.toCharArray)
17
18
val kmf =
You can’t perform that action at this time.
0 commit comments