Skip to content

Commit

Permalink
Merge pull request #667 from bcgov/release/0.23
Browse files Browse the repository at this point in the history
Release/0.23
  • Loading branch information
GandlojuVishwantha authored Apr 24, 2024
2 parents b0f4495 + 3b91149 commit c68ec49
Show file tree
Hide file tree
Showing 291 changed files with 24,275 additions and 1,525 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/PR_Code_Deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
Code-Deploy-Run:
runs-on: ubuntu-latest
environment: CI01
environment: CI
env:
SFDXAUTHURL: ${{ secrets.SFDXAUTHURL }}
steps:
Expand All @@ -37,8 +37,8 @@ jobs:
- name: 'Authenticate Sandbox'
run: |
echo "${{ env.SFDXAUTHURL }}" > ./authfile
sf org login sfdx-url -f authfile -a CI01
sf org login sfdx-url -f authfile -a CI
# deploy code without running test classes
- name: 'Deploy source code'
run: sfdx force:source:deploy --sourcepath ${{ vars.RELEASE_PIPELINE_SOURCEPATH }} --wait 60 --targetusername CI01
run: sfdx force:source:deploy --sourcepath ${{ vars.RELEASE_PIPELINE_SOURCEPATH }} --wait 60 --targetusername CI
2 changes: 1 addition & 1 deletion .github/workflows/PR_Code_Validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
# Authenticate CI01 sandbox
- name: 'Authenticate CI01 Sandbox'
run: |
echo "${{ secrets.CI01_SFDXAUTHURL }}" > ./authfile
echo "${{ secrets.CI_SFDXAUTHURL }}" > ./authfile
sf org login sfdx-url -f authfile -a CI01
- name: Validate Code
Expand Down
22 changes: 8 additions & 14 deletions .github/workflows/QA_Code_Deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
## Deploy manually
workflow_dispatch:
inputs:
QA01:
QA:
type: boolean
default: true
description: Deploy in QA01
description: Deploy in QA

DEMO:
type: boolean
Expand All @@ -23,10 +23,10 @@ on:

# Jobs to be executed
jobs:
Code-Deploy-Run-QA01:
Code-Deploy-Run-QA:
runs-on: ubuntu-latest
if: ${{ github.event.inputs.QA01 == 'true' }}
environment: QA01
if: ${{ github.event.inputs.QA == 'true' }}
environment: QA
env:
SFDXAUTHURL: ${{ secrets.SFDXAUTHURL }}
steps:
Expand All @@ -41,19 +41,16 @@ jobs:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v4
with:
ref: dev
fetch-depth: 0

# Authenticate sandbox
- name: 'Authenticate Sandbox'
run: |
echo "${{ env.SFDXAUTHURL }}" > ./authfile
sf org login sfdx-url -f authfile -a QA01
sf org login sfdx-url -f authfile -a QA
# deploy code without running test classes
- name: 'Deploy source code'
run: sfdx force:source:deploy --sourcepath ${{ vars.RELEASE_PIPELINE_SOURCEPATH }} --wait 60 --verbose --testlevel RunLocalTests --targetusername QA01
run: sfdx force:source:deploy --sourcepath ${{ vars.RELEASE_PIPELINE_SOURCEPATH }} --wait 60 --verbose --testlevel RunLocalTests --targetusername QA

Code-Deploy-Run-DEMO:
runs-on: ubuntu-latest
Expand All @@ -73,9 +70,6 @@ jobs:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v4
with:
ref: dev
fetch-depth: 0

# Authenticate sandbox
- name: 'Authenticate Sandbox'
Expand All @@ -88,7 +82,7 @@ jobs:
run: sfdx force:source:deploy --sourcepath ${{ vars.RELEASE_PIPELINE_SOURCEPATH }} --wait 60 --verbose --testlevel RunLocalTests --targetusername DEMO

Git-Tag-Run:
needs: Code-Deploy-Run-QA01
needs: Code-Deploy-Run-QA
runs-on: ubuntu-latest
if: ${{ github.event.inputs.create-tag == 'true' }}
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Unique name for this workflow
name: STX Code Deployment
name: ST Code Deployment

# Definition when the workflow should run
on:
Expand All @@ -15,7 +15,7 @@ on:
jobs:
Code-Deploy-Run:
runs-on: ubuntu-latest
environment: STX01
environment: ST
env:
SFDXAUTHURL: ${{ secrets.SFDXAUTHURL }}
steps:
Expand All @@ -38,11 +38,11 @@ jobs:
- name: 'Authenticate Sandbox'
run: |
echo "${{ env.SFDXAUTHURL }}" > ./authfile
sf org login sfdx-url -f authfile -a STX01
sf org login sfdx-url -f authfile -a ST
# deploy code without running test classes
- name: 'Deploy source code'
run: sfdx force:source:deploy --sourcepath ${{ vars.RELEASE_PIPELINE_SOURCEPATH }} --wait 60 --verbose --testlevel RunLocalTests --targetusername STX01
run: sfdx force:source:deploy --sourcepath ${{ vars.RELEASE_PIPELINE_SOURCEPATH }} --wait 60 --verbose --testlevel RunLocalTests --targetusername ST

Git-Tag-Run:
needs: Code-Deploy-Run
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ $RECYCLE.BIN/

/temp/

tests/
tests/
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<OmniScript xmlns="http://soap.sforce.com/2006/04/metadata">
<description>Demonstrates how a single document can be generated using a DOCX or PPTX template. Uses LWC for generation.</description>
<elementTypeComponentMapping>{&quot;ElementTypeToHTMLTemplateList&quot;:[]}</elementTypeComponentMapping>
<isActive>true</isActive>
<isActive>false</isActive>
<isIntegrationProcedure>false</isIntegrationProcedure>
<isMetadataCacheDisabled>false</isMetadataCacheDisabled>
<isOmniScriptEmbeddable>false</isOmniScriptEmbeddable>
Expand Down Expand Up @@ -279,8 +279,8 @@
&quot;nextWidth&quot; : &quot;0&quot;,
&quot;cancelLabel&quot; : &quot;Cancel&quot;,
&quot;cancelMessage&quot; : &quot;Are you sure?&quot;,
&quot;saveLabel&quot; : &quot;Save for later&quot;,
&quot;saveMessage&quot; : &quot;Are you sure you want to save it for later?&quot;,
&quot;saveLabel&quot; : &quot;&quot;,
&quot;saveMessage&quot; : &quot;&quot;,
&quot;completeLabel&quot; : &quot;Complete&quot;,
&quot;completeMessage&quot; : &quot;Are you sure you want to complete the script?&quot;,
&quot;instruction&quot; : &quot;&quot;,
Expand Down Expand Up @@ -1283,5 +1283,5 @@ document-title -- Overrides the Default Document Name/Title of your document</d
<type>DocumentGeneration</type>
<uniqueName>DocumentGeneration_DocumentGeneration_English_5</uniqueName>
<versionNumber>5.0</versionNumber>
<webComponentKey>2c507eb8-fc28-6aa7-3170-d6244401b55d</webComponentKey>
<webComponentKey>c8caa9e8-c3c5-8f42-ce14-bd7156bb07f6</webComponentKey>
</OmniScript>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<label>Renewal Details</label>
<length>255</length>
<required>false</required>
<trackHistory>false</trackHistory>
<trackHistory>true</trackHistory>
<type>Text</type>
<unique>false</unique>
</CustomField>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<OmniScript xmlns="http://soap.sforce.com/2006/04/metadata">
<elementTypeComponentMapping>{&quot;ElementTypeToHTMLTemplateList&quot;:[]}</elementTypeComponentMapping>
<isActive>true</isActive>
<isActive>false</isActive>
<isIntegrationProcedure>false</isIntegrationProcedure>
<isMetadataCacheDisabled>false</isMetadataCacheDisabled>
<isOmniScriptEmbeddable>true</isOmniScriptEmbeddable>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FacilityProgram,LicenseType,InspectionType,Template
ALR,Seniors and Persons With Disabilities,Compliance Monitoring Inspection,SN Compliance Monitoring Inspection
ALR,Supportive Recovery,Compliance Monitoring Inspection,SU Compliance Monitoring Inspection
ALR,Mental Health,Compliance Monitoring Inspection,MH Compliance Monitoring Inspection
ALR,Seniors and Persons With Disabilities,Application Inspection,SN Application Inspection
ALR,Supportive Recovery,Application Inspection,SU Application Inspection
ALR,Mental Health,Application Inspection,MH Application Inspection
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
RiskMatrix,AssignedScore
570,20
95,19
90,18
85,17
80,16
75,15
70,14
65,13
60,12
55,11
50,10
45,9
40,8
35,7
30,6
25,5
20,4
15,3
10,2
5,1
0,0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Scope,Severity,RiskScore
Widespread,Minimal Harm,3
Widespread,More than Minimal Harm,9
Widespread,Significant Harm,14
Widespread,Actual Harm/Immediate Jeopardy,19
Pattern,Minimal Harm,2
Pattern,More than Minimal Harm,8
Pattern,Significant Harm,13
Pattern,Actual Harm/Immediate Jeopardy,18
Isolated,Minimal Harm,1
Isolated,More than Minimal Harm,5
Isolated,Significant Harm,10
Isolated,Actual Harm/Immediate Jeopardy,15
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TotalComplianceScore,TotalScore
40,Low
20,Medium
13,High
Binary file not shown.
2 changes: 1 addition & 1 deletion DocumentTemplates/ApplicationFeeTemplate.json

Large diffs are not rendered by default.

Binary file added DocumentTemplates/CertificateBackground_MH.pptx
Binary file not shown.
Binary file added DocumentTemplates/CertificateBackground_SN.pptx
Binary file not shown.
Binary file added DocumentTemplates/CertificateBackground_SU.pptx
Binary file not shown.
2 changes: 2 additions & 0 deletions DocumentTemplates/CertificateTemplateMH.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions DocumentTemplates/CertificateTemplateSN.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions DocumentTemplates/CertificateTemplateSU.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions DocumentTemplates/GenerateInspectionPlan.json

Large diffs are not rendered by default.

Binary file not shown.
Binary file added DocumentTemplates/InvoiceTemplate.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions DocumentTemplates/InvoiceTemplate.json

Large diffs are not rendered by default.

Binary file added DocumentTemplates/Late Fee Invoice Template.docx
Binary file not shown.
Binary file added DocumentTemplates/Late Fee Invoice.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions DocumentTemplates/LateFeeTemplate.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions DocumentTemplates/LateFee_Template.json

Large diffs are not rendered by default.

Empty file removed DocumentTemplates/README.md
Empty file.
1 change: 1 addition & 0 deletions DocumentTemplates/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Templates should be added in Repo for each template import in higher orgs
Binary file added DocumentTemplates/ReceiptTemplate.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions DocumentTemplates/ReceiptTemplate.json

Large diffs are not rendered by default.

Binary file added DocumentTemplates/Renewal Application form.docx
Binary file not shown.
Binary file added DocumentTemplates/Renewal Invoice.docx
Binary file not shown.
Binary file added DocumentTemplates/Renewal Invoice_Templates.docx
Binary file not shown.
Binary file added DocumentTemplates/Renewal Receipt Template.docx
Binary file not shown.
2 changes: 1 addition & 1 deletion DocumentTemplates/RenewalApplicationForm.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion DocumentTemplates/RenewalInvoiceTemplate.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions DocumentTemplates/RenewalInvoice_Templates.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion DocumentTemplates/RenewalReceiptTemplate.json

Large diffs are not rendered by default.

Binary file added DocumentTemplates/Unit Receipt Template.docx
Binary file not shown.
2 changes: 1 addition & 1 deletion DocumentTemplates/UnitReceiptTemplate.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomPermission xmlns="http://soap.sforce.com/2006/04/metadata">
<description>Custom permission to allow home page components for Leadership</description>
<isLicensed>false</isLicensed>
<label>EHIS Leadership</label>
</CustomPermission>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PermissionSetGroup xmlns="http://soap.sforce.com/2006/04/metadata">
<hasActivationRequired>false</hasActivationRequired>
<label>EHIS ALR Data Analyst PSG</label>
<permissionSets>CAT_assessment_question_PS</permissionSets>
<permissionSets>CMTD__CMTD_ERL_Permission_Set</permissionSets>
<permissionSets>ComplaintsManagementAccess</permissionSets>
<permissionSets>Docgen_Designer_Standard_User</permissionSets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<permissionSets>force__DocGenDesigner</permissionSets>
<permissionSets>force__DocGenUser</permissionSets>
<permissionSets>force__DocumentChecklist</permissionSets>
<permissionSets>force__OmniStudioAdmin</permissionSets>
<permissionSets>force__OmniStudioExecution</permissionSets>
<permissionSets>force__PubSecServiceExcellencePsl</permissionSets>
<status>Updated</status>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<label>EHIS ALR Leadership PSG</label>
<permissionSets>CMTD__CMTD_ERL_Permission_Set</permissionSets>
<permissionSets>ComplaintsManagementAccess</permissionSets>
<permissionSets>Docgen_Designer_Standard_User</permissionSets>
<permissionSets>EHIS_CRE_Account_Contact_Asset_Service_PS</permissionSets>
<permissionSets>EHIS_CRE_Action_Plan_Objects_PS</permissionSets>
<permissionSets>EHIS_CRE_Address_Location_Application_PS</permissionSets>
Expand All @@ -27,6 +28,7 @@
<permissionSets>EHIS_Read_Asseessment_Objects_PS</permissionSets>
<permissionSets>EHIS_Read_Visit_PS</permissionSets>
<permissionSets>force__ActionPlans</permissionSets>
<permissionSets>force__DocGenUser</permissionSets>
<permissionSets>force__DocumentChecklist</permissionSets>
<permissionSets>force__DynamicAssessmentPsl</permissionSets>
<permissionSets>force__OmniStudioExecution</permissionSets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
<label>EHIS System Administrator PSG</label>
<permissionSets>CMTD__CMTD_ERL_Permission_Set</permissionSets>
<permissionSets>EHIS_Bypass_Validation_Rule_PS</permissionSets>
<permissionSets>EHIS_CRE_AssessmentTaskDefinition_PS</permissionSets>
<permissionSets>EHIS_CRE_Visit_PS</permissionSets>
<permissionSets>EHIS_Console_Access_PS</permissionSets>
<permissionSets>EHIS_Enable_MFA</permissionSets>
<permissionSets>EHIS_Read_Visit_PS</permissionSets>
<permissionSets>force__PublicSectorAccessPSL</permissionSets>
<status>Updated</status>
</PermissionSetGroup>
Loading

0 comments on commit c68ec49

Please sign in to comment.