Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
c6d4976
Restore geoserver layer configuration (#4761)
asanchezr Apr 17, 2025
82bfbd9
CI: Bump version to v5.9.0-102.47
github-actions[bot] Apr 17, 2025
155fb5e
Bump version - 5.10 (#4763)
asanchezr Apr 18, 2025
8eb0aca
CI: Bump version to v5.10.0-103.1
github-actions[bot] Apr 18, 2025
dbc9e7a
IS-103.00 Database Schema
dfilteau Apr 17, 2025
e736d1b
Merge pull request #4762 from dfilteau/IS-103.00
devinleighsmith Apr 18, 2025
3655954
CI: Bump version to v5.10.0-103.2
github-actions[bot] Apr 18, 2025
812f333
IS103 scaffold. (#4764)
devinleighsmith Apr 19, 2025
1d8c2de
CI: Bump version to v5.10.0-103.3
github-actions[bot] Apr 19, 2025
b00f166
psp-9521 WIP basic management framework. (#4765)
devinleighsmith Apr 24, 2025
555324a
CI: Bump version to v5.10.0-103.4
github-actions[bot] Apr 24, 2025
cf6afcc
Management sidebar, icon, navigation. (#4767)
devinleighsmith Apr 24, 2025
69a7b45
CI: Bump version to v5.10.0-103.5
github-actions[bot] Apr 24, 2025
9986869
Merge remote-tracking branch 'upstream/test' into backmerge_test_into…
asanchezr Apr 24, 2025
b962bc4
Backmerge test into dev (#4771)
asanchezr Apr 25, 2025
c91bb27
CI: Bump version to v5.10.0-103.6
github-actions[bot] Apr 25, 2025
9cc4640
Merge pull request #4772 from devinleighsmith/psp-10243
devinleighsmith Apr 29, 2025
a9b3240
CI: Bump version to v5.10.0-103.7
github-actions[bot] Apr 29, 2025
d81b837
PSP-10312 Management File Notes (#4774)
asanchezr Apr 29, 2025
4feab1d
CI: Bump version to v5.10.0-103.8
github-actions[bot] Apr 29, 2025
95ac0bc
Psp 9521 - corrections. (#4776)
devinleighsmith Apr 30, 2025
bde78c0
CI: Bump version to v5.10.0-103.9
github-actions[bot] Apr 30, 2025
e760eb0
psp-10072 | Historic compensation requisitions (#4773)
FuriousLlama May 1, 2025
d3d3cc0
CI: Bump version to v5.10.0-103.10
github-actions[bot] May 1, 2025
cfd3167
PSP-10252: Automation updates IS103 (#4780)
stairaku May 2, 2025
f2de48c
CI: Bump version to v5.10.0-103.11
github-actions[bot] May 2, 2025
cda269c
PSP-10220 Management File Documents (#4777)
asanchezr May 2, 2025
d5b8b2a
CI: Bump version to v5.10.0-103.12
github-actions[bot] May 2, 2025
a63b26f
PSP-10171 : FT-REG: Lease and Licenses - When user inserts the Admini…
eddherrera May 2, 2025
c54052a
CI: Bump version to v5.10.0-103.13
github-actions[bot] May 2, 2025
21afd9e
PSP-10326 fix (#4782)
stairaku May 2, 2025
709de35
CI: Bump version to v5.10.0-103.14
github-actions[bot] May 2, 2025
e82987a
psp-10042 correct ability to delete documents. (#4778)
devinleighsmith May 2, 2025
b444aaf
CI: Bump version to v5.10.0-103.15
github-actions[bot] May 2, 2025
913f555
PSP-10056, PSP-10302: Toast UI/UX +Changing green toast for blue toas…
stairaku May 2, 2025
9074def
CI: Bump version to v5.10.0-103.16
github-actions[bot] May 2, 2025
42254db
Psp 10329 fix (#4779)
devinleighsmith May 2, 2025
086392f
CI: Bump version to v5.10.0-103.17
github-actions[bot] May 2, 2025
af55c8c
PSP-10114 fix (#4785)
stairaku May 3, 2025
5aeb435
CI: Bump version to v5.10.0-103.18
github-actions[bot] May 3, 2025
b3a0088
add edit page for management screen to file router. (#4784)
devinleighsmith May 3, 2025
dd0f204
CI: Bump version to v5.10.0-103.19
github-actions[bot] May 3, 2025
0baf93f
PSP-10073 | Historical date fix (#4790)
FuriousLlama May 7, 2025
d2f66d5
CI: Bump version to v5.10.0-103.20
github-actions[bot] May 7, 2025
8bfc351
Merge remote-tracking branch 'upstream/test' into backmerge-test-to-dev
asanchezr May 7, 2025
aaeabc9
Merge pull request #4791 from asanchezr/backmerge-test-to-dev
asanchezr May 8, 2025
91071e0
CI: Bump version to v5.10.0-103.21
github-actions[bot] May 8, 2025
505dd59
PSP-8629 create management activity (#4788)
asanchezr May 8, 2025
dc641f3
CI: Bump version to v5.10.0-103.22
github-actions[bot] May 8, 2025
b449d84
PSP-10098 Track keycloak events with browser telemetry (#4766)
asanchezr May 9, 2025
7f59751
CI: Bump version to v5.10.0-103.23
github-actions[bot] May 9, 2025
6257b39
Increment DEV version - IS104 (#4793)
asanchezr May 9, 2025
aabc651
CI: Bump version to v5.10.0-104.1
github-actions[bot] May 9, 2025
64df2e6
psp-10346 make management icon visible. (#4794)
devinleighsmith May 9, 2025
c9c0e01
CI: Bump version to v5.10.0-104.2
github-actions[bot] May 9, 2025
4db3154
Merge remote-tracking branch 'upstream/test' into backmerge_dev_to_test
devinleighsmith May 12, 2025
f398320
Merge pull request #4797 from devinleighsmith/backmerge_dev_to_test
asanchezr May 12, 2025
851f669
CI: Bump version to v5.10.0-104.3
github-actions[bot] May 12, 2025
34b7022
psp-10456 updates to strata common property calculation. (#4795)
devinleighsmith May 12, 2025
3bd6af7
CI: Bump version to v5.10.0-104.4
github-actions[bot] May 12, 2025
bcd4dd6
IS-104.00 Database Schema (#4789)
dfilteau May 12, 2025
41b424c
CI: Bump version to v5.10.0-104.5
github-actions[bot] May 12, 2025
2116467
DB104 - Scaffold (#4798)
eddherrera May 12, 2025
0cd7afc
CI: Bump version to v5.10.0-104.6
github-actions[bot] May 12, 2025
6512b66
Merge pull request #4799 from asanchezr/psp-10468-react-error-contacts
asanchezr May 12, 2025
b7bd690
CI: Bump version to v5.10.0-104.7
github-actions[bot] May 12, 2025
e3b7f2a
PSP-10160 fix (#4800)
stairaku May 12, 2025
a0bac48
CI: Bump version to v5.10.0-104.8
github-actions[bot] May 12, 2025
cf74da8
PSP-10474 : Management File - Migrate Program Type to Purpose Type (#…
eddherrera May 13, 2025
2567a66
CI: Bump version to v5.10.0-104.9
github-actions[bot] May 13, 2025
7148dc7
PSP-10287: Clean Up - Date Pop-up - uncover (#4802)
stairaku May 13, 2025
62299d2
CI: Bump version to v5.10.0-104.10
github-actions[bot] May 13, 2025
c18f94c
Merge remote-tracking branch 'upstream/test' into backmerge_test_to_dev
devinleighsmith May 14, 2025
85985cf
Regenerated snaps
FuriousLlama May 14, 2025
4c9118c
Merge pull request #4806 from devinleighsmith/backmerge_test_to_dev
FuriousLlama May 14, 2025
8e53513
CI: Bump version to v5.10.0-104.11
github-actions[bot] May 14, 2025
3f8b6ec
PSP-103100: Management File automated test cases, Leases Team (#4810)
stairaku May 16, 2025
9bfc299
CI: Bump version to v5.10.0-104.12
github-actions[bot] May 16, 2025
ae8fccc
psp-10346 activity list view + delete.
devinleighsmith May 14, 2025
a588a21
fix unused variable warning.
devinleighsmith May 14, 2025
ef6f4d1
psp-10346 test updates.
devinleighsmith May 20, 2025
228bbbc
remove unused test file.
devinleighsmith May 20, 2025
05afce2
psp-10350 Backend | Property documents (#4805)
FuriousLlama May 21, 2025
18f0cb1
CI: Bump version to v5.10.0-104.13
github-actions[bot] May 21, 2025
44a2e4c
Merge branch 'dev' into psp-10346
asanchezr May 21, 2025
ad64d24
psp-10346 test corrections, code review corrections.
devinleighsmith May 20, 2025
82b9172
code review comments.
devinleighsmith May 20, 2025
0b34cbd
Merge pull request #4809 from devinleighsmith/psp-10346
devinleighsmith May 21, 2025
c8462d6
CI: Bump version to v5.10.0-104.14
github-actions[bot] May 21, 2025
422027e
Psp 10275 update property (name and activity business rule) (#4812)
devinleighsmith May 21, 2025
0a42560
CI: Bump version to v5.10.0-104.15
github-actions[bot] May 21, 2025
532ef86
WIP
devinleighsmith May 22, 2025
36494f1
psp-10367 activity summaries.
devinleighsmith May 22, 2025
c131874
formatter corrections.
devinleighsmith May 22, 2025
e66c9e5
save pending file changes.
devinleighsmith May 22, 2025
0eef4a5
PSP-10370 : Activity Management List View
May 22, 2025
414e3bf
Merge branch 'dev' into psp-10370
May 22, 2025
ae0cc0a
fix copy/paste error on add management tab names. (#4815)
devinleighsmith May 22, 2025
8e57394
CI: Bump version to v5.10.0-104.16
github-actions[bot] May 22, 2025
3784bf2
psp-10356 add missing org tenant include to correct fiscal report. (#…
devinleighsmith May 22, 2025
58d7abe
CI: Bump version to v5.10.0-104.17
github-actions[bot] May 22, 2025
8d31f55
increase keycloak sync timeout in prod. (#4816)
devinleighsmith May 22, 2025
58718eb
CI: Bump version to v5.10.0-104.18
github-actions[bot] May 22, 2025
e1e80ee
psp-10465 correct toast close button issues. (#4817)
devinleighsmith May 22, 2025
80a7188
CI: Bump version to v5.10.0-104.19
github-actions[bot] May 22, 2025
2518b9c
PSP-10352 Property Notes (#4813)
asanchezr May 23, 2025
f29497e
CI: Bump version to v5.10.0-104.20
github-actions[bot] May 23, 2025
c555f47
- Reports
May 23, 2025
ee3fd4b
Merge branch 'dev' into psp-10370
May 23, 2025
665c118
sort by request added dt.
devinleighsmith May 26, 2025
a4618e2
Merge pull request #4820 from eddherrera/psp-8837
eddherrera May 26, 2025
e643aca
CI: Bump version to v5.10.0-104.21
github-actions[bot] May 26, 2025
4e1e83a
Merge branch 'dev' into psp-10370
May 27, 2025
f0d95d8
- updates
May 27, 2025
158ddc3
- test updates
May 27, 2025
4c76979
PSP-10478 : FT-REG: Search Property tab - When a user looks for a pro…
eddherrera May 27, 2025
2b95a02
CI: Bump version to v5.10.0-104.22
github-actions[bot] May 27, 2025
dad445b
psp-10444 display a summary of notes for a given properties managemen…
devinleighsmith May 27, 2025
3da1257
CI: Bump version to v5.10.0-104.23
github-actions[bot] May 27, 2025
4124d40
PSP-10345 Edit management activity (#4807)
asanchezr May 28, 2025
81950da
CI: Bump version to v5.10.0-104.24
github-actions[bot] May 28, 2025
c061174
Merge remote-tracking branch 'upstream/dev' into psp-10367
devinleighsmith May 28, 2025
4763468
Merge pull request #4814 from devinleighsmith/psp-10367
devinleighsmith May 28, 2025
5b54c9f
CI: Bump version to v5.10.0-104.25
github-actions[bot] May 28, 2025
e878dd7
- updates
May 28, 2025
f390858
PSP-10445 File Note Property Summary (#4824)
asanchezr May 28, 2025
78f4caa
CI: Bump version to v5.10.0-104.26
github-actions[bot] May 28, 2025
32758d6
Merge branch 'dev' into psp-10370
May 28, 2025
35c6011
- updates
May 28, 2025
fe95871
- updates
May 29, 2025
70b5f26
- styled updates
May 29, 2025
4342755
PSP-10319, PSP-10535 UI fixes (#4826)
asanchezr May 29, 2025
d497689
CI: Bump version to v5.10.0-104.27
github-actions[bot] May 29, 2025
3cf2f65
- updates
May 29, 2025
cf72399
Merge branch 'dev' into psp-10370
devinleighsmith May 29, 2025
981bc1c
psp-10366 & psp-10368 & psp-10369 | Document sumary (#4823)
FuriousLlama May 29, 2025
bceaac7
CI: Bump version to v5.10.0-104.28
github-actions[bot] May 29, 2025
8bfa0b4
Merge branch 'dev' into psp-10370
devinleighsmith May 29, 2025
18ee5de
Merge pull request #4819 from eddherrera/psp-10370
devinleighsmith May 29, 2025
45675de
CI: Bump version to v5.10.0-104.29
github-actions[bot] May 29, 2025
0625207
Merge pull request #4828 from devinleighsmith/5.10_uat_release
JamesPayer May 29, 2025
8acf7a6
PSP-8964 and PSP-10303
stairaku May 29, 2025
951d7ae
Lint files
stairaku May 29, 2025
31a55ed
Merge branch 'PSP-8964' of https://github.com/stairaku/PSP into PSP-8964
stairaku May 29, 2025
a8351e3
Deleting unncessary code
stairaku May 29, 2025
30550fe
Moved methods to the correct controller. Fixed navigation on manageme…
FuriousLlama May 29, 2025
d0b528c
Bump version number - 105 (#4830)
asanchezr May 29, 2025
6280250
CI: Bump version to v5.11.0-105.1
github-actions[bot] May 29, 2025
5f3f455
Merge branch 'dev' into PSP-8964
asanchezr May 29, 2025
d98b551
PSP-8964, PSP-10303: Select height, Address, POI and Multiselect opti…
stairaku May 29, 2025
ef9172b
CI: Bump version to v5.11.0-105.2
github-actions[bot] May 29, 2025
ed88699
Updated tests
FuriousLlama May 30, 2025
5d0c0f8
lint fix
FuriousLlama May 30, 2025
29efef3
Pr fixes
FuriousLlama May 30, 2025
3548bcb
Merge branch 'bcgov:dev' into PSP-8964
stairaku Jun 2, 2025
181cfd9
Merge pull request #4832 from FuriousLlama/bugs/psp-10544
FuriousLlama Jun 2, 2025
953bb6b
Fixing inserted bug
stairaku Jun 2, 2025
c91826f
lint fix
stairaku Jun 2, 2025
fe755d7
Merge branch 'PSP-8964' of https://github.com/stairaku/PSP into PSP-8964
stairaku Jun 2, 2025
893acd8
Bump UAT hotfix number (#4834)
asanchezr Jun 2, 2025
386d055
Changing px to rem
stairaku Jun 2, 2025
eb87fdf
Merge pull request #4833 from stairaku/PSP-8964
stairaku Jun 2, 2025
fc03894
Fixed documents being editable even if the list is not editable (#4835)
FuriousLlama Jun 2, 2025
d8c8ea8
PSP-10439 : FT-REG: When trying to delete properties from a file that…
eddherrera Jun 2, 2025
97700d1
CI: Bump version to v5.11.0-105.3
github-actions[bot] Jun 2, 2025
c9d70e4
IS-105.00 Reload (#4831)
dfilteau Jun 5, 2025
2c68fa1
IS105.00 : DB - Scaffold
Jun 5, 2025
8e6dd76
Merge pull request #4838 from eddherrera/scaffold/s105
devinleighsmith Jun 5, 2025
854eb0e
CI: Bump version to v5.11.0-105.4
github-actions[bot] Jun 5, 2025
b7a9df8
Project Solution Refactor (#4811)
FuriousLlama Jun 6, 2025
ce5786f
CI: Bump version to v5.11.0-105.5
github-actions[bot] Jun 6, 2025
c59f22d
PSP-10342 PIMS File’s properties show polygons differently (#4837)
asanchezr Jun 6, 2025
746eb4e
CI: Bump version to v5.11.0-105.6
github-actions[bot] Jun 6, 2025
df4a1a5
Updated 051_PIMS_PROPERTY_ACTIVITY.sql in Test Data (#4840)
dfilteau Jun 9, 2025
0fc23ca
CI: Bump version to v5.11.0-105.7
github-actions[bot] Jun 9, 2025
04a9a75
PSP-10300: Automation testing - IS103 (#4841)
stairaku Jun 11, 2025
ddb6344
CI: Bump version to v5.11.0-105.8
github-actions[bot] Jun 11, 2025
cd81129
Fixed token validation logic
FuriousLlama Jun 13, 2025
132f427
Version bump
FuriousLlama Jun 16, 2025
2a0e7b5
Merge pull request #4844 from FuriousLlama/bugs/psp-10482
FuriousLlama Jun 16, 2025
0848929
Merge remote-tracking branch 'upstream/test' into backmerge-test-to-dev
asanchezr Jun 16, 2025
1909cd6
Merge pull request #4848 from asanchezr/backmerge-test-to-dev
asanchezr Jun 16, 2025
6f274ff
CI: Bump version to v5.11.0-105.9
github-actions[bot] Jun 16, 2025
794eae1
PSP-10521 Order for Properties in Files (#4846)
asanchezr Jun 17, 2025
4efa605
CI: Bump version to v5.11.0-105.10
github-actions[bot] Jun 17, 2025
275dad6
PSP-8614 : PIMS Management Tab – Add Activity: Activity Details (Sub-…
eddherrera Jun 17, 2025
3de7e6c
CI: Bump version to v5.11.0-105.11
github-actions[bot] Jun 17, 2025
0bbee0b
PSP-10588 : Property Management Tab - user is not able to create/edit…
eddherrera Jun 19, 2025
4757979
CI: Bump version to v5.11.0-105.12
github-actions[bot] Jun 19, 2025
ef396f3
PSP-10564 Unable to Expose Lease & Licence files by clicking Hyperlin…
asanchezr Jun 19, 2025
1f5ce20
CI: Bump version to v5.11.0-105.13
github-actions[bot] Jun 19, 2025
ab6f3ae
Merge remote-tracking branch 'upstream/dev' into uat-release-105
asanchezr Jun 19, 2025
b69d729
Merge pull request #4856 from asanchezr/uat-release-105
devinleighsmith Jun 19, 2025
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
  •  
  •  
  •  
38 changes: 23 additions & 15 deletions .github/workflows/api-dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ jobs:
matrix:
services:
[
{ directory: ./source/backend/api, solution: "Pims.sln" },
{ directory: ./source/backend/proxy, solution: "Proxy.sln" },
{ directory: ./source/backend/api, solution: "Pims.Api.csproj" },
{
directory: ./source/backend/proxy,
solution: "Pims.Proxy.csproj",
},
{
directory: ./source/backend/scheduler,
solution: "Scheduler.sln",
solution: "Pims.Scheduler.csproj",
},
{ directory: ./source/backend/tests, solution: "PimsUnitTest.sln" },
]
env:
working-directory: ${{ matrix.services.directory }}
Expand Down Expand Up @@ -65,12 +69,13 @@ jobs:
working-directory: ${{env.working-directory}}

- name: Install coverlet for code coverage
if: ${{ env.solution-name == 'PimsUnitTest.sln' }}
run: dotnet tool install -g coverlet.console --version 1.7.2
working-directory: ${{env.working-directory}}

- name: Test
if: ${{ env.solution-name == 'Pims.sln' }}
run: dotnet test Pims.sln --no-restore --verbosity normal
if: ${{ env.solution-name == 'PimsUnitTest.sln' }}
run: dotnet test PimsUnitTest.sln --no-restore --verbosity normal
working-directory: ${{env.working-directory}}

# For future reference, if we have N test projects the flow of events would be:
Expand All @@ -97,41 +102,44 @@ jobs:
#
# The final `coverage.opencover.xml` is the one we want
- name: Generate code coverage
if: ${{ env.solution-name == 'Pims.sln' }}
working-directory: ${{env.working-directory}}/../tests/unit
if: ${{ env.solution-name == 'PimsUnitTest.sln' }}
working-directory: ${{env.working-directory}}
run: |
pwd
mkdir -p TestResults
rm -rf api/TestResults
rm -rf dal/TestResults
rm -rf mockdal/TestResults
rm -rf scheduler/TestResults
cd api
dotnet test --collect:"XPlat Code Coverage" --settings coverlet.runsettings --no-restore > out.txt
ls
cat out.txt
dotnet test --collect:"XPlat Code Coverage" --settings coverlet.runsettings --no-restore
mv TestResults/*/* ../TestResults/
cd ..
cd dal
dotnet test --collect:"XPlat Code Coverage" --settings coverlet.runsettings --no-restore
ls
mv TestResults/*/* ../TestResults/
cd ..
cd mockdal
dotnet test --collect:"XPlat Code Coverage" --settings coverlet.runsettings --no-restore
ls
mv TestResults/*/* ../TestResults/
cd ..
cd scheduler
dotnet test --collect:"XPlat Code Coverage" --settings coverlet.runsettings --no-restore
mv TestResults/*/* ../TestResults/
cd ..
echo "TestResults folder"
ls TestResults
head TestResults/coverage.opencover.xml

- name: Save PR number and scan results
if: ${{ env.solution-name == 'Pims.sln' }}
if: ${{ env.solution-name == 'PimsUnitTest.sln' }}
run: |
mkdir -p ./pr
echo ${{ github.event.pull_request.number }} > ./pr/NR
cp ${{env.working-directory}}/../tests/unit/TestResults/coverage.opencover.xml ./pr
cp ${{env.working-directory}}/TestResults/coverage.opencover.xml ./pr

- uses: actions/upload-artifact@v4
if: ${{ env.solution-name == 'Pims.sln' }}
if: ${{ env.solution-name == 'PimsUnitTest.sln' }}
with:
name: pr-codecov
path: pr/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod-start-argo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ jobs:
- name: call scripts to sync keycloak
shell: bash
run: |
oc process -f ./openshift/4.0/templates/jobs/keycloak-sync-pipeline-run.yaml -p ASPNETCORE_ENVIRONMENT=$ASPNETCORE_ENVIRONMENT -p NAMESPACE=3cd915-prod -p BRANCH=$GIT_BRANCH -p API_URL=http://pims-api-prod:8080/api | oc create -f - | grep -oP "(?<=\/)[^\s]*" | (read PIPELINE_NAME; oc wait --for=condition=succeeded pipelineruns/$PIPELINE_NAME --timeout=500s)
oc process -f ./openshift/4.0/templates/jobs/keycloak-sync-pipeline-run.yaml -p ASPNETCORE_ENVIRONMENT=$ASPNETCORE_ENVIRONMENT -p NAMESPACE=3cd915-prod -p BRANCH=$GIT_BRANCH -p API_URL=http://pims-api-prod:8080/api | oc create -f - | grep -oP "(?<=\/)[^\s]*" | (read PIPELINE_NAME; oc wait --for=condition=succeeded pipelineruns/$PIPELINE_NAME --timeout=720s)
1 change: 0 additions & 1 deletion source/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ EXPOSE 5001 5000
# Copy csproj and restore as distinct layers
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY api/*.sln api/
COPY Directory.Build.props .
COPY api/*.csproj api/
COPY apimodels/*.csproj apimodels/
Expand Down
2 changes: 1 addition & 1 deletion source/backend/Dockerfile.proxy
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY core.api core.api/
COPY keycloak keycloak/
COPY proxy/*.csproj proxy/

RUN dotnet restore proxy/Proxy.sln
RUN dotnet restore proxy/Pims.Proxy.csproj
ENV PATH="$PATH:/root/.dotnet/tools"
# Copy everything else and build
WORKDIR /src/proxy
Expand Down
2 changes: 1 addition & 1 deletion source/backend/Dockerfile.scheduler
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY core.api core.api/
COPY keycloak keycloak/
COPY scheduler/*.csproj scheduler/

RUN dotnet restore scheduler/Scheduler.sln
RUN dotnet restore scheduler/Pims.Scheduler.csproj
ENV PATH="$PATH:/root/.dotnet/tools"
# Copy everything else and build
WORKDIR /src/scheduler
Expand Down
91 changes: 91 additions & 0 deletions source/backend/PimsBackend.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.13.35828.75
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Api", "api\Pims.Api.csproj", "{16BC0468-78F6-4C91-87DA-7403C919E646}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Dal", "dal\Pims.Dal.csproj", "{6DFFF5E1-1B87-403B-99D0-A9E03D8A8EB3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Proxy", "proxy\Pims.Proxy.csproj", "{826D3B92-8D74-43F4-AD22-398632247E37}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Dal.Entities", "entities\Pims.Dal.Entities.csproj", "{1C724CD5-CD24-46CD-835A-A83F673F97B5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Api.Models", "apimodels\Pims.Api.Models.csproj", "{58C42283-68DA-477F-915D-C67597543546}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Scheduler", "scheduler\Pims.Scheduler.csproj", "{AC4336C5-5631-4D9D-B78F-6C2DF79A6F1F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Keycloak", "keycloak\Pims.Keycloak.csproj", "{970903E9-BC53-436F-BA77-C62349546425}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Dal.Keycloak", "dal.keycloak\Pims.Dal.Keycloak.csproj", "{5697DD19-62CC-4377-ABA8-1E192376F4F6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Core", "core\Pims.Core.csproj", "{AC8F04FF-3164-41FB-9EDF-E468B8B77837}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Core.Api", "core.api\Pims.Core.Api.csproj", "{89A99CC5-ADFB-4FC2-9136-7B0029EEA2D8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Geocoder", "geocoder\Pims.Geocoder.csproj", "{BF7450E8-B3C5-46FB-BEC1-C5FC1C5964DC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pims.Ltsa", "ltsa\Pims.Ltsa.csproj", "{1ED5DF03-7784-44EC-B02B-516167210CCF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{16BC0468-78F6-4C91-87DA-7403C919E646}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{16BC0468-78F6-4C91-87DA-7403C919E646}.Debug|Any CPU.Build.0 = Debug|Any CPU
{16BC0468-78F6-4C91-87DA-7403C919E646}.Release|Any CPU.ActiveCfg = Release|Any CPU
{16BC0468-78F6-4C91-87DA-7403C919E646}.Release|Any CPU.Build.0 = Release|Any CPU
{6DFFF5E1-1B87-403B-99D0-A9E03D8A8EB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6DFFF5E1-1B87-403B-99D0-A9E03D8A8EB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6DFFF5E1-1B87-403B-99D0-A9E03D8A8EB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6DFFF5E1-1B87-403B-99D0-A9E03D8A8EB3}.Release|Any CPU.Build.0 = Release|Any CPU
{826D3B92-8D74-43F4-AD22-398632247E37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{826D3B92-8D74-43F4-AD22-398632247E37}.Debug|Any CPU.Build.0 = Debug|Any CPU
{826D3B92-8D74-43F4-AD22-398632247E37}.Release|Any CPU.ActiveCfg = Release|Any CPU
{826D3B92-8D74-43F4-AD22-398632247E37}.Release|Any CPU.Build.0 = Release|Any CPU
{1C724CD5-CD24-46CD-835A-A83F673F97B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1C724CD5-CD24-46CD-835A-A83F673F97B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C724CD5-CD24-46CD-835A-A83F673F97B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C724CD5-CD24-46CD-835A-A83F673F97B5}.Release|Any CPU.Build.0 = Release|Any CPU
{58C42283-68DA-477F-915D-C67597543546}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{58C42283-68DA-477F-915D-C67597543546}.Debug|Any CPU.Build.0 = Debug|Any CPU
{58C42283-68DA-477F-915D-C67597543546}.Release|Any CPU.ActiveCfg = Release|Any CPU
{58C42283-68DA-477F-915D-C67597543546}.Release|Any CPU.Build.0 = Release|Any CPU
{AC4336C5-5631-4D9D-B78F-6C2DF79A6F1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AC4336C5-5631-4D9D-B78F-6C2DF79A6F1F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AC4336C5-5631-4D9D-B78F-6C2DF79A6F1F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AC4336C5-5631-4D9D-B78F-6C2DF79A6F1F}.Release|Any CPU.Build.0 = Release|Any CPU
{970903E9-BC53-436F-BA77-C62349546425}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{970903E9-BC53-436F-BA77-C62349546425}.Debug|Any CPU.Build.0 = Debug|Any CPU
{970903E9-BC53-436F-BA77-C62349546425}.Release|Any CPU.ActiveCfg = Release|Any CPU
{970903E9-BC53-436F-BA77-C62349546425}.Release|Any CPU.Build.0 = Release|Any CPU
{5697DD19-62CC-4377-ABA8-1E192376F4F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5697DD19-62CC-4377-ABA8-1E192376F4F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5697DD19-62CC-4377-ABA8-1E192376F4F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5697DD19-62CC-4377-ABA8-1E192376F4F6}.Release|Any CPU.Build.0 = Release|Any CPU
{AC8F04FF-3164-41FB-9EDF-E468B8B77837}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AC8F04FF-3164-41FB-9EDF-E468B8B77837}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AC8F04FF-3164-41FB-9EDF-E468B8B77837}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AC8F04FF-3164-41FB-9EDF-E468B8B77837}.Release|Any CPU.Build.0 = Release|Any CPU
{89A99CC5-ADFB-4FC2-9136-7B0029EEA2D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{89A99CC5-ADFB-4FC2-9136-7B0029EEA2D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{89A99CC5-ADFB-4FC2-9136-7B0029EEA2D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{89A99CC5-ADFB-4FC2-9136-7B0029EEA2D8}.Release|Any CPU.Build.0 = Release|Any CPU
{BF7450E8-B3C5-46FB-BEC1-C5FC1C5964DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BF7450E8-B3C5-46FB-BEC1-C5FC1C5964DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BF7450E8-B3C5-46FB-BEC1-C5FC1C5964DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BF7450E8-B3C5-46FB-BEC1-C5FC1C5964DC}.Release|Any CPU.Build.0 = Release|Any CPU
{1ED5DF03-7784-44EC-B02B-516167210CCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1ED5DF03-7784-44EC-B02B-516167210CCF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1ED5DF03-7784-44EC-B02B-516167210CCF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1ED5DF03-7784-44EC-B02B-516167210CCF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2198DDB0-E914-4A28-B5A7-64ED4CC99E98}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using Pims.Core.Security;
using Pims.Dal.Entities;
using Pims.Dal.Exceptions;
using Pims.Dal.Repositories;
using Swashbuckle.AspNetCore.Annotations;

namespace Pims.Api.Areas.Acquisition.Controllers
Expand All @@ -32,6 +33,7 @@ public class AcquisitionFileController : ControllerBase
{
#region Variables
private readonly IAcquisitionFileService _acquisitionService;
private readonly IAcquisitionFileRepository _acquisitionRepository;
private readonly IMapper _mapper;
private readonly ILogger _logger;
#endregion
Expand All @@ -45,9 +47,10 @@ public class AcquisitionFileController : ControllerBase
/// <param name="mapper"></param>
/// <param name="logger"></param>
///
public AcquisitionFileController(IAcquisitionFileService acquisitionService, IMapper mapper, ILogger<AcquisitionFileController> logger)
public AcquisitionFileController(IAcquisitionFileService acquisitionService, IAcquisitionFileRepository acquisitionFileRepository, IMapper mapper, ILogger<AcquisitionFileController> logger)
{
_acquisitionService = acquisitionService;
_acquisitionRepository = acquisitionFileRepository;
_mapper = mapper;
_logger = logger;
}
Expand Down Expand Up @@ -292,6 +295,25 @@ public IActionResult GetAcquisitionFileSubFiles(long id)
return new JsonResult(_mapper.Map<List<AcquisitionFileModel>>(subFiles));
}

[HttpGet("{id:long}/historical")]
[Produces("application/json")]
[HasPermission(Permissions.AcquisitionFileView)]
[ProducesResponseType(typeof(AcquisitionFileModel), 200)]
[SwaggerOperation(Tags = new[] { "acquisition" })]
[TypeFilter(typeof(NullJsonResultFilter))]
public IActionResult GetAcquisitionAtTime([FromRoute] long id, [FromQuery] DateTime time)
{
_logger.LogInformation(
"Request received by Controller: {Controller}, Action: {ControllerAction}, User: {User}, DateTime: {DateTime}",
nameof(AcquisitionFileController),
nameof(GetAcquisitionAtTime),
User.GetUsername(),
DateTime.Now);

var pimsAcquisition = _acquisitionRepository.GetAcquisitionAtTime(id, time);
return new JsonResult(_mapper.Map<AcquisitionFileModel>(pimsAcquisition));
}

#endregion
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public IActionResult AddAcquisitionFileAgreement([FromRoute] long id, [FromBody]
[Produces("application/json")]
[ProducesResponseType(typeof(AgreementModel), 200)]
[SwaggerOperation(Tags = new[] { "acquisitionfile" })]
public IActionResult GetAcquisitionFileAgreementById([FromRoute]long id, [FromRoute]long agreementId)
public IActionResult GetAcquisitionFileAgreementById([FromRoute] long id, [FromRoute] long agreementId)
{
_logger.LogInformation(
"Request received by Controller: {Controller}, Action: {ControllerAction}, User: {User}, DateTime: {DateTime}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ namespace Pims.Api.Areas.Acquisition.Controllers
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Pims.Api.Areas.Acquisition.Models.Search;
using Pims.Core.Api.Exceptions;
using Pims.Api.Helpers.Extensions;
using Pims.Api.Models.Base;
using Pims.Api.Models.Concepts.AcquisitionFile;
using Pims.Core.Api.Policies;
using Pims.Api.Services;
using Pims.Core.Api.Exceptions;
using Pims.Core.Api.Policies;
using Pims.Core.Extensions;
using Pims.Core.Json;
using Pims.Dal.Entities.Models;
using Pims.Core.Security;
using Pims.Dal.Entities.Models;
using Swashbuckle.AspNetCore.Annotations;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
using Pims.Api.Models.Concepts.AccessRequest;
using Pims.Core.Api.Policies;
using Pims.Core.Json;
using Pims.Dal.Repositories;
using Pims.Core.Security;
using Pims.Dal.Repositories;
using Swashbuckle.AspNetCore.Annotations;
using EModel = Pims.Dal.Entities.Models;
using Entity = Pims.Dal.Entities;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Pims.Api.Models.Concepts.FinancialCode;
using Pims.Core.Api.Policies;
using Pims.Api.Services;
using Pims.Core.Api.Policies;
using Pims.Core.Exceptions;
using Pims.Core.Json;
using Pims.Core.Security;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
using Pims.Api.Models.Concepts.Role;
using Pims.Core.Api.Policies;
using Pims.Core.Json;
using Pims.Dal.Repositories;
using Pims.Core.Security;
using Pims.Dal.Repositories;
using Swashbuckle.AspNetCore.Annotations;

namespace Pims.Api.Areas.Admin.Controllers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
using Pims.Api.Models.Concepts.User;
using Pims.Core.Api.Policies;
using Pims.Core.Json;
using Pims.Core.Security;
using Pims.Dal.Entities;
using Pims.Dal.Entities.Models;
using Pims.Dal.Repositories;
using Pims.Core.Security;
using Swashbuckle.AspNetCore.Annotations;

namespace Pims.Api.Areas.Admin.Controllers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;
using Pims.Api.Areas.Autocomplete.Models;
using Pims.Core.Api.Exceptions;
using Pims.Api.Helpers.Extensions;
using Pims.Core.Api.Exceptions;
using Pims.Core.Api.Policies;
using Pims.Core.Security;
using Pims.Dal.Entities.Models;
using Pims.Dal.Repositories;
using Pims.Core.Security;
using Swashbuckle.AspNetCore.Annotations;

namespace Pims.Api.Areas.Autocomplete.Controllers
Expand Down
Loading
Loading