-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixes #sabi-113 (#152) fixes sabi-113 HTTP.500 after login (returned users) * fixes sabi-68 (#154) Adding Spanish resource bundles Patch-Management on Server Module Added French, Italian as well Added flags to the selection dialog DisplayLanguage is set in it's own Locale. * Added same more locales to captcha, too. Some PatcheManagement * Fixes i18n Bundle - broken key issue Tuned logging * Enhanced i18n sabi-17 (#158) * sabi-17 i18n of measurement, unit, parameters name and description - plagues - parameters - unit * sabi-157 Test case classification and use of test containers for integration tests - Added Testcontainer configuration and a Sample Testclass, as blueprint for the required annotations. * sabi-157 Test case classification and use of test containers for integration tests - Refactored UserRepositoryTest, TankRepositoryTest and MeasurementRepositoryTest to use Testcontainer - Removed H2 from project * sabi-157 Test case classification and use of test containers for integration tests - Refactored MeasurementServiceTest - PatchedSpringBoot to 3.2.3 (required refinement of MAPStruts Mapper) * sabi-157 Test case classification and use of test containers for integration tests - Refactored TankServiceTest - Refactored TestDataFactory * sabi-157 Test case classification and use of test containers for integration tests - Refactored UserServiceTest * sabi-157 Test case classification and use of test containers for integration tests - Refactored test location of controllers - Migrated NotificationServiceTest - Migrated FishServiceTest * sabi-157 Test case classification and use of test containers for integration tests - Refactored test location of controllers - Migrated CoralServiceTest - Introduced first suite classes, for selective test execution. * sabi-157 Test case classification and use of test containers for integration tests - PatchManagement * sabi-157 Test case classification and use of test containers for integration tests - MoreSuites - Service Layer completed - Next: Module Tests. * sabi-157 Test case classification and use of test containers for integration tests - Interlude: PatchManagement SB 3.3.3 etc... - Next: Module Tests. * sabi-157 Test case classification and use of test containers for integration tests - Couldn't Mock Rest API Layer without Testcontainer due to lack of seperation on application context without JPA. - Experimental refactored MotdControlor to favor the new RestClient istead of RestTemplate. * sabi-157 Test case classification and use of test containers for integration tests - Minor Patchmanagement - Renamed TAGs of APITest to ModuleTest due to issue spec. * sabi-157 Test case classification and use of test containers for integration tests - Removed H2 hints in comments * sabi-157 Test case classification and use of test containers for integration tests - Test preview switch with maven compiler plugin - java 22 build on github is failing
- Loading branch information
1 parent
60a4e69
commit e2b6adb
Showing
80 changed files
with
2,405 additions
and
1,594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
sabi-database/src/main/resources/db/migration/version1_0_0/V1_0_0_10__modifyUnits.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 9 additions & 4 deletions
13
sabi-database/src/main/resources/db/migration/version1_0_0/V1_0_0_11__addParameter.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
INSERT INTO sabi.parameter (id, description, used_threshold_unit_id, min_threshold, max_threshold) | ||
INSERT INTO parameter (id, description, used_threshold_unit_id, min_threshold, max_threshold) | ||
VALUES (3, 'Magnesium', 4, 1270, 1320); | ||
|
||
/* | ||
* Copyright (c) 2024 by Stefan Schubert under the MIT License (MIT). | ||
* See project LICENSE file for the detailed terms and conditions. | ||
*/ | ||
|
||
-- Convert mg/L thresholds into ppm for Carbon | ||
update sabi.parameter | ||
set sabi.parameter.min_threshold = 1.157, | ||
sabi.parameter.max_threshold = 1.78 | ||
update parameter | ||
set parameter.min_threshold = 1.157, | ||
parameter.max_threshold = 1.78 | ||
where id = 1; |
11 changes: 8 additions & 3 deletions
11
sabi-database/src/main/resources/db/migration/version1_0_0/V1_0_0_12__alterParameter.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
alter table sabi.parameter drop foreign key parameter_ibfk_1; | ||
/* | ||
* Copyright (c) 2024 by Stefan Schubert under the MIT License (MIT). | ||
* See project LICENSE file for the detailed terms and conditions. | ||
*/ | ||
|
||
alter table sabi.parameter | ||
alter table parameter drop foreign key parameter_ibfk_1; | ||
|
||
alter table parameter | ||
change used_threshold_unit_id belonging_unit_id int unsigned not null; | ||
|
||
alter table sabi.parameter | ||
alter table parameter | ||
add constraint parameter_unit | ||
foreign key (belonging_unit_id) references unit (id); |
7 changes: 6 additions & 1 deletion
7
sabi-database/src/main/resources/db/migration/version1_0_0/V1_0_0_13__addParameter.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
INSERT INTO sabi.parameter (id, description, belonging_unit_id, min_threshold, max_threshold) | ||
/* | ||
* Copyright (c) 2024 by Stefan Schubert under the MIT License (MIT). | ||
* See project LICENSE file for the detailed terms and conditions. | ||
*/ | ||
|
||
INSERT INTO parameter (id, description, belonging_unit_id, min_threshold, max_threshold) | ||
VALUES (4, 'Calcium', 3, 380, 420); |
9 changes: 7 additions & 2 deletions
9
sabi-database/src/main/resources/db/migration/version1_0_0/V1_0_0_14__addParameter.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
INSERT INTO sabi.parameter (id, description, belonging_unit_id, min_threshold, max_threshold) | ||
/* | ||
* Copyright (c) 2024 by Stefan Schubert under the MIT License (MIT). | ||
* See project LICENSE file for the detailed terms and conditions. | ||
*/ | ||
|
||
INSERT INTO parameter (id, description, belonging_unit_id, min_threshold, max_threshold) | ||
VALUES (5, 'PH', 5, 7.8, 8.4); | ||
|
||
INSERT INTO sabi.parameter (id, description, belonging_unit_id, min_threshold, max_threshold) | ||
INSERT INTO parameter (id, description, belonging_unit_id, min_threshold, max_threshold) | ||
VALUES (6, 'Phosphat', 10, 0.02, 0.05); |
7 changes: 6 additions & 1 deletion
7
sabi-database/src/main/resources/db/migration/version1_0_0/V1_0_0_15__modifyCaUnit.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
update sabi.unit | ||
/* | ||
* Copyright (c) 2024 by Stefan Schubert under the MIT License (MIT). | ||
* See project LICENSE file for the detailed terms and conditions. | ||
*/ | ||
|
||
update unit | ||
set name = 'Ca (ppm)', | ||
description = 'Calcium concentration in ppm (1 ppm = 1.023 mg/L)' | ||
where id = 3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.