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

遗留应用代码生成微服务工程 #47

Open
zouwenhust opened this issue Nov 12, 2019 · 3 comments
Open

遗留应用代码生成微服务工程 #47

zouwenhust opened this issue Nov 12, 2019 · 3 comments

Comments

@zouwenhust
Copy link

存量业务代码量大,传统的SOA开发模式,有rest接口,也有webservice接口,工具能否考虑支持下面的需求
1.工具支持webservice标记的接口转为POJO接口;
2.工具支持在遗留代码中,自动重构服务消费者的接口调用方式改为cse调用方式;
3.工具修改遗留代码,保留原项目的目录结构

@kakulisen
Copy link
Contributor

现在toolkit是通过解析特定框架的注解生成OpenAPI,再根据OpenAPI生成目标框架的代码。
WebService标记的接口也是以注解的形式,在以后的版本中是可以支持解析的。

@zouwenhust
Copy link
Author

现在toolkit是通过解析特定框架的注解生成OpenAPI,再根据OpenAPI生成目标框架的代码。
WebService标记的接口也是以注解的形式,在以后的版本中是可以支持解析的。

我想把原有的SOA项目按业务拆分后直接改成CSE微服务,直接在存量源码上面修改,后面的版本可以支持吗?

@chanjarster
Copy link
Member

你可以提供你的SOA源码样例(去掉敏感信息),以及期望的转换后CSE代码,并告知转换规则。
只要社区认为这一解决方案具有一定通用性,那么有可能会在后期版本中增加该功能。

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

3 participants