Skip to content

Feature - In-Flow Extension#7946

Open
ThejithaR wants to merge 41 commits into
wso2:masterfrom
ThejithaR:feature/in-flow-extensions
Open

Feature - In-Flow Extension#7946
ThejithaR wants to merge 41 commits into
wso2:masterfrom
ThejithaR:feature/in-flow-extensions

Update applyOrganization in the request builder

1da00f9
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 23, 2026 in 2m 31s

Annotations

Check warning on line 32 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/internal/InFlowExtensionDataHolder.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=AZ4U51WmwrpsnCPxEuMw&open=AZ4U51WmwrpsnCPxEuMw&pullRequest=7946

Check warning on line 248 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/management/InFlowExtensionActionDTOModelResolver.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=AZ4U51VYwrpsnCPxEuMu&open=AZ4U51VYwrpsnCPxEuMu&pullRequest=7946

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 61 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/InFlowExtensionConstants.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=AZ4GDQD-bi7aTk1cYH9v&open=AZ4GDQD-bi7aTk1cYH9v&pullRequest=7946

Check failure on line 176 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/InFlowExtensionConstants.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=AZ4W8t_rG3x1gHcsRG1I&open=AZ4W8t_rG3x1gHcsRG1I&pullRequest=7946

Check warning on line 112 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/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=AZ4U65OiBRFDkWFmIY0q&open=AZ4U65OiBRFDkWFmIY0q&pullRequest=7946

Check failure on line 720 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/executor/InFlowExtensionResponseProcessor.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=AZ4GDQEqbi7aTk1cYH-J&open=AZ4GDQEqbi7aTk1cYH-J&pullRequest=7946

Check warning on line 88 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/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=AZ4U65OiBRFDkWFmIY0p&open=AZ4U65OiBRFDkWFmIY0p&pullRequest=7946

Check warning on line 32 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/metadata/InFlowExtensionContextTreeService.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=AZ4GDP-7bi7aTk1cYH9q&open=AZ4GDP-7bi7aTk1cYH9q&pullRequest=7946

Check failure on line 155 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/InFlowExtensionConstants.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=AZ4W8t_rG3x1gHcsRG1G&open=AZ4W8t_rG3x1gHcsRG1G&pullRequest=7946

Check warning on line 62 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/InFlowExtensionConstants.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=AZ4GDQD-bi7aTk1cYH9t&open=AZ4GDQD-bi7aTk1cYH9t&pullRequest=7946

Check failure on line 188 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/metadata/InFlowExtensionContextTreeBuilder.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=AZ4U51O0wrpsnCPxEuMt&open=AZ4U51O0wrpsnCPxEuMt&pullRequest=7946

Check failure on line 161 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/InFlowExtensionConstants.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=AZ4W8t_rG3x1gHcsRG1H&open=AZ4W8t_rG3x1gHcsRG1H&pullRequest=7946

Check failure on line 320 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/executor/InFlowExtensionRequestBuilder.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=AZ4U51WJwrpsnCPxEuMv&open=AZ4U51WJwrpsnCPxEuMv&pullRequest=7946

Check warning on line 58 in components/flow-orchestration-framework/org.wso2.carbon.identity.flow.extensions/src/main/java/org/wso2/carbon/identity/flow/extensions/InFlowExtensionConstants.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=AZ4GDQD-bi7aTk1cYH9u&open=AZ4GDQD-bi7aTk1cYH9u&pullRequest=7946