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.
Merged in DSC-1561_itemenhancer_noplaceholder (pull request DSpace#1819)
DSC-1561 itemenhancer noplaceholder
- Loading branch information
Showing
9 changed files
with
499 additions
and
381 deletions.
There are no files selected for viewing
415 changes: 189 additions & 226 deletions
415
dspace-api/src/main/java/org/dspace/content/enhancer/impl/RelatedEntityItemEnhancer.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
214 changes: 145 additions & 69 deletions
214
dspace-api/src/test/java/org/dspace/content/enhancer/consumer/ItemEnhancerConsumerIT.java
Large diffs are not rendered by default.
Oops, something went wrong.
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.