Versions Compared

Key

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

...

This consumer is triggered any time an Item is successfully installed and a check against the registerd registered LDN Services/patterns is done to generate the appropriate LDN Notification

...

event.consumer.ldnmessage.class = org.dspace.app.ldn.LDNMessageConsumer
event.consumer.ldnmessage.filters = Item+Install


Understanding the structure of the LDN Notification

The LDN Notification includes some important section many of these if improperly set might led to errors in evaluations on the notification

Let's take a deeper look at the LDN Notification structure

@context

The context section is the same for any LDN Notification


actor

"actor":{
"id":"https://research-organisation.org",
"name":"Research Organisation",
"type":"Organization"
}


context

"context":{
"id_uuid":"9ee89470-e9bf-4324-b648-f7a4d8930e2a",
"id_handle":"http://localhost:4000/handle/123456789/1119",
"id":"http://localhost:4000/handle/123456789/1119",
"ietf:cite-as":"https://doi.org/10.5555/12345680",
"type":"sorg:AboutPage",
"url":{
"id":"https://another-research-organisation.org/repository/datasets/item/201203421/data_archive.zip",
"mediaType":"application/zip",
"type":[
"Article",
"sorg:Dataset"
]
}
}


id



object



origin



target



type





...

Testing

Request Endorsement (LDN Message on item submission)

...