2.7.x (#742)

* Polish apache/dubbo-spring-boot-project#718 : [Samples] Introducing the samples deployed the external Servlet container

* Polish apache/dubbo-spring-boot-project#718 : [Samples] Introducing the samples deployed the external Servlet container

* Polish apache/dubbo-spring-boot-project#718 : [Samples] Introducing the samples deployed the external Servlet container

* Polish apache/dubbo-spring-boot-project#685 : Dubbo2.7.5: Duplicate ServiceBean found

* To fix the declaration of years

* Polish apache/dubbo-spring-boot-project#733 : Upgrading the dependencies

* Polish apache/dubbo-spring-boot-project#734 : [Samples] Upgrading the latest Service-Introspection features

* Polish apache/dubbo-spring-boot-project#736 : Duplicate RegistryConfig found, there already has one default RegistryConfig or more than two RegistryConfigs have the same id

* Polish apache/dubbo-spring-boot-project#734 : [Samples] Upgrading the latest Service-Introspection features

* Revert "Polish apache/dubbo-spring-boot-project#734 : [Samples] Upgrading the latest Service-Introspection features"

This reverts commit 3e57fbe9ee87bbcd0de6c39d1f9e0b5ab4fc6f1f.

* Polish apache/dubbo-spring-boot-project#736 : Duplicate RegistryConfig found, there already has one default RegistryConfig or more than two RegistryConfigs have the same id

* Polish apache/dubbo-spring-boot-project#728 : When openfeign and dubbo coexist, DubboAutoConfiguration.primaryPropertyResolver configuration causes openfeign call to fail

* Polish apache/dubbo-spring-boot-project#728 : Refactor

* Bugfix test-cases

* Bugfix build errors

* Bugfix test-cases

* Bugfix test-cases

* Revert "Revert "Polish apache/dubbo-spring-boot-project#734 : [Samples] Upgrading the latest Service-Introspection features""

This reverts commit 1db06dd7
diff --git a/dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/consumer-sample/src/main/resources/application.yml b/dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/consumer-sample/src/main/resources/application.yml
index 61d3b7a..5ba7908 100644
--- a/dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/consumer-sample/src/main/resources/application.yml
+++ b/dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/consumer-sample/src/main/resources/application.yml
@@ -12,9 +12,11 @@
 
 dubbo:
   application:
+    ## "composite" is a new metadata type introduced since 2.7.8
     metadata-type: composite
   registry:
     address: zookeeper://127.0.0.1:${embedded.zookeeper.port}/?registry-type=service
     file: ${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
-    use-as-config-center: true
-    use-as-metadata-center: true
\ No newline at end of file
+    ## "dubbo.registry.use-as-*" property will be auto-detected since 2.7.8
+    # use-as-config-center: true
+    # use-as-metadata-center: true
\ No newline at end of file
diff --git a/dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/provider-sample/src/main/resources/application.properties b/dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/provider-sample/src/main/resources/application.properties
index ce99686..ac59a24 100644
--- a/dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/provider-sample/src/main/resources/application.properties
+++ b/dubbo-spring-boot-samples/service-introspection-samples/zookeeper-samples/provider-sample/src/main/resources/application.properties
@@ -22,9 +22,9 @@
 
 ## Dubbo Registry
 dubbo.registry.address=zookeeper://${zookeeper.server.host}:${zookeeper.server.port}?registry-type=service
-dubbo.registry.use-as-config-center=true
-dubbo.registry.use-as-metadata-center=true
-
+## "dubbo.registry.use-as-*" property will be auto-detected since 2.7.8
+# dubbo.registry.use-as-config-center=true
+# dubbo.registry.use-as-metadata-center=true
 
 ## DemoService version
 demo.service.version=1.0.0
\ No newline at end of file