From 0d2457b5741d54f285c667969b241e1b1d1756b3 Mon Sep 17 00:00:00 2001 From: Swordsteel Date: Wed, 1 Jan 2025 20:23:55 +0100 Subject: [PATCH] set up authentication --- README.md | 2 +- gradle.properties | 2 +- src/main/resources/application.yml | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bba12aa..4df3712 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Classes and endpoints, to shape and to steer, Devices and sensors, their purpose | server.ssl.key-store | ✓ | HTTP Keystore | | server.ssl.key-store-type | ✓ | HTTP Cert Type | | server.ssl.key-store-password | ✗ | HTTP Cert Pass | +| account-registry.url | ✓ | Account Register URL | | device-registry.url | ✓ | Device Register URL | | management.influx.metrics.export.api-version | | InfluxDB API version | | management.influx.metrics.export.enabled | | Enable/Disable exporting metrics to InfluxDB | @@ -29,7 +30,6 @@ Run `release.sh` script from `master` branch. ## Development Configuration - ### Developer Keystore We use a keystore to enable HTTPS for our API. To set up your developer environment for local development, please refer to [generate keystore](https://github.com/swordsteel/hlaeja-development/blob/master/doc/keystore.md) documentation. When generating and exporting the certificate for local development, please store it in the `./cert/keystore.p12` folder at the project root. diff --git a/gradle.properties b/gradle.properties index eb54343..081e484 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ kotlin.code.style=official version=0.2.0-SNAPSHOT -catalog=0.7.0 +catalog=0.8.0-SNAPSHOT docker.port.expose=8443 container.port.expose=8443 container.port.host=9040 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 48f9921..073f428 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -46,6 +46,9 @@ server: key-store-type: PKCS12 key-store-password: password +account-registry: + url: http://localhost:9050 + device-registry: url: http://localhost:9010 @@ -85,6 +88,9 @@ server: key-store-type: PKCS12 key-store-password: password +account-registry: + url: http://AccountRegistry:8080 + device-registry: url: http://DeviceRegistry:8080