Skip to content

Feature/sdx - #235

Draft
ikethecoder wants to merge 135 commits into
devfrom
feature/sdx
Draft

Feature/sdx#235
ikethecoder wants to merge 135 commits into
devfrom
feature/sdx

upd pattern

39b0594
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 26, 2026 in 41s

Quality Gate failed

Failed conditions
4 Security Hotspots
10.0% Duplication on New Code (required ≤ 3%)
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 815 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIW&open=AZ0rj1DPgsMMaCOl7hIW&pullRequest=235

Check warning on line 756 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "err" with "_".

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIS&open=AZ0rj1DPgsMMaCOl7hIS&pullRequest=235

Check failure on line 102 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "[%s] - Failed to apply routes: %s" 3 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH4&open=AZ0rj1DPgsMMaCOl7hH4&pullRequest=235

Check failure on line 422 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "[%s] Error updating custom routes. %s" 4 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH9&open=AZ0rj1DPgsMMaCOl7hH9&pullRequest=235

Check warning on line 550 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "outFolder" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIP&open=AZ0rj1DPgsMMaCOl7hIP&pullRequest=235

Check warning on line 574 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIU&open=AZ0rj1DPgsMMaCOl7hIU&pullRequest=235

Check warning on line 633 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "selectTag" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIQ&open=AZ0rj1DPgsMMaCOl7hIQ&pullRequest=235

Check warning on line 520 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "selectTag" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIJ&open=AZ0rj1DPgsMMaCOl7hIJ&pullRequest=235

Check failure on line 4 in microservices/gatewayApi/utils/deck.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/tmp/deck.yaml" 5 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1BIgsMMaCOl7hHz&open=AZ0rj1BIgsMMaCOl7hHz&pullRequest=235

Check failure on line 379 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "aps.route.session.cookie.enabled" 4 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH8&open=AZ0rj1DPgsMMaCOl7hH8&pullRequest=235

Check warning on line 493 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "tempFolder" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIK&open=AZ0rj1DPgsMMaCOl7hIK&pullRequest=235

Check failure on line 45 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIF&open=AZ0rj1DPgsMMaCOl7hIF&pullRequest=235

Check failure on line 380 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "aps.route.dataclass.low" 4 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH5&open=AZ0rj1DPgsMMaCOl7hH5&pullRequest=235

Check failure on line 383 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "aps.route.dataclass.public" 4 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH6&open=AZ0rj1DPgsMMaCOl7hH6&pullRequest=235

Check failure on line 138 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "[%s] The exit code was: %d" 3 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH2&open=AZ0rj1DPgsMMaCOl7hH2&pullRequest=235

Check failure on line 81 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Sync Failed." 3 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH3&open=AZ0rj1DPgsMMaCOl7hH3&pullRequest=235

Check warning on line 604 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "tempFolder" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIR&open=AZ0rj1DPgsMMaCOl7hIR&pullRequest=235

Check failure on line 59 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "%s/%s" 3 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIB&open=AZ0rj1DPgsMMaCOl7hIB&pullRequest=235

Check failure on line 56 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "%s/%s/%s" 4 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH7&open=AZ0rj1DPgsMMaCOl7hH7&pullRequest=235

Check failure on line 381 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "aps.route.dataclass.medium" 4 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hH_&open=AZ0rj1DPgsMMaCOl7hH_&pullRequest=235

Check warning on line 478 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused local variable "dump_only".

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIL&open=AZ0rj1DPgsMMaCOl7hIL&pullRequest=235

Check warning on line 414 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIH&open=AZ0rj1DPgsMMaCOl7hIH&pullRequest=235

Check warning on line 477 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused local variable "dry_run".

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIM&open=AZ0rj1DPgsMMaCOl7hIM&pullRequest=235

Check failure on line 97 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/namespaces/%s/routes" 3 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIC&open=AZ0rj1DPgsMMaCOl7hIC&pullRequest=235

Check failure on line 72 in microservices/gatewayApi/v2/routes/gateway.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "[%s] (%s) %s action using %s" 3 times.

See more on https://sonarcloud.io/project/issues?id=bcgov_gwa-api&issues=AZ0rj1DPgsMMaCOl7hIE&open=AZ0rj1DPgsMMaCOl7hIE&pullRequest=235