You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/02 13:45:00 UTC

[jira] [Commented] (SCB-671) Duplicate cse.xxx to servicecomb.xxx to work better in future

    [ https://issues.apache.org/jira/browse/SCB-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529921#comment-16529921 ] 

ASF GitHub Bot commented on SCB-671:
------------------------------------

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:
users@infra.apache.org


> Duplicate cse.xxx to servicecomb.xxx to work better in future
> -------------------------------------------------------------
>
>                 Key: SCB-671
>                 URL: https://issues.apache.org/jira/browse/SCB-671
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Java-Chassis
>            Reporter: liubao
>            Assignee: liubao
>            Priority: Major
>             Fix For: java-chassis-1.0.0
>
>
> As discussed in 
> [DISCUSSION] How to migrate configurations from cse toservicecomb prefix
> It's better to map cse to servicecomb, not servicecomb to cse. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)