kiegroup / jbpm-form-modeler

jBPM Task Form Modeler
http://www.jboss.org/jbpm
8 stars 60 forks source link

[AF-549-elastic]: Added new indexing backend to add elasticsearch support #150

Closed adrielparedes closed 6 years ago

adrielparedes commented 6 years ago

A new Metadata index had been added. Its intention is to have an alternative to Lucene backend so you can use it, for instance in Openshift or on premise without zookeeper/helix to replicate those assets.

The idea is to maintain the same Lucene API but to transform it to Elasticsearch compatible messages. There is no need to change any Lucene Query to make it work. There is a class called LuceneIndexEngine that is not public anymore because it was very coupled to Lucene FS implementation so now it's behind a new Interface called IndexProvider. It tries to generate an abstraction for indexing a querying an index engine using domain objects and not lucene documents anymore.

The default indexing engine is Lucene but you can change it with a System Property:

There are some other properties to configure elasticsearch:

Related issues: https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/581 https://github.com/AppFormer/uberfire/pull/882 https://github.com/kiegroup/kie-wb-common/pull/1254 https://github.com/kiegroup/jbpm-wb/pull/924 https://github.com/kiegroup/drools-wb/pull/666 https://github.com/kiegroup/optaplanner-wb/pull/228 https://github.com/kiegroup/jbpm-form-modeler/pull/150 https://github.com/kiegroup/kie-wb-distributions/pull/642

adrielparedes commented 6 years ago

@porcelli ready to review fixing lucene dependency problem

psiroky commented 6 years ago

No longer relevant (master branch no longer contains any sources).