Revision 29622
Added by Claudio Atzori over 10 years ago
modules/dnet-openaireplus-workflows/trunk/src/main/java/eu/dnetlib/msro/openaireplus/workflows/nodes/oai/PrepareOaiDataJobNode.java | ||
---|---|---|
11 | 11 |
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpService; |
12 | 12 |
import eu.dnetlib.enabling.tools.ServiceLocator; |
13 | 13 |
import eu.dnetlib.miscutils.datetime.DateUtils; |
14 |
import eu.dnetlib.miscutils.functional.xml.IndentXmlString; |
|
15 | 14 |
import eu.dnetlib.msro.rmi.MSROException; |
16 | 15 |
import eu.dnetlib.msro.workflows.nodes.SimpleJobNode; |
17 | 16 |
|
... | ... | |
47 | 46 |
token.getEnv().setAttribute(getOaiStoreCollectionParam(), format + "-" + layout + "-" + interpretation); |
48 | 47 |
|
49 | 48 |
String configurationProfile = getConfigurationProfile(); |
50 |
token.getEnv().setAttribute("oaiConfiguration", IndentXmlString.apply(configurationProfile));
|
|
49 |
token.getEnv().setAttribute("oaiConfiguration", configurationProfile);
|
|
51 | 50 |
token.getEnv().setAttribute("oai.feed.date", DateUtils.now_ISO8601()); |
52 | 51 |
|
53 | 52 |
return Arc.DEFAULT_ARC; |
Also available in: Unified diff
removed indentation