Commit Graph

422 Commits

Author SHA1 Message Date
Michael Hoennig
08752d862e Merge remote-tracking branch 'origin/master' into introduce-partner-business-role
# Conflicts:
#	src/main/resources/db/changelog/228-hs-office-relationship-test-data.sql
#	src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java
#	src/test/resources/migration/contacts.csv
2024-01-26 11:36:14 +01:00
Michael Hoennig
066e19185c add partner without contact data to import test data and improve error message 2024-01-26 11:34:39 +01:00
Michael Hoennig
26bb14ebd7 add test cases for import 2024-01-26 10:23:58 +01:00
188cb9733e add-subscriber-role (#14)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #14
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-26 09:30:31 +01:00
Michael Hoennig
5b5e911030 amend person related tests to new test data 2024-01-26 09:07:50 +01:00
Michael Hoennig
78b4fce761 amend relationship related tests 2024-01-26 08:56:30 +01:00
Michael Hoennig
f626311273 added TODO on Contact.emailaddresses: check if we really want multiple, ... 2024-01-25 17:05:42 +01:00
Michael Hoennig
2aeb8fef6f introduce view tx_journal_v combining tx_journal with tx_context 2024-01-25 16:52:41 +01:00
Michael Hoennig
3c2f607f0b aftermaths from merging branch add-subscriber-role 2024-01-25 16:18:24 +01:00
Michael Hoennig
8f4ac8b2bf Merge branch 'add-subscriber-role' into introduce-partner-business-role
# Conflicts:
#	src/main/resources/db/changelog/228-hs-office-relationship-test-data.sql
#	src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java
2024-01-25 16:15:17 +01:00
Michael Hoennig
17a73918f5 add test-data and include relMark in toString 2024-01-25 16:00:32 +01:00
Michael Hoennig
82573d1c9f fix relType, which was not mapped by OpenApi anymore of there is relTypeMark, by renaming relTypeMark to relMark - strange! 2024-01-25 15:30:06 +01:00
Michael Hoennig
53c3b04ba1 add subscriber role and relTypeMark and import these roles 2024-01-25 15:06:33 +01:00
Michael Hoennig
10cd4bd0e8 WIP 2024-01-25 13:42:28 +01:00
Michael Hoennig
2d81d3f6fd persist relationships before partners to avoid transient reference 2024-01-25 10:07:24 +01:00
Michael Hoennig
90e626eac0 add partnerRole to partner and amend ImportOfficeData (WIP) 2024-01-25 09:15:34 +01:00
Michael Hoennig
1eaef1e18c move partner behind relationship in Liquibase scripts 2024-01-24 16:09:10 +01:00
fb974a3b43 memberNumber as partnerNumber+memberNumberSuffix (#13)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #13
Reviewed-by: Michael Hierweck <michael.hierweck@hostsharing.net>
2024-01-24 15:57:16 +01:00
f150ea2091 more detailed person type (#12)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #12
Reviewed-by: Michael Hierweck <michael.hierweck@hostsharing.net>
2024-01-24 15:18:44 +01:00
fd1bd897b1 initial data import for hs-office tables (db-migration #10)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
Reviewed-on: #10
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-23 15:11:23 +01:00
Michael Hoennig
96ef490207 code cleanup, removing commented code 2024-01-06 18:23:13 +01:00
Michael Hoennig
727644736d Merge remote-tracking branch 'origin/master' into version-upgrade-spring-boot-3-2-1-etc 2024-01-05 13:25:50 +01:00
e5e9f26856 Liquibase-Changesets für Legacy-ID Mapping of Office-Admininistration-Tables
Reviewed-on: #6
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-05 10:58:47 +01:00
Michael Hoennig
85abe5c3cb amendmends according to code review 2024-01-05 10:52:15 +01:00
Michael Hoennig
47338cead8 Liquibase-Changesets für Legacy-ID Mapping 2024-01-05 08:19:49 +01:00
Michael Hoennig
7f98bbde64 fix pitest, spotless and cleanup 2024-01-04 12:39:39 +01:00
Michael Hoennig
ea130581a3 unit test and improve PostgresArray 2024-01-04 12:38:40 +01:00
Michael Hoennig
f8de575b77 cleanup 2024-01-04 10:28:53 +01:00
Michael Hoennig
d2f9f0ae8f fix invalid assertion 2024-01-04 10:28:53 +01:00
Michael Hoennig
73f147c557 fix most unit tests and improve usage of assumeThat 2024-01-04 10:28:53 +01:00
Michael Hoennig
378e1ec584 fix Postgres typing error by casting 2nd operator of like operator to text 2024-01-04 10:28:53 +01:00
Michael Hoennig
ec53934f30 fix problem with Postgres function array return value in Hibernate 6 2024-01-04 10:28:52 +01:00
Michael Hoennig
063fcf90a3 SpringBoot, Gradle, Java etc. version upgrades and add OWASP API key via gradle.properties 2024-01-04 09:58:29 +01:00
994a0e13c0 improve setup instructions and fix Swagger UI (#2)
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@solidcharity.com>
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #2
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-02 15:27:15 +01:00
Michael Hoennig
287c1ad9dc minor improvement in setup instructions 2024-01-02 13:08:55 +01:00
Michael Hoennig
53ffe9e738 fix SwaggerUI issue with duplicate method name 2024-01-02 13:03:15 +01:00
Timotheus Pokorra
1c19afefa6 avoid error in openapi for ambigous mapping for findRelationshipRelatedToPersonUuid 2023-09-04 20:37:40 +02:00
Michael Hoennig
ddfabef9b7 hs_office_sepamandate_rv: fix missing update column reference 2022-10-29 11:42:03 +02:00
Michael Hoennig
b69af8fa57 remove spurious grant from debitor RBAC diagram 2022-10-28 17:11:12 +02:00
Michael Hoennig
cdc21f05ba SpringBoot 3 upgrade 2022-10-28 15:57:06 +02:00
Michael Hoennig
64461fc4da SEPA-Mandate signed date and patcher 2022-10-28 13:44:48 +02:00
Michael Hoennig
3b340a92ed final ContextUnitTest.defineContextQueryString 2022-10-27 18:24:28 +02:00
Michael Hoennig
909312a8a1 test class naming convention 2022-10-27 11:45:53 +02:00
Michael Hoennig
dc1a17e915 use @PersistenceContext for EntityManager, not @Autowired 2022-10-27 11:00:12 +02:00
Michael Hoennig
1d0d2372ea use simple @GeneratedValue and some code cleanup 2022-10-27 09:42:18 +02:00
Michael Hoennig
09c19649e4 avoid select before insert and map sub-entities in mapper 2022-10-26 16:44:51 +02:00
Michael Hoennig
d7eed08420 always run tests with locale en_US, no matter of system settings 2022-10-25 13:08:17 +02:00
Michael Hoennig
e5ec867819 get endpoints for coopassets+coopshares 2022-10-25 10:32:57 +02:00
Michael Hoennig
6f3c03e6b6 ModelMapper as Spring Bean 2022-10-23 13:00:00 +02:00
Michael Hoennig
0b0f57c176 map HsOfficeMembershipInsertResource via ModelMapper and Entity.setValidTo/From 2022-10-22 12:38:36 +02:00