add postEditType to TypeController update form.html and messages.html for saving types add updateType in DeviceRegistryService add WebClient deviceRegistryTypesUpdate in DeviceRegisterWebClientCalls.kt add getEditType to TypeController update type form.html for edit device type add Type Response toTypeForm in Mapping.kt add getType to DeviceRegistryService add WebClient deviceRegistryType in DeviceRegisterWebClientCalls.kt update edit link in device type list.html add getCreateType and postCreateType to TypeController add device type form.html add TypeFormadd TypeForm toTypeRequest in Mapping.kt add TypeForm add createType to DeviceRegistryService add deviceRegistryTypesCreate in DeviceRegisterWebClientCalls.kt add TypeNameDuplicateException add DeviceRegistryException extract validationErrors from postCreateAccount in AccountController to util Controller update AccountController getAccounts and TypeController getTypes with max show value add redis for spring boot session - make RemoteUserDetail Serializable - add application properties - add dependencies add TypeController add list.html for type extract fragment pagination.html from users.html add DeviceRegistryService with getTypes add DeviceRegisterWebClientCalls.kt with deviceRegistryTypes set up hlaeja device registry add type to layout menu add type to admin SecurityConfiguration
47 lines
2.1 KiB
Markdown
47 lines
2.1 KiB
Markdown
# 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 |
|
|
| 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, and ✗ need to be stored as secret.*
|
|
|
|
## Releasing Service
|
|
|
|
Run `release.sh` script from `master` branch.
|
|
|
|
## Development Information
|
|
|
|
### Public RSA Key
|
|
|
|
This service uses the public key from **[Hlæja Account Register](https://github.com/swordsteel/hlaeja-account-registry)** 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](https://github.com/swordsteel/hlaeja-development/blob/master/doc/rsa_key.md) 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](https://github.com/swordsteel/hlaeja-development/blob/master/doc/global_settings.md) documentation.*
|
|
|
|
#### Gradle Properties
|
|
|
|
```properties
|
|
repository.user=your_user
|
|
repository.token=your_token_value
|
|
```
|
|
|
|
#### Environment Variables
|
|
|
|
```properties
|
|
REPOSITORY_USER=your_user
|
|
REPOSITORY_TOKEN=your_token_value
|
|
```
|