add DomainSetup-HostingAssets for new BookingItem via created-event #111

Merged
hsh-michaelhoennig merged 31 commits from add-hsoting-asset-to-booking-item-resource-and-created-event into master 2024-10-08 11:48:35 +02:00
No description provided.
hsh-michaelhoennig added 7 commits 2024-09-30 19:05:41 +02:00
hsh-michaelhoennig changed title from add DomainSetup-HostingAssets for new BookingItem via created-event to WIP: add DomainSetup-HostingAssets for new BookingItem via created-event 2024-09-30 19:05:53 +02:00
hsh-michaelhoennig added 1 commit 2024-10-01 09:34:55 +02:00
hsh-michaelhoennig added 1 commit 2024-10-01 09:51:24 +02:00
hsh-michaelhoennig added 1 commit 2024-10-01 10:00:57 +02:00
hsh-michaelhoennig added 2 commits 2024-10-01 10:58:05 +02:00
hsh-michaelhoennig added 1 commit 2024-10-01 17:47:10 +02:00
hsh-michaelhoennig added 1 commit 2024-10-02 09:58:13 +02:00
hsh-michaelhoennig added 3 commits 2024-10-02 16:38:06 +02:00
hsh-michaelhoennig added 1 commit 2024-10-04 17:19:49 +02:00
hsh-michaelhoennig added 1 commit 2024-10-05 13:36:02 +02:00
hsh-michaelhoennig added 1 commit 2024-10-05 13:49:26 +02:00
hsh-michaelhoennig added 1 commit 2024-10-05 14:06:45 +02:00
hsh-michaelhoennig added 1 commit 2024-10-05 14:25:43 +02:00
hsh-michaelhoennig added 1 commit 2024-10-07 09:56:56 +02:00
hsh-michaelhoennig added 1 commit 2024-10-07 14:20:56 +02:00
hsh-michaelhoennig added 1 commit 2024-10-07 15:13:31 +02:00
hsh-michaelhoennig added 1 commit 2024-10-07 16:30:04 +02:00
hsh-michaelhoennig added 1 commit 2024-10-07 16:47:03 +02:00
hsh-michaelhoennig added 1 commit 2024-10-07 17:07:33 +02:00
hsh-michaelhoennig added 1 commit 2024-10-07 17:22:50 +02:00
hsh-michaelhoennig added 1 commit 2024-10-08 09:57:49 +02:00
hsh-michaelhoennig changed title from WIP: add DomainSetup-HostingAssets for new BookingItem via created-event to add DomainSetup-HostingAssets for new BookingItem via created-event 2024-10-08 10:03:38 +02:00
hsh-timotheuspokorra reviewed 2024-10-08 10:14:57 +02:00
@ -0,0 +132,4 @@
final var expectedSubAssetResource = new HsHostingAssetSubInsertResource();
expectedSubAssetResource.setType(givenSubAssetResource.getType());
if ( !convert.from(givenSubAssetResource).equals(convert.from(expectedSubAssetResource)) ) {
throw new ValidationException("sub asset " + givenSubAssetResource.getType() + " is over-specified, in compatibilty mode, only default values allowed");

i fehlt in compatibility mode

i fehlt in compatibility mode
hsh-michaelhoennig marked this conversation as resolved
hsh-timotheuspokorra reviewed 2024-10-08 10:23:16 +02:00
@ -59,2 +62,4 @@
nullable: false
type:
$ref: '#/components/schemas/HsBookingItemType'
identifier:

identifier muss wieder raus

identifier muss wieder raus
hsh-michaelhoennig marked this conversation as resolved
hsh-timotheuspokorra reviewed 2024-10-08 10:23:46 +02:00
@ -61,0 +68,4 @@
maxLength: 80
nullable: false
description: only used as a default value for automatically created hosting assets, not part of the booking item
assignedToHostingAssetUuid:

prüfen, ob wir das noch brauchen?

prüfen, ob wir das noch brauchen?
hsh-michaelhoennig marked this conversation as resolved
hsh-timotheuspokorra reviewed 2024-10-08 10:32:14 +02:00
@ -503,3 +503,3 @@
final var idsToRemove = new HashSet<Integer>();
relations.forEach((id, r) -> {
if (r.getHolder() == r.getAnchor()) {
if (r.getType() == HsOfficeRelationType.REPRESENTATIVE && r.getHolder() == r.getAnchor()) {

revert, siehe zukünftiger PR

revert, siehe zukünftiger PR
hsh-michaelhoennig marked this conversation as resolved
hsh-timotheuspokorra approved these changes 2024-10-08 10:34:13 +02:00
hsh-michaelhoennig added 1 commit 2024-10-08 11:38:33 +02:00
hsh-michaelhoennig merged commit 60341bf644 into master 2024-10-08 11:48:35 +02:00
hsh-michaelhoennig deleted branch add-hsoting-asset-to-booking-item-resource-and-created-event 2024-10-08 11:48:35 +02: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#111
No description provided.