Skip to content

Commit f7639bc

Browse files
committed
Merge tag 'v0.21.1' into hotfix
Release v0.21.1
2 parents a59c388 + 96759a1 commit f7639bc

File tree

235 files changed

+26848
-8267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+26848
-8267
lines changed

.conventional-changelog.mjs

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
** @ychung-mot @larsenle @aldudin @Richand101 @OleksandrBohuslavskyi
1+
** @KFloodBCGov @skmetpalli

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
- crunchydb/**
1919
- backup-container/**
2020
- gateway/**
21+
- .github/**
2122

2223
jobs:
2324
test-backend:

.github/workflows/deploy-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
with:
149149
ref: main
150150
- name: ZAP Scan
151-
uses: zaproxy/action-full-scan@c8994d4f913cf872ec9964ac2d998c9bec369060
151+
uses: zaproxy/action-full-scan@v0.12.0
152152
with:
153153
token: ${{ secrets.GITHUB_TOKEN }}
154154
target: https://dev.strdata.gov.bc.ca/

.github/workflows/zap-api-scan.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Run ZAP API Scan
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
spec_url:
7+
type: string
8+
description: The URL of the OpenAPI/GraphQL spec
9+
default: https://dev.strdata.gov.bc.ca/api/swagger/strdata/swagger.json
10+
auth_header_name:
11+
type: string
12+
description: The name of the authentication header
13+
default: Authorization
14+
auth_header_value:
15+
type: string
16+
description: The value of the authentication header
17+
default: Bearer your_token
18+
19+
jobs:
20+
zap-api-scan:
21+
runs-on: ubuntu-22.04
22+
timeout-minutes: 30
23+
permissions:
24+
contents: read
25+
issues: write
26+
env:
27+
ZAP_AUTH_HEADER_NAME: ${{ github.event.inputs.auth_header_name }}
28+
ZAP_AUTH_HEADER_VALUE: ${{ github.event.inputs.auth_header_value }}
29+
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
with:
34+
ref: main
35+
36+
- name: ZAP API Scan
37+
uses: zaproxy/action-api-scan@v0.9.0
38+
with:
39+
token: ${{ secrets.GITHUB_TOKEN }}
40+
docker_name: 'ghcr.io/zaproxy/zaproxy:stable'
41+
format: openapi
42+
target: ${{ github.event.inputs.spec_url }}
43+
rules_file_name: '.zap/rules.tsv'
44+
cmd_options: '-O https://uat.strdata.gov.bc.ca'

.github/workflows/zap-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
ref: main
2727
- name: ZAP Scan
28-
uses: zaproxy/action-full-scan@v0.10.0
28+
uses: zaproxy/action-full-scan@v0.12.0
2929
with:
3030
token: ${{ secrets.GITHUB_TOKEN }}
3131
target: ${{ github.event.inputs.url }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ note
44
**/Properties/launchSettings.json
55
secrets
66
.terraform
7+
.vs
78
docker.env
89
backup.sql
910
docker-compose.yml
@@ -12,3 +13,4 @@ Scaffolding.txt
1213
/Test/UITest/Configuration/AppSettings.dev.json
1314
/Test/UITest/Configuration/AppSettings.test.json
1415
/Test/UITest/Configuration/AppSettings.uat.json
16+
zap-results

Test/UITest/Configuration/AppSettings.environment.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"Users": {
33

4-
"User1": "password",
5-
"User2": "password"
4+
"User1": "UserPW",
5+
"User2": "UserPW"
66
},
77
"Servers": {
88
"dev": "https://URL:PORT",
99
"default": "http://URL:PORT"
1010
},
1111
"ConnectionStrings": {
12-
"dev": "Host=localhost; Database=<DatabaseName>; Username=<DBUSER>; Password=<DBPASSWORD>",
13-
"default": "Host=localhost; Database=<DatabaseName>; Username=<DBUSER>; Password=<DBPASSWORD>"
12+
"dev": "Host=localhost; Database=<DatabaseName>; Username=<DBUSER>; Password=<DBPW>",
13+
"default": "Host=localhost; Database=<DatabaseName>; Username=<DBUSER>; Password=<DBPW>"
1414
},
1515
"ListingFiles": {
1616
"File1": "C:\\<PATHTOLISTINGFILE>\\listing-valid-2024-03.csv"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Feature: ManageJurisdiction
2+
Link to a feature: https://hous-hpb.atlassian.net/browse/DSS-860
3+
4+
@ManageJurisdiction
5+
Scenario: ManageJurisdiction
6+
#User Authentication
7+
Given I am an authenticated CEU staff member "<UserName>" with the appropriate permissions (ADD) and the expected result is "<ExpectedResult>" and I am a "<UserType>" user
8+
9+
#Accessing the feature
10+
When I log in and navigate to the Manage Jurisdictions feature
11+
Then I should be presented with a list of platforms with a list of local government jurisdictions
12+
13+
#Jurisdiction Information
14+
When I view the list of jurisdictions
15+
Then I should see key information about each one
16+
17+
#Principle Residence Requirement Applies
18+
#Business Licence Requirement
19+
#STRs prohibited
20+
#Business Licence format
21+
#Local Government Code
22+
23+
#Edit Jurisdiction Information
24+
And I should have the ability to edit key information about each one (as above)
25+
26+
Examples:
27+
| UserName | UserType | Environment | ExpectedResult |
28+
| CEUaTST | ceu_admin | all | pass |
29+
30+
31+
32+
33+
34+

Test/UITest/SpecFlowProjectBDD/Features/ManageJurisdiction.feature.cs

Lines changed: 131 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)