Skip to content

Feature - Flow Extension Executor (stacked on #8109)#8112

Open
KD23243 wants to merge 20 commits into
wso2:masterfrom
KD23243:feature/in-flow-extensions-master-pruned
Open

Feature - Flow Extension Executor (stacked on #8109)#8112
KD23243 wants to merge 20 commits into
wso2:masterfrom
KD23243:feature/in-flow-extensions-master-pruned

Align with FlowExtension naming from #8109

ff0d3fe
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 25, 2026 in 2m 36s

Annotations

Check warning on line 134 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/FlowExtensionConstants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor your code to get this URI from a customizable parameter.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46b1cewz58IZ6yJ7&open=AZ5e46b1cewz58IZ6yJ7&pullRequest=8112

Check failure on line 320 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/executor/FlowExtensionRequestBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46XJcewz58IZ6yJv&open=AZ5e46XJcewz58IZ6yJv&pullRequest=8112

Check failure on line 188 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/metadata/FlowExtensionContextTreeBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use already-defined constant 'DATA_TYPE_STRING' instead of duplicating its value here.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46bmcewz58IZ6yJ0&open=AZ5e46bmcewz58IZ6yJ0&pullRequest=8112

Check failure on line 720 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/executor/FlowExtensionResponseProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use already-defined constant 'DIAG_PARAM_ACTION_TYPE' instead of duplicating its value here.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46bKcewz58IZ6yJx&open=AZ5e46bKcewz58IZ6yJx&pullRequest=8112

Check failure on line 161 in components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/internal/service/impl/ActionExecutorServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal " for action type: " 5 times.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46dXcewz58IZ6yJ-&open=AZ5e46dXcewz58IZ6yJ-&pullRequest=8112

Check warning on line 222 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/executor/FlowExtensionRequestBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof FlowExtensionAction ext'

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46XJcewz58IZ6yJw&open=AZ5e46XJcewz58IZ6yJw&pullRequest=8112

Check warning on line 210 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/management/FlowExtensionActionDTOModelResolver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'org.wso2.carbon.identity.action.management.api.exception.ActionDTOModelResolverException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46cQcewz58IZ6yJ9&open=AZ5e46cQcewz58IZ6yJ9&pullRequest=8112

Check failure on line 98 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/FlowExtensionConstants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use already-defined constant 'ATTR_CONTEXT_IDENTIFIER' instead of duplicating its value here.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46b1cewz58IZ6yJ2&open=AZ5e46b1cewz58IZ6yJ2&pullRequest=8112

Check failure on line 104 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/FlowExtensionConstants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use already-defined constant 'ATTR_FLOW_USER' instead of duplicating its value here.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46b1cewz58IZ6yJ3&open=AZ5e46b1cewz58IZ6yJ3&pullRequest=8112

Check warning on line 132 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/FlowExtensionConstants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor your code to get this URI from a customizable parameter.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46b1cewz58IZ6yJ6&open=AZ5e46b1cewz58IZ6yJ6&pullRequest=8112

Check failure on line 113 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/FlowExtensionConstants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use already-defined constant 'ATTR_USER_CREDENTIALS' instead of duplicating its value here.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46b1cewz58IZ6yJ4&open=AZ5e46b1cewz58IZ6yJ4&pullRequest=8112

Check warning on line 96 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/model/AccessConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46bUcewz58IZ6yJz&open=AZ5e46bUcewz58IZ6yJz&pullRequest=8112

Check warning on line 32 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/internal/FlowExtensionDataHolder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A Singleton implementation was detected. Make sure the use of the Singleton pattern is required and the implementation is the right one for the context.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46cGcewz58IZ6yJ8&open=AZ5e46cGcewz58IZ6yJ8&pullRequest=8112

Check warning on line 129 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/FlowExtensionConstants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor your code to get this URI from a customizable parameter.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46b1cewz58IZ6yJ5&open=AZ5e46b1cewz58IZ6yJ5&pullRequest=8112

Check warning on line 72 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/model/AccessConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46bUcewz58IZ6yJy&open=AZ5e46bUcewz58IZ6yJy&pullRequest=8112

Check warning on line 32 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extension/src/main/java/org/wso2/carbon/identity/flow/extension/metadata/FlowExtensionContextTreeService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A Singleton implementation was detected. Make sure the use of the Singleton pattern is required and the implementation is the right one for the context.

See more on https://sonarcloud.io/project/issues?id=wso2_carbon-identity-framework&issues=AZ5e46bucewz58IZ6yJ1&open=AZ5e46bucewz58IZ6yJ1&pullRequest=8112