Revision 60991
Added by Claudio Atzori almost 3 years ago
CreateMDStoreHadoopJobNode.java | ||
---|---|---|
48 | 48 |
params.put("layout", getLayout()); |
49 | 49 |
params.put("interpretation", getInterpretation()); |
50 | 50 |
|
51 |
final String repositoryId = token.getFullEnv().getAttribute(WorkflowsConstants.DATAPROVIDER_ORIGINALID);
|
|
51 |
final String repositoryId = token.getFullEnv().getAttribute(WorkflowsConstants.DATAPROVIDER_ID); |
|
52 | 52 |
final String xquery = String.format( |
53 | 53 |
"for $x in collection('/db/DRIVER/RepositoryServiceResources/RepositoryServiceResourceType') \n" + |
54 | 54 |
"where .//RESOURCE_IDENTIFIER[./@value='%s']\n" + |
Also available in: Unified diff
lookup the repository profile id in the workflow env using 'dataprovider:id'