forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DSC-1561 extend RelatedEntityItemEnhancer to manage a list of metadat…
…a to use as source and a list of related item metadata from which extract the enhanced metadata
- Loading branch information
Showing
8 changed files
with
290 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...ce-api/src/test/data/dspaceFolder/config/spring/api/extra-metadata-enhancers-for-test.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
The contents of this file are subject to the license and copyright | ||
detailed in the LICENSE and NOTICE files at the root of the source | ||
tree and available online at | ||
http://www.dspace.org/license/ | ||
--> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:context="http://www.springframework.org/schema/context" | ||
xmlns:util="http://www.springframework.org/schema/util" | ||
xsi:schemaLocation="http://www.springframework.org/schema/beans | ||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | ||
http://www.springframework.org/schema/context | ||
http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd" | ||
> | ||
|
||
<context:annotation-config /> | ||
|
||
<bean class="org.dspace.content.enhancer.impl.RelatedEntityItemEnhancer" > | ||
<property name="sourceEntityType" value="TestEntity" /> | ||
<property name="sourceItemMetadataFields"> | ||
<list> | ||
<value>dc.contributor.author</value> | ||
<value>dc.contributor.editor</value> | ||
</list> | ||
</property> | ||
<property name="relatedItemMetadataFields"> | ||
<list> | ||
<value>person.affiliation.name</value> | ||
<value>person.identifier.orcid</value> | ||
</list> | ||
</property> | ||
<property name="virtualQualifier" value="testmultival" /> | ||
</bean> | ||
|
||
</beans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.