lewismc commented on a change in pull request #6: SDAP-35 (completed the 
configuration change)
URL: 
https://github.com/apache/incubator-sdap-mudrod/pull/6#discussion_r172926174
 
 

 ##########
 File path: core/src/main/java/org/apache/sdap/mudrod/main/MudrodEngine.java
 ##########
 @@ -138,48 +135,38 @@ private InputStream locateConfig() {
       LOG.info("Loaded config file from " + configFile.getAbsolutePath());
       return configStream;
     } catch (IOException e) {
-      LOG.info("File specified by environment variable " + 
MudrodConstants.MUDROD_CONFIG + "=\'" + configLocation + "\' could not be 
loaded. " + e.getMessage());
+      LOG.info("File specified by environment variable " + 
MudrodConstants.MUDROD_CONFIG + "=\'" + configLocation + "\' could not be 
loaded. Default configuration will be used." + e.getMessage());
     }
 
-    InputStream configStream = 
MudrodEngine.class.getClassLoader().getResourceAsStream("config.xml");
+    InputStream configStream = 
MudrodEngine.class.getClassLoader().getResourceAsStream("config.properties");
 
     if (configStream != null) {
-      LOG.info("Loaded config file from {}", 
MudrodEngine.class.getClassLoader().getResource("config.xml").getPath());
+      LOG.info("Loaded config file from {}", 
MudrodEngine.class.getClassLoader().getResource("config.properties").getPath());
     }
 
     return configStream;
   }
 
   /**
    * Load the configuration provided at <a href=
-   * 
"https://github.com/mudrod/mudrod/blob/master/core/src/main/resources/config.xml";>config.xml</a>.
+   * 
"https://github.com/mudrod/mudrod/blob/master/core/src/main/resources/config.properties";>config.properties</a>.
 
 Review comment:
   The source code now lives at Apache either remove the URL or link it 
correctly. 

----------------------------------------------------------------
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