add DomainSetup-HostingAssets for new BookingItem via created-event #111
No reviewers
Labels
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hostsharing/hs.hsadmin.ng#111
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "add-hsoting-asset-to-booking-item-resource-and-created-event"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
add DomainSetup-HostingAssets for new BookingItem via created-eventto WIP: add DomainSetup-HostingAssets for new BookingItem via created-eventWIP: add DomainSetup-HostingAssets for new BookingItem via created-eventto add DomainSetup-HostingAssets for new BookingItem via created-event@ -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
@ -59,2 +62,4 @@
nullable: false
type:
$ref: '#/components/schemas/HsBookingItemType'
identifier:
identifier muss wieder raus
@ -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?
@ -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