Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The LDN Message Extractor is an asynchronous DSpace task that reads the oldest manageable LDN message and enroute it to the LDN Router; the extractor instance ends as soon as the LDN message extracted is routed and processed or failed. For each tentative the attempts counter of the message is increased by 1 and the timeout is increased by X minutes, where X= the value of the configuration property ldn.processor.queue.msg.timeout | defaulted to 60. Cron configuration at property ldn.queue.extractor.cron
  • The LDN Message Timeout Checker  is an asynchronous DSpace task that looks for timed-out messages with attempts less than Y, where Y= the value of the configuration property ldn.processor.max.attempts. Cron configuration at property ldn.queue.timeout.checker.cron

Please consider that this means that the corresponding QAEvent is not automatically created as soon as the LDN Message is received. LDN Message (accepted by the inbox controller and stored into ldn_message table) => Extractor (started runtime as a batch) => Routing => Processor => Action that creates the QA - see class org.dspace.app.ldn.action.LDNCorrectionAction

...

It’s a number 0 < # < 1. Triggers an automatic approval of QAEvent once the LDN message is extracted. On qaevents.xml spring configuration files the bean qaScoreEvaluation describes three different boundaries defaults to manage the level of trust:

<property name="scoreToReject" value="0.3" />
<property name="scoreToIgnore" value="0.5" />
<property name="scoreToApprove" value="0.8" />

score <= rejection deletes the QAEvent;  score <= ignore discards the QAEvent;  score >= approval accepts the QAEvent automatically, so nobody will see it from the Quality Assurance Page because it’s created and right after approved.


Test calls: Request Review



Test calls: Announce Relationship

Let's trigger an Announce Relationship (see COAR official offici

al pattern documentation here).

Firstly configure a Notify Service such as:

...

Pick the following POST call from the Postman project (see below to download it and import it to your installed PostMan instance): let's emulate the Notify Service external system sending us an LDN Message!

 


Let's evaluate the request' json body (some field is commented) according to the COAR official documentation of this pattern:

...