}
Node ds = node.selectSingleNode("DataSourceInfo");
Node cat = node.selectSingleNode("Definition");
String connectStr = ds.getStringValue();
PropertyList pl = Util.parseConnectString(connectStr);
String dynProcName = pl.get(
RolapConnectionProperties.DynamicSchemaProcessor.name());
if (StringUtils.isNotBlank(dynamicSchemaProcessor) && StringUtils.isBlank(dynProcName)) {
pl.put(RolapConnectionProperties.DynamicSchemaProcessor.name(), dynamicSchemaProcessor);
}
LOG.debug("NAME: " + name + " DSINFO: " + pl.toString() + " ###CATALOG: " + (cat != null ? cat.getStringValue() : "NULL"));
Properties props = new Properties();
props.put("driver", "mondrian.olap4j.MondrianOlap4jDriver");
props.put("location","jdbc:mondrian:" + pl.toString() + ";Catalog=" + cat.getStringValue());
if (saikuDatasourceProcessor != null) {
props.put(ISaikuConnection.DATASOURCE_PROCESSORS, saikuDatasourceProcessor);
}
if (saikuConnectionProcessor != null) {
props.put(ISaikuConnection.CONNECTION_PROCESSORS, saikuConnectionProcessor);