Skip to content

Commit 0da9e97

Browse files
authored
2.7.x (#742)
* Polish #718 : [Samples] Introducing the samples deployed the external Servlet container * Polish #718 : [Samples] Introducing the samples deployed the external Servlet container * Polish #718 : [Samples] Introducing the samples deployed the external Servlet container * Polish #685 : Dubbo2.7.5: Duplicate ServiceBean found * To fix the declaration of years * Polish #733 : Upgrading the dependencies * Polish #734 : [Samples] Upgrading the latest Service-Introspection features * Polish #736 : Duplicate RegistryConfig found, there already has one default RegistryConfig or more than two RegistryConfigs have the same id * Polish #734 : [Samples] Upgrading the latest Service-Introspection features * Revert "Polish #734 : [Samples] Upgrading the latest Service-Introspection features" This reverts commit 3e57fbe. * Polish #736 : Duplicate RegistryConfig found, there already has one default RegistryConfig or more than two RegistryConfigs have the same id * Polish #728 : When openfeign and dubbo coexist, DubboAutoConfiguration.primaryPropertyResolver configuration causes openfeign call to fail * Polish #728 : Refactor * Bugfix test-cases * Bugfix build errors * Bugfix test-cases * Bugfix test-cases * Revert "Revert "Polish #734 : [Samples] Upgrading the latest Service-Introspection features"" This reverts commit 1db06dd
1 parent 2dffff8 commit 0da9e97

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/consumer-sample/src/main/resources/application.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ embedded:
1212

1313
dubbo:
1414
application:
15+
## "composite" is a new metadata type introduced since 2.7.8
1516
metadata-type: composite
1617
registry:
1718
address: zookeeper://127.0.0.1:${embedded.zookeeper.port}/?registry-type=service
1819
file: ${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
19-
use-as-config-center: true
20-
use-as-metadata-center: true
20+
## "dubbo.registry.use-as-*" property will be auto-detected since 2.7.8
21+
# use-as-config-center: true
22+
# use-as-metadata-center: true

dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/provider-sample/src/main/resources/application.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ dubbo.protocol.port=-1
2222

2323
## Dubbo Registry
2424
dubbo.registry.address=zookeeper://${zookeeper.server.host}:${zookeeper.server.port}?registry-type=service
25-
dubbo.registry.use-as-config-center=true
26-
dubbo.registry.use-as-metadata-center=true
27-
25+
## "dubbo.registry.use-as-*" property will be auto-detected since 2.7.8
26+
# dubbo.registry.use-as-config-center=true
27+
# dubbo.registry.use-as-metadata-center=true
2828

2929
## DemoService version
3030
demo.service.version=1.0.0

0 commit comments

Comments
 (0)