Skip to content
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

Workflow service externalization #15783

Closed
dewniMW opened this issue Apr 25, 2023 · 4 comments
Closed

Workflow service externalization #15783

dewniMW opened this issue Apr 25, 2023 · 4 comments

Comments

@dewniMW
Copy link
Contributor

dewniMW commented Apr 25, 2023

Description:
For workflow-related operations, IS has an embedded BPEL server. BPEL has some drawbacks when it comes to its usage in IS such as runtime overhead, distribution size, and maintenance overhead. The IS should have the capability to fully externalize the workflow engine from the IS, and make any workflow engine pluggable and usable by IS.

@malithiperera
Copy link

malithiperera commented Apr 26, 2023

identity-workflow-impl-bps

01. Generalize the workflow request payload and Call external workflow mediator

Generalize the workflow request payload which we send to the external workflow mediator and implement the call mediator service. To do that we implement a separate executor WorkflowMediatorRequestExecutor.java

PR Link: https://github.com/wso2-extensions/identity-workflow-impl-bps/pull/70/files

02. create external workflow template

Create a new template for add a workflow definition to a external workflow

We have introduced a new template for external workflow processes, as it is not necessary to go through the multi-step approval template deployment process when introducing a workflow service mediator.

PR Link : wso2-extensions/identity-workflow-impl-bps#71

03. Create a new template for add a workflow definition to a external workflow

We have introduced a new template for external workflow processes, as it is not necessary to go through the multi-step approval template deployment process when introducing a workflow service mediator.

PR Link : wso2-extensions/identity-workflow-impl-bps#72

04. A new UI change has been introduced to provide an API Key, which is necessary for deploying the workflow service mediator in Choreo.

Introduce a new field to add API Key when deploying workflow mediator in Choreo

PR Link : wso2-extensions/identity-workflow-impl-bps#73

@malithiperera
Copy link

malithiperera commented Apr 26, 2023

carbon-identity-framework

01. Implement a method to retrieve External Workflow Id

The getExternalWorkflowId function retrieves the external workflow identifier associated with a given workflow id. This unique identifier corresponds to the deployed workflow id in an external BPS engine.

02. Provide API Key support to BPS Profile

Introduce new constants and change some database queries for add , retrieve update workflow profiles

03. Update template file

Change the template-wf-wizard.jsp file to skip the validation of the newly added external workflow template form

04. Expose workflow management callback API public

expose the implemented workflow management rest API endpoint public

05. Introduce new database column API_KEY

Introduce a new column for store the API_KEY when deploying external workflow mediator in Choreo

@malithiperera
Copy link

malithiperera commented Apr 26, 2023

identity-api-server

Implement a new Rest end point for workflow management

@isharak
Copy link
Member

isharak commented Nov 7, 2024

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

@isharak isharak closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants