UNOMI-784: use tasks to perform update_by_query and delete_by_query (#636)

* UNOMI-784: set ES client socket timeout to 80sec instead of 30sec by default.

* use wait_for_completion for update by script / delete queries

* Fix integration test

* UNOMI-784: simplify the client wrapper

* UNOMI-784: add some clarity to config related to socket timeout

* UNOMI-784: wait for task to complete

* UNOMI-784: improve merge updateByQuery to perform a single task instead of two separates

* UNOMI-784: Typo

* UNOMI-784: add configurations regarding tasks waiting timeout and polling interval

* UNOMI-784: set task completion log level to debug

* Don't wait for task to be complete for merge profile ES script

* remove non required test

* UNOMI-784: Try speed up the tests and set waitForCompletion to be true in service

---------

Co-authored-by: David Griffon <dgriffon@jahia.com>
11 files changed
tree: b1387bb8e211425620fcb666587e2731029fc002
  1. .github/
  2. api/
  3. common/
  4. docker/
  5. extensions/
  6. graphql/
  7. itests/
  8. kar/
  9. lifecycle-watcher/
  10. manual/
  11. metrics/
  12. package/
  13. persistence-elasticsearch/
  14. persistence-spi/
  15. plugins/
  16. rest/
  17. samples/
  18. scripting/
  19. services/
  20. src/
  21. tools/
  22. wab/
  23. .gitignore
  24. buildAndRun.sh
  25. buildAndRunNoTests.sh
  26. BUILDING
  27. compileDeploy.sh
  28. generate-package.sh
  29. generate-site-and-upload.sh
  30. generate-site.sh
  31. KEYS
  32. LICENSE
  33. license-mappings.xml
  34. MERGING-PULL-REQUESTS
  35. NOTICE
  36. NOTICE.template
  37. pom.xml
  38. README.md
  39. release-audit.sh
  40. release-stage-1.sh
  41. release-stage-2.sh
  42. setenv.sh
  43. update-notice.sh
README.md

Build Status Maven Central

Apache Unomi

https://unomi.apache.org

Apache Unomi stores user profile information and is mostly used to provide a backend server for A/B testing and personalization. To do so it implements the currently under development OASIS Context Server specification.

License

The source code is available under the Apache License V2

Branches

  • main (master) branch: is the current development branch and should be considered unstable. At this it might even not compile. It is only recommended for Unomi developers or people looking to contribute on the project.
  • unomi-X.X.X branches : these are the maintenance branches of the stable releases of Apache Unomi and should always compile and be stable. These are recommended for users that prefer to work from the source code. Otherwise you can find packaged binaries on the Apache Unomi website.

Documentation

You can find all the updated documentation, including building and deployment instructions, on the Apache Unomi web site.