in appactive-java-client/client-channel/src/main/java/io/appactive/channel/nacos/NacosPathUtil.java [96:141]
private void initFromSys() {
String key, value;
key = RulePropertyConstant.DATA_ID_HEADER+".machineRulePath";
value = JvmPropertyUtil.getJvmAndEnvValue(key);
machineRulePath = value == null ? key : value;
key = RulePropertyConstant.DATA_ID_HEADER+".dataScopeRuleDirectoryPath";
value = JvmPropertyUtil.getJvmAndEnvValue(key);
dataScopeRuleDirectoryPath = value == null ? key : value;
key = RulePropertyConstant.DATA_ID_HEADER+".forbiddenRulePath";
value = JvmPropertyUtil.getJvmAndEnvValue(key);
forbiddenRulePath = value == null ? key : value;
key = RulePropertyConstant.DATA_ID_HEADER+".trafficRouteRulePath";
value = JvmPropertyUtil.getJvmAndEnvValue(key);
trafficRouteRulePath = value == null ? key : value;
key = RulePropertyConstant.DATA_ID_HEADER+".transformerRulePath";
value = JvmPropertyUtil.getJvmAndEnvValue(key);
transformerRulePath = value == null ? key : value;
key = RulePropertyConstant.DATA_ID_HEADER+".idSourceRulePath";
value = JvmPropertyUtil.getJvmAndEnvValue(key);
idSourceRulePath = value == null ? key : value;
key = RulePropertyConstant.PROPERTY_HEADER + ".configServerAddress";
value = JvmPropertyUtil.getJvmAndEnvValue(key);
configServerAddress = value == null ? RulePropertyConstant.LOCAL_NACOS : value;
key = RulePropertyConstant.GROUP_ID;
value = JvmPropertyUtil.getJvmAndEnvValue(key);
value = value == null ? key : value;
extras.put(key, value);
key = RulePropertyConstant.NAMESPACE_ID;
value = JvmPropertyUtil.getJvmAndEnvValue(key);
String namespaceId = "";
if (StringUtils.isNotBlank(value)){
namespaceId = value;
}
extras.put(key, namespaceId);
}