Hello Mark,
Thanks for the feedback. If I understand you correctly, you are saying that based on the requirements for the Audit Service that we collectively defined, Phase 1 works as expected. Is that right?
Additionally, you are saying that a previously undiscussed feature around returning event UUIDs would be useful in a subsequent iteration. In terms of this new requirement, I think some further elaboration would be helpful. Currently, when any update action happens in the repository, an event is emitted. Those events contain multiple header values with the event-specific information defined in the wiki:
When you say, "the API returns the object's URI", are you calling the content of the emitted message "the API"? You go on to say "return in the response body...". However, the Phase 1 flow is:
* Action in repository happens
* Repository emits event
* External Apache Camel component gets emitted event
* External Apache Camel component generates an event UUID
* External Apache Camel component publishes event details into other connected components (Fuseki and Solr, in this case).
Again, are you calling the content of the emitted message the "response body"?
You likely have a useful addition to the Audit Service in mind. If you could elaborate (and potentially create a JIRA ticket), that would be very helpful.
Regards,
Andrew
p.s. Stay tuned for a Phase 2 update soon!