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

Merge pull request #151 from dcsaorg/DT-586-Update-RI-Make-sure-API-V… #511

Merge pull request #151 from dcsaorg/DT-586-Update-RI-Make-sure-API-V…

Merge pull request #151 from dcsaorg/DT-586-Update-RI-Make-sure-API-V… #511

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✅ 509ms
edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.BookingRequestSummaryControllerTest.xml 4✅ 3s
edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.ShippingInstructionSummaryControllerTest.xml 6✅ 696ms
edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest.xml 2✅ 125ms
edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.ebl.EblStateMachineTest.xml 4✅ 11ms
edocumentation-infra/target/surefire-reports/TEST-org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest.xml 2✅ 406ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest.xml 4✅ 7ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest.xml 1✅ 34ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestServiceTest.xml 5✅ 596ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestSummaryServiceTest.xml 5✅ 43ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.DocumentPartyServiceTest.xml 6✅ 117ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.EquipmentServiceTest.xml 6✅ 41ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ReferenceServiceTest.xml 6✅ 44ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ServiceServiceTest.xml 3✅ 34ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ShippingInstructionSummaryServiceTest.xml 6✅ 63ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.TransportDocumentServiceTest.xml 1✅ 135ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest.xml 6✅ 128ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VesselServiceTest.xml 3✅ 704ms
edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VoyageServiceTest.xml 4✅ 66ms
edocumentation-transfer-obj/target/surefire-reports/TEST-org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest.xml 6✅ 559ms
newman/TEST-newman-report.xml 303✅ 4s

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ newman/TEST-newman-report.xml

303 tests were completed in 4s 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✅ 27ms
Booking request summaries / Positive test cases / Booking request status per bookingStatus 7✅ 54ms
Booking request summaries / Positive test cases / Booking request summaries 5✅ 492ms
Booking request summaries / Positive test cases / Booking request summaries COMPLETED 5✅ 65ms
Booking request summaries / Positive test cases / Booking request summaries sort 5✅ 36ms
Cancel booking request / Negative test cases / Cancel Booking Request invalid documentStatus 3✅ 10ms
Cancel booking request / Negative test cases / Cancel booking request not found 3✅ 11ms
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Cancel booking request first time 3✅ 17ms
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Cancel booking request not found Copy 3✅ 16ms
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Create a booking request to be canceled 2✅ 21ms
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Create a booking request 3✅ 103ms
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Decline the new booking request 3✅ 20ms
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / POST Shipment to confirm booking 3✅ 169ms
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Trigger validation 2✅ 125ms
Cancel booking request / Positive test cases / Test: Reject newly created booking request (shipper) / Create a booking request to be rejected 3✅ 269ms
Cancel booking request / Positive test cases / Test: Reject newly created booking request (shipper) / Reject the new booking request 4✅ 59ms
Cancel booking request / Test: Cancel newly created booking request / Cancel the new booking request 4✅ 24ms
Cancel booking request / Test: Cancel newly created booking request / Create a booking request to be canceled 3✅ 22ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Approve TransportDocument 2✅ 17ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Booking by carrierBookingRequestReference 2✅ 26ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Create a booking request 2✅ 43ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Create Shipping instruction 2✅ 60ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issue draft TD 3✅ 109ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issue TransportDocument 2✅ 16ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issued TransportDocument by transportdocument reference 2✅ 46ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / POST Confirmed Booking 3✅ 38ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Shipment by carrierBookingReference 1✅ 37ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / TransportDocument by transportdocument reference 2✅ 27ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Trigger validation 2✅ 16ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Validate Shipping instruction 2✅ 76ms
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Verify saved shipping instruction 2✅ 23ms
GET Booking request / Negative test cases / Booking by carrierBookingRequestRereference 6✅ 27ms
GET Booking request / Negative test cases / Booking not found 6✅ 17ms
GET Booking request / Positive test cases / Booking by carrierBookingRequestReference 5✅ 118ms
Get Confirmed Booking / Negative test cases / Confirmed Booking by carrierBookingReference 6✅ 5ms
Get Confirmed Booking / Negative test cases / Confirmed Booking not found 6✅ 12ms
Get Confirmed Booking / Positive test cases / Confirmed Booking by carrierBookingReference 5✅ 63ms
GET ShippingInstruction / Negative test cases / ShippingInstruction by shippingInstructionReference 6✅ 11ms
GET ShippingInstruction / Negative test cases / ShippingInstruction not found 6✅ 11ms
Get TransportDocument / Negative test cases / TransportDocument by transportdocument reference Not found 6✅ 8ms
Get TransportDocument / Positive test cases / TransportDocument by transportdocument reference 4✅ 44ms
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Create a booking request 2✅ 36ms
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Trigger validation 1✅ 31ms
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Verify saved carrierBookingRequestReference 3✅ 32ms
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✅ 19ms
Post booking request / Negative test cases / Test: Post booking request with duplicate address / Verify saved carrierBookingRequestReference 3✅ 28ms
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Create a booking request 2✅ 32ms
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Trigger validation 2✅ 23ms
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Verify saved carrierBookingRequestReference 3✅ 30ms
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging imoPackageCode / Create a booking request 3✅ 8ms
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging numberOfPackages / Create a booking request 3✅ 10ms
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging packageCode / Create a booking request 3✅ 11ms
Post booking request / Negative test cases / Test: Post booking request with invalid party contact details / Create a booking request 3✅ 10ms
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Create a booking request 2✅ 28ms
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Trigger validation 2✅ 19ms
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Verify saved carrierBookingRequestReference 3✅ 19ms
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Create a booking request 2✅ 36ms
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Trigger validation 2✅ 33ms
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Verify saved carrierBookingRequestReference 3✅ 24ms
Post booking request / Positive test cases / Test: Post a booking and validate / Create a booking request 2✅ 77ms
Post booking request / Positive test cases / Test: Post a booking and validate / Trigger validation 1✅ 34ms
Post booking request / Positive test cases / Test: Post a booking and validate / Verify saved carrierBookingRequestReference 3✅ 36ms
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✅ 34ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where all Shipment locations do not appear oin Transport Locations / POST Confirmed Booking 2✅ 25ms
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✅ 24ms
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✅ 32ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking with NOT connected transport Plans / Create a booking request 2✅ 39ms
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking with NOT connected transport Plans / POST Confirmed Booking 2✅ 16ms
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid commoditySubreference 4✅ 8ms
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid no consignmentItems 4✅ 7ms
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid utilizedTransportEquipment 4✅ 25ms
Post Shipping instruction / Positive test cases / Create Shipping instruction 3✅ 124ms
Post Shipping instruction / Positive test cases / Verify saved shipping instruction 3✅ 42ms
Put booking request / Negative test cases / Attempt PUT non-existing booking request 4✅ 10ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingRequestCreatedDateTime 4✅ 6ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingRequestUpdateDateTime 4✅ 23ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingStatus 4✅ 5ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Create a booking request to be updated 2✅ 13ms
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Invalid carrierBookingRequestReference in PUT 4✅ 7ms
Put booking request / Positive test cases / Test: Put a newly created booking request / Create a booking request to be updated 2✅ 15ms
Put booking request / Positive test cases / Test: Put a newly created booking request / Use PUT to update the booking 3✅ 30ms
Put booking request / Positive test cases / Test: Put a newly created booking request / Verify updated carrierBookingRequestReference 3✅ 17ms
Shipping instruction summaries / Negative test cases / Shipping instruction summaries invalid document status 6✅ 8ms
Shipping instruction summaries / Positive test cases / Shipping instruction for carrierBookingReference 6✅ 35ms
Shipping instruction summaries / Positive test cases / Shipping instruction for multiple carrierBookingReferences 6✅ 22ms
Shipping instruction summaries / Positive test cases / Shipping instruction for unknown carrierBookingReference 5✅ 9ms
Shipping instruction summaries / Positive test cases / Shipping instruction summaries 5✅ 127ms
Shipping instruction summaries / Positive test cases / Shipping instruction summaries per documentStatus 8✅ 27ms
Shipping instruction summaries / Positive test cases / Shipping instructions summaries CMPL 5✅ 11ms