introduce-partner-business-role #16

Merged
hsh-michaelhoennig merged 33 commits from introduce-partner-business-role into master 2024-02-01 14:48:16 +01:00
No description provided.
hsh-michaelhoennig added 25 commits 2024-02-01 06:51:04 +01:00
# Conflicts:
#	src/main/resources/db/changelog/228-hs-office-relationship-test-data.sql
#	src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java
# 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
hsh-michaelhoennig force-pushed introduce-partner-business-role from 1acfe43cbb to 745765022e 2024-02-01 08:21:57 +01:00 Compare
hsh-michaelhoennig added 1 commit 2024-02-01 09:05:21 +01:00
hsh-timotheuspokorra approved these changes 2024-02-01 09:56:52 +01:00
hsh-timotheuspokorra left a comment
Member

sieht gut aus

sieht gut aus
@ -0,0 +33,4 @@
(
uuid uuid unique references RbacObject (uuid) initially deferred,
partnerNumber numeric(5) unique not null,
partnerRoleUuid uuid not null references hs_office_relationship(uuid) on delete cascade,

on delete cascade: ist das gut?

on delete cascade: ist das gut?
hsh-michaelhoennig marked this conversation as resolved
@ -0,0 +36,4 @@
partnerRoleUuid uuid not null references hs_office_relationship(uuid) on delete cascade,
personUuid uuid not null references hs_office_person(uuid), -- TODO: remove, replaced by partnerRoleUuid
contactUuid uuid not null references hs_office_contact(uuid), -- TODO: remove, replaced by partnerRoleUuid
detailsUuid uuid not null references hs_office_partner_details(uuid) on delete cascade

wollen wir on delete cascade?

wollen wir on delete cascade?
hsh-michaelhoennig marked this conversation as resolved
@ -585,2 +691,2 @@
partners.put(rec.getInteger("bp_id"), partner);
final Integer i1 = rec.getInteger("bp_id");
assertThat(debitors.containsKey(i1)).describedAs("overwriting " + debitors.get(i1) + " index " + i1 + " with " + debitor).isFalse();

alle assert raus wegen WriteOnceMap

alle assert raus wegen WriteOnceMap
hsh-michaelhoennig marked this conversation as resolved
hsh-michaelhoennig changed title from WIP: introduce-partner-business-role to introduce-partner-business-role 2024-02-01 10:32:18 +01:00
hsh-michaelhoennig added 5 commits 2024-02-01 14:47:38 +01:00
hsh-michaelhoennig merged commit 2c0101b46d into master 2024-02-01 14:48:16 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hostsharing/hs.hsadmin.ng#16
No description provided.