set up registry property

This commit is contained in:
2024-11-14 13:07:23 +01:00
parent 3eca24c421
commit 51f04f81bd
4 changed files with 14 additions and 0 deletions

View File

@@ -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-password | ** | HTTP Cert Pass |
| 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.

View File

@@ -7,10 +7,12 @@ plugins {
}
dependencies {
implementation(hlaeja.com.fasterxml.jackson.module.kotlin)
implementation(hlaeja.jjwt.api)
implementation(hlaeja.kotlin.logging)
implementation(hlaeja.kotlin.reflect)
implementation(hlaeja.kotlinx.coroutines)
implementation(hlaeja.ltd.hlaeja.library.common.messages)
implementation(hlaeja.org.springframework.springboot.actuator.starter)
implementation(hlaeja.org.springframework.springboot.webflux.starter)

View File

@@ -24,6 +24,11 @@
"name": "jwt.public-key",
"type": "java.lang.String",
"description": "Jwt public key file."
},
{
"name": "device-registry.url",
"type": "java.lang.String",
"description": "Url for device registry service."
}
]
}

View File

@@ -30,6 +30,9 @@ server:
key-store-type: PKCS12
key-store-password: password
device-registry:
url: http://localhost:9010
---
##########################
### Docker environment ###
@@ -47,6 +50,9 @@ server:
key-store-type: PKCS12
key-store-password: password
device-registry:
url: http://DeviceRegistry:8080
---
##############################
### Production environment ###