Skip to content

Commit

Permalink
Merge pull request #14702 from transcom/MAIN-B-22251-defect-update-ex…
Browse files Browse the repository at this point in the history
…isting-process-approving

MAIN - B-22251 Update existing process for approving move and shipment
  • Loading branch information
WeatherfordAaron authored Feb 5, 2025
2 parents f6072a8 + 97bfb07 commit bacd33e
Show file tree
Hide file tree
Showing 49 changed files with 3,176 additions and 138 deletions.
5 changes: 5 additions & 0 deletions pkg/gen/ghcapi/configure_mymove.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ func configureAPI(api *ghcoperations.MymoveAPI) http.Handler {
return middleware.NotImplemented("operation shipment.ApproveShipmentDiversion has not yet been implemented")
})
}
if api.ShipmentApproveShipmentsHandler == nil {
api.ShipmentApproveShipmentsHandler = shipment.ApproveShipmentsHandlerFunc(func(params shipment.ApproveShipmentsParams) middleware.Responder {
return middleware.NotImplemented("operation shipment.ApproveShipments has not yet been implemented")
})
}
if api.ReportViolationsAssociateReportViolationsHandler == nil {
api.ReportViolationsAssociateReportViolationsHandler = report_violations.AssociateReportViolationsHandlerFunc(func(params report_violations.AssociateReportViolationsParams) middleware.Responder {
return middleware.NotImplemented("operation report_violations.AssociateReportViolations has not yet been implemented")
Expand Down
199 changes: 195 additions & 4 deletions pkg/gen/ghcapi/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions pkg/gen/ghcapi/ghcoperations/mymove_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions pkg/gen/ghcapi/ghcoperations/shipment/approve_shipments.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bacd33e

Please sign in to comment.