Skip to content

Commit

Permalink
Merge branch B-19728-2 into B-19728-2-INT
Browse files Browse the repository at this point in the history
  • Loading branch information
paulstonebraker committed Jun 10, 2024
2 parents 5876c80 + e7e98d5 commit c9ea504
Show file tree
Hide file tree
Showing 32 changed files with 1,731 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ export FEATURE_FLAG_MOVE_LOCK=false
export FEATURE_FLAG_OKTA_DODID_INPUT=false
export FEATURE_FLAG_SAFETY_MOVE=true

# Feature flag for additional supporting documents uploaded by customer
export FEATURE_FLAG_MANAGE_SUPPORTING_DOCS=true

# Feature flags to disable certain shipment types
export FEATURE_FLAG_PPM=true
export FEATURE_FLAG_NTS=true
Expand Down
1 change: 1 addition & 0 deletions migrations/app/migrations_manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@
20240521184834_add_standalone_field_to_service_items.up.sql
20240522124339_add_csr_to_roles.up.sql
20240524214247_add_sit_location_moving_expenses.up.sql
20240529181303_add_additional_documents_id_col_to_moves.up.sql
20240530020648_adding_standalone_crate_service_param.up.sql
20240530084720_rename_qae_csr_to_just_qae.up.sql
20240531050324_adding_standalone_crate_cap.up.sql
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE moves ADD COLUMN IF NOT EXISTS additional_documents_id uuid DEFAULT NULL;

COMMENT ON COLUMN moves.additional_documents_id IS 'A foreign key that points to the document table for referencing additional documents';
1 change: 1 addition & 0 deletions pkg/factory/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type CustomType string
// You can have CustomType like ResidentialAddress to define specifically
// where this address will get created and nested
var Address CustomType = "Address"
var AdditionalDocuments CustomType = "AdditionalDocuments"
var AdminUser CustomType = "AdminUser"
var AuditHistory CustomType = "AuditHistory"
var BackupContact CustomType = "BackupContact"
Expand Down
7 changes: 7 additions & 0 deletions pkg/gen/internalapi/configure_mymove.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ func configureAPI(api *internaloperations.MymoveAPI) http.Handler {
// You may change here the memory limit for this multipart form parser. Below is the default (32 MB).
// uploads.CreateUploadMaxParseMemory = 32 << 20
// You may change here the memory limit for this multipart form parser. Below is the default (32 MB).
// moves.UploadAdditionalDocumentsMaxParseMemory = 32 << 20
// You may change here the memory limit for this multipart form parser. Below is the default (32 MB).
// orders.UploadAmendedOrdersMaxParseMemory = 32 << 20

if api.OfficeApproveMoveHandler == nil {
Expand Down Expand Up @@ -378,6 +380,11 @@ func configureAPI(api *internaloperations.MymoveAPI) http.Handler {
return middleware.NotImplemented("operation ppm.UpdateWeightTicket has not yet been implemented")
})
}
if api.MovesUploadAdditionalDocumentsHandler == nil {
api.MovesUploadAdditionalDocumentsHandler = moves.UploadAdditionalDocumentsHandlerFunc(func(params moves.UploadAdditionalDocumentsParams) middleware.Responder {
return middleware.NotImplemented("operation moves.UploadAdditionalDocuments has not yet been implemented")
})
}
if api.OrdersUploadAmendedOrdersHandler == nil {
api.OrdersUploadAmendedOrdersHandler = orders.UploadAmendedOrdersHandlerFunc(func(params orders.UploadAmendedOrdersParams) middleware.Responder {
return middleware.NotImplemented("operation orders.UploadAmendedOrders has not yet been implemented")
Expand Down
132 changes: 132 additions & 0 deletions pkg/gen/internalapi/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.

Loading

0 comments on commit c9ea504

Please sign in to comment.