Project

General

Profile

« Previous | Next » 

Revision 38713

Added authors as indexed filed in the mdformat profiles, changed interface of pangaea from files to oai, changed wf of index added a new node to store statistics

View differences:

modules/dnet-openaire_dli-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/MDFormatDSResources/DLIF.xml
36 36
                        <FIELD indexable="true" name="relatedObjPID" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='relation']/*[local-name()='pid']"/>
37 37
                        <FIELD indexable="true" name="relatedobjpidtype" result="false" stat="false" stored="true" tokenizable="false" xpath="//*[local-name()='relation']/*[local-name()='pid']/@type"/>
38 38
                        <FIELD indexable="false" name="dliobject" result="true" stat="false" tokenizable="true" xpath="//*[local-name()='dliObject']"/>
39
                        <FIELD indexable="true" multivalued="true" name="author" result="false" stat="false" stored="true" tokenizable="true" xpath="//*[local-name()='dliObject']/*[local-name()='authors']//*[local-name()='author']/*[local-name()='fullname']"/>
40
                        
41
                        
39 42
                        <!-- Browsing Fields -->
40 43
                        <FIELD browsingAliasFor="entitytype" indexable="true" name="entitytypeforbrowsing" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='objectType']"/>
41 44
                        <FIELD browsingAliasFor="relatedobjtype" indexable="true" name="relatedobjtypeforbrowsing" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='relation']/*[local-name()='entitytype']"/>
modules/dnet-openaire_dli-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/RepositoryServiceResources/pangaea.xml
34 34
			<REPOSITORY_INSTITUTION />
35 35
			<ADMIN_INFO></ADMIN_INFO>
36 36
			<INTERFACES>
37
			<!-- 
38
			
37 39
				<INTERFACE active="true" compliance="openaire2.0"
38 40
					contentDescription="metadata" id="api_________::pangaea::0"
39 41
					label="aggregator::datarepository (openaire2.0)" removable="false"
......
48 50
					<INTERFACE_EXTRA_FIELD name="last_collection_total" />
49 51
					<INTERFACE_EXTRA_FIELD name="last_aggregation_date" />
50 52
					<INTERFACE_EXTRA_FIELD name="last_aggregation_mdId" />
53
				</INTERFACE>				
54
				 -->
55
				 
56
				 <INTERFACE active="true" compliance="openaire2.0"
57
					contentDescription="metadata" id="api_________::pangaea::0"
58
					label="aggregator::datarepository (openaire2.0)" removable="false"
59
					typology="aggregator::datarepository">
60
                    <ACCESS_PROTOCOL format="datacite3" set="">oai</ACCESS_PROTOCOL>
61
                    <BASE_URL>http://ws.pangaea.de/oai/provider?</BASE_URL>
62
					<INTERFACE_EXTRA_FIELD name="last_collection_date" />
63
					<INTERFACE_EXTRA_FIELD name="metadata_identifier_path">//*[local-name()='header']/*[local-name()='identifier']
64
					</INTERFACE_EXTRA_FIELD>
65
					<INTERFACE_EXTRA_FIELD name="last_aggregation_total" />
66
					<INTERFACE_EXTRA_FIELD name="last_collection_mdId" />
67
					<INTERFACE_EXTRA_FIELD name="last_collection_total" />
68
					<INTERFACE_EXTRA_FIELD name="last_aggregation_date" />
69
					<INTERFACE_EXTRA_FIELD name="last_aggregation_mdId" />
51 70
				</INTERFACE>
52 71
			</INTERFACES>
53 72
			<EXTRA_FIELDS>
modules/dnet-openaire_dli-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/workflows/index/indexWF.xml
79 79
					<PARAM required="true" type="string" name="feedingType" managedBy="system">REFRESH</PARAM>
80 80
				</PARAMETERS>
81 81
				<ARCS>
82
					<ARC to="storeStats" />
83
				</ARCS>
84
			</NODE>
85
			
86
			<NODE name="storeStats" type="StoreStats">
87
				<DESCRIPTION>Store statistics of last index</DESCRIPTION>
88
				<PARAMETERS>					
89
				</PARAMETERS>
90
				<ARCS>
82 91
					<ARC to="success" />
83 92
				</ARCS>
84 93
			</NODE>

Also available in: Unified diff