*** More info to come ***

Goal: update RabbitMQ message payload to simplify and clarify how events are defined.

Related to: Register Extractors by Space.

Proposed new JSON payload:

Event
{"id": "xyz",
 "created": "2018-06-03...",
 "type": "added",
 "source": {
            "id": "xyz",
            "type": "file",
            "mime": "image/jpg"
           },
 "target": {
            "id": "xyz",
            "type": "dataset"
           },
 "user": {
          "id": "foo@bar.com",
          "provider: "cilogon"
         },
 "routing_key": "dataset.file.added",
 "params": {
            "foo": "bar"
         }
}


  • No labels