You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2020/05/18 04:17:43 UTC
[servicecomb-java-chassis] branch master updated: [SCB-1914] add
dependency and change the zeroconfig registry flag name (#1757)
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/master by this push:
new d4a5898 [SCB-1914] add dependency and change the zeroconfig registry flag name (#1757)
d4a5898 is described below
commit d4a5898d87faade10afbed4adcee05f5968d2356
Author: Jun Gan <ju...@gmail.com>
AuthorDate: Mon May 18 00:17:37 2020 -0400
[SCB-1914] add dependency and change the zeroconfig registry flag name (#1757)
* add registry-zero-config sub-module under service-registry module
* add sub-module for registry-zero-config
* add license
* [SCB-1914]add dependency and change the flag variable
---
service-registry/registry-zero-config/pom.xml | 26 ++++++++++++++++++++++
.../ZeroConfigRegistryConstants.java | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/service-registry/registry-zero-config/pom.xml b/service-registry/registry-zero-config/pom.xml
index 0b013e8..a57918d 100644
--- a/service-registry/registry-zero-config/pom.xml
+++ b/service-registry/registry-zero-config/pom.xml
@@ -32,8 +32,34 @@
<dependencies>
<dependency>
<groupId>org.apache.servicecomb</groupId>
+ <artifactId>foundation-registry</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicecomb</groupId>
+ <artifactId>registry-service-center</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicecomb</groupId>
+ <artifactId>foundation-common</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicecomb</groupId>
<artifactId>provider-rest-common</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-api-mockito</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-module-junit4</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
diff --git a/service-registry/registry-zero-config/src/main/java/org/apache/servicecomb/serviceregistry/ZeroConfigRegistryConstants.java b/service-registry/registry-zero-config/src/main/java/org/apache/servicecomb/serviceregistry/ZeroConfigRegistryConstants.java
index ce45747..0546eb7 100644
--- a/service-registry/registry-zero-config/src/main/java/org/apache/servicecomb/serviceregistry/ZeroConfigRegistryConstants.java
+++ b/service-registry/registry-zero-config/src/main/java/org/apache/servicecomb/serviceregistry/ZeroConfigRegistryConstants.java
@@ -18,7 +18,7 @@ package org.apache.servicecomb.serviceregistry;
public interface ZeroConfigRegistryConstants {
- String ZERO_CONFIG_REGISTRY_FLAG = "zeroconfig.registry.flag";
+ String ZERO_CONFIG_REGISTRY_FLAG = "servicecomb.zeroconfig.registry";
String ZERO_CONFIG_REGISTRY_ENABLE_FLAG = "enable";
// MulticastSocket related