sergehuber opened a new pull request, #819:
URL: https://github.com/apache/unomi/pull/819

   ## Plain-language summary
   
   Some delete operations for events and sessions were only available through 
the admin shell, not through the REST API. Operators and integrators could not 
remove those items over HTTP even though the server already supported it 
internally.
   
   This PR adds those REST delete routes, adds integration tests for 
event-collector explain mode and the list-invalid-objects shell command, and 
updates the Postman collection so the new routes are documented.
   
   ## What changed
   
   * Add `DELETE /cxs/events/{id}` on the events REST endpoint.
   * Add `DELETE /cxs/profiles/sessions/{sessionId}` on the profiles REST 
endpoint.
   * Add `EventsCollectorIT` tests for explain mode with private key (200 + 
tracing) and public key (403).
   * Add `OtherCommandsIT.testListInvalidObjects` for 
`unomi:list-invalid-objects`.
   * Document delete event and delete session in Postman collection and readme.
   
   ## Test plan
   
   - [x] `mvn -pl rest test-compile -DskipTests`
   - [x] `mvn -pl itests test-compile -DskipTests -Pintegration-tests`
   - [ ] CI integration tests (`EventsCollectorIT`, `OtherCommandsIT`)
   
   ## References
   
   UNOMI-875


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to