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

Add seata-solon-plugin adaptation (draft) #6952

Draft
wants to merge 20 commits into
base: 2.x
Choose a base branch
from
Draft

Add seata-solon-plugin adaptation (draft) #6952

wants to merge 20 commits into from

Conversation

noear
Copy link

@noear noear commented Oct 25, 2024

目前参考 spring 相关的适配代码翻译的。已完成的事项有:

  • 完成 seata 注解拦截器并执行拦截处理
  • 完成 solon 内部的过滤器、rpc、http 的相关上下文传递
  • 完成 数据源转换为 seata 的代理
  • 完成 ConfigXxxProperties 与 RegistryXxxProperties 的适配
  • 完成 ExtConfigurationProvider java-spi 适配

补充:

  • solon 的扩展以 "plugin" 为概念(也可以被热插拨)。以编码的形式,为模块提供了一个生命周期
  • 本适配的入口为 SeataPlugin 类

At present, refer to the spring related adaptation code translation. The items completed are:

  • Complete seata annotation interceptors and perform interception processing
  • Perform context passing for filters, rpc, http inside solon
  • Proxy for converting data sources to seata
  • Complete ConfigXxxProperties and RegistryXxxProperties adaptation
  • Complete the ExtConfigurationProvider java-spi adaptation

Add:

  • solon's extension has a "plugin" concept (which can also be hotplugged). In the form of encoding, a life cycle is provided for the module
  • The entry point for this adaptation is the SeataPlugin class

Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please gather the adaptive code into a module under integration.

@noear
Copy link
Author

noear commented Oct 26, 2024

@slievrly 是移到 'integration' 目录下是吗?已经移了。。。麻烦,帮忙看看代码问题(目前仍是 draft)

顺带请教个问题:

我是用 IDEA 打开 seata 工程。能打开写代码,但是 maven 工具的 “生命周期”(clean, install) 之类的按钮都不能点。需要用 mvn 命令行才能编译。

是需要做什么设置吗?还是我环境可能有问题(我其它项目都正常)?

@slievrly
Copy link
Member

slievrly commented Nov 5, 2024

@slievrly 是移到 'integration' 目录下是吗?已经移了。。。麻烦,帮忙看看代码问题(目前仍是 draft)

顺带请教个问题:

我是用 IDEA 打开 seata 工程。能打开写代码,但是 maven 工具的 “生命周期”(clean, install) 之类的按钮都不能点。需要用 mvn 命令行才能编译。

是需要做什么设置吗?还是我环境可能有问题(我其它项目都正常)?

Execute maven commands at the top level of the entire project, not modules.

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

Successfully merging this pull request may close these issues.

3 participants