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

Expression integration with CEL in seata-go Saga #640

Open
ptyin opened this issue Jan 3, 2024 · 1 comment
Open

Expression integration with CEL in seata-go Saga #640

ptyin opened this issue Jan 3, 2024 · 1 comment
Assignees

Comments

@ptyin
Copy link
Member

ptyin commented Jan 3, 2024

This is a subtask under the #618

Description:

Currently, in the Java implementation, SpEL (Spring Expression Language) serves as the default expression language. For seata-go, we aim to integrate CEL (Common Expression Language) as a supported expression type.

Implementation Details:

1. Expression Components Implementation:

  • Implement key expression-related components such as ExpressionFactoryManager and ExpressionResolver tailored for CEL.

2. Implement CEL Type Expression in seata-go:

  • Develop and implement CEL type expressions within the seata-go codebase. This involves creating an Expression module specific to CEL.

3. Extend seata for CEL Type Expression:

  • Modify the seata framework to support CEL type expressions. Adapt the existing codebase to handle and evaluate expressions written in CEL.

Next Steps:

  1. Expression Components Implementation:

    • Implement the necessary components like ExpressionFactoryManager and ExpressionResolver to manage CEL expressions.
  2. Implement CEL Type Expression in seata-go:

    • Develop a CEL type expression module within seata-go, ensuring compatibility with the chosen expression language.
  3. Extend seata for CEL Type Expression:

    • Adapt the seata framework to recognize and handle CEL type expressions. This includes modifications to allow the seamless integration of CEL as a supported expression language.

By completing these steps, we aim to integrate CEL as a supported expression type in seata-go, with the necessary components and modifications in both seata-go and seata frameworks to handle and evaluate CEL expressions effectively.

@wt-better wt-better self-assigned this Jan 4, 2024
@wt-better
Copy link
Contributor

Assign to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants