Commit Graph

56 Commits

Author SHA1 Message Date
9d4ecf7aa0 add devices endpoint
- fix missing coroutine in
  - TypeRepository
  - TypesController
  - TypeService
  - TypesControllerTest
  - TypeServiceTest
- add DevicesEndpoint
- add DevicesControllerTest
- add devices.http
- add DevicesController
- add DeviceEntity.toDevicesResponse() to Mapping.kt
- add PostgresTestContainer to DeviceService
- update DeviceRepository with find all
- update version catalog
  - update container annotation in DeviceEndpoint
  - update container annotation in IdentityEndpoint
  - update container annotation in NodeEndpoint
  - update container annotation in TypeEndpoint
  - update container annotation in TypesEndpoint
  - update version in gradle.properties
2025-08-17 12:50:21 +02:00
hlaeja
fc95f5d4b8 [RELEASE] - Bump version 2025-07-29 18:14:37 +00:00
hlaeja
83bce6d873 [RELEASE] - Release version: 0.6.0 v0.6.0 2025-07-29 18:14:35 +00:00
4393d160e1 update gradlew 2025-07-29 20:13:59 +02:00
5d735ccfbe update project 2025-07-29 20:13:59 +02:00
cf8ca86c32 add GitHub action
- update release in README.md
- add action run checks
- add action release
- remove release.sh
2025-07-29 20:13:59 +02:00
58848e5b54 add actuator.http 2025-07-29 20:13:59 +02:00
59dd6286fe update sql files 2025-07-29 20:13:59 +02:00
9e9dc0fef6 [RELEASE] - bump version 2025-04-05 12:55:27 +02:00
528636de5d [RELEASE] - release version: 0.5.0 v0.5.0 2025-04-05 12:55:24 +02:00
d90a716df7 add get and update for Type
- add UpdateType end-to-end
- add updateType to TypeController
- add updateType to TypeService
- add sql 004-create_type_description_data.sql
- update TypesEndpoint to use Types.Response
- update type end-to-end test
  - update TypeEndpoint with CreateType
  - add reset test table
  - add test data
- add getType to TypeController
- add getType to TypeService
- add findTypeWithDescription to TypeRepository
- update type end-to-end test
- update TypeController for changes for adding type
- update type mapping for latest changes in Mapping.kt
- update addType to use TypeDescriptionRepository and return TypeWithDescription in TypeService
- add TypeWithDescription
- add TypeDescriptionRepository
- add TypeDescriptionEntity
- add missing device mapping test
- add type_descriptions sql script for database changes
- update TypesEndpoint
  - update TypesController to use Types.Response
  - add TypeEntity.toTypesResponse to Mapping.kt
2025-04-04 11:31:49 +02:00
53db4408e2 update get type(s) for pagination and filter
- update TypesEndpoint for all new endpoints
- update application to use properties for sql script
- update types controller
  - update types.http for all types of types calls
  - update test mocking for service
  - update getTypes to use filter, page, and show in TypesController
  - add validation dependency
- update unit test for uuid assertion from test library in
  - remove UUIDAssert.kt
  - update IdentityControllerTest
  - update MappingKtTest
  - update NodeControllerTest
  - update TypeControllerTest
  - update TypesControllerTest
  - add test library dependency
- update getTypes to handle filter limit and offset in TypeService
- update TypeRepository
  - add findAllContaining with filter, limit and offset
  - add findAll with limit and offset
- update type database with specific name key
- split Type and Types
2025-03-11 06:02:16 +01:00
10b95057e5 Update Node
- add error handing for
  - foreign key constraint
  - unique constraint
- Update nodes database
2025-03-05 21:34:37 +01:00
1aba25b9b3 update release.sh to handel sql move to version catalog 2025-03-05 18:33:59 +01:00
f5038a7e9e add end-to-end test
- 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
2025-03-05 18:33:20 +01:00
f304d3d61a [RELEASE] - bump version 2025-01-02 07:24:15 +01:00
f52f1237a2 [RELEASE] - release version: 0.4.0 v0.4.0 2025-01-02 07:24:12 +01:00
4130ba681c update addDevice to handle violates of foreign key in DeviceService 2025-01-02 06:53:20 +01:00
df9d2c59a4 replace local jwt with library version
- update DeviceController to handle hlaeja jwt instead of jwtService
- update mapper sign with hlaeja jwt instead of jwtService
- add dependency for hlaeja jwt
- remove dependencies for jjwt
- remove JwtService.kt
- remove PrivateKeyProvider.kt
- remove jwt key property explanation from additional-spring-configuration-metadata.json
2025-01-02 06:53:20 +01:00
7d4ebab8f8 [RELEASE] - bump version 2024-12-28 07:43:32 +01:00
7184854ed4 [RELEASE] - release version: 0.3.0 v0.3.0 2024-12-28 07:43:29 +01:00
df8e1a7b48 update for getDevice
- add get device in DeviceController
- add get device in DeviceService
- update logging
- update and cleanup in README.md
2024-12-27 22:56:27 +01:00
e7dbbc7a78 [RELEASE] - bump version 2024-12-10 23:25:29 +01:00
2a69d06d7f [RELEASE] - release version: 0.2.0 v0.2.0 2024-12-10 23:25:26 +01:00
d5746aa22d update for common messages v0.2.0
- change DeviceController addDevice to use toDeviceResponse
- add DeviceEntity.toDeviceResponse to Mapping.kt
2024-12-10 21:28:58 +01:00
5d36099738 update for common plugin v0.2.0
- rename keys folder to cert
- update build.gradle.kts to use certificate plugin
- update catalog version
2024-12-10 19:20:14 +01:00
5c2e2e617e [RELEASE] - bump version 2024-11-26 11:42:12 +01:00
87527d3178 [RELEASE] - release version: 0.1.0 v0.1.0 2024-11-26 11:42:08 +01:00
f6eedeb321 add IdentityController 2024-11-26 11:33:13 +01:00
919ede7da8 add toIdentityResponse to mapping 2024-11-26 11:14:07 +01:00
18d85c8266 add getNodeFromDevice to NodeService 2024-11-26 10:47:29 +01:00
60f771c28a add findByDevice to NodeRepository 2024-11-26 10:47:29 +01:00
1fadfad323 add NodeController 2024-11-26 10:47:00 +01:00
8a5a86abc3 add NodeService 2024-11-26 10:47:00 +01:00
0fe88d03a5 add NodeRepository 2024-11-26 10:47:00 +01:00
787e020294 add NodeEntity 2024-11-26 10:47:00 +01:00
1f8c1c3636 add node to mapping 2024-11-26 10:47:00 +01:00
3efaaf390b add DeviceController 2024-11-26 10:46:35 +01:00
9b5f2e8d17 add JwtService 2024-11-24 01:22:13 +01:00
e608764f5c add PrivateKeyProvider 2024-11-24 01:22:13 +01:00
8a0aff4729 add JwtProperty 2024-11-24 01:22:12 +01:00
32fe3845a8 add DeviceService 2024-11-24 01:22:12 +01:00
1c64cff8ef add DeviceRepository 2024-11-24 01:22:12 +01:00
15f1b126b2 add DeviceEntity 2024-11-24 01:22:12 +01:00
8ef5a94205 set up jwt 2024-11-24 01:22:12 +01:00
16784e4aff Add addType to TypeController 2024-11-23 03:57:48 +01:00
ba6f38a585 Add toTypeEntity to Mapping 2024-11-23 03:57:38 +01:00
2a98cdf38f Add addType to TypeService 2024-11-23 03:57:38 +01:00
b5d1c04d6b Add TypeController 2024-11-23 03:57:38 +01:00
96f09bc749 Add TypeService 2024-11-23 03:28:42 +01:00