Affects Version/s: 7.3
Fix Version/s: 7.4
1/ About the elasticsearch-uidgen-sequencer-contrib.xml contribution:
we should make the sequencer name be used as the related Elasticsearch index name to avoid having a bad binding like it was the case for
To ensure the index has well been defined we could make the ESUIDSequencer fail if such an index doesn't exist.
2/ The ESAuditBackend should use the default sequencer, not the "esSequencer" (ESUIDSequencer#SEQUENCER_CONTRIB) hardcoded one.
This way one could use a Redis sequencer (see
Doing so should be easy by defining ESUIDSequencer as the default sequencer with:
3/ The Elasticsearch index name used by ESAuditBackend should be configurable.
Instead of using hardcoded "audit" (ESAuditBackend#IDX_NAME) we could use something like
This should allow to have several Nuxeo instances using the same Elasticsearch cluster.