- add expose port in gradle.properties - update README.md - update application.yml
3.2 KiB
Hlæja Management
In realms of connectedness, where devices roam free, A nexus of management, harmony to decree. Each gadget configured, with precision and care, Their settings aligned, with purpose to share. From networks to endpoints, unity is key, Administrators and users, their access to see. The Device Dominion, a hub of control, A registry of configurations, where order makes whole.
Properties for deployment
| name | required | info |
|---|---|---|
| spring.profiles.active | ✗ | Spring Boot environment |
| spring.session.timeout | Session timeout | |
| spring.data.redis.database | Redis database | |
| spring.data.redis.port | Redis port | |
| spring.data.redis.host | ✔ | Redis host |
| spring.data.redis.password | ✱ | Redis password |
| server.error.include-exception | Exception class on error | |
| server.error.include-message | Exception message on error | |
| server.error.include-stacktrace | stack trace on error | |
| server.port | HTTP port | |
| server.ssl.enabled | HTTP Enable SSL | |
| server.ssl.key-store | ✗ | HTTP Keystore |
| server.ssl.key-store-type | HTTP Cert Type | |
| server.ssl.key-store-password | ✱ | HTTP Cert Pass |
| jwt.public-key | ✗ | JWT public key file |
| account-registry.url | ✔ | Account Register URL |
| device-registry.url | ✔ | Device Register URL |
Required:
- ✓ can be stored as text. ✔ predefined in environment
- ✗ mounted file.
- ✱ need to be stored as secret.
Releasing Service
Run release pipeline from master branch.
Development Information
Public RSA Key
This service uses the public key from Hlæja Account Register to identify users. To set up user identification for local development, copy the public_key.pem file from the ./cert directory in Hlæja Account Register into the ./cert directory of this project.
Note: For more information on generating RSA keys, 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