Commit Graph

616 Commits

Author SHA1 Message Date
Michael Hoennig
e304cf9bf4 improved documentation 2024-01-24 13:00:13 +01:00
Michael Hoennig
cf4caf6e66 rebasing aftermaths 2024-01-24 12:50:42 +01:00
Michael Hoennig
51f406c84e combined memberNumber (partnerNumber+memberNumberSuffix) 2024-01-24 12:45:52 +01:00
Michael Hoennig
bcf8ad2148 combined memberNumber 2024-01-23 17:46:52 +01:00
Michael Hoennig
e0d410fd3b Merge remote-tracking branch 'origin/master' into memberNumberSuffix-and-partnerNumber
# Conflicts:
#	src/main/java/net/hostsharing/hsadminng/hs/office/coopassets/HsOfficeCoopAssetsTransactionEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/coopshares/HsOfficeCoopSharesTransactionEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorRepository.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerEntity.java
#	src/main/resources/api-definition/hs-office/hs-office-partner-schemas.yaml
#	src/main/resources/db/changelog/220-hs-office-partner.sql
#	src/main/resources/db/changelog/223-hs-office-partner-rbac.sql
#	src/main/resources/db/changelog/228-hs-office-partner-test-data.sql
#	src/main/resources/db/changelog/270-hs-office-debitor.sql
#	src/main/resources/db/changelog/273-hs-office-debitor-rbac.sql
#	src/main/resources/db/changelog/303-hs-office-membership-rbac.sql
#	src/main/resources/db/changelog/308-hs-office-membership-test-data.sql
#	src/test/java/net/hostsharing/hsadminng/hs/office/coopshares/HsOfficeCoopSharesTransactionEntityUnitTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntityPatcherUnitTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntityUnitTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipControllerAcceptanceTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipControllerRestTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipEntityUnitTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerControllerAcceptanceTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/partner/TestHsOfficePartner.java
#	src/test/java/net/hostsharing/hsadminng/rbac/rbacrole/RbacRoleControllerAcceptanceTest.java
#	src/test/resources/migration/dump.sh
2024-01-23 16:30:37 +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
e444f648b3 split memberNumber into partnerNumber+memberNumberSuffix (WIP) 2024-01-23 10:32:38 +01:00
Michael Hoennig
acf48004b4 fixes in data-model for data-import 2024-01-23 10:32:07 +01:00
Michael Hoennig
3c89164a67 rename membernumber -> membernumbersuffix 2024-01-22 13:15:20 +01:00
Michael Hoennig
9f9575f51f rename debitorNumberPrefix -> partnerNumber 2024-01-22 13:07:32 +01:00
Michael Hoennig
13ddaa2afd separate actual import and verification test methods 2024-01-22 12:33:28 +01:00
Michael Hoennig
678c79cf4f ignore .environment* 2024-01-22 10:38:03 +01:00
Michael Hoennig
2a1e933c00 remove commented code and other cleanup from code-review 2024-01-20 15:33:25 +01:00
Michael Hoennig
b00c4ce8a8 reactivate uncommented test and remove commented code 2024-01-20 15:17:43 +01:00
Michael Hoennig
fe4b0866ed improved aliases 2024-01-20 14:46:42 +01:00
Michael Hoennig
52d4b4d458 add refundBankAccount to DebitorEntityPatcher 2024-01-20 14:46:35 +01:00
Michael Hoennig
837e7fee97 in target diagram: introduce partner-person partner-role to Hostsharing eG 2024-01-20 13:09:41 +01:00
Michael Hoennig
d069e87c01 add missing billable and vatReverseCharge to OpenAPI and Patcher 2024-01-20 10:24:14 +01:00
Michael Hoennig
06a39c421e add missing debitorNumberPrefix to OpenAPI - not patchable, though 2024-01-19 14:09:23 +01:00
Michael Hoennig
d4785b472c add missing birthPlace to OpenAPI and Patcher 2024-01-19 13:55:05 +01:00
Michael Hoennig
6d4ba9b094 add missing membershipfeebillable to DB, OpenAPI and Patcher 2024-01-19 13:40:58 +01:00
Michael Hoennig
a382c141b3 name alias gw-importOfficeData and fix test task dependency 2024-01-19 13:40:34 +01:00
Michael Hoennig
5d298a498f auto generate representative relationship if no explicit contractor set, add vip-contact and fix db enum value for ex-partner 2024-01-19 12:39:03 +01:00
Michael Hoennig
a0abec6a85 fix import-office-data alias / gw importOfficeData 2024-01-18 15:49:01 +01:00
Michael Hoennig
007e1522b7 add ex-partner to Relationship-Type and properly extract distinct persons from contacts.csv 2024-01-18 14:03:06 +01:00
Michael Hoennig
d03fb70465 UML object diagram for new target data model for business partners 2024-01-18 13:57:46 +01:00
Michael Hoennig
31141ad4c3 PartnerDetails: add birthplace, and improve toString and introduce @Tag("import") 2024-01-17 18:25:35 +01:00
Michael Hoennig
1512e0e1a5 first version of functional data model of office module 2024-01-16 18:44:01 +01:00
Michael Hoennig
1e5bc03407 make contacts.csv easier readable by empty lines, comments and better numbering 2024-01-16 15:49:53 +01:00
Michael Hoennig
2e609884bf remove _CONTACT from relationship types 2024-01-16 15:46:56 +01:00
Michael Hoennig
683c2f0ce4 enable import of a single contact for multiple roles 2024-01-16 14:44:17 +01:00
Michael Hoennig
19f962cf2e HasUUid for all Entity classes and migrate SOLE_AGENT+JOINT_AGENT to REPRESENTATIVE 2024-01-16 14:24:46 +01:00
Michael Hoennig
3a66a28a33 import operational contact + allow multiple assignments of contacts 2024-01-16 09:53:39 +01:00
Michael Hoennig
cd7ea891c2 revert accidental comment about billingContact 2024-01-15 17:01:25 +01:00
Michael Hoennig
2f3e4038e4 remove precondition 2024-01-15 16:58:07 +01:00
Michael Hoennig
ff2671ff92 environment scripting for import-office-tables 2024-01-15 16:31:29 +01:00
Michael Hoennig
033a86f10d separately import contact as billing or contractual contact 2024-01-13 21:27:09 +01:00
Michael Hoennig
2f5acd4171 use env variables for admin+restricted user, jdbc-url and admin-password 2024-01-12 18:41:16 +01:00
Michael Hoennig
db7c101691 Liquibase-Scripts and database migration possible with explicit (non-superuser) DB-User 2024-01-11 18:05:46 +01:00
Michael Hoennig
70621fd482 always use jdbc:postgresql://localhost:5432/postgres for ImportTestData 2024-01-11 16:49:36 +01:00
Michael Hoennig
e9a8699aa1 delete test data before import 2024-01-11 16:49:10 +01:00
Michael Hoennig
1299b4e20a increase length of hs_office_contact.label to 96 2024-01-11 15:37:38 +01:00
Michael Hoennig
76ad26b747 amend test data (Paule -> Petra) which was confusingly similar to basic test data (Paul) + cleanup 2024-01-11 15:37:01 +01:00
Michael Hoennig
5162aa0606 add defaultPrefix to HsOfficeDebitorEntity.toString() 2024-01-11 15:34:23 +01:00
Michael Hoennig
90508df42d remove hsh00- from default prefix 2024-01-11 10:30:05 +01:00
Michael Hoennig
5d7a245d9d import debitorPrefix, debitorSuffix, defaultPrefix etc. (WIP) 2024-01-11 09:36:02 +01:00
Michael Hoennig
340a53a3d5 add column vatReverseCharge to table hs_office_debitor + view hs_office_debitor_rv 2024-01-11 09:36:02 +01:00
ab281c93a7 Merge pull request 'HSDB Dump Script' (#9) from hsh-michaelhierweck-hsdb-dump-script into db-migration
Reviewed-on: #9
Reviewed-by: Michael Hoennig <michael.hoennig@hostsharing.net>
2024-01-11 09:05:11 +01:00
Michael Hoennig
368170d27e Merge remote-tracking branch 'origin/master' into db-migration 2024-01-10 17:51:02 +01:00
Michael Hoennig
980524e7ab add: membership-fee-billable, debitor.billable, debitor.billingContact, debitor.defaultPrefix 2024-01-10 17:38:11 +01:00