Commit 775744ab by Adi Amir

make configLocation dynamic

parent d14b065d
Showing with 1 additions and 1 deletions
......@@ -11,7 +11,7 @@ import java.util.regex.Pattern;
public class Constants {
public final static String ADAPTERS_PATH = "adapters.json";
public final static String SERVICES_PATH = "services.json";
public final static String CONFIG_LOCATION = "/opt/mcx/config/";
public final static String CONFIG_LOCATION = System.getProperty("configLocation", "/opt/mcx/config/");
private final static String regexQueryParamValue = "^\\$[a-zA-Z]{1,15}\\.[a-zA-Z]{1,15}$";
public final static Pattern patternFullMatchValue = Pattern.compile(regexQueryParamValue);
private final static String regexPathParamValue = "^\\$[a-zA-Z]{1,15}\\.[a-zA-Z]{1,15}$";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment