set up authentication

This commit is contained in:
2025-01-01 20:23:55 +01:00
parent 1c4c2f077c
commit 0d2457b574
3 changed files with 8 additions and 2 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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