Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit fc08bde

Browse files
authored
Merge pull request #43 from navicore/master
logging
2 parents 298069f + f20ce00 commit fc08bde

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/main/resources/application.conf

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,18 @@ main {
99
healthToleranceSeconds = 120
1010
healthToleranceSeconds = ${?HEALTH_TOLERANCE_SECONDS}
1111

12-
keyStorePath = "~/secrets/keystore.jks"
13-
keyStorePath = ${?KEYSTORE_PATH}
14-
keyStorePassword = "mysecret"
15-
keyStorePassword = ${?KEYSTORE_PASSWORD}
12+
keyStorePath = ${KEYSTORE_PATH}
13+
keyStorePassword = ${KEYSTORE_PASSWORD}
1614

1715
mqttTopic = "data"
1816
mqttTopic = ${?MQTT_TOPIC}
1917

20-
mqttUrl = "ssl://my.mqtt.host:12345"
2118
mqttUrl = ${MQTT_URL}
2219

2320
mqttClientId = "dtLabClient"
2421
mqttClientId = ${?MQTT_CLIENT_ID}
2522

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}
2824

2925
telemetryContentType = "json"
3026
telemetryContentType = ${?TELEMETRY_CONTENT_TYPE}

src/main/scala/somind/dtlab/ingest/mqtt/utils/SslContextUtil.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ object SslContextUtil extends LazyLogging {
1212
def apply(): SSLContext = {
1313

1414
val keyStore = KeyStore.getInstance("pkcs12")
15+
logger.info(s"loading keystore from $keyStorePath")
1516
keyStore.load(new FileInputStream(keyStorePath),
1617
keyStorePassword.toCharArray)
1718
val kmf =

0 commit comments

Comments
 (0)