Repository: bcgov/onroutebc
Pull request #2002: ORV2 4252 Updating Postal Code Length For Address
Author: login: gchauhan-aot
Created: 2025-05-05T21:29:19Z | Merged: 2025-05-06T16:50:49Z

<!-- Provide a general summary of your changes in the Title above -->

# Description

Increasing Postal Code Length For Address from 7 to 15. 
Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [x] Test A: testing locally using API
- [ ] Test B


## Checklist

<!-- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [x] I have read the [CONTRIBUTING](CONTRIBUTING.md) doc
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have already been accepted and merged


## Further comments

<!-- If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc... -->


---

Thanks for the PR!

Deployments, as required, will be available below:
- [Frontend](https://onroutebc-2002-frontend.apps.silver.devops.gov.bc.ca)
- [Vehicles](https://onroutebc-2002-vehicles.apps.silver.devops.gov.bc.ca/api)
- [Dops](https://onroutebc-2002-dops.apps.silver.devops.gov.bc.ca/api)
- [Policy](https://onroutebc-2002-policy.apps.silver.devops.gov.bc.ca/api)
- [Scheduler](https://onroutebc-2002-scheduler.apps.silver.devops.gov.bc.ca/api)
- [Public](https://onroutebc-2002-public.apps.silver.devops.gov.bc.ca/api)

Please create PRs in draft mode.  Mark as ready to enable:
- [Analysis Workflow](https://github.com/bcgov/onroutebc/actions/workflows/analysis.yml)

After merge, new images are promoted to:
- [Merge Workflow](https://github.com/bcgov/onroutebc/actions/workflows/merge.yml)


Diff:
diff --git a/database/mssql/scripts/versions/README.md b/database/mssql/scripts/versions/README.md
index ca32f61d51..2b1a9e0f7d 100644
--- a/database/mssql/scripts/versions/README.md
+++ b/database/mssql/scripts/versions/README.md
@@ -276,4 +276,7 @@
   - Add EXTERNAL_ADJUSTMENT column to store the unposted credit total to the permit.ORBC_CREDIT_ACCOUNT table
 
  ### Version 70:
-- Add OUTAGE_NOTIFICATION table
\ No newline at end of file
+- Add OUTAGE_NOTIFICATION table
+
+ ### Version 71:
+- Update table dbo.ORBC_ADDRESS change column POSTAL_CODE length from 7 to 15 
\ No newline at end of file
diff --git a/database/mssql/scripts/versions/revert/v_71_ddl_revert.sql b/database/mssql/scripts/versions/revert/v_71_ddl_revert.sql
new file mode 100644
index 0000000000..8623baea08
--- /dev/null
+++ b/database/mssql/scripts/versions/revert/v_71_ddl_revert.sql
@@ -0,0 +1,52 @@
+SET ANSI_NULLS ON
+GO
+SET QUOTED_IDENTIFIER ON
+GO
+SET NOCOUNT ON
+GO
+
+SET XACT_ABORT ON
+GO
+SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
+GO
+BEGIN TRANSACTION
+GO
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+
+-- Note that we are intentionally not going to reset the column length for postal code
+-- We will also maintain the column length at 15 characters in the event
+-- that postal code were created that exceed that, and we would not
+-- want to delete or modify those records once in place.
+-- So, this should be considered a non-revertable change - if necessary it
+-- must be reverted manually and very carefully.
+-- Including commented-out SQL for the revert below for reference, if we
+-- were to choose to do it.
+
+--ALTER TABLE [dbo].[ORBC_ADDRESS] 
+--  ALTER COLUMN POSTAL_CODE VARCHAR(7) NOT NULL
+--ALTER TABLE [dbo].[ORBC_ADDRESS_HIST] 
+--  ALTER COLUMN POSTAL_CODE VARCHAR(7) NOT NULL
+--IF @@ERROR <> 0 SET NOEXEC ON
+--GO
+
+DECLARE @VersionDescription VARCHAR(255)
+SET @VersionDescription = 'Reverting postal code column change'
+
+INSERT [dbo].[ORBC_SYS_VERSION] ([VERSION_ID], [DESCRIPTION], [RELEASE_DATE]) VALUES (70, @VersionDescription, getutcdate())
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+
+COMMIT TRANSACTION
+GO
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+DECLARE @Success AS BIT
+SET @Success = 1
+SET NOEXEC OFF
+IF (@Success = 1) PRINT 'The database update succeeded'
+ELSE BEGIN
+   IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION
+   PRINT 'The database update failed'
+END
+GO
diff --git a/database/mssql/scripts/versions/v_71_ddl.sql b/database/mssql/scripts/versions/v_71_ddl.sql
new file mode 100644
index 0000000000..2a89befa5a
--- /dev/null
+++ b/database/mssql/scripts/versions/v_71_ddl.sql
@@ -0,0 +1,45 @@
+SET ANSI_NULLS ON
+GO
+SET QUOTED_IDENTIFIER ON
+GO
+SET NOCOUNT ON
+GO
+SET XACT_ABORT ON
+GO
+SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
+GO
+BEGIN TRANSACTION
+GO
+
+
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+
+ALTER TABLE [dbo].[ORBC_ADDRESS] ALTER COLUMN POSTAL_CODE VARCHAR(15) NOT NULL
+GO
+ALTER TABLE [dbo].[ORBC_ADDRESS_HIST] ALTER COLUMN POSTAL_CODE VARCHAR(15) NOT NULL
+GO
+
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+
+DECLARE @VersionDescription VARCHAR(255)
+SET @VersionDescription = 'Update postal code column'
+
+INSERT [dbo].[ORBC_SYS_VERSION] ([VERSION_ID], [DESCRIPTION], [UPDATE_SCRIPT], [REVERT_SCRIPT], [RELEASE_DATE]) VALUES (71, @VersionDescription, '$(UPDATE_SCRIPT)', '$(REVERT_SCRIPT)', getutcdate())
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+
+COMMIT TRANSACTION
+GO
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+DECLARE @Success AS BIT
+SET @Success = 1
+SET NOEXEC OFF
+IF (@Success = 1) PRINT 'The database update succeeded'
+ELSE BEGIN
+   IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION
+   PRINT 'The database update failed'
+END
+GO
\ No newline at end of file
diff --git a/database/mssql/test/versions/v_71_1_test.sql b/database/mssql/test/versions/v_71_1_test.sql
new file mode 100644
index 0000000000..94879db2a1
--- /dev/null
+++ b/database/mssql/test/versions/v_71_1_test.sql
@@ -0,0 +1,4 @@
+-- Test that the POSTAL_CODE column has been altered correctly
+SET NOCOUNT ON
+
+select COL_LENGTH('$(DB_NAME).[dbo].[ORBC_ADDRESS]', 'POSTAL_CODE')
diff --git a/database/mssql/test/versions/v_71_2_test.sql b/database/mssql/test/versions/v_71_2_test.sql
new file mode 100644
index 0000000000..5a550864bf
--- /dev/null
+++ b/database/mssql/test/versions/v_71_2_test.sql
@@ -0,0 +1,4 @@
+-- Test that the POSTAL_CODE column has been altered correctly
+SET NOCOUNT ON
+
+select COL_LENGTH('$(DB_NAME).[dbo].[ORBC_ADDRESS_HIST]', 'POSTAL_CODE')
diff --git a/database/mssql/test/versions/v_71_test.sh b/database/mssql/test/versions/v_71_test.sh
new file mode 100644
index 0000000000..f3baa69a63
--- /dev/null
+++ b/database/mssql/test/versions/v_71_test.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# Retrieve arguments
+source ${SCRIPT_DIR}/utility/getopt.sh
+USAGE="-u USER -p PASS -s SERVER -d DATABASE"
+parse_options "${USAGE}" ${@}
+
+# All database tests for database version 71 are run from this shell script.
+# TESTS_DIR variable set by the calling test-runner script.
+
+TEST_71_1_RESULT=$(/opt/mssql-tools/bin/sqlcmd -U ${USER} -P "${PASS}" -S ${SERVER} -v DB_NAME=${DATABASE} -h -1 -i ${TESTS_DIR}/v_71_1_test.sql | xargs)
+if [[ $TEST_71_1_RESULT -eq 15 ]]; then
+    echo "Test 71.1 passed: POSTAL_CODE column length updated correctly"
+else
+    echo "******** Test 71.1 failed: POSTAL_CODE column length not updated correctly: "
+    echo $TEST_71_1_RESULT
+fi
+
+TEST_71_2_RESULT=$(/opt/mssql-tools/bin/sqlcmd -U ${USER} -P "${PASS}" -S ${SERVER} -v DB_NAME=${DATABASE} -h -1 -i ${TESTS_DIR}/v_71_2_test.sql | xargs)
+if [[ $TEST_71_2_RESULT -eq 15 ]]; then
+    echo "Test 71.2 passed: POSTAL_CODE column length updated correctly"
+else
+    echo "******** Test 71.2 failed: POSTAL_CODE column length not updated correctly: "
+    echo $TEST_71_2_RESULT
+fi
\ No newline at end of file
diff --git a/vehicles/src/modules/common/dto/request/create-address.dto.ts b/vehicles/src/modules/common/dto/request/create-address.dto.ts
index 515b9d1989..a378e46dd3 100644
--- a/vehicles/src/modules/common/dto/request/create-address.dto.ts
+++ b/vehicles/src/modules/common/dto/request/create-address.dto.ts
@@ -75,6 +75,6 @@ export class CreateAddressDto {
     required: true,
   })
   @IsString()
-  @Length(5, 7)
+  @Length(5, 15)
   postalCode: string;
 }
diff --git a/vehicles/src/modules/common/entities/address.entity.ts b/vehicles/src/modules/common/entities/address.entity.ts
index d0337eb0cf..715afdd1a0 100644
--- a/vehicles/src/modules/common/entities/address.entity.ts
+++ b/vehicles/src/modules/common/entities/address.entity.ts
@@ -56,7 +56,7 @@ export class Address extends Base {
    * characters.
    */
   @AutoMap()
-  @Column({ length: 7, name: 'POSTAL_CODE', nullable: false })
+  @Column({ length: 15, name: 'POSTAL_CODE', nullable: false })
   postalCode: string;
 
   /**


Reviews:
user: login: praju-aot
body: You may merge upon approval from DA.

state: APPROVED
author_association: COLLABORATOR
submitted_at: 2025-05-05T23:43:13Z
user: login: larsenle
body: I noticed the revert statements were commented out in database/mssql/scripts/versions/revert/v_71_ddl_revert.sql -- Is that intentional?
state: APPROVED
author_association: NONE
submitted_at: 2025-05-06T15:21:24Z
user: login: praju-aot
state: CHANGES_REQUESTED
author_association: COLLABORATOR
submitted_at: 2025-05-06T16:04:11Z
user: login: praju-aot
state: CHANGES_REQUESTED
author_association: COLLABORATOR
submitted_at: 2025-05-06T16:06:21Z
user: login: praju-aot
state: APPROVED
author_association: COLLABORATOR
submitted_at: 2025-05-06T16:34:24Z
user: login: john-fletcher-aot
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-05-06T16:35:08Z

Review comments:
diff_hunk: @@ -0,0 +1,43 @@
+SET ANSI_NULLS ON
+GO
+SET QUOTED_IDENTIFIER ON
+GO
+SET NOCOUNT ON
+GO
+SET XACT_ABORT ON
+GO
+SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
+GO
+BEGIN TRANSACTION
+GO
+
+
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+
+ALTER TABLE [dbo].[ORBC_ADDRESS] ALTER COLUMN POSTAL_CODE VARCHAR(15) NOT NULL
+GO
+
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+
+DECLARE @VersionDescription VARCHAR(255)
+SET @VersionDescription = 'Create outage notification table'
path: database/mssql/scripts/versions/v_71_ddl.sql
user: login: praju-aot
body: Please update the description wherever applicable 
created_at: 2025-05-06T16:04:05Z
author_association: COLLABORATOR
diff_hunk: @@ -0,0 +1,52 @@
+SET ANSI_NULLS ON
+GO
+SET QUOTED_IDENTIFIER ON
+GO
+SET NOCOUNT ON
+GO
+
+SET XACT_ABORT ON
+GO
+SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
+GO
+BEGIN TRANSACTION
+GO
+IF @@ERROR <> 0 SET NOEXEC ON
+GO
+
+-- Note that we are intentionally not going to reset the column length for postal code
+-- We will also maintain the column length at 15 characters in the event
+-- that postal code were created that exceed that, and we would not
+-- want to delete or modify those records once in place.
+-- So, this should be considered a non-revertable change - if necessary it
+-- must be reverted manually and very carefully.
+-- Including commented-out SQL for the revert below for reference, if we
+-- were to choose to do it.
+
+--ALTER TABLE [dbo].[ORBC_ADDRESS] 
+--  ALTER COLUMN POSTAL_CODE VARCHAR(7) NOT NULL
+--ALTER TABLE [dbo].[ORBC_ADDRESS_HIST] 
+--  ALTER COLUMN POSTAL_CODE VARCHAR(7) NOT NULL
+--IF @@ERROR <> 0 SET NOEXEC ON
+--GO
+
+DECLARE @VersionDescription VARCHAR(255)
+SET @VersionDescription = 'Reverting credit account sequence updates'
path: database/mssql/scripts/versions/revert/v_71_ddl_revert.sql
user: login: praju-aot
body: Please update the version description wherever applicable
created_at: 2025-05-06T16:04:53Z
author_association: COLLABORATOR

PR comments:
user: login: gchauhan-aot
created_at: 2025-05-06T16:30:41Z
body: > I noticed the revert statements were commented out in database/mssql/scripts/versions/revert/v_71_ddl_revert.sql -- Is that intentional?

Yes, we cannot reduce the column size directly, it will result into data loss. If need for reversal occurs we will have to do it manually and carefully.
author_association: CONTRIBUTOR
user: login: sonarqubecloud[bot]
created_at: 2025-05-06T16:34:51Z
body: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=onroutebc_public&pullRequest=2002) **Quality Gate passed for 'onroutebc-public'**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=onroutebc_public&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=onroutebc_public&pullRequest=2002&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=onroutebc_public&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=onroutebc_public&pullRequest=2002&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=onroutebc_public&pullRequest=2002&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=onroutebc_public&pullRequest=2002)


author_association: NONE
user: login: sonarqubecloud[bot]
created_at: 2025-05-06T16:34:52Z
body: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=onroutebc_scheduler&pullRequest=2002) **Quality Gate passed for 'onroutebc_scheduler'**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=onroutebc_scheduler&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=onroutebc_scheduler&pullRequest=2002&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=onroutebc_scheduler&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=onroutebc_scheduler&pullRequest=2002&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=onroutebc_scheduler&pullRequest=2002&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=onroutebc_scheduler&pullRequest=2002)


author_association: NONE
user: login: sonarqubecloud[bot]
created_at: 2025-05-06T16:34:59Z
body: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=onroutebc_policy&pullRequest=2002) **Quality Gate passed for 'onroutebc_policy'**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=onroutebc_policy&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=onroutebc_policy&pullRequest=2002&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=onroutebc_policy&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=onroutebc_policy&pullRequest=2002&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=onroutebc_policy&pullRequest=2002&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=onroutebc_policy&pullRequest=2002)


author_association: NONE
user: login: sonarqubecloud[bot]
created_at: 2025-05-06T16:35:09Z
body: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=onroutebc_dops&pullRequest=2002) **Quality Gate passed for 'onroutebc dops'**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=onroutebc_dops&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=onroutebc_dops&pullRequest=2002&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=onroutebc_dops&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=onroutebc_dops&pullRequest=2002&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=onroutebc_dops&pullRequest=2002&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=onroutebc_dops&pullRequest=2002)


author_association: NONE
user: login: sonarqubecloud[bot]
created_at: 2025-05-06T16:35:11Z
body: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=onroutebc_vehicles&pullRequest=2002) **Quality Gate passed for 'onroutebc vehicles'**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=onroutebc_vehicles&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=onroutebc_vehicles&pullRequest=2002&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=onroutebc_vehicles&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=onroutebc_vehicles&pullRequest=2002&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=onroutebc_vehicles&pullRequest=2002&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=onroutebc_vehicles&pullRequest=2002)


author_association: NONE
user: login: sonarqubecloud[bot]
created_at: 2025-05-06T16:35:25Z
body: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=onroutebc_frontend&pullRequest=2002) **Quality Gate passed for 'onroutebc frontend'**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=onroutebc_frontend&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=onroutebc_frontend&pullRequest=2002&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=onroutebc_frontend&pullRequest=2002&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=onroutebc_frontend&pullRequest=2002&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=onroutebc_frontend&pullRequest=2002&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=onroutebc_frontend&pullRequest=2002)


author_association: NONE