Revision 27160
Added by Claudio Atzori over 10 years ago
modules/dnet-openaireplus-workflows/trunk/src/main/java/eu/dnetlib/msro/openaireplus/workflows/nodes/FindComplianceRepositoriesJobNode.java | ||
---|---|---|
23 | 23 |
private String dbName; |
24 | 24 |
|
25 | 25 |
// The following files are in "dnet-openaireplus-datasource-manager-service" module |
26 |
private Resource sqlSelectDatasourcesTmpl = new ClassPathResource("/eu/dnetlib/enabling/datasources/getDatasources.sql.st"); |
|
27 |
private Resource xsltFile = new ClassPathResource("/eu/dnetlib/enabling/datasources/repo_2_is.xslt"); |
|
26 |
private final Resource sqlSelectDatasourcesTmpl = new ClassPathResource("/eu/dnetlib/enabling/datasources/getDatasources.sql.st");
|
|
27 |
private final Resource xsltFile = new ClassPathResource("/eu/dnetlib/enabling/datasources/repo_2_is.xslt");
|
|
28 | 28 |
|
29 | 29 |
private String eprParam = "repoEpr"; |
30 | 30 |
|
... | ... | |
43 | 43 |
final String sql = st.toString(); |
44 | 44 |
final String xslt = IOUtils.toString(xsltFile.getInputStream()); |
45 | 45 |
|
46 |
log.info("Executing query: " + sql);
|
|
46 |
log.debug("Executing query: " + sql);
|
|
47 | 47 |
|
48 | 48 |
final W3CEndpointReference epr = dbServiceLocator.getService().searchSQL(dbName, sql); |
49 | 49 |
final W3CEndpointReference mapped = xsltMappedResultSetFactory.createMappedResultSet(epr, xslt); |
Also available in: Unified diff
less verbose logs