wujimin commented on a change in pull request #787: [SCB-671]duplicate cse to 
servicecomb
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/787#discussion_r199501521
 
 

 ##########
 File path: 
foundations/foundation-config/src/main/java/org/apache/servicecomb/config/archaius/sources/MicroserviceConfigLoader.java
 ##########
 @@ -38,14 +40,13 @@
   private static final String DEFAULT_CONFIG_FILE_NAME = "microservice.yaml";
 
   public MicroserviceConfigLoader() {
-    setOrderKey("cse-config-order");
   }
 
   public void loadAndSort() {
     try {
       String configFileFromClasspath =
-          System.getProperty("cse.configurationSource.defaultFileName") == 
null ? DEFAULT_CONFIG_FILE_NAME
-              : System.getProperty("cse.configurationSource.defaultFileName");
+          System.getProperty(DEFAULT_FILE_NAME) == null ? 
DEFAULT_CONFIG_FILE_NAME
 
 Review comment:
   not compatible?
   because we only copy config items in configuration source, not in 
system.property?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to