Commit d7cf1f7d authored by Steinberg, Jan's avatar Steinberg, Jan

exeley special logging for exeley datasets only

parent aadafc19
......@@ -144,13 +144,15 @@ public class XsltTransformerOaiPmhBundlesStreamSource implements BundlesStreamSo
// exeley only takes "YYY-mm-dd" as from date
String exeleyFrom = from.split("T")[0];
// String exeleyUntil= until.split("T")[0];
LOG.info("exeley specials: {} -> {}", exeleyFrom, until);
if (setSpec == null || setSpec.trim().isEmpty() && mp.equals("pam")) {
LOG.info("exeley specials: {} -> {}", exeleyFrom, until);
return client.listIdentifiersStream(mp, exeleyFrom, until, null);
} else if (setSpec == null || setSpec.trim().isEmpty()) {
return client.listIdentifiersStream(mp, from, until, null);
}
if ( mp.equals("pam") ) {
LOG.info("exeley specials: {} -> {}", exeleyFrom, until);
return client.listIdentifiersStream(mp, exeleyFrom, until, setSpec);
}
return client.listIdentifiersStream(mp, from, until, setSpec);
......
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 to comment