- add end-to-end test for identity controller
- add IdentityEndpoint
- add end-to-end test for node controller
- add NodeEndpoint
- update test container sql files
- add end-to-end test for device controller
- add DeviceEndpoint
- add identity in first-device.data
- add .data to .editorconfig
- update test container sql files
- add end-to-end test for type controller
- add TypeEndpoint
- update test container sql files
- prepare for end-to-end test
- add sql files for postgres container
- update to build.gradle.kts
- add integration test dependencies
- update hlaeja dependency after name changes
- update catalog version
- move files from test to integration test
- valid-private-key.pem
- application.yml
- ApplicationTest
Hlæja Device Register
Classes crafted, identities bestowed, Each device recorded, their functions unfold. From sensors to systems, connections take shape, A registry formed, no detail escapes. Signals exchanged, precision is key, Each device declared, its purpose set free. The Device Register, steadfast and true, A harmony of devices, perfectly aligned.
Properties for deployment
| name | required | info |
|---|---|---|
| spring.profiles.active | ✓ | Spring Boot environment |
| spring.r2dbc.url | ✓ | Postgres host url |
| spring.r2dbc.username | ✓ | Postgres username |
| spring.r2dbc.password | ✗ | Postgres password |
| jwt.private-key | ✓ | JWT private cert |
Required: ✓ can be stored as text, and ✗ need to be stored as secret.
Releasing Service
Run release.sh script from master branch.
Development Information
Private RSA Key
This service uses RAS keys to create identities for devices. The private key is used here to generate identities, while the public key is used by Hlæja Device API to identify a device and accept data.
For instructions on how to set these up, please refer to our generate RSA key documentation.
Global Setting
The following global settings are used in Hlaeja Device Registry. You can configure these settings using either Gradle properties or alternatively environment variables.
For instructions on how to set these up, please refer to our set global settings documentation.
Gradle Properties
repository.user=your_user
repository.token=your_token_value
Environment Variables
REPOSITORY_USER=your_user
REPOSITORY_TOKEN=your_token_value