Revision 57431
Added by Miriam Baglioni over 4 years ago
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/applicationContext-msro-openaireplus.properties | ||
---|---|---|
27 | 27 |
dnet.openaire.bulktag.xquery = for $x in collection('/db/DRIVER/ContextDSResources/ContextDSResourceType') \ |
28 | 28 |
let $subj := $x//CONFIGURATION/context/param[./@name='subject']/text() \ |
29 | 29 |
let $datasources := $x//CONFIGURATION/context/category[./@id=concat($x//CONFIGURATION/context/@id,'::contentproviders')]/concept \ |
30 |
let $organizations := $x//CONFIGURATION/context/category[./@id=concat($x//CONFIGURATION/context/@id,'::resultorganizations')]/concept \ |
|
30 | 31 |
let $communities := $x//CONFIGURATION/context/category[./@id=concat($x//CONFIGURATION/context/@id,'::zenodocommunities')]/concept \ |
31 | 32 |
where $x//CONFIGURATION/context[./@type='community' or ./@type='ri'] \ |
32 | 33 |
return \ |
... | ... | |
62 | 63 |
</selcriteria>\ |
63 | 64 |
</zenodocommunity>}\ |
64 | 65 |
</zenodocommunities> \ |
66 |
<organizations>\ |
|
67 |
{for $org in $organizations \ |
|
68 |
return\ |
|
69 |
<organization> \ |
|
70 |
<organizationId>\ |
|
71 |
{$org/param[./@name='organizationId']/text()}\ |
|
72 |
</organizationId>\ |
|
73 |
<selcriteria>\ |
|
74 |
{$org/param[./@name='selcriteria']/text()}\ |
|
75 |
</selcriteria>\ |
|
76 |
</organization>}\ |
|
77 |
</organizations>\ |
|
65 | 78 |
</community> |
79 |
|
|
66 | 80 |
dnet.openaire.index.api.cacheEvictUrl = http://localhost:8980/provision/api/admin/evictCache |
67 | 81 |
|
68 | 82 |
dhp.mdstore.manager.url=http://localhost:8080/mdstores |
Also available in: Unified diff
update xquery for the community configuration used in the exporter. Added information in the community profile to include the organizations that support the community