Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Correct the documentation party validations for negotiable B/Ls #507

Correct the documentation party validations for negotiable B/Ls

Correct the documentation party validations for negotiable B/Ls #507

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / JUnit + Newman Tests succeeded Oct 20, 2023 in 0s

JUnit + Newman Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.BookingRequestControllerTest.xml 3✅ 696ms
edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.BookingRequestSummaryControllerTest.xml 4✅ 4s
edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.ShippingInstructionSummaryControllerTest.xml 6✅ 773ms
edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest.xml 2✅ 191ms
edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.ebl.EblStateMachineTest.xml 4✅ 24ms
edocumentation-infra/target/surefire-reports/TEST-org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest.xml 2✅ 480ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest.xml 4✅ 5ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest.xml 1✅ 29ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestServiceTest.xml 5✅ 669ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestSummaryServiceTest.xml 5✅ 20ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.DocumentPartyServiceTest.xml 6✅ 156ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.EquipmentServiceTest.xml 6✅ 47ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ReferenceServiceTest.xml 6✅ 61ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ServiceServiceTest.xml 3✅ 41ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ShippingInstructionSummaryServiceTest.xml 6✅ 66ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.TransportDocumentServiceTest.xml 1✅ 165ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest.xml 6✅ 138ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VesselServiceTest.xml 3✅ 779ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VoyageServiceTest.xml 4✅ 63ms
edocumentation-transfer-obj/target/surefire-reports/TEST-org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest.xml 6✅ 706ms
newman/TEST-newman-report.xml 303✅ 5s

✅ edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.BookingRequestControllerTest.xml

3 tests were completed in 696ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.controller.BookingRequestControllerTest 3✅ 696ms

✅ edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.BookingRequestSummaryControllerTest.xml

4 tests were completed in 4s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.controller.BookingRequestSummaryControllerTest 4✅ 4s

✅ edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.ShippingInstructionSummaryControllerTest.xml

6 tests were completed in 773ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.controller.ShippingInstructionSummaryControllerTest 6✅ 773ms

✅ edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest.xml

2 tests were completed in 191ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest 2✅ 191ms

✅ edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.ebl.EblStateMachineTest.xml

4 tests were completed in 24ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.domain.ebl.EblStateMachineTest 4✅ 24ms

✅ edocumentation-infra/target/surefire-reports/TEST-org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest.xml

2 tests were completed in 480ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest 2✅ 480ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest.xml

4 tests were completed in 5ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest 4✅ 5ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest.xml

1 tests were completed in 29ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest 1✅ 29ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestServiceTest.xml

5 tests were completed in 669ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.BookingRequestServiceTest 5✅ 669ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestSummaryServiceTest.xml

5 tests were completed in 20ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.BookingRequestSummaryServiceTest 5✅ 20ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.DocumentPartyServiceTest.xml

6 tests were completed in 156ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.DocumentPartyServiceTest 6✅ 156ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.EquipmentServiceTest.xml

6 tests were completed in 47ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.EquipmentServiceTest 6✅ 47ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ReferenceServiceTest.xml

6 tests were completed in 61ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.ReferenceServiceTest 6✅ 61ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ServiceServiceTest.xml

3 tests were completed in 41ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.ServiceServiceTest 3✅ 41ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ShippingInstructionSummaryServiceTest.xml

6 tests were completed in 66ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.ShippingInstructionSummaryServiceTest 6✅ 66ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.TransportDocumentServiceTest.xml

1 tests were completed in 165ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.TransportDocumentServiceTest 1✅ 165ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest.xml

6 tests were completed in 138ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest 6✅ 138ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VesselServiceTest.xml

3 tests were completed in 779ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.VesselServiceTest 3✅ 779ms

✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VoyageServiceTest.xml

4 tests were completed in 63ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.service.VoyageServiceTest 4✅ 63ms

✅ edocumentation-transfer-obj/target/surefire-reports/TEST-org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest.xml

6 tests were completed in 706ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest 6✅ 706ms

✅ newman/TEST-newman-report.xml

303 tests were completed in 5s with 303 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Booking request summaries / Negative test cases / Booking request summaries Invalid bookingStatus 6✅ 26ms
Booking request summaries / Positive test cases / Booking request status per bookingStatus 7✅ 34ms
Booking request summaries / Positive test cases / Booking request summaries 5✅ 298ms
Booking request summaries / Positive test cases / Booking request summaries COMPLETED 5✅ 40ms
Booking request summaries / Positive test cases / Booking request summaries sort 5✅ 48ms
Cancel booking request / Negative test cases / Cancel Booking Request invalid documentStatus 3✅ 14ms
Cancel booking request / Negative test cases / Cancel booking request not found 3✅ 14ms
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Cancel booking request first time 3✅ 26ms
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Cancel booking request not found Copy 3✅ 22ms
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Create a booking request to be canceled 2✅ 37ms
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Create a booking request 3✅ 118ms
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Decline the new booking request 3✅ 21ms
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / POST Shipment to confirm booking 3✅ 154ms
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Trigger validation 2✅ 130ms
Cancel booking request / Positive test cases / Test: Reject newly created booking request (shipper) / Create a booking request to be rejected 3✅ 302ms
Cancel booking request / Positive test cases / Test: Reject newly created booking request (shipper) / Reject the new booking request 4✅ 69ms
Cancel booking request / Test: Cancel newly created booking request / Cancel the new booking request 4✅ 37ms
Cancel booking request / Test: Cancel newly created booking request / Create a booking request to be canceled 3✅ 35ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Approve TransportDocument 2✅ 21ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Booking by carrierBookingRequestReference 2✅ 25ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Create a booking request 2✅ 37ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Create Shipping instruction 2✅ 49ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issue draft TD 3✅ 153ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issue TransportDocument 2✅ 23ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issued TransportDocument by transportdocument reference 2✅ 38ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / POST Confirmed Booking 3✅ 31ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Shipment by carrierBookingReference 1✅ 35ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / TransportDocument by transportdocument reference 2✅ 42ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Trigger validation 2✅ 19ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Validate Shipping instruction 2✅ 84ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Verify saved shipping instruction 2✅ 46ms
GET Booking request / Negative test cases / Booking by carrierBookingRequestRereference 6✅ 57ms
GET Booking request / Negative test cases / Booking not found 6✅ 23ms
GET Booking request / Positive test cases / Booking by carrierBookingRequestReference 5✅ 154ms
Get Confirmed Booking / Negative test cases / Confirmed Booking by carrierBookingReference 6✅ 8ms
Get Confirmed Booking / Negative test cases / Confirmed Booking not found 6✅ 18ms
Get Confirmed Booking / Positive test cases / Confirmed Booking by carrierBookingReference 5✅ 80ms
GET ShippingInstruction / Negative test cases / ShippingInstruction by shippingInstructionReference 6✅ 12ms
GET ShippingInstruction / Negative test cases / ShippingInstruction not found 6✅ 18ms
Get TransportDocument / Negative test cases / TransportDocument by transportdocument reference Not found 6✅ 18ms
Get TransportDocument / Positive test cases / TransportDocument by transportdocument reference 4✅ 67ms
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Create a booking request 2✅ 47ms
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Trigger validation 1✅ 45ms
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Verify saved carrierBookingRequestReference 3✅ 23ms
Post booking request / Negative test cases / Test: Post booking request with duplicate address / Create a booking request 2✅ 41ms
Post booking request / Negative test cases / Test: Post booking request with duplicate address / Trigger validation 2✅ 30ms
Post booking request / Negative test cases / Test: Post booking request with duplicate address / Verify saved carrierBookingRequestReference 3✅ 38ms
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Create a booking request 2✅ 37ms
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Trigger validation 2✅ 35ms
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Verify saved carrierBookingRequestReference 3✅ 35ms
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging imoPackageCode / Create a booking request 3✅ 13ms
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging numberOfPackages / Create a booking request 3✅ 14ms
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging packageCode / Create a booking request 3✅ 20ms
Post booking request / Negative test cases / Test: Post booking request with invalid party contact details / Create a booking request 3✅ 13ms
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Create a booking request 2✅ 33ms
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Trigger validation 2✅ 42ms
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Verify saved carrierBookingRequestReference 3✅ 29ms
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Create a booking request 2✅ 33ms
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Trigger validation 2✅ 36ms
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Verify saved carrierBookingRequestReference 3✅ 33ms
Post booking request / Positive test cases / Test: Post a booking and validate / Create a booking request 2✅ 84ms
Post booking request / Positive test cases / Test: Post a booking and validate / Trigger validation 1✅ 44ms
Post booking request / Positive test cases / Test: Post a booking and validate / Verify saved carrierBookingRequestReference 3✅ 39ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where all Shipment locations do not appear oin Transport Locations / Create a booking request 2✅ 27ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where all Shipment locations do not appear oin Transport Locations / POST Confirmed Booking 2✅ 33ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where POD is NOT the last location and PDE is not provided / Create a booking request 2✅ 42ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where POD is NOT the last location and PDE is not provided / POST Confirmed Booking 2✅ 29ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking with NOT connected transport Plans / Create a booking request 2✅ 47ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking with NOT connected transport Plans / POST Confirmed Booking 2✅ 25ms
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid commoditySubreference 4✅ 10ms
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid no consignmentItems 4✅ 9ms
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid utilizedTransportEquipment 4✅ 31ms
Post Shipping instruction / Positive test cases / Create Shipping instruction 3✅ 175ms
Post Shipping instruction / Positive test cases / Verify saved shipping instruction 3✅ 80ms
Put booking request / Negative test cases / Attempt PUT non-existing booking request 4✅ 13ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingRequestCreatedDateTime 4✅ 7ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingRequestUpdateDateTime 4✅ 15ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingStatus 4✅ 8ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Create a booking request to be updated 2✅ 22ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Invalid carrierBookingRequestReference in PUT 4✅ 9ms
Put booking request / Positive test cases / Test: Put a newly created booking request / Create a booking request to be updated 2✅ 22ms
Put booking request / Positive test cases / Test: Put a newly created booking request / Use PUT to update the booking 3✅ 36ms
Put booking request / Positive test cases / Test: Put a newly created booking request / Verify updated carrierBookingRequestReference 3✅ 22ms
Shipping instruction summaries / Negative test cases / Shipping instruction summaries invalid document status 6✅ 6ms
Shipping instruction summaries / Positive test cases / Shipping instruction for carrierBookingReference 6✅ 40ms
Shipping instruction summaries / Positive test cases / Shipping instruction for multiple carrierBookingReferences 6✅ 20ms
Shipping instruction summaries / Positive test cases / Shipping instruction for unknown carrierBookingReference 5✅ 11ms
Shipping instruction summaries / Positive test cases / Shipping instruction summaries 5✅ 150ms
Shipping instruction summaries / Positive test cases / Shipping instruction summaries per documentStatus 8✅ 35ms
Shipping instruction summaries / Positive test cases / Shipping instructions summaries CMPL 5✅ 18ms