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

powerjob-server模块打包发布到maven中央仓库 #61

Closed
xiaoxia0617 opened this issue Aug 27, 2020 · 3 comments
Closed

powerjob-server模块打包发布到maven中央仓库 #61

xiaoxia0617 opened this issue Aug 27, 2020 · 3 comments
Labels
new feature new feature

Comments

@xiaoxia0617
Copy link

Is your feature request related to a problem? Please describe.
我想使用powerjob-server中流程管理、实例管理、流程引擎处理这块的功能, 但不想把powerjob-server中的代码完整的复制到自己的工程中; 希望能直接通过依赖powerjob-server这个包, 将其核心功能引入本项目, 好处是自己可以扩展流程管理功能提供符合自己业务的REST API;另外, 可以做一个类似powerjob-worker-spring-boot-starter一样的powerjob-server-spring-boot-starter模块

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
将powerjob-server发布到maven中央仓库 或者 增加一个powerjob-server-spring-boot-starter层

@xiaoxia0617 xiaoxia0617 added the new feature new feature label Aug 27, 2020
@KFCFans
Copy link
Member

KFCFans commented Aug 27, 2020

其实在我一开始的设想中,powerjob-server 就应该是一个独立的 jar,负责调度和任务的管理。但是后面发现难以划分边界,重新思考后我认为目前这种模式就是合理的。
毕竟 PowerJob 的定位是中间件,需要统一、集中部署 server 是一件非常正常的事情。至于你想要的扩张功能,你可以选择在 powerjob-client(OpenAPI)的基础上进行二次开发。
非常不建议拷代码......部署 server 用 OpenAPI 扩展才是正确的打开方式。

@KFCFans KFCFans closed this as completed Aug 27, 2020
@dudiao
Copy link
Member

dudiao commented Aug 29, 2020

如果powerjob-client和powerjob-server在同一个项目(JVM)里,是不是既能满足扩展,又没有拷代码

@KFCFans
Copy link
Member

KFCFans commented Aug 30, 2020

如果powerjob-client和powerjob-server在同一个项目(JVM)里,是不是既能满足扩展,又没有拷代码

他就是不想单独部署 server,想直接拿一部分能力集成到已有系统中,这个不考虑支持。

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

No branches or pull requests

3 participants