-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'integrationTesting' of github.com:transcom/mymove into …
…B-17919-INT
- Loading branch information
Showing
419 changed files
with
12,896 additions
and
20,751 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
migrations/app/schema/20240112205201_remove_ppm_estimated_weight.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table moves drop column ppm_estimated_weight; |
2 changes: 2 additions & 0 deletions
2
migrations/app/schema/20240119005610_add_authorized_end_date_to_mto_services_items.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE mto_service_items ADD COLUMN sit_authorized_end_date date NULL; | ||
COMMENT ON COLUMN mto_service_items.sit_authorized_end_date IS 'The Date a service item in SIT needs to leave SIT'; |
15 changes: 15 additions & 0 deletions
15
...chema/20240123213917_update_shipment_address_update_table_sit_and_distance_columns.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
-- Adds new columns to shipment address update table | ||
ALTER TABLE shipment_address_updates | ||
ADD COLUMN sit_original_address_id uuid DEFAULT NULL, | ||
ADD COLUMN old_sit_distance_between INTEGER DEFAULT NULL, | ||
ADD COLUMN new_sit_distance_between INTEGER DEFAULT NULL; | ||
|
||
-- Add foreign key constraint | ||
ALTER TABLE shipment_address_updates | ||
ADD CONSTRAINT fk_sit_original_address | ||
FOREIGN KEY (sit_original_address_id) REFERENCES addresses(id); | ||
|
||
-- Comments on new columns | ||
COMMENT on COLUMN shipment_address_updates.sit_original_address_id IS 'SIT address at the original time of SIT approval'; | ||
COMMENT on COLUMN shipment_address_updates.old_sit_distance_between IS 'Distance between original SIT address and previous shipment destination address'; | ||
COMMENT on COLUMN shipment_address_updates.new_sit_distance_between IS 'Distance between original SIT address and new shipment destination address'; |
1 change: 1 addition & 0 deletions
1
migrations/app/schema/20240124153121_remove_ppmid_from_signedcertification_table.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table signed_certifications drop column personally_procured_move_id; /* field is deprecrated */ |
72 changes: 68 additions & 4 deletions
72
migrations/app/secure/20240124155759_20240124-homesafeconnect-cert.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,68 @@ | ||
-- Local test migration. | ||
-- This will be run on development environments. | ||
-- It should mirror what you intend to apply on prd/stg/exp/demo | ||
-- DO NOT include any sensitive data. | ||
-- This migration allows a CAC cert to have read/write access to all orders and the prime API. | ||
-- The Orders API and the Prime API use client certificate authentication. Only certificates | ||
-- signed by a trusted CA (such as DISA) are allowed which includes CACs. | ||
-- Using a person's CAC as the certificate is a convenient way to permit a | ||
-- single trusted individual to interact with the Orders API and the Prime API. Eventually | ||
-- this CAC certificate should be removed. | ||
INSERT INTO users ( | ||
id, | ||
okta_email, | ||
created_at, | ||
updated_at) | ||
VALUES ( | ||
'87fc5974-fbc9-4719-a3e2-b609647478d7', | ||
'25b64f60444878e22c3cbfbbfdeb6e3e38832ade1c9704a7bd906b709c15bf38' || '@api.move.mil', | ||
now(), | ||
now()); | ||
|
||
INSERT INTO users_roles ( | ||
id, | ||
role_id, | ||
user_id, | ||
created_at, | ||
updated_at) | ||
VALUES ( | ||
uuid_generate_v4(), | ||
(SELECT id FROM roles WHERE role_type = 'prime'), | ||
'87fc5974-fbc9-4719-a3e2-b609647478d7', | ||
now(), | ||
now()); | ||
|
||
INSERT INTO public.client_certs ( | ||
id, | ||
sha256_digest, | ||
subject, | ||
user_id, | ||
allow_orders_api, | ||
allow_prime, | ||
created_at, | ||
updated_at, | ||
allow_air_force_orders_read, | ||
allow_air_force_orders_write, | ||
allow_army_orders_read, | ||
allow_army_orders_write, | ||
allow_coast_guard_orders_read, | ||
allow_coast_guard_orders_write, | ||
allow_marine_corps_orders_read, | ||
allow_marine_corps_orders_write, | ||
allow_navy_orders_read, | ||
allow_navy_orders_write) | ||
VALUES ( | ||
'3a80db0d-a204-49f9-a9b2-359f57378e01', | ||
'25b64f60444878e22c3cbfbbfdeb6e3e38832ade1c9704a7bd906b709c15bf38', | ||
'C=US, O=U.S. Government, OU=ECA, OU=IdenTrust, OU=MOVEHQ INC., CN=mmb.gov.uat.homesafeconnect.com', | ||
'87fc5974-fbc9-4719-a3e2-b609647478d7', | ||
true, | ||
true, | ||
now(), | ||
now(), | ||
true, | ||
true, | ||
true, | ||
true, | ||
true, | ||
true, | ||
true, | ||
true, | ||
true, | ||
true); |
4 changes: 0 additions & 4 deletions
4
migrations/app/secure/20240129153006_20240129-homesafeconnect-cert.up.sql
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.