Code Review
/
ccsdk
/
cds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Cluster partition master API
[ccsdk/cds.git]
/
ms
/
blueprintsprocessor
/
modules
/
commons
/
nats-lib
/
src
/
main
/
kotlin
/
org
/
onap
/
ccsdk
/
cds
/
blueprintsprocessor
/
nats
/
service
/
TokenAuthNatsService.kt
diff --git
a/ms/blueprintsprocessor/modules/commons/nats-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/nats/service/TokenAuthNatsService.kt
b/ms/blueprintsprocessor/modules/commons/nats-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/nats/service/TokenAuthNatsService.kt
index
0da3022
..
60b7934
100644
(file)
--- a/
ms/blueprintsprocessor/modules/commons/nats-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/nats/service/TokenAuthNatsService.kt
+++ b/
ms/blueprintsprocessor/modules/commons/nats-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/nats/service/TokenAuthNatsService.kt
@@
-33,6
+33,7
@@
open class TokenAuthNatsService(private val natsConnectionProperties: TokenAuthN
val serverList = natsConnectionProperties.host.splitCommaAsList()
val options = Options.Builder()
+ .connectionName(natsConnectionProperties.clientId)
.servers(serverList.toTypedArray())
.token(natsConnectionProperties.token.toCharArray())
.build()