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

Push dev branch to test - v4.0.0-59.33 #3385

Merged
merged 123 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
9b03bf4
Automation Projects
stairaku Mar 29, 2023
15afced
Automation - Projects and Products automation
stairaku Mar 31, 2023
32ea3f8
Merge branch 'bcgov:dev' into test-branch
stairaku Apr 6, 2023
e1d67d1
Merge branch 'bcgov:dev' into test-branch
stairaku Apr 21, 2023
10dbf55
Merge branch 'bcgov:dev' into test-branch
stairaku Apr 25, 2023
792c8d2
Merge branch 'bcgov:dev' into test-branch
stairaku May 3, 2023
86636d0
Merge branch 'bcgov:dev' into test-branch
stairaku May 5, 2023
8a172d1
Merge branch 'bcgov:dev' into test-branch
stairaku May 10, 2023
793ef7f
Leases refactoring
stairaku May 12, 2023
6c7230d
Leases refactoring
stairaku May 17, 2023
cf7a74b
Merge branch 'bcgov:dev' into test-branch
stairaku May 17, 2023
8adb07d
Merge branch 'bcgov:dev' into test-branch
stairaku May 23, 2023
fb07bc5
Lease License automation refactoring
stairaku May 23, 2023
c518abe
Merge branch 'test-branch' of https://github.com/stairaku/PSP into te…
stairaku May 23, 2023
9dde5e1
Merge branch 'dev' into test-branch
stairaku May 23, 2023
78363d1
Merge branch 'bcgov:dev' into test-branch
stairaku May 26, 2023
6f774bc
Acquisition Files refactoring
stairaku May 26, 2023
0321751
Merge branch 'test-branch' of https://github.com/stairaku/PSP into te…
stairaku May 26, 2023
ac2e201
Merge branch 'bcgov:dev' into test-branch
stairaku Jun 1, 2023
25c8ac0
Automation fixes
stairaku Jun 1, 2023
3011e1c
Merge branch 'test-branch' of https://github.com/stairaku/PSP into te…
stairaku Jun 1, 2023
a2b56a4
Merge branch 'dev' into test-branch
stairaku Jun 1, 2023
67d12ba
Merge branch 'dev' into test-branch
devinleighsmith Jun 3, 2023
cfc8817
Merge branch 'dev' into test-branch
devinleighsmith Jun 5, 2023
4659d65
Automation - stabilization of some automation features
stairaku Jun 22, 2023
9aa649c
Merge branch 'bcgov:dev' into test-branch
stairaku Jun 22, 2023
f7f65c4
Merge branch 'test-branch' of https://github.com/stairaku/PSP into te…
stairaku Jun 22, 2023
3116257
Added first draft of map state machine
FuriousLlama Jun 28, 2023
61038d7
Refarctored map communication and implemented a map based FSM that or…
FuriousLlama Jul 12, 2023
426f97f
Merge branch 'dev' into tech-debt/map-fsm
FuriousLlama Jul 12, 2023
d7fe68d
merge and fixes
FuriousLlama Jul 12, 2023
3cf9383
Merge branch 'dev' into tech-debt/map-fsm
FuriousLlama Jul 20, 2023
28c6996
Merge branch 'bcgov:dev' into test-branch
stairaku Jul 21, 2023
083269e
Automation testing - Improvements based on last UI changes
stairaku Jul 21, 2023
6b35691
Bump DEV version - IS59 (#3353)
asanchezr Jul 21, 2023
76752fc
CI: Bump version to v4.0.0-59.1
github-actions[bot] Jul 21, 2023
225dff4
Merge remote-tracking branch 'upstream/test' into backmerge_test_to_dev
asanchezr Jul 21, 2023
4aa1b03
Merge pull request #3354 from asanchezr/backmerge_test_to_dev
FuriousLlama Jul 21, 2023
541a616
CI: Bump version to v4.0.0-59.2
github-actions[bot] Jul 21, 2023
c95fed8
Merge branch 'dev' into tech-debt/map-fsm
FuriousLlama Jul 21, 2023
ee8c527
PSP-6473, PSP-6474 Generate Expropriation Forms 5 and 9 (#3328)
asanchezr Jul 21, 2023
dfadb84
CI: Bump version to v4.0.0-59.3
github-actions[bot] Jul 21, 2023
ed667ca
Fixed issues from PR
FuriousLlama Jul 21, 2023
3d7c9b2
Merge branch 'dev' into tech-debt/map-fsm
FuriousLlama Jul 21, 2023
03187cd
Merge branch 'dev' into test-branch
devinleighsmith Jul 22, 2023
4a1dd3c
Merge pull request #3351 from stairaku/test-branch
stairaku Jul 24, 2023
3359151
CI: Bump version to v4.0.0-59.4
github-actions[bot] Jul 24, 2023
b12e89d
PSP-6324 : Select multiple contacts (Owners) for generated Owner lett…
eddherrera Jul 24, 2023
614c5df
CI: Bump version to v4.0.0-59.5
github-actions[bot] Jul 24, 2023
9844c6c
Merge branch 'dev' into tech-debt/map-fsm
FuriousLlama Jul 24, 2023
ba5f4da
PR fixes
FuriousLlama Jul 24, 2023
f51294a
Merge branch 'tech-debt/map-fsm' of https://github.com/FuriousLlama/P…
FuriousLlama Jul 24, 2023
a0e5233
Small fix
FuriousLlama Jul 24, 2023
62fa6e0
Merge pull request #3320 from FuriousLlama/tech-debt/map-fsm
FuriousLlama Jul 24, 2023
ec3c3e7
CI: Bump version to v4.0.0-59.6
github-actions[bot] Jul 24, 2023
bd9f868
Fixed loading of properties. Added sidebar if on fullscreen
FuriousLlama Jul 25, 2023
87b9340
Merge pull request #3359 from FuriousLlama/tech-debt/map_enhancements
FuriousLlama Jul 25, 2023
9d10e25
CI: Bump version to v4.0.0-59.7
github-actions[bot] Jul 25, 2023
f1f12da
Psp 6539 - datepicker styling update (#3358)
devinleighsmith Jul 27, 2023
73b4745
CI: Bump version to v4.0.0-59.8
github-actions[bot] Jul 27, 2023
02dcb2d
psp-6306: add primary contact selector for owner solicitor (#3350)
buddy326 Jul 27, 2023
115536d
CI: Bump version to v4.0.0-59.9
github-actions[bot] Jul 27, 2023
737672c
Added filter backend and frontend logic
FuriousLlama Jul 27, 2023
d222bc9
psp-6470 - action to tag dev to test (#3355)
devinleighsmith Jul 27, 2023
74202da
CI: Bump version to v4.0.0-59.10
github-actions[bot] Jul 27, 2023
e17cc68
PSP-6608 Advanced Filter Bar (#3361)
asanchezr Jul 27, 2023
a00d4db
CI: Bump version to v4.0.0-59.11
github-actions[bot] Jul 27, 2023
202e2a9
GHA corrections. (#3365)
devinleighsmith Jul 28, 2023
fb83ca7
CI: Bump version to v4.0.0-59.12
github-actions[bot] Jul 28, 2023
c555628
Merge updates
FuriousLlama Jul 28, 2023
b7b76e2
Merge branch 'dev' into features/psp-5048
FuriousLlama Jul 28, 2023
c7bb142
Merge remote-tracking branch 'upstream/test' into backmerge_test_to_dev
asanchezr Jul 28, 2023
879c7f5
psp-6651 ensure that searches for pids with leading 0s are supported.…
devinleighsmith Jul 28, 2023
4abf9dc
CI: Bump version to v4.0.0-59.13
github-actions[bot] Jul 28, 2023
d8a1022
Merge branch 'dev' into backmerge_test_to_dev
asanchezr Jul 28, 2023
2a853ca
Merge pull request #3369 from asanchezr/backmerge_test_to_dev
asanchezr Jul 28, 2023
215f535
CI: Bump version to v4.0.0-59.14
github-actions[bot] Jul 28, 2023
239728c
Merge branch 'dev' into features/psp-5048
FuriousLlama Jul 28, 2023
cfc64d9
psp-6384: primary contact selector for interest holders (#3357)
buddy326 Jul 28, 2023
f99399d
CI: Bump version to v4.0.0-59.15
github-actions[bot] Jul 28, 2023
457b9a0
PSP-6635 Fix generate forms file format and name (#3370)
asanchezr Jul 28, 2023
6f7c24e
CI: Bump version to v4.0.0-59.16
github-actions[bot] Jul 28, 2023
d012397
psp-6652 pagination of list view correction. (#3368)
devinleighsmith Jul 29, 2023
be23fdd
CI: Bump version to v4.0.0-59.17
github-actions[bot] Jul 29, 2023
cff7ab8
psp-5977: update layers json logic to allow overwriting (#3293)
buddy326 Jul 30, 2023
6622ceb
CI: Bump version to v4.0.0-59.18
github-actions[bot] Jul 30, 2023
311d1d7
Psp 6112 add/enforce total allowable compensation (#3360)
devinleighsmith Jul 30, 2023
950f395
CI: Bump version to v4.0.0-59.19
github-actions[bot] Jul 30, 2023
ea0795a
PR fixes
FuriousLlama Jul 31, 2023
69d12f9
Merge branch 'features/psp-5048' of https://github.com/FuriousLlama/P…
FuriousLlama Jul 31, 2023
fef1299
Merge branch 'dev' into features/psp-5048
FuriousLlama Jul 31, 2023
9fda89d
create github action to run integration tests (currently manually).
Jul 31, 2023
d10e8dc
Merge pull request #3362 from FuriousLlama/features/psp-5048
FuriousLlama Aug 1, 2023
9b29adc
CI: Bump version to v4.0.0-59.20
github-actions[bot] Aug 1, 2023
262d4ef
Merge branch 'dev' into automation_fix
stairaku Aug 1, 2023
6a2d6b4
psp-6542 ensure term updates are reflected in payments components. (#…
devinleighsmith Aug 2, 2023
dd0cb40
CI: Bump version to v4.0.0-59.21
github-actions[bot] Aug 2, 2023
8072b56
psp-6549 fix display of coordinates only property when (#3377)
devinleighsmith Aug 2, 2023
4e3054f
CI: Bump version to v4.0.0-59.22
github-actions[bot] Aug 2, 2023
40921a4
psp-6438-refix: add missing colors and new label (#3372)
buddy326 Aug 2, 2023
25babb9
CI: Bump version to v4.0.0-59.23
github-actions[bot] Aug 2, 2023
8d50bd1
fix address search issue, when searching for lat/lng within bounds ne…
devinleighsmith Aug 2, 2023
89d0834
CI: Bump version to v4.0.0-59.24
github-actions[bot] Aug 2, 2023
70f43fc
Merge branch 'dev' into automation_fix
stairaku Aug 2, 2023
b331d56
PSP-6540 primary contacts for owner solicitor and interest holders (#…
asanchezr Aug 2, 2023
cd422bf
CI: Bump version to v4.0.0-59.25
github-actions[bot] Aug 2, 2023
62050f4
psp-6616 correct grouping logic/display of interest holders. (#3364)
devinleighsmith Aug 2, 2023
9bf5fee
CI: Bump version to v4.0.0-59.26
github-actions[bot] Aug 2, 2023
923b598
remove redundant tag step, ensure that tag targets correct source tag…
devinleighsmith Aug 3, 2023
77513d0
CI: Bump version to v4.0.0-59.27
github-actions[bot] Aug 3, 2023
f7d8699
Merge branch 'dev' into automation_fix
stairaku Aug 3, 2023
1f5aa18
Merge pull request #3374 from devinleighsmith/automation_fix
stairaku Aug 3, 2023
fd047f5
CI: Bump version to v4.0.0-59.28
github-actions[bot] Aug 3, 2023
c704a5e
psp-3242: add plan number search for map and list views (#3344)
buddy326 Aug 3, 2023
599ef8e
CI: Bump version to v4.0.0-59.29
github-actions[bot] Aug 3, 2023
8d0b2ba
PSP-6642 - Comp Req Draft to Final Message should appear on save (#3382)
eddherrera Aug 3, 2023
899b6c9
CI: Bump version to v4.0.0-59.30
github-actions[bot] Aug 3, 2023
2461beb
bump word-wrap dep (#3383)
asanchezr Aug 3, 2023
a66def3
CI: Bump version to v4.0.0-59.31
github-actions[bot] Aug 3, 2023
ff07fa8
ensure contact address/email populated in tenant screen. (#3378)
devinleighsmith Aug 3, 2023
1bc4249
CI: Bump version to v4.0.0-59.32
github-actions[bot] Aug 3, 2023
51b1e8d
Fix dependency override for deprecated library (#3384)
asanchezr Aug 3, 2023
f868aee
CI: Bump version to v4.0.0-59.33
github-actions[bot] Aug 3, 2023
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
  •  
  •  
  •  
147 changes: 0 additions & 147 deletions .github/workflows/ci-cd-pims-test.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: smoke test (.NET)
env:
baseUrl: ${{ vars.BASE_URL }}
CloseBrowserAfterEachTest: false
RunHeadless: true
Users__0__User: ${{ secrets.USER_1_USERNAME }}
Users__0__Password: ${{ secrets.USER_1_PASSWORD }}
Users__1__User: ${{ secrets.USER_2_USERNAME }}
Users__1__Password: ${{ secrets.USER_2_PASSWORD }}
on:
workflow_dispatch
#push:
# branches: [master, dev, test]
#pull_request:
# branches: [master, dev, test]

jobs:
smoke-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

#- name: Installing Edge Browser (alternative step)
# run: |
# wget -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft.gpg
# sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge.list'
# sudo apt update
# sudo apt install -y microsoft-edge-stable

- name: Install Chrome Browser
run: |
sudo apt update
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb

# Edge Browser setup - missing dependencies
#- uses: browser-actions/setup-edge@v1
#- name: Print Edge version
# run: (Get-Item (Get-Command msedge).Source).VersionInfo.ProductVersion

- name: Restore dependencies
run: dotnet restore ./testing/PIMS.Tests.Automation/PIMS.Tests.Automation.sln
- name: Build
run: dotnet build ./testing/PIMS.Tests.Automation/PIMS.Tests.Automation.sln --no-restore
- name: Test
run: dotnet test ./testing/PIMS.Tests.Automation/PIMS.Tests.Automation.csproj --no-build --verbosity normal --filter Category=Smoke-Test
78 changes: 78 additions & 0 deletions .github/workflows/retag-dev-to-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: CI-CD Release Dev to Test
env:
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
# service account: gitaction
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }}
OPENSHIFT_TOOLS_NAMESPACE: "3cd915-tools"
MS_TEAMS_WEBHOOK_BUILD_CHANNEL: ${{ secrets.MS_TEAMS_WEBHOOK_URI_BUILD_CHANNEL }}

## variables for scripts under git\openshift\4.0\scripts\oc-*.sh
APP_PORT: 8080
DESTINATION: "test"
OC_JOB_NAME: "test"
GIT_URL: "${{github.server_url}}/${{github.repository}}"
GIT_BRANCH: "${{github.ref}}"
APP_NAME: "pims"
PROJ_PREFIX: "3cd915"
PROJ_TOOLS: "3cd915-tools"
PROJ_DEV: "dev"
PROJ_TEST: "test"
PROJ_PROD: "prod"
TAG_DEV: "dev"
TAG_TEST: "test"
TAG_PROD: "prod"
INSTANCE: "-test"
NAMESPACE_OVERRIDE: "3cd915-dev"
RELEASE_TAG: "dev"

on: workflow_dispatch

jobs:
ci-cd-start-notification:
name: CI-CD Start Notification to Teams Channel
runs-on: ubuntu-latest
steps:
- name: Start notification to Teams Channel
uses: dragos-cojocari/ms-teams-notification@v1.0.2
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ env.MS_TEAMS_WEBHOOK_BUILD_CHANNEL }}
notification-summary: PIMS Release DEV to TST Started
notification-color: 17a2b8
timezone: America/Los_Angeles

deploy:
name: Retag/Deploy frontend and api to OpenShift
needs: ci-cd-start-notification
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
- name: Login to OpenShift
uses: redhat-actions/oc-login@v1
with:
openshift_server_url: ${{ env.OPENSHIFT_SERVER }}
openshift_token: ${{ env.OPENSHIFT_TOKEN }}
insecure_skip_tls_verify: true
namespace: ${{ env.OPENSHIFT_TOOLS_NAMESPACE }}
- name: call scripts to deploy api and frontend
run: |
./openshift/4.0/player.sh deploy api $DESTINATION -apply
./openshift/4.0/player.sh deploy app $DESTINATION -apply

ci-cd-end-notification:
name: CI-CD End Notification to Teams Channel
runs-on: ubuntu-latest
needs: deploy
steps:
- name: check workflow status
uses: martialonline/workflow-status@v4
id: check
- name: End notification to Teams Channel
uses: dragos-cojocari/ms-teams-notification@v1.0.2
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ env.MS_TEAMS_WEBHOOK_BUILD_CHANNEL }}
notification-summary: PIMS Release DEV to TEST COMPLETED with status ${{ steps.check.outputs.status }}
notification-color: 17a2b8
timezone: America/Los_Angeles
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ public IActionResult UpdateAcquisitionFile(long id, [FromBody] AcquisitionFileMo
return new JsonResult(_mapper.Map<AcquisitionFileModel>(acquisitionFile));
}



/// <summary>
/// Update the acquisition file properties.
/// </summary>
Expand Down Expand Up @@ -183,38 +185,6 @@ public IActionResult GetAcquisitionFileOwners([FromRoute] long id)
return new JsonResult(_mapper.Map<IEnumerable<AcquisitionFileOwnerModel>>(owners));
}

/*/// <summary>
/// Get the acquisition file Owner representatives.
/// </summary>
/// <returns></returns>
[HttpGet("{id:long}/owner-representatives")]
[HasPermission(Permissions.AcquisitionFileView)]
[Produces("application/json")]
[ProducesResponseType(typeof(IEnumerable<AcquisitionFileOwnerRepresentativeModel>), 200)]
[SwaggerOperation(Tags = new[] { "acquisitionfile" })]
public IActionResult GetAcquisitionFileOwnerRepresentatives([FromRoute] long id)
{
var owners = _acquisitionService.GetOwnerRepresentatives(id);

return new JsonResult(_mapper.Map<IEnumerable<AcquisitionFileOwnerRepresentativeModel>>(owners));
}

/// <summary>
/// Get the acquisition file Owner solicitors.
/// </summary>
/// <returns></returns>
[HttpGet("{id:long}/owner-solicitors")]
[HasPermission(Permissions.AcquisitionFileView)]
[Produces("application/json")]
[ProducesResponseType(typeof(IEnumerable<AcquisitionFileOwnerSolicitorModel>), 200)]
[SwaggerOperation(Tags = new[] { "acquisitionfile" })]
public IActionResult GetAcquisitionFileOwnerSolicitors([FromRoute] long id)
{
var owners = _acquisitionService.GetOwnerSolicitors(id);

return new JsonResult(_mapper.Map<IEnumerable<AcquisitionFileOwnerSolicitorModel>>(owners));
}*/

/// <summary>
/// Get all the compensations corresponding to the passed file id.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Pims.Api.Policies;
using Pims.Api.Services.Interfaces;
using Pims.Dal.Repositories;
using Pims.Dal.Security;
using Swashbuckle.AspNetCore.Annotations;
Expand All @@ -21,7 +22,7 @@
public class ContactController : ControllerBase
{
#region Variables
private readonly IContactRepository _contactRepository;
private readonly IContactService _contactService;
private readonly IPersonRepository _personRepository;
private readonly IOrganizationRepository _organizationRepository;
private readonly IMapper _mapper;
Expand All @@ -32,18 +33,18 @@
/// <summary>
/// Creates a new instance of a ContactController class, initializes it with the specified arguments.
/// </summary>
/// <param name="contactRepository"></param>
/// <param name="contactService"></param>
/// <param name="personRepository"></param>
/// <param name="organizationRepository"></param>
/// <param name="mapper"></param>
///
public ContactController(
IContactRepository contactRepository,
IContactService contactService,

Check warning on line 42 in source/backend/api/Areas/Contacts/Controllers/ContactController.cs

View check run for this annotation

Codecov / codecov/patch

source/backend/api/Areas/Contacts/Controllers/ContactController.cs#L42

Added line #L42 was not covered by tests
IPersonRepository personRepository,
IOrganizationRepository organizationRepository,
IMapper mapper)
{
_contactRepository = contactRepository;
_contactService = contactService;

Check warning on line 47 in source/backend/api/Areas/Contacts/Controllers/ContactController.cs

View check run for this annotation

Codecov / codecov/patch

source/backend/api/Areas/Contacts/Controllers/ContactController.cs#L47

Added line #L47 was not covered by tests
_personRepository = personRepository;
_organizationRepository = organizationRepository;
_mapper = mapper;
Expand All @@ -63,7 +64,7 @@
[SwaggerOperation(Tags = new[] { "contact" })]
public IActionResult GetContact(string id)
{
var contactView = _contactRepository.GetById(id);
var contactView = _contactService.GetById(id);

Check warning on line 67 in source/backend/api/Areas/Contacts/Controllers/ContactController.cs

View check run for this annotation

Codecov / codecov/patch

source/backend/api/Areas/Contacts/Controllers/ContactController.cs#L67

Added line #L67 was not covered by tests

if (id.StartsWith("P"))
{
Expand Down
Loading
Loading