-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
dubbo多分支api依赖版本管理问题 #1523
Comments
hi, cnhaicao, Here I share my experience:
|
Hi, welcome! Would you please update the title and description using English? Dubbo is a global community and we would like the issue to be reviewed by people all over the world. Questions like this are expected to be asked in the mailing list, you can subscribe and ask there. |
Dubbo multi-branch api dependent version management issues According to the official recommendation, the public api project is extracted between the service provider and the service consumer. Both the service consumer and the service provider rely on this api project. When the dubbo-based microservice architecture is used, services are inevitably invoked. The problem that arises is that engineering depends on multiple api projects. We use jenkins to use all the api poll scm detection code changes when the API is automatically packaged to the internal network nexus PW. |
It is usage question. |
Now I think the api can has multi-version. And the service also can have multi-version configured in dubbo:service. e,g.<dubbo:service version="1.1"/> |
按官方推荐作法,在服务提供方和服务消费方间抽取公共api工程,服务消费方和服务提供方均依赖此api工程,在使用基于dubbo的微服务架构时,不可避免出现了服务互相调用的问题,会出现工程依赖于多个api工程。我们使用jenkins对所有api使用poll scm检测代码发生变更时将api自动打包到内网nexus私服。
使所有服务提供方及消费方均能顺便依赖这些api工程,当团队协作时,不可避免需要拉多个分支进行并行开发。此时api版本的依赖管理如何作?
假设有分支dev及rel 两个分支的api均可能被修改,此时如果dev及rel分支的api版本号是不是应该区分开,两个分支的api设置不同的版本号吗,然后dev/rel均设置poll scm自动打包nexus,这样的话在代码合并的时侯不可避免带来版本号手工维护问题。请问有其它更好的方法吗?
The text was updated successfully, but these errors were encountered: