Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B 18059 int - download link for AOA packet office user #11961

Closed
wants to merge 742 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
742 commits
Select commit Hold shift + click to select a range
791acb0
Return empty array when no current or prev moves
TevinAdams Jan 26, 2024
19fb09e
update unused variables
r-mettler Jan 26, 2024
22b2817
update comments
r-mettler Jan 27, 2024
93f2c9b
Merge branch 'main' of github.com:transcom/mymove into B-17919
r-mettler Jan 27, 2024
aae48b8
remove more unused variables
r-mettler Jan 27, 2024
4bc1aa4
comment out submitsDateAndLocation test, update in 18434 with new UI
r-mettler Jan 27, 2024
045ad00
Added customiztions to ppm mock for test to pass, removed comments
KonstanceH Jan 29, 2024
1df58c7
added null check for addresses
cameroncaci Jan 29, 2024
e1d61aa
Merge branch 'main' into B-18085-identify-create-values-7-12
KonstanceH Jan 29, 2024
53839e3
merge in B branch
KonstanceH Jan 29, 2024
02d03ff
FIxed existing templates/tests to use new constants file
brooklyn-welsh Jan 29, 2024
02e6127
removed more comments and ran gen script
KonstanceH Jan 29, 2024
a80d02c
Merge branch 'B-18085-identify-create-values-7-12' into B-18085-ident…
KonstanceH Jan 29, 2024
1eb7236
Fixed tests for prime_counseling_complete
brooklyn-welsh Jan 29, 2024
a670d8b
Merge branch 'B-17980-Prime-Counselor-Approve-Reject-Email' into INT-…
brooklyn-welsh Jan 29, 2024
ec651f6
Fixed missing usage of new constant.
brooklyn-welsh Jan 29, 2024
655a3f0
ran gen script on integration branch
KonstanceH Jan 29, 2024
0916628
Merge branch 'B-17980-Prime-Counselor-Approve-Reject-Email' into INT-…
brooklyn-welsh Jan 29, 2024
157cbcf
Added usage of new consant to ppm packet email
brooklyn-welsh Jan 29, 2024
85a5690
addloadttest env to ff
deandreJones Jan 29, 2024
8d95791
removed deprecated field on ghc/prime api
loganwc Jan 29, 2024
92a87e9
Added MyMoveLInk to constants and notificaiton files.
brooklyn-welsh Jan 29, 2024
965ccb1
Merge pull request #11882 from transcom/addLoadTestFF
deandreJones Jan 29, 2024
9460b9a
Merge branch 'B-17980-Prime-Counselor-Approve-Reject-Email' into INT-…
brooklyn-welsh Jan 29, 2024
62563e3
merge main
loganwc Jan 29, 2024
629f4f7
Merge branch 'integrationTesting' into INT-B-18313
danieljordan-caci Jan 29, 2024
c0a3df9
renamed generator function for reusability
antgmann Jan 29, 2024
00c5946
Added MilMoveLink constant to current Integration branch notifications.
brooklyn-welsh Jan 29, 2024
a989a69
Merge branch 'integrationTesting' into INT-B-17980-Prime-Counselor-Ap…
brooklyn-welsh Jan 29, 2024
cb27505
remove func from testdatagen
KonstanceH Jan 29, 2024
b68a122
Fix missing EOF space in constants.go
brooklyn-welsh Jan 29, 2024
229d799
Merge branch 'INT-B-17980-Prime-Counselor-Approve-Reject-Email' of ht…
brooklyn-welsh Jan 29, 2024
13650a6
updated mocks
danieljordan-caci Jan 29, 2024
414bff3
Merge branch 'integrationTesting' into INT-B-18180-Remove-ppm-estimat…
loganwc Jan 29, 2024
2e692bf
Removed comments
TevinAdams Jan 29, 2024
78849bd
update env file
deandreJones Jan 29, 2024
2d094b8
Merge branch 'integrationFF' into addLoadTestFF
deandreJones Jan 29, 2024
9bb5403
Merge pull request #11885 from transcom/addLoadTestFF
deandreJones Jan 29, 2024
8213942
generated mocks
loganwc Jan 29, 2024
7081cd5
Ff
deandreJones Jan 29, 2024
7c0f207
Merge branch 'integrationFF' of https://github.com/transcom/mymove in…
deandreJones Jan 29, 2024
195615b
true
deandreJones Jan 29, 2024
543fb8b
Merge pull request #11886 from transcom/integrationFF
deandreJones Jan 29, 2024
f502557
Merge branch 'integrationTesting' into INT-B-18180-Remove-ppm-estimat…
loganwc Jan 29, 2024
a991964
updating embeeded_spec idk
danieljordan-caci Jan 29, 2024
d341a27
more mocks
loganwc Jan 29, 2024
de5f6f7
Merge branch 'INT-B-18180-Remove-ppm-estimated-weight' of https://git…
loganwc Jan 29, 2024
6047714
Move vars for function scoping
antgmann Jan 29, 2024
373cb23
Empty movesList edit
TevinAdams Jan 29, 2024
fe4a0d9
Merge pull request #11848 from transcom/B-18428-SSW-Form-PDF-Work-INT
antgmann Jan 29, 2024
bf4c861
Merge pull request #11868 from transcom/INT-B-17980-Prime-Counselor-A…
brooklyn-welsh Jan 29, 2024
d965ff3
revert homsafe file
KonstanceH Jan 29, 2024
374be4b
revert homsafe file
KonstanceH Jan 29, 2024
6ab2615
revert homsafe file
KonstanceH Jan 29, 2024
b15f32b
delete homsafe file
KonstanceH Jan 29, 2024
3ba2671
Merge branch 'integrationTesting' into B-18085-identify-create-values…
KonstanceH Jan 29, 2024
e92a3ed
Merge branch 'integrationTesting' into INT-B-18180-Remove-ppm-estimat…
danieljordan-caci Jan 29, 2024
352ff73
added code from B-18312 and made adjustments for those changes in rou…
danieljordan-caci Jan 29, 2024
559e252
Merge pull request #11884 from transcom/INT-B-18180-Remove-ppm-estima…
deandreJones Jan 29, 2024
6890816
Merge pull request #11877 from transcom/B-18085-identify-create-value…
KonstanceH Jan 29, 2024
6c0625e
updated return to dashboard navigation link
danieljordan-caci Jan 29, 2024
cc411c2
Merge branch 'main' of github.com:transcom/mymove into B-17919
r-mettler Jan 29, 2024
cd26fcf
using state for updating service info, updated tests
danieljordan-caci Jan 29, 2024
3eaa8a2
Merge branch 'integrationTesting' into INT-B-18313
danieljordan-caci Jan 29, 2024
9b1ac89
updated multi move landing page to use context and and props that sho…
danieljordan-caci Jan 29, 2024
a5b4b4e
updated profile page create a move btn
danieljordan-caci Jan 29, 2024
7f626f6
added counselor update authorized weight allowance and added tests
cameroncaci Jan 29, 2024
d16d23b
added too weight allowance updater
cameroncaci Jan 29, 2024
eb9617d
fix ssw test and add nil check
cameroncaci Jan 29, 2024
feb1234
updated query
cameroncaci Jan 29, 2024
f09f9ce
Merge branch 'integrationTesting' into B-18312-MultiMoveDashboard-INT
TevinAdams Jan 29, 2024
d2aa58e
updated props to pass tests
danieljordan-caci Jan 29, 2024
4ad811b
Merge pull request #11837 from transcom/B-18312-MultiMoveDashboard-INT
TevinAdams Jan 29, 2024
6470d7d
validation changes, change variables used to store addresses
r-mettler Jan 29, 2024
1ae580f
add grade and current duty location to ordres table
traskowskycaci Jan 19, 2024
1ebfb72
Remove pay grade and curr duty location from Profile table and Servic…
traskowskycaci Jan 19, 2024
bdecdec
remove rank usage from allowances list, onboarding spec, too flows
traskowskycaci Jan 19, 2024
85b55e4
update selectors tests - remove ref to duty_location_complete state
traskowskycaci Jan 19, 2024
fa6ed8a
clean up tests, shipment approval, workflow routes
traskowskycaci Jan 19, 2024
586feb8
removing rank/duty location from various spots
traskowskycaci Jan 19, 2024
29bdeca
Merge branch 'integrationTesting' into INT-B-18313
danieljordan-caci Jan 29, 2024
2959683
more changes
traskowskycaci Jan 25, 2024
39318e0
updated landing page test and testid
danieljordan-caci Jan 29, 2024
28ce726
more more changes
traskowskycaci Jan 26, 2024
91b47e3
fix allowanceslist test
traskowskycaci Jan 26, 2024
c9d6349
fix playwright test for allowance
traskowskycaci Jan 29, 2024
172c1f9
selectCurrentDutyLocation uses origin_duty_location
traskowskycaci Jan 29, 2024
75fbb1f
storybook data additions
traskowskycaci Jan 29, 2024
1b91d93
fix storybook data
traskowskycaci Jan 29, 2024
d326347
actual fix for storybook
traskowskycaci Jan 29, 2024
fc1ff3d
Merge pull request #11859 from transcom/INT-B-18313
danieljordan-caci Jan 29, 2024
813b5f6
fixed tests for createMTOShipment, patchMTOShipment to be updated wit…
r-mettler Jan 30, 2024
f068681
code cleanup
r-mettler Jan 30, 2024
da157e0
merge remote origin integrationTesting into B-18457-Refactor-Rank-And…
cameroncaci Jan 30, 2024
137a5f4
fixed query
cameroncaci Jan 30, 2024
aeb68d7
Merge branch 'integrationTesting' into I-12397-Diverted-Shipments-INT
cameroncaci Jan 30, 2024
0e85174
Merge branch 'B-18472-MAIN-UI-Remove-rank-duty-location-NEW' into B-1…
traskowskycaci Jan 30, 2024
5102ed1
Merge branch 'integrationTesting' of github.com:transcom/mymove into …
r-mettler Jan 30, 2024
53b1753
Merge branch 'B-18472-UI-Remove-rank-duty-location-INT' into E-04823-…
traskowskycaci Jan 30, 2024
b9de09d
Merge pull request #11846 from transcom/B-17854-INT
r-mettler Jan 30, 2024
0f463ee
Merge branch 'integrationTesting' into E-04823-Tickets-B-18472-And-B-…
traskowskycaci Jan 30, 2024
a57aba6
Removed double comment and uneeded err
TevinAdams Jan 30, 2024
6131d3d
Merge branch 'integrationTesting' into B-18472-UI-Remove-rank-duty-lo…
traskowskycaci Jan 30, 2024
e410984
fix merge conflict errors in EditServiceInfo
traskowskycaci Jan 30, 2024
27d41dd
Merge branch 'B-18472-UI-Remove-rank-duty-location-INT' into E-04823-…
traskowskycaci Jan 30, 2024
97fd999
Removed conditional on previousMoves List
TevinAdams Jan 30, 2024
3f187a2
server generate
cameroncaci Jan 30, 2024
e88cb14
Refactor
TevinAdams Jan 30, 2024
0cb855e
INT-B-18449 removed deprecated ppmid from signedcertification model (…
loganwc Jan 30, 2024
50c6d43
exploded tasks within the PPMCloseout building section that should be…
WeatherfordAaron Jan 30, 2024
a61c046
Merge remote-tracking branch 'origin/integrationTesting' into B-18186…
joeydoyecaci Jan 30, 2024
86e41d9
Merge pull request #11843 from transcom/B-18186-INT-Remove-PPM-Code-C…
joeydoyecaci Jan 30, 2024
4a3a598
allowed auto-generated code to auto-generate again
WeatherfordAaron Jan 30, 2024
89a4d79
Move orders dutylocation edit
TevinAdams Jan 30, 2024
1f706c1
Merge branch 'integrationTesting' into E-04823-Tickets-B-18472-And-B-…
traskowskycaci Jan 30, 2024
d9ec344
Fetch Moves by order eager edit
TevinAdams Jan 30, 2024
335ee15
Merge branch 'integrationTesting' into B-18317-MultiMove-getAllMoves-…
TevinAdams Jan 30, 2024
8a9b39a
remove code in Orders.jsx that came back in from merging to integrati…
traskowskycaci Jan 30, 2024
9f5485d
Merge branch 'B-18472-UI-Remove-rank-duty-location-INT' into E-04823-…
traskowskycaci Jan 30, 2024
32e67ae
sit null check and hasAOA request check
KonstanceH Jan 30, 2024
3e4a2b6
Undoing work I didnt do
TevinAdams Jan 30, 2024
89fa15b
Undo yaml edit
TevinAdams Jan 30, 2024
9672f14
Undo change
TevinAdams Jan 30, 2024
a2a6287
Undo changes not made by me
TevinAdams Jan 30, 2024
c4664d1
Revert changes not made by me
TevinAdams Jan 30, 2024
e9557ad
Attempt to fix generated code edit failure
TevinAdams Jan 30, 2024
61726b7
gen code code fix
TevinAdams Jan 30, 2024
bbeac8d
kickback B-18322 Update Requested pickup date (#11889)
WeatherfordAaron Jan 30, 2024
6f0e67b
Merge branch 'integrationTesting' into amw-B-17958-kickback
WeatherfordAaron Jan 30, 2024
8b1258d
Merge branch 'integrationTesting' into B-18317-MultiMove-getAllMoves-…
TevinAdams Jan 30, 2024
bf12662
changed how shipments are grabbed from DB
WeatherfordAaron Jan 30, 2024
52ec73d
advance request links for customer, download still needs updating
r-mettler Jan 31, 2024
48f27ab
updates to retrieve aoa_packet_id from ppm_shipment
r-mettler Jan 31, 2024
dfe1a44
blank download link
r-mettler Jan 31, 2024
ed7c39e
code cleanup
r-mettler Jan 31, 2024
5dd4398
added tests for advance request
r-mettler Jan 31, 2024
d4fe0fe
lint cleanup
r-mettler Jan 31, 2024
aa50cc2
updated playwright test for 6 steps
r-mettler Jan 31, 2024
ffdf8f3
added Pending label
r-mettler Jan 31, 2024
f44065b
unused import
r-mettler Jan 31, 2024
bfc856a
Merge branch 'B-18058' of github.com:transcom/mymove into B-18058-aoa…
r-mettler Jan 31, 2024
8f964c7
removing file from manifest
r-mettler Jan 31, 2024
2a1e328
Merge pull request #11876 from transcom/I-12397-Diverted-Shipments-INT
cameroncaci Jan 31, 2024
cb7f2df
Merge branch 'integrationTesting' into B-18317-MultiMove-getAllMoves-…
danieljordan-caci Jan 31, 2024
161c9bf
initial commit, began adding data to redux until api endpoint is merged
danieljordan-caci Jan 31, 2024
56e1635
Merge pull request #11866 from transcom/B-18317-MultiMove-getAllMoves…
TevinAdams Jan 31, 2024
52b36f7
Merge branch 'integrationTesting' into B-17314-INT
danieljordan-caci Jan 31, 2024
3e74a98
changed Pending to Advance request pending
r-mettler Jan 31, 2024
6dcfa30
Merge branch 'integrationTesting' of github.com:transcom/mymove into …
r-mettler Jan 31, 2024
3485f9c
Merge branch 'B-18058' of github.com:transcom/mymove into B-18058-aoa…
r-mettler Jan 31, 2024
b7cc3a3
fixed formatting error
r-mettler Jan 31, 2024
bb08c78
Merge branch 'B-18058' of github.com:transcom/mymove into B-18058-aoa…
r-mettler Jan 31, 2024
314ef85
Merge branch 'integrationTesting' into amw-B-17958-kickback
WeatherfordAaron Jan 31, 2024
fb58351
took out old ppm style reference
AMA113 Jan 31, 2024
b02ce25
adjusted logic and set it up to only run for the required 1-6 fields
WeatherfordAaron Jan 31, 2024
363cc8e
added Weight Tickets field for the eager preload
WeatherfordAaron Jan 31, 2024
90d182e
Merge branch 'integrationTesting' into closeout-amw
WeatherfordAaron Jan 31, 2024
5f5d909
adjusted logic and set it up to only run for the required 1-6 fields
WeatherfordAaron Jan 31, 2024
e27cb18
Merge branch 'closeout-amw' into amw-B-17958-kickback
WeatherfordAaron Jan 31, 2024
61eba8c
Merge branch 'integrationTesting' of github.com:transcom/mymove into …
r-mettler Jan 31, 2024
47ce6ea
Merge branch 'B-17919' of github.com:transcom/mymove into B-17919-INT
r-mettler Jan 31, 2024
3b385fb
adjusted logic and set it up to only run for the required 1-6 fields
WeatherfordAaron Jan 31, 2024
19330f4
changed some values of dashboard due to API object returning differen…
danieljordan-caci Jan 31, 2024
2937332
fixed helpdesk url
loganwc Feb 1, 2024
95b9732
Merge branch 'integrationTesting' into E-04823-Tickets-B-18472-And-B-…
cameroncaci Feb 1, 2024
edce9a2
to prevent having to adjust the associated tests, made the extra fiel…
WeatherfordAaron Feb 1, 2024
bdaec5f
Merge pull request #11860 from transcom/B-17919-INT
AMA113 Feb 1, 2024
51215f3
changed logic for pro gear customer and spouse to pull the correct va…
WeatherfordAaron Feb 1, 2024
2bb6f09
Merge remote-tracking branch 'origin/B-18088-Helpdesk-Url' into B-180…
pambecker Feb 1, 2024
fdcca0a
Merge branch 'integrationTesting' into E-04823-Tickets-B-18472-And-B-…
cameroncaci Feb 1, 2024
93bf85e
changed to target the specific field in the Shipment child table
WeatherfordAaron Feb 1, 2024
91859c1
Merge branch 'integrationTesting' into amw-B-17958-kickback
WeatherfordAaron Feb 1, 2024
7a22215
Merge pull request #11906 from transcom/main
deandreJones Feb 1, 2024
e8cdb0d
update duty_location_names table to get rid of old base names
paulstonebraker Feb 1, 2024
647d3ba
update duty_location_names
paulstonebraker Feb 1, 2024
90d908e
add test for success
MInthavongsay Feb 1, 2024
55569d9
Merge branch 'B-17927-UI-Prime-Simulator-New-Download-Orders-API' int…
MInthavongsay Feb 1, 2024
3760610
check dest service codes in validators, update tests, udpate docs
traskowskycaci Feb 1, 2024
874d5b4
Merge branch 'B-18491-update-endpoint-updateMTOServiceItem-MAIN' into…
traskowskycaci Feb 1, 2024
d991ded
merged with integration with merge conflict
MInthavongsay Feb 2, 2024
c24e030
Merge remote-tracking branch 'origin/B-18085-identify-create-values-7…
KonstanceH Feb 2, 2024
9417533
Merge branch 'integrationTesting' into B-18088-INT-Helpdesk-Url-update
loganwc Feb 2, 2024
168cb08
commented out failing test to see if the server error was contained t…
WeatherfordAaron Feb 2, 2024
2dc1e8b
Merge branch 'integrationTesting' into amw-B-17958-kickback
WeatherfordAaron Feb 2, 2024
b8f1138
updated tests to pass
danieljordan-caci Feb 2, 2024
fff04bf
Merge branch 'integrationTesting' into B-17314-INT
danieljordan-caci Feb 2, 2024
e209ff3
expanded description, fixed links
traskowskycaci Feb 2, 2024
80dc6b3
Merge branch 'B-18491-update-endpoint-updateMTOServiceItem-MAIN' into…
traskowskycaci Feb 2, 2024
15ebe65
show actual move date
KonstanceH Feb 2, 2024
bf8e60e
Merge pull request #11903 from transcom/B-18088-INT-Helpdesk-Url-update
pambecker Feb 2, 2024
8ebfb9a
Merge pull request #11852 from transcom/B-17927-INT
MInthavongsay Feb 2, 2024
05f6724
show actual move date for ppm
KonstanceH Feb 2, 2024
db290db
fix editing dependents issue
traskowskycaci Feb 2, 2024
ceb70ae
initial commit, added validate profile button and conditional logic f…
danieljordan-caci Feb 2, 2024
e446b4d
Merge branch 'B-18472-UI-Remove-rank-duty-location-INT' into E-04823-…
traskowskycaci Feb 2, 2024
0a60461
Merge branch 'integrationTesting' into B-18313-INT-updates
danieljordan-caci Feb 2, 2024
fc6c312
Merge pull request #11908 from transcom/B-18491-update-endpoint-updat…
traskowskycaci Feb 2, 2024
eb64c9a
Merge branch 'integrationTesting' into B-18313-INT-updates
danieljordan-caci Feb 2, 2024
0d286d8
use ADVANCE_STATUSES enum
r-mettler Feb 2, 2024
4e7274e
Merge branch 'integrationTesting' of github.com:transcom/mymove into …
r-mettler Feb 2, 2024
3c2a9bb
Merge branch 'B-18058' of github.com:transcom/mymove into B-18058-aoa…
r-mettler Feb 2, 2024
4e84db6
Merge branch 'integrationTesting' into E-04823-Tickets-B-18472-And-B-…
traskowskycaci Feb 2, 2024
266b8c4
Merge pull request #11907 from transcom/B-18325-INT
paulstonebraker Feb 2, 2024
e847295
Merge branch 'integrationTesting' into B-18313-INT-updates
danieljordan-caci Feb 2, 2024
5d79f56
Merge branch 'integrationTesting' into B-17314-INT
danieljordan-caci Feb 2, 2024
035ba6c
Merge pull request #11897 from transcom/B-17314-INT
danieljordan-caci Feb 2, 2024
aa0a9f1
Merge branch 'integrationTesting' into B-18313-INT-updates
danieljordan-caci Feb 2, 2024
bab0597
small rendering change
danieljordan-caci Feb 2, 2024
5ea1ed6
Merge pull request #11911 from transcom/B-18313-INT-updates
danieljordan-caci Feb 2, 2024
46142aa
Merge pull request #11896 from transcom/B-18058-aoa-UI-INT
r-mettler Feb 2, 2024
83326f2
initial commit, docs updated to reflect API changes
danieljordan-caci Feb 5, 2024
35fce9c
Merge branch 'integrationTesting' into E-04823-Tickets-B-18472-And-B-…
deandreJones Feb 5, 2024
d24a358
updating updateShipmentAddress to updateMTOShipmentAddress
danieljordan-caci Feb 5, 2024
5853b94
Refactor DOP DDP SitReimbursement calcs (WIP)
brooklyn-welsh Feb 5, 2024
435963a
updated error response
cameroncaci Feb 5, 2024
a0425a2
updated testing to include the fields this PR is related to
WeatherfordAaron Feb 5, 2024
43c4b50
refactored servicemembergrade to servicememberpaygrade
cameroncaci Feb 5, 2024
57d9360
Merge branch 'integrationTesting' into amw-B-17958-kickback
WeatherfordAaron Feb 5, 2024
f0fec1c
removed redundant lines in test
cameroncaci Feb 5, 2024
0398dbe
Merge branch 'integrationTesting' into B-18085-identify-create-values…
KonstanceH Feb 5, 2024
fb0c142
Merge pull request #11893 from transcom/E-04823-Tickets-B-18472-And-B…
traskowskycaci Feb 5, 2024
aa6ea48
corrected eager preload args for the ppm shipment
WeatherfordAaron Feb 5, 2024
afe0486
changed G to g
WeatherfordAaron Feb 5, 2024
cd20cee
Merge branch 'integrationTesting' into B-18492-INT
deandreJones Feb 5, 2024
1e297ee
Merge branch 'integrationTesting' into amw-B-17958-kickback
WeatherfordAaron Feb 5, 2024
de97d13
Added SIT Reimbursement Costs
brooklyn-welsh Feb 5, 2024
0a78a48
Merge branch 'B-18086-kickback' into INT-B-18086-kickback
brooklyn-welsh Feb 5, 2024
d2f9c3a
Merge branch 'amw-B-17958-kickback' into INT-B-18086-kickback
brooklyn-welsh Feb 5, 2024
37dfff8
kickback on B-17958 identify/create calculation values 1 - 6 (#11895)
WeatherfordAaron Feb 5, 2024
e4c5c89
Merge pull request #11916 from transcom/B-18492-INT
danieljordan-caci Feb 5, 2024
c43ec59
Edited err message and fixed ppm_closeout_test contract bug.
brooklyn-welsh Feb 5, 2024
6b1fc98
merge in integration Testing
KonstanceH Feb 5, 2024
f5317c6
Merge branch 'integrationTesting' of https://github.com/transcom/mymo…
brooklyn-welsh Feb 5, 2024
87be6ff
merge in 1-6 add remainingincentive
KonstanceH Feb 5, 2024
47d209c
Added check to beginning of service item loop to avoid doing a bunch …
brooklyn-welsh Feb 5, 2024
134b886
Merge pull request #11918 from transcom/INT-B-18086-kickback
brooklyn-welsh Feb 6, 2024
7473312
merge in latest integration branch
KonstanceH Feb 6, 2024
5271f55
added haulprice/haulfsc and remainingIncentive
KonstanceH Feb 6, 2024
e96b65f
added gcc
KonstanceH Feb 6, 2024
58ebf94
remove shipment jsx add to existing tests
KonstanceH Feb 6, 2024
cdeec86
revert jsx changes
KonstanceH Feb 6, 2024
ef3a6b8
remove int conversion
KonstanceH Feb 6, 2024
dedfafd
add map
KonstanceH Feb 6, 2024
21cfaba
update var
KonstanceH Feb 6, 2024
eb02097
Merge pull request #11894 from transcom/B-18085-identify-create-value…
KonstanceH Feb 6, 2024
1a8aad1
add aoa download for PPM shipment service counselor TOO
r-mettler Feb 7, 2024
09382b3
added test for ppm
KonstanceH Feb 7, 2024
32a30bd
Merge pull request #11910 from transcom/B-18328-Update-Too-Pickupdate…
KonstanceH Feb 7, 2024
ba2652e
added test for office aoa packet download link
r-mettler Feb 7, 2024
12264f6
Merge branch 'B-18059' of github.com:transcom/mymove into B-18059-INT
r-mettler Feb 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,30 @@ references:

# In addition, it's common practice to disable acceptance tests and
# ignore tests for dp3 deploys. See the branch settings below.
dp3-branch: &dp3-branch placeholder_branch_name
dp3-branch: &dp3-branch integrationTesting
# MUST BE ONE OF: loadtest, demo, exp.
# These are used to pull in env vars so the spelling matters!
dp3-env: &dp3-env placeholder_env
dp3-env: &dp3-env loadtest

# set integration-ignore-branch to the branch if you want to IGNORE
# integration tests, or `placeholder_branch_name` if you do want to
# run them
integration-ignore-branch: &integration-ignore-branch placeholder_branch_name
integration-ignore-branch: &integration-ignore-branch integrationTesting

# set integration-mtls-ignore-branch to the branch if you want to
# IGNORE mtls integration tests, or `placeholder_branch_name` if you
# do want to run them
integration-mtls-ignore-branch: &integration-mtls-ignore-branch placeholder_branch_name
integration-mtls-ignore-branch: &integration-mtls-ignore-branch integrationTesting

# set client-ignore-branch to the branch if you want to IGNORE
# client tests, or `placeholder_branch_name` if you do want to run
# them
client-ignore-branch: &client-ignore-branch placeholder_branch_name
client-ignore-branch: &client-ignore-branch integrationTesting

# set server-ignore-branch to the branch if you want to IGNORE
# server tests, or `placeholder_branch_name` if you do want to run
# them
server-ignore-branch: &server-ignore-branch placeholder_branch_name
server-ignore-branch: &server-ignore-branch integrationTesting

executors:
base_small:
Expand Down
4 changes: 4 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ export DB_NAME_TEST=test_db
export DB_RETRY_INTERVAL=5s
export DB_SSL_MODE=disable

# Experimental feature flags, these will be replaced by the config/env/*.env files for live deployments
# Multi Move feature flag
export FEATURE_FLAG_MULTI_MOVE=true

# Okta.mil configuration

# Tenant
Expand Down
73 changes: 16 additions & 57 deletions cmd/generate-shipment-summary/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"bytes"
"fmt"
"log"
"net/http"
Expand All @@ -16,22 +15,20 @@ import (
"go.uber.org/zap"

"github.com/transcom/mymove/pkg/appcontext"
"github.com/transcom/mymove/pkg/assets"
"github.com/transcom/mymove/pkg/auth"
"github.com/transcom/mymove/pkg/cli"
"github.com/transcom/mymove/pkg/logging"
"github.com/transcom/mymove/pkg/models"
"github.com/transcom/mymove/pkg/paperwork"
"github.com/transcom/mymove/pkg/rateengine"
"github.com/transcom/mymove/pkg/route"
shipmentsummaryworksheet "github.com/transcom/mymove/pkg/services/shipment_summary_worksheet"
)

// hereRequestTimeout is how long to wait on HERE request before timing out (15 seconds).
const hereRequestTimeout = time.Duration(15) * time.Second

const (
moveIDFlag string = "move"
debugFlag string = "debug"
PPMShipmentIDFlag string = "ppmshipment"
debugFlag string = "debug"
)

func noErr(err error) {
Expand Down Expand Up @@ -60,7 +57,7 @@ func checkConfig(v *viper.Viper, logger *zap.Logger) error {
func initFlags(flag *pflag.FlagSet) {

// Scenario config
flag.String(moveIDFlag, "", "The move ID to generate a shipment summary worksheet for")
flag.String(PPMShipmentIDFlag, "6d1d9d00-2e5e-4830-a3c1-5c21c951e9c1", "The PPMShipmentID to generate a shipment summary worksheet for")
flag.Bool(debugFlag, false, "show field debug output")

// DB Config
Expand Down Expand Up @@ -119,7 +116,7 @@ func main() {

appCtx := appcontext.NewAppContext(dbConnection, logger, nil)

moveID := v.GetString(moveIDFlag)
moveID := v.GetString(PPMShipmentIDFlag)
if moveID == "" {
log.Fatalf("Usage: %s --move <29cb984e-c70d-46f0-926d-cd89e07a6ec3>", os.Args[0])
}
Expand All @@ -137,9 +134,8 @@ func main() {
formFiller.Debug()
}

move, err := models.FetchMoveByMoveID(dbConnection, parsedID)
if err != nil {
log.Fatalf("error fetching move: %s", moveIDFlag)
log.Fatalf("error fetching ppmshipment: %s", PPMShipmentIDFlag)
}

geocodeEndpoint := os.Getenv("HERE_MAPS_GEOCODE_ENDPOINT")
Expand All @@ -148,62 +144,25 @@ func main() {
testAppCode := os.Getenv("HERE_MAPS_APP_CODE")
hereClient := &http.Client{Timeout: hereRequestTimeout}

// TODO: Future cleanup will need to remap to a different planner, or this command should be removed if it is consider deprecated
// TODO: Future cleanup will need to remap to a different planner, but this command should remain for testing purposes
planner := route.NewHEREPlanner(hereClient, geocodeEndpoint, routingEndpoint, testAppID, testAppCode)
ppmComputer := paperwork.NewSSWPPMComputer(rateengine.NewRateEngine(move))
ppmComputer := shipmentsummaryworksheet.NewSSWPPMComputer()

ssfd, err := models.FetchDataShipmentSummaryWorksheetFormData(dbConnection, &auth.Session{}, parsedID)
ssfd, err := ppmComputer.FetchDataShipmentSummaryWorksheetFormData(appCtx, &auth.Session{}, parsedID)
if err != nil {
log.Fatalf("%s", errors.Wrap(err, "Error fetching shipment summary worksheet data "))
}
ssfd.Obligations, err = ppmComputer.ComputeObligations(appCtx, ssfd, planner)
ssfd.Obligations, err = ppmComputer.ComputeObligations(appCtx, *ssfd, planner)
if err != nil {
log.Fatalf("%s", errors.Wrap(err, "Error calculating obligations "))
}

page1Data, page2Data, page3Data, err := models.FormatValuesShipmentSummaryWorksheet(ssfd)
page1Data, page2Data := ppmComputer.FormatValuesShipmentSummaryWorksheet(*ssfd)
noErr(err)

// page 1
page1Layout := paperwork.ShipmentSummaryPage1Layout
page1Template, err := assets.Asset(page1Layout.TemplateImagePath)
noErr(err)

page1Reader := bytes.NewReader(page1Template)
err = formFiller.AppendPage(page1Reader, page1Layout.FieldsLayout, page1Data)
noErr(err)

// page 2
page2Layout := paperwork.ShipmentSummaryPage2Layout
page2Template, err := assets.Asset(page2Layout.TemplateImagePath)
noErr(err)

page2Reader := bytes.NewReader(page2Template)
err = formFiller.AppendPage(page2Reader, page2Layout.FieldsLayout, page2Data)
noErr(err)

// page 3
page3Layout := paperwork.ShipmentSummaryPage3Layout
page3Template, err := assets.Asset(page3Layout.TemplateImagePath)
ppmGenerator := shipmentsummaryworksheet.NewSSWPPMGenerator()
ssw, info, err := ppmGenerator.FillSSWPDFForm(page1Data, page2Data)
noErr(err)

page3Reader := bytes.NewReader(page3Template)
err = formFiller.AppendPage(page3Reader, page3Layout.FieldsLayout, page3Data)
noErr(err)

filename := fmt.Sprintf("shipment-summary-worksheet-%s.pdf", time.Now().Format(time.RFC3339))

output, err := os.Create(filename)
noErr(err)

defer func() {
if closeErr := output.Close(); closeErr != nil {
logger.Error("Could not close output file", zap.Error(closeErr))
}
}()

err = formFiller.Output(output)
noErr(err)

fmt.Println(filename)
fmt.Println(ssw.Name()) // Should always return
fmt.Println(info.PageCount) // Page count should always be 2
// This is a testing command, above lines log information on whether PDF was generated successfully.
}
8 changes: 7 additions & 1 deletion cmd/milmove/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,12 @@ func buildRoutingConfig(appCtx appcontext.AppContext, v *viper.Viper, redisPool

featureFlagFetcher, err := featureflag.NewFeatureFlagFetcher(cli.GetFliptFetcherConfig(v))
if err != nil {
appCtx.Logger().Fatal("Could not instantiate feature flag featcher", zap.Error(err))
appCtx.Logger().Fatal("Could not instantiate feature flag fetcher", zap.Error(err))
}

envFetcher, err := featureflag.NewEnvFetcher(cli.GetFliptFetcherConfig(v))
if err != nil {
appCtx.Logger().Fatal("Could not instantiate env fetcher", zap.Error(err))
}

routingConfig.HandlerConfig = handlers.NewHandlerConfig(
Expand All @@ -562,6 +567,7 @@ func buildRoutingConfig(appCtx appcontext.AppContext, v *viper.Viper, redisPool
appNames,
sessionManagers,
featureFlagFetcher,
envFetcher,
)

initializeRouteOptions(v, routingConfig)
Expand Down
1 change: 1 addition & 0 deletions config/env/demo.app-client-tls.env
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ TELEMETRY_ENABLED=true
TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
TLS_ENABLED=true
FEATURE_FLAG_MULTI_MOVE=false
1 change: 1 addition & 0 deletions config/env/demo.app.env
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
TLS_ENABLED=true
SERVE_PRIME_SIMULATOR=true
FEATURE_FLAG_MULTI_MOVE=false
1 change: 1 addition & 0 deletions config/env/exp.app-client-tls.env
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ TLS_ENABLED=true
TELEMETRY_ENABLED=false
TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=false
FEATURE_FLAG_MULTI_MOVE=false
1 change: 1 addition & 0 deletions config/env/exp.app.env
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ SERVE_PRIME_SIMULATOR=true
TELEMETRY_ENABLED=true
TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
FEATURE_FLAG_MULTI_MOVE=true
1 change: 1 addition & 0 deletions config/env/loadtest.app-client-tls.env
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ TELEMETRY_ENABLED=true
TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
TLS_ENABLED=true
FEATURE_FLAG_MULTI_MOVE=false
6 changes: 5 additions & 1 deletion config/env/loadtest.app.env
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ SERVE_ADMIN=true
SERVE_API_GHC=true
SERVE_API_INTERNAL=true
SERVE_CLIENT_COLLECTOR=true
SERVE_SWAGGER_UI=false
SERVE_SWAGGER_UI=true
TELEMETRY_ENABLED=true
TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
TLS_ENABLED=true
SERVE_PRIME_SIMULATOR=true
GEX_SEND_PROD_INVOICE=false
GEX_URL=https://gexb.gw.daas.dla.mil/msg_data/submit/
FEATURE_FLAG_MULTI_MOVE=false
1 change: 1 addition & 0 deletions config/env/prd.app-client-tls.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ TELEMETRY_ENABLED=true
TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
TLS_ENABLED=true
FEATURE_FLAG_MULTI_MOVE=false
1 change: 1 addition & 0 deletions config/env/prd.app.env
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
TLS_ENABLED=true
SERVE_PRIME_SIMULATOR=false
FEATURE_FLAG_MULTI_MOVE=false
1 change: 1 addition & 0 deletions config/env/stg.app-client-tls.env
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ TELEMETRY_ENABLED=true
TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
TLS_ENABLED=true
FEATURE_FLAG_MULTI_MOVE=false
1 change: 1 addition & 0 deletions config/env/stg.app.env
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ TELEMETRY_ENDPOINT=localhost:4317
TELEMETRY_USE_XRAY_ID=true
TLS_ENABLED=true
SERVE_PRIME_SIMULATOR=true
FEATURE_FLAG_MULTI_MOVE=false
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ require (
github.com/gobuffalo/pop/v6 v6.1.1
github.com/gobuffalo/validate/v3 v3.3.3
github.com/gocarina/gocsv v0.0.0-20221216233619-1fea7ae8d380
github.com/goccy/go-json v0.10.2
github.com/gofrs/uuid v4.4.0+incompatible
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/gomodule/redigo v1.8.9
Expand Down Expand Up @@ -104,7 +105,6 @@ require (
require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/lestrrat-go/backoff/v2 v2.0.8 // indirect
github.com/lestrrat-go/blackmagic v1.0.2 // indirect
github.com/lestrrat-go/httpcc v1.0.1 // indirect
Expand Down
6 changes: 5 additions & 1 deletion migrations/app/migrations_manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,10 @@
20231226174935_create_ppm_documents_triggers.up.sql
20240103174317_add_customer_expense.up.sql
20240109200110_add_address_columns_to_ppmshipments4.up.sql
20240112205201_remove_ppm_estimated_weight.up.sql
20240119005610_add_authorized_end_date_to_mto_services_items.up.sql
20240123213917_update_shipment_address_update_table_sit_and_distance_columns.up.sql
20240124153121_remove_ppmid_from_signedcertification_table.up.sql
20240124155759_20240124-homesafeconnect-cert.up.sql
20240129153006_20240129-homesafeconnect-cert.up.sql
20240201174442_20240201_homesafe_prd_cert.up.sql
20240201201343_update_duty_location_names.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table moves drop column ppm_estimated_weight;
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';
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';
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 */
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- update the duty_location_names values to properly associate with the value on the duty_locations table
UPDATE duty_location_names SET name = 'Ft Novosel' WHERE name = 'Ft Rucker';
UPDATE duty_location_names SET name = 'Ft Gregg-Adams' WHERE name = 'Ft Lee';
UPDATE duty_location_names SET name = 'Ft Cavazos' WHERE name = 'Ft Hood';
UPDATE duty_location_names SET name = 'Ft Liberty' WHERE name = 'Ft Bragg';
UPDATE duty_location_names SET name = 'Ft Johnson' WHERE name = 'Ft Polk';
UPDATE duty_location_names SET name = 'Ft Eisenhower' WHERE name = 'Ft Gordon';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- 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.
-- DO NOT include any sensitive data.
17 changes: 17 additions & 0 deletions pkg/apperror/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,23 @@ func (e *NotFoundError) Unwrap() error {
return e.err
}

type PPMNotReadyForCloseoutError struct {
id uuid.UUID
message string
}

// NewNotFoundError returns an error for when a struct can not be found
func NewPPMNotReadyForCloseoutError(id uuid.UUID, message string) PPMNotReadyForCloseoutError {
return PPMNotReadyForCloseoutError{
id: id,
message: message,
}
}

func (e PPMNotReadyForCloseoutError) Error() string {
return fmt.Sprintf("ID: %s - PPM Shipment is not ready for closeout. Customer must upload PPM documents. %s", e.id.String(), e.message)
}

// ErrorCode contains error codes for the route package
type ErrorCode string

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

{{if .OriginDutyLocation}}<p>If you have any questions, call the {{.OriginDutyLocation}} PPPO at {{.OriginDutyLocationPhoneLine}} and reference your move locator code: {{.Locator}}</p>{{end}}

<p>You can <a href="https://my.move.mil">check the status of your move</a> anytime at https://my.move.mil"</p>
<p>You can <a href="{{.MyMoveLink}}">check the status of your move</a> anytime at {{.MyMoveLink}}"</p>
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Be sure to save your weight tickets and any receipts associated with your move.

{{if .OriginDutyLocation}}If you have any questions, call the {{.OriginDutyLocation}} PPPO at {{.OriginDutyLocationPhoneLine}} and reference move locator code: {{.Locator}}.{{end}}

You can check the status of your move anytime at https://my.move.mil"
You can check the status of your move anytime at {{.MyMoveLink}}"
24 changes: 24 additions & 0 deletions pkg/assets/notifications/templates/move_counseled_template.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<p>*** DO NOT REPLY directly to this email ***</p>

<p>This is a confirmation that your counselor has approved move details for the <strong>assigned move code{{if or (not .Locator) (not .OriginDutyLocation) (not .DestinationDutyLocation)}}</strong>{{end}}{{if and .Locator .OriginDutyLocation .DestinationDutyLocation}} {{.Locator}}</strong> from {{.OriginDutyLocation}} to {{.DestinationDutyLocation}} in the MilMove system{{end}}.</p>

<p>What this means to you:</br>
If you are doing a Personally Procured Move (PPM), you can start moving your personal property.</p>

<p><strong>Next steps for a PPM:</strong>
<ul>
<li>Remember to get legible certified weight tickets for both the empty and full weights for every trip you perform. If you do not upload legible certified weight tickets, your PPM incentive could be affected.</li>
<li>If your counselor approved an Advance Operating Allowance (AOA, or cash advance) for a PPM, log into <a href="{{.MyMoveLink}}">MilMove</a> to download your AOA Packet, and submit it to finance according to the instructions provided by your counselor. If you have been directed to use your government travel charge card (GTCC) for expenses no further action is required.</li>
<li>Once you complete your PPM, log into <a href="{{.MyMoveLink}}">MilMove</a>, upload your receipts and weight tickets, and submit your PPM for review.</li>
</ul>

<p><strong>Next steps for government arranged shipments:</strong></br>
<ul>
<li>Your move request will be reviewed by the responsible personal property shipping office and a move task order for services will be placed with HomeSafe Alliance.</li>
<li>Once this order is placed, you will receive an e-mail invitation to create an account in HomeSafe Connect (check your spam or junk folder). This is the system you will use to schedule your pre-move survey.</li>
<li>HomeSafe is required to contact you within 24 hours of receiving your move task order. Once contact has been established, HomeSafe is your primary point of contact. If any information about your move changes at any point during the move, immediately notify your HomeSafe Customer Care Representative of the changes. Remember to keep your contact information updated in MilMove.</li>
</ul>
<p>Thank you,<br>
USTRANSCOM MilMove Team</p>

<p>The information contained in this email may contain Privacy Act information and is therefore protected under the Privacy Act of 1974. Failure to protect Privacy Act information could result in a $5,000 fine.</p>
Loading
Loading