Skip to content

Commit 79a8f73

Browse files
committed
Merge branch 'dspace-cris-2024_02_x' into dspace-cris-2025_02_x
# Conflicts: # dspace-api/src/main/java/org/dspace/identifier/doi/DOIOrganiser.java
2 parents 262a3b8 + 94e8943 commit 79a8f73

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

dspace-api/src/main/java/org/dspace/identifier/doi/DOIOrganiser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ public void list(String processName, PrintStream out, PrintStream err, Integer .
442442
* @param doiRow DOI to register
443443
* @param filter logical item filter to override
444444
* @throws IllegalArgumentException
445-
* if {@link doiRow} does not name an Item.
445+
* if {@code doiRow} does not name an Item.
446446
* @throws IllegalStateException
447447
* on invalid DOI.
448448
* @throws RuntimeException
@@ -737,7 +737,7 @@ public DOI resolveToDOI(String identifier)
737737
DOI doiRow = null;
738738
String doi = null;
739739

740-
// detect it identifier is ItemID, handle or DOI.
740+
// detect if identifier is ItemID, handle or DOI.
741741
// try to detect ItemID
742742
if (identifier
743743
.matches("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[34][0-9a-fA-F]{3}-[89ab][0-9a-fA-F]{3}-[0-9a-fA-F]{12}")) {

dspace-api/src/test/data/dspaceFolder/config/local.cfg

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,24 @@ ldn.ip-range.enabled = true
249249
ldn.notify.inbox.block-untrusted = true
250250
ldn.notify.inbox.block-untrusted-ip = true
251251

252+
# The list of the supported events incoming from openaire (see also dspace/config/spring/api/qaevents.xml)
253+
# add missing abstract suggestion
254+
qaevents.openaire.import.topic = ENRICH/MISSING/ABSTRACT
255+
# add missing publication id suggestion
256+
qaevents.openaire.import.topic = ENRICH/MISSING/PID
257+
# add more publication id suggestion
258+
qaevents.openaire.import.topic = ENRICH/MORE/PID
259+
# add missing project suggestion
260+
qaevents.openaire.import.topic = ENRICH/MISSING/PROJECT
261+
# add more project suggestion
262+
qaevents.openaire.import.topic = ENRICH/MORE/PROJECT
263+
# add more review
264+
qaevents.openaire.import.topic = ENRICH/MORE/REVIEW
265+
# add more endorsement
266+
qaevents.openaire.import.topic = ENRICH/MORE/ENDORSEMENT
267+
# add more release/relationship
268+
qaevents.openaire.import.topic = ENRICH/MORE/LINK
269+
252270
###########################################
253271
# ERROR LOGGING #
254272
###########################################

dspace/config/modules/ldn.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ldn.processor.max.attempts = 5
2828
# LDN Queue extractor sets LDN Message Entity queue_timeout property every time it tries a new elaboration
2929
# of the message. LDN Message with a future queue_timeout is not elaborated. This property is used to calculateas:
3030
# a new timeout, such as: new_timeout = now + ldn.processor.queue.msg.timeout (in minutes)
31-
ldn.processor.queue.msg.timeout = 60
31+
ldn.processor.queue.msg.timeout = 1
3232

3333
# Blocks the storage of incoming LDN messages with unknown Notify Service (origin)
3434
ldn.notify.inbox.block-untrusted = true
@@ -38,7 +38,7 @@ ldn.notify.inbox.block-untrusted = true
3838
ldn.notify.inbox.block-untrusted-ip = true
3939

4040
# this is the medatada used to retrieve the relation with external items when sending relationship requests
41-
#ldn.notify.relation.metadata = dc.relation
41+
ldn.notify.relation.metadata = dc.relation
4242

4343

4444
# EMAIL CONFIGURATION

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1993,6 +1993,12 @@
19931993
<version>${log4j.version}</version>
19941994
<scope>runtime</scope>
19951995
</dependency>
1996+
<dependency>
1997+
<groupId>org.apache.logging.log4j</groupId>
1998+
<artifactId>log4j-layout-template-json</artifactId>
1999+
<version>${log4j.version}</version>
2000+
<scope>runtime</scope>
2001+
</dependency>
19962002

19972003
<dependency>
19982004
<groupId>org.apache.pdfbox</groupId>

0 commit comments

Comments
 (0)