Skip to content

Fix ConsumerTest.scala for authMode=UserOrApplication

4359006
Select commit
Loading
Failed to load commit list.
Merged

authMode on Consumer / OIDC related endpoints + Counterparty Attributes #2732

Fix ConsumerTest.scala for authMode=UserOrApplication
4359006
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 14, 2026 in 29s

Annotations

Check warning on line 76 in obp-api/src/main/scala/code/api/v6_0_0/JSONFactory6.0.0.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn2j9g_lfcjCqVME&open=AZzrYn2j9g_lfcjCqVME&pullRequest=2732

Check warning on line 79 in obp-api/src/main/scala/code/api/v6_0_0/JSONFactory6.0.0.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn2j9g_lfcjCqVMG&open=AZzrYn2j9g_lfcjCqVMG&pullRequest=2732

Check warning on line 1026 in obp-api/src/main/scala/code/api/v6_0_0/JSONFactory6.0.0.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn2j9g_lfcjCqVMI&open=AZzrYn2j9g_lfcjCqVMI&pullRequest=2732

Check warning on line 1016 in obp-api/src/main/scala/code/api/v6_0_0/JSONFactory6.0.0.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn2j9g_lfcjCqVMH&open=AZzrYn2j9g_lfcjCqVMH&pullRequest=2732

Check failure on line 97 in obp-api/src/test/scala/code/api/v6_0_0/CounterpartyAttributeTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "200 Success" 3 times.

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn9b9g_lfcjCqVML&open=AZzrYn9b9g_lfcjCqVML&pullRequest=2732

Check warning on line 70 in obp-api/src/main/scala/code/api/v6_0_0/JSONFactory6.0.0.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn2j9g_lfcjCqVMD&open=AZzrYn2j9g_lfcjCqVMD&pullRequest=2732

Check warning on line 77 in obp-api/src/main/scala/code/api/v6_0_0/JSONFactory6.0.0.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn2j9g_lfcjCqVMF&open=AZzrYn2j9g_lfcjCqVMF&pullRequest=2732

Check failure on line 12305 in obp-api/src/main/scala/code/api/v6_0_0/APIMethods600.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/banks/BANK_ID/accounts/ACCOUNT_ID/counterparties/COUNTERPARTY_ID/attributes/COUNTERPARTY_ATTRIBUTE_ID" 3 times.

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn8W9g_lfcjCqVMJ&open=AZzrYn8W9g_lfcjCqVMJ&pullRequest=2732

Check failure on line 91 in obp-api/src/test/scala/code/api/v6_0_0/CounterpartyAttributeTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "403 Forbidden" 4 times.

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn9b9g_lfcjCqVMK&open=AZzrYn9b9g_lfcjCqVMK&pullRequest=2732

Check failure on line 46 in obp-api/src/test/scala/code/api/v6_0_0/CounterpartyAttributeTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "401 Unauthorized" 5 times.

See more on https://sonarcloud.io/project/issues?id=OpenBankProject_OBP-API&issues=AZzrYn9b9g_lfcjCqVMM&open=AZzrYn9b9g_lfcjCqVMM&pullRequest=2732