Skip to content

Resolve "Remove deprecated methods related to parcels"

Closes #584 (closed) These methods are removed included their unit tests:

--
parcel.routes.js-   * /tracking/{sessionId}/investigation/id/{investigationId}/shipment/id/{shipmentId}/parcel:
parcel.routes.js-   *   get:
parcel.routes.js:   *     deprecated : true
--
parcel.routes.js-   * /tracking/{sessionId}/investigation/id/{investigationId}/parcel/id/{parcelId}:
parcel.routes.js-   *   get:
parcel.routes.js:   *     deprecated : true
--
parcel.routes.js-   * /tracking/{sessionId}/parcel/status/{status}:
parcel.routes.js-   *   get:
parcel.routes.js:   *     deprecated : true
--
parcel.routes.js-   * /tracking/{sessionId}/investigation/id/{investigationId}/shipment/id/{shipmentId}/parcel:
parcel.routes.js-   *   post:
parcel.routes.js:   *     deprecated: true
--
parcel.routes.js-   * /tracking/{sessionId}/investigation/id/{investigationId}/shipment/id/{shipmentId}/parcel:
parcel.routes.js-   *   put:
parcel.routes.js:   *     deprecated : true
--
parcel.routes.js-   * /tracking/{sessionId}/investigation/id/{investigationId}/shipment/id/{shipmentId}/investigation/id/{toInvestigationId}/parcel:
parcel.routes.js-   *   put:
parcel.routes.js:   *     deprecated : true

In order to make compatible with the UI, a fix needs to be done on the data portal E-DataPortal!719 (merged)

WARNING post /tracking/{sessionId}/parcel does not return a shipment anymore but a parcel

@gaonach this can affect data2

@bodin I've tested for the data portal but I would not be surprised if there are surprises

Essentially that becomes: image

Edited by Alejandro De Maria Antolinos

Merge request reports

Loading