You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/12 04:32:47 UTC

[GitHub] [dubbo-samples] plusmancn opened a new pull request #366: [ISSUE-365] Add dubbo-samples-migration

plusmancn opened a new pull request #366:
URL: https://github.com/apache/dubbo-samples/pull/366


   Fixes #365 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-samples] plusmancn edited a comment on pull request #366: [ISSUE-365] Add dubbo-samples-migration

Posted by GitBox <gi...@apache.org>.
plusmancn edited a comment on pull request #366:
URL: https://github.com/apache/dubbo-samples/pull/366#issuecomment-920200045


   ## Compatibility Testing Scenario Usage
   Pre-requirements: Both provider and consumer can not use the same `POM`, because you cannot guarantee that all the codes you write Dubbo 2.0 and 3.0 support at the same time,  they must be divided into two independent projects. This is also applicable in daily business compatibility testing
   
   Add new grammar to `case-versions.conf`:
   ```yaml
   # 原常规配置
   # dubbo.version=2.7*, 3.*
   spring.version=4.*, 5.*
   
   # 支持不同的 servcie 应用,配置不同的 dubbo 版本依赖,与 dubbo.version 二选一
   # 为防止构建用例倍级增长,不不建议配置多个版本
   dubbo.provider.version=3.*
   dubbo.consumer.version=2.7.*
   ```
   And then in each consumer and provider project, you can configure `POM`'s properties as follows: 
   ```
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-samples] guohao merged pull request #366: [ISSUE-365] Add dubbo-samples-migration

Posted by GitBox <gi...@apache.org>.
guohao merged pull request #366:
URL: https://github.com/apache/dubbo-samples/pull/366


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-samples] plusmancn edited a comment on pull request #366: [ISSUE-365] Add dubbo-samples-migration

Posted by GitBox <gi...@apache.org>.
plusmancn edited a comment on pull request #366:
URL: https://github.com/apache/dubbo-samples/pull/366#issuecomment-920200045


   ## Compatibility Testing Scenario Usage
   Pre-requirements: Both provider and consumer can not use the same `POM`, because you cannot guarantee that all the codes you write Dubbo 2.0 and 3.0 support at the same time,  they must be divided into two independent projects. This is also applicable in daily business compatibility testing
   
   Add new grammar to `case-versions.conf`:
   ```yaml
   # 原常规配置
   # dubbo.version=2.7*, 3.*
   spring.version=4.*, 5.*
   
   # 支持不同的 servcie 应用,配置不同的 dubbo 版本依赖,与 dubbo.version 二选一
   # 为防止构建用例倍级增长,不建议配置多个版本
   # dubbo.{service}.verison 中的 service 可以任意自定义
   dubbo.provider.version=3.*
   dubbo.consumer.version=2.7.*
   ```
   And then in each consumer and provider project, you can configure `POM`'s properties as follows: 
   ```xml
   #  consumer side
   <properties>
       <dubbo.consumer.version>2.7.13</dubbo.consumer.version>
   </properties>
   
   # provider side
   <properties>
       <dubbo.provider.version>2.7.13</dubbo.provider.version>
   </properties>
   ```
   
   When the Integration Tests trigger, these properties will be overwritten by maven, for example:
   ```shell
   mvn -Ddubbo.provider.version=3.0.3-SNAPSHOT -Ddubbo.consumer.version=2.7.13 -Dspring.version=4.3.16.RELEASE
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-samples] plusmancn commented on pull request #366: [ISSUE-365] Add dubbo-samples-migration

Posted by GitBox <gi...@apache.org>.
plusmancn commented on pull request #366:
URL: https://github.com/apache/dubbo-samples/pull/366#issuecomment-920200045


   I will add some docs in a few days.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-samples] plusmancn edited a comment on pull request #366: [ISSUE-365] Add dubbo-samples-migration

Posted by GitBox <gi...@apache.org>.
plusmancn edited a comment on pull request #366:
URL: https://github.com/apache/dubbo-samples/pull/366#issuecomment-920200045


   ## Compatibility Testing Scenario Usage
   Pre-requirements: Both provider and consumer can not use the same `POM`, because you cannot guarantee that all the codes you write Dubbo 2.0 and 3.0 support at the same time,  they must be divided into two independent projects. This is also applicable in daily business compatibility testing
   
   Add new grammar to `case-versions.conf`:
   ```yaml
   # 原常规配置
   # dubbo.version=2.7*, 3.*
   spring.version=4.*, 5.*
   
   # 支持不同的 servcie 应用,配置不同的 dubbo 版本依赖,与 dubbo.version 二选一
   # 为防止构建用例倍级增长,不不建议配置多个版本
   # dubbo.{service}.verison 中的 service 可以任意自定义
   dubbo.provider.version=3.*
   dubbo.consumer.version=2.7.*
   ```
   And then in each consumer and provider project, you can configure `POM`'s properties as follows: 
   ```xml
   #  consumer side
   <properties>
       <dubbo.consumer.version>2.7.13</dubbo.consumer.version>
   </properties>
   
   # provider side
   <properties>
       <dubbo.provider.version>2.7.13</dubbo.provider.version>
   </properties>
   ```
   
   When the Integration Tests trigger, these properties will be overwritten by maven, for example:
   ```shell
   mvn -Ddubbo.provider.version=3.0.3-SNAPSHOT -Ddubbo.consumer.version=2.7.13 -Dspring.version=4.3.16.RELEASE
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org