-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add action execution component. #5810
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
...java/org/wso2/carbon/identity/action/execution/internal/ActionExecutionServiceComponent.java
Show resolved
Hide resolved
...rg/wso2/carbon/identity/action/execution/internal/ActionExecutionServiceComponentHolder.java
Outdated
Show resolved
Hide resolved
...on.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/Organization.java
Show resolved
Hide resolved
# Conflicts: # components/action-mgt/org.wso2.carbon.identity.action.execution/pom.xml # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutionRequestBuilder.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutionRequestBuilderFactory.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutionResponseProcessor.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorService.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/exception/ActionExecutionException.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/exception/ActionInvocationException.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/ActionInvocationErrorResponse.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/ActionInvocationResponse.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/ActionInvocationSuccessResponse.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/ActionType.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/util/APIClient.java # components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/util/AuthMethods.java
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
hwupathum
reviewed
Jul 24, 2024
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Show resolved
Hide resolved
....action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/Request.java
Outdated
Show resolved
Hide resolved
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
hwupathum
reviewed
Jul 24, 2024
.../java/org/wso2/carbon/identity/action/execution/ActionExecutionResponseProcessorFactory.java
Show resolved
Hide resolved
hwupathum
reviewed
Jul 24, 2024
...ion.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/Application.java
Outdated
Show resolved
Hide resolved
indeewari
reviewed
Jul 25, 2024
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
indeewari
reviewed
Jul 25, 2024
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
indeewari
reviewed
Jul 25, 2024
...ain/java/org/wso2/carbon/identity/action/execution/ActionExecutionRequestBuilderFactory.java
Show resolved
Hide resolved
indeewari
reviewed
Jul 25, 2024
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
Yoshani
reviewed
Jul 25, 2024
...n/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutionRequestBuilder.java
Outdated
Show resolved
Hide resolved
...rg/wso2/carbon/identity/action/execution/internal/ActionExecutionServiceComponentHolder.java
Outdated
Show resolved
Hide resolved
....action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/Request.java
Outdated
Show resolved
Hide resolved
....action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/Request.java
Outdated
Show resolved
Hide resolved
...ity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/User.java
Outdated
Show resolved
Hide resolved
...action.execution/src/main/java/org/wso2/carbon/identity/action/execution/util/APIClient.java
Show resolved
Hide resolved
indeewari
reviewed
Jul 25, 2024
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
indeewari
reviewed
Jul 25, 2024
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Show resolved
Hide resolved
indeewari
reviewed
Jul 25, 2024
...ution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutorServiceImpl.java
Outdated
Show resolved
Hide resolved
indeewari
previously approved these changes
Jul 29, 2024
hwupathum
reviewed
Jul 29, 2024
...ity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/User.java
Outdated
Show resolved
Hide resolved
hwupathum
previously approved these changes
Jul 29, 2024
13 tasks
ashanthamara
approved these changes
Jul 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes in this pull request
Implements the core framework to implement actions for wso2/product-is#20739
The framework incorporates following high level components.
ActionExecutorService:
This is the service that will be consumed by other components to trigger an action.
e.g:, OAuth component will consume this service to trigger an API configured to be invoked before issuing an access token.
This service is responsible for building the request that needs to be sent to the API, invoking the API and passing the response back in order to perform necessary state changes.
ActionExecutionRequestBuilder:
Downstream components invoking the ActionExecutorService needs to implement this request builder to build the request that needs to be passed to the external API extending the flow.
e.g: OAuth component will implement a request builder to build the event incorporating all access token related data that needs to be passed to the service extending the flow.
ActionExecutionResponseProcessor:
Downstream components invoking the ActionExecutorService needs to implement this response processor to receive the API response and to perform respective state changes within the flow.
e.g: OAuth component will implement a response processor to perform changes to the access token response based on the response of the service extending the flow.
ActionExecutionRequestBuilderFactory and ActionExecutionResponseProcessorFactory:
Each of these factories provides the ActionExecutionRequestBuilder and ActionExecutionResponseProcessor instances registered against action types to the ActionExecutorService.
When should this PR be merged
As approved