db-migration #10

Merged
hsh-michaelhoennig merged 74 commits from db-migration into master 2024-01-23 15:11:24 +01:00

74 Commits

Author SHA1 Message Date
Michael Hoennig
5f72025d86 fix toString+toShortString for empty CoopAssetTransaction+CoopShareTransaction + test 2024-01-23 13:30:26 +01:00
Michael Hoennig
0926dacd77 add exclude bp_id to dump share-transactions.csv 2024-01-23 13:18:12 +01:00
Michael Hoennig
cef6c1e235 fix test data due to unique constraint 2024-01-23 13:01:27 +01:00
Michael Hoennig
4c6b91b8a1 fixing extended toString in tests 2024-01-23 12:52:40 +01:00
Michael Hoennig
336948ba1c fixes from Code-Review 2024-01-23 12:43:54 +01:00
Michael Hoennig
b2fd593098 defaultPrefix unique 2024-01-23 10:57:36 +01:00
Michael Hoennig
4ecf491983 TODO for updateable fields in debitor 2024-01-23 10:55:14 +01:00
Michael Hoennig
f478961b8b exclude asset transaction without membership 2024-01-23 10:51:26 +01:00
Michael Hoennig
8ec4ffa569 set Shares+Assets comment to comment instead of reference 2024-01-23 10:50:19 +01:00
Michael Hoennig
5d9a075d4d fixes in data-model for data-import 2024-01-23 10:34:46 +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
1f278819c3 HSDB Dump Script
Script that is a able to dump HSDB (legacy) data to csv files.
Dump of "office" module data already implemented.
2024-01-09 12:28:57 +01:00
Michael Hoennig
7e31e95d57 persist shares+assets 2024-01-08 13:48:31 +01:00
Michael Hoennig
53d46da49a import coop assets 2024-01-08 13:13:24 +01:00
Michael Hoennig
b0bfb127b6 implement import of coop-share-transactions 2024-01-08 11:36:47 +01:00
Michael Hoennig
5280527eae Merge remote-tracking branch 'origin/master' into db-migration 2024-01-06 18:24:00 +01:00
Michael Hoennig
abbb61727b fix spelling of semamandate 2024-01-06 18:08:29 +01:00
Michael Hoennig
97f428055e import legacy-ids for contact, partner + sepamandate 2024-01-06 18:07:09 +01:00
Michael Hoennig
1b3eef0e14 use record[named-field] for column access 2024-01-05 16:27:32 +01:00
Michael Hoennig
a042eff8bc improve test assertions 2024-01-05 14:21:40 +01:00
Michael Hoennig
ae1b6b44b6 fix partner import, the last row was skipped 2024-01-05 13:57:01 +01:00
Michael Hoennig
9391877a46 Merge remote-tracking branch 'origin/master' into db-migration 2024-01-05 13:46:24 +01:00
Michael Hoennig
a5d1544bac fix typo member_asstr_id->member_asset_id 2024-01-05 10:34:41 +01:00
Michael Hoennig
e8e898d18d header handling for buisoness partners import file 2024-01-03 11:12:13 +01:00
Michael Hoennig
37e867c33d rename ImportBusinessPartners to ImportOfficeTables 2024-01-03 11:12:13 +01:00
Michael Hoennig
33fabf35e3 amend architecture test 2024-01-03 11:12:13 +01:00
Michael Hoennig
a4c1614939 use test database 2024-01-03 11:12:13 +01:00
Michael Hoennig
e1dd9b08c2 add some asserts to sepa mandate import 2024-01-03 11:12:13 +01:00
Michael Hoennig
1134401310 add some asserts 2024-01-03 11:12:13 +01:00
Michael Hoennig
d44d2e3e82 import bank-accounts + sepa-mandates 2024-01-03 11:12:13 +01:00
Michael Hoennig
fa5fb30117 persist memberships+debitors - still with wrong reference 2024-01-03 11:12:13 +01:00
Michael Hoennig
5bf2dd76fe persist contacts, persons and partners 2024-01-03 11:12:13 +01:00
Michael Hoennig
b528cf7c97 importing business-partners + contacts from CSV 2024-01-03 11:12:13 +01:00
Michael Hoennig
545569942b import legacy hsadmin db (WIP) 2024-01-03 11:12:13 +01:00
Michael Hoennig
e2a69fe103 csv-test-import-files 2024-01-03 11:12:13 +01:00