CST-12850 Announce Relationship first implementation w/o tests

This commit is contained in:
frabacche
2023-12-01 16:44:10 +01:00
parent 6c8f2ab3c2
commit c6075b51a0
5 changed files with 154 additions and 1 deletions

View File

@@ -259,7 +259,7 @@
<property name="actionSendFilter" value="${ldn.notification.email}" />
<property name="actionSendEmailTextFile" value="coar_notify_relationship" />
</bean>
<bean class="org.dspace.app.ldn.action.LDNCorrectionAction">
<bean class="org.dspace.app.ldn.action.LDNRelationCorrectionAction">
<property name="qaEventTopic" value="ENRICH/MORE/LINK"/>
</bean>
</list>

View File

@@ -44,6 +44,9 @@
<entry value-ref="PIDMetadataAction">
<key><util:constant static-field="org.dspace.qaevent.QANotifyPatterns.TOPIC_ENRICH_MISSING_PID"/></key>
</entry>
<entry value-ref="AddLinkMetadataAction">
<key><util:constant static-field="org.dspace.qaevent.QANotifyPatterns.TOPIC_ENRICH_MORE_LINK"/></key>
</entry>
</map>
</property>
</bean>
@@ -74,6 +77,10 @@
<bean id="AddReviewMetadataAction" class="org.dspace.qaevent.action.QANotifySimpleMetadataAction">
<property name="metadata" value="datacite.relation.isReviewedBy" />
</bean>
<bean id="AddLinkMetadataAction" class="org.dspace.qaevent.action.QANotifyFormatMetadataAction">
<property name="metadata" value="datacite.relation.isSupplementedBy" />
<property name="format" value="Relation type: [0] - Subject: [1]" />
</bean>
<bean id="AddEndorsedMetadataAction" class="org.dspace.qaevent.action.QANotifySimpleMetadataAction">
<property name="metadata" value="notify.relation.endorsedBy"/>
</bean>