Skip to content

[Test PR] Implemented API Key For Federated APIs - #1338

Open
dpiyumal2319 wants to merge 12 commits into
wso2:mainfrom
dpiyumal2319:dasunw-federated-gateway-clean
Open

[Test PR] Implemented API Key For Federated APIs#1338
dpiyumal2319 wants to merge 12 commits into
wso2:mainfrom
dpiyumal2319:dasunw-federated-gateway-clean

Added plan mapping key name derived from the settings

ff42c63
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 7, 2026 in 1m 37s

Annotations

Check warning on line 643 in portals/devportal/src/main/webapp/source/src/app/components/Shared/ApiTryOut/TryOutController.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'api.gatewayVendor' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BS_9ayd-KZZrxMJyC&open=AZ4BS_9ayd-KZZrxMJyC&pullRequest=1343

Check warning on line 56 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/GatewayConfiguration.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'gatewayConfigurations.filter' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTABgyd-KZZrxMJyI&open=AZ4BTABgyd-KZZrxMJyI&pullRequest=1343

Check warning on line 51 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/GatewayConfiguration.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'hasErrors' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTABgyd-KZZrxMJyE&open=AZ4BTABgyd-KZZrxMJyE&pullRequest=1343

Check warning on line 51 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/GatewayConfiguration.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'planMappingErrors' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTABgyd-KZZrxMJyG&open=AZ4BTABgyd-KZZrxMJyG&pullRequest=1343

Check warning on line 367 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/GatewayConfiguration.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'gatewayConfigurations.filter' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTABgyd-KZZrxMJyK&open=AZ4BTABgyd-KZZrxMJyK&pullRequest=1343

Check warning on line 51 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/GatewayConfiguration.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'supportedApiTypes' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTABgyd-KZZrxMJyH&open=AZ4BTABgyd-KZZrxMJyH&pullRequest=1343

Check warning on line 27 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/GatewayPlanMapping.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`NON_MAPPABLE_SUBSCRIPTION_POLICIES` should be a `Set`, and use `NON_MAPPABLE_SUBSCRIPTION_POLICIES.has()` to check existence or non-existence.

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BS_-1yd-KZZrxMJyD&open=AZ4BS_-1yd-KZZrxMJyD&pullRequest=1343

Check warning on line 364 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/GatewayConfiguration.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'gatewayConfigurations.filter' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTABgyd-KZZrxMJyJ&open=AZ4BTABgyd-KZZrxMJyJ&pullRequest=1343

Check warning on line 643 in portals/devportal/src/main/webapp/source/src/app/components/Shared/ApiTryOut/TryOutController.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'api.gatewayVendor' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BS_9ayd-KZZrxMJyB&open=AZ4BS_9ayd-KZZrxMJyB&pullRequest=1343

Check warning on line 379 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/AddEditGWEnvironment.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTAD3yd-KZZrxMJyM&open=AZ4BTAD3yd-KZZrxMJyM&pullRequest=1343

Check warning on line 51 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/GatewayConfiguration.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'validating' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTABgyd-KZZrxMJyF&open=AZ4BTABgyd-KZZrxMJyF&pullRequest=1343

Check warning on line 372 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/AddEditGWEnvironment.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTAD3yd-KZZrxMJyL&open=AZ4BTAD3yd-KZZrxMJyL&pullRequest=1343

Check warning on line 1276 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/AddEditGWEnvironment.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not use nested template literals.

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTAD3yd-KZZrxMJyP&open=AZ4BTAD3yd-KZZrxMJyP&pullRequest=1343

Check warning on line 1276 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/AddEditGWEnvironment.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTAD3yd-KZZrxMJyO&open=AZ4BTAD3yd-KZZrxMJyO&pullRequest=1343

Check warning on line 684 in portals/admin/src/main/webapp/source/src/app/components/GatewayEnvironments/AddEditGWEnvironment.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.find(…)` over `.filter(…)[0]`.

See more on https://sonarcloud.io/project/issues?id=wso2_apim-apps&issues=AZ4BTAD3yd-KZZrxMJyN&open=AZ4BTAD3yd-KZZrxMJyN&pullRequest=1343