set up registry property
This commit is contained in:
@@ -13,6 +13,7 @@ Classes and endpoints, to shape and to steer, Devices and sensors, their purpose
|
|||||||
| server.ssl.key-store-type | * | HTTP Cert Type |
|
| server.ssl.key-store-type | * | HTTP Cert Type |
|
||||||
| server.ssl.key-store-password | ** | HTTP Cert Pass |
|
| server.ssl.key-store-password | ** | HTTP Cert Pass |
|
||||||
| jwt.public-key | * | JWT public key |
|
| jwt.public-key | * | JWT public key |
|
||||||
|
| device-registry.url | * | Device Register URL |
|
||||||
|
|
||||||
Required: * can be stored as text, and ** need to be stored as secret.
|
Required: * can be stored as text, and ** need to be stored as secret.
|
||||||
|
|
||||||
|
|||||||
@@ -7,10 +7,12 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
implementation(hlaeja.com.fasterxml.jackson.module.kotlin)
|
||||||
implementation(hlaeja.jjwt.api)
|
implementation(hlaeja.jjwt.api)
|
||||||
implementation(hlaeja.kotlin.logging)
|
implementation(hlaeja.kotlin.logging)
|
||||||
implementation(hlaeja.kotlin.reflect)
|
implementation(hlaeja.kotlin.reflect)
|
||||||
implementation(hlaeja.kotlinx.coroutines)
|
implementation(hlaeja.kotlinx.coroutines)
|
||||||
|
implementation(hlaeja.ltd.hlaeja.library.common.messages)
|
||||||
implementation(hlaeja.org.springframework.springboot.actuator.starter)
|
implementation(hlaeja.org.springframework.springboot.actuator.starter)
|
||||||
implementation(hlaeja.org.springframework.springboot.webflux.starter)
|
implementation(hlaeja.org.springframework.springboot.webflux.starter)
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,11 @@
|
|||||||
"name": "jwt.public-key",
|
"name": "jwt.public-key",
|
||||||
"type": "java.lang.String",
|
"type": "java.lang.String",
|
||||||
"description": "Jwt public key file."
|
"description": "Jwt public key file."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "device-registry.url",
|
||||||
|
"type": "java.lang.String",
|
||||||
|
"description": "Url for device registry service."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,6 +30,9 @@ server:
|
|||||||
key-store-type: PKCS12
|
key-store-type: PKCS12
|
||||||
key-store-password: password
|
key-store-password: password
|
||||||
|
|
||||||
|
device-registry:
|
||||||
|
url: http://localhost:9010
|
||||||
|
|
||||||
---
|
---
|
||||||
##########################
|
##########################
|
||||||
### Docker environment ###
|
### Docker environment ###
|
||||||
@@ -47,6 +50,9 @@ server:
|
|||||||
key-store-type: PKCS12
|
key-store-type: PKCS12
|
||||||
key-store-password: password
|
key-store-password: password
|
||||||
|
|
||||||
|
device-registry:
|
||||||
|
url: http://DeviceRegistry:8080
|
||||||
|
|
||||||
---
|
---
|
||||||
##############################
|
##############################
|
||||||
### Production environment ###
|
### Production environment ###
|
||||||
|
|||||||
Reference in New Issue
Block a user