gerrit/lib
Marco Miller 9b4b09ee61 Elasticsearch: replace native API in prod w/ REST
Remove jest API which depends on Elasticsearch native API (also
removed), so no longer depend on lucene for this scope. Replace such
removed dependencies with the Elasticsearch low-level API, which does
not depend on Lucene. That now used API is a REST client with minimal
dependencies, indeed. -As opposed to Elastic's current high-level API,
which still depends on lucene and other Gerrit-constraining libraries.

Do so in order to decouple the elasticsearch client from lucene in
Gerrit. That REST client does not logically require Lucene anyway. Most
importantly, such decoupling now enables upcoming support for more than
just one Elasticsearch server version. This includes the new possibility
of bumping the latter to multiple yet later versions, such as 5 and 6.x.
The currently used version (2.4) should also still be kept, for a while.

Bumping such versions will likely require some Elasticsearch client code
adaptations, so that Gerrit can (dynamically?) switch between either
Elasticsearch server version to eventually support (hopefully soon).

Doing the same for the elasticsearch tests in Gerrit is to be done using
another change or more changes.

Add a partial and customized fork of [1], based on [1]'s commit [2], to
preserve the ability of building proper json requests for Elasticsearch.
Put that forked json-generating code under a new 'builders' sub-package.
There should be a possibility in some near future to consider removing
that fork, based on potential progress such as the one proposed in [3].
Meanwhile, this fork shall be maintained to usual Gerrit quality levels.

[1] https://github.com/elastic/elasticsearch
[2] tag: v2.4.4
[3] https://github.com/elastic/elasticsearch/issues/30791

Bug: Issue 6094
Change-Id: I720c9885c9eab2388acc328eecb9eaa6940ced0c
2018-05-28 14:30:23 +09:00
..
antlr Remove Buck based build 2017-01-23 12:44:58 +00:00
asciidoctor Replace FileInputStream and FileOutputStream with static Files methods 2017-05-10 00:10:52 +00:00
auto Remove Buck based build 2017-01-23 12:44:58 +00:00
bouncycastle Don't ship bouncycastle libraries in plugin API 2017-04-07 07:38:04 +02:00
codemirror Update codemirror to 5.25.0 2017-03-22 21:44:40 +00:00
commons Remove Buck based build 2017-01-23 12:44:58 +00:00
dropwizard Remove Buck based build 2017-01-23 12:44:58 +00:00
easymock Remove Buck based build 2017-01-23 12:44:58 +00:00
elasticsearch Elasticsearch: replace native API in prod w/ REST 2018-05-28 14:30:23 +09:00
elasticsearch-rest-client Elasticsearch: replace native API in prod w/ REST 2018-05-28 14:30:23 +09:00
fonts Remove Buck based build 2017-01-23 12:44:58 +00:00
greenmail Remove Buck based build 2017-01-23 12:44:58 +00:00
guice Remove Buck based build 2017-01-23 12:44:58 +00:00
gwt Remove Buck based build 2017-01-23 12:44:58 +00:00
highlightjs PolyGerrit: Add support for erlang and puppet in highlight 2017-07-14 02:55:21 +01:00
httpcomponents lib/jest for Elasticsearch: refactor dependencies 2018-04-13 15:41:14 -04:00
jackson lib/elasticsearch: restore jackson_dataformat_smile 2018-04-16 10:04:43 -04:00
jetty Remove Buck based build 2017-01-23 12:44:58 +00:00
jgit Update JGit to 4.7.1.201706071930-r 2017-06-08 20:58:02 +09:00
joda Remove Buck based build 2017-01-23 12:44:58 +00:00
js update web-component-tester to 5.0.0. 2017-02-01 13:33:56 +01:00
jsoup Remove one last buck file from gerrit's core 2017-01-27 19:41:56 +00:00
log Remove Buck based build 2017-01-23 12:44:58 +00:00
lucene lib/elasticsearch: remove unnecessary dependencies 2018-04-13 16:04:42 -04:00
mail Remove Buck based build 2017-01-23 12:44:58 +00:00
mime4j Remove Buck based build 2017-01-23 12:44:58 +00:00
mina Format lib/mina/BUILD with buildifier 2017-03-30 17:31:27 +09:00
openid Remove Buck based build 2017-01-23 12:44:58 +00:00
ow2 Remove Buck based build 2017-01-23 12:44:58 +00:00
polymer_externs Add transpilation to PolyGerrit 2017-05-15 17:00:01 +09:00
powermock Bazel: Fix powermock-core declaration 2017-01-24 23:31:15 +01:00
prolog Bazel: Allow plugins to non-transitively depend on prolog rules 2017-05-17 08:51:13 +02:00
BUILD Revert "Reduce chance of deadlock in account cache" 2018-02-27 21:26:11 -05:00
guava.bzl Upgrade Guava to 22.0 2017-11-02 19:10:14 +00:00
LICENSE-antlr Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-Apache1.1 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-Apache2.0 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-args4j Synchronize args4j license with upstream 2016-06-07 18:59:40 +00:00
LICENSE-asciidoctor Add correct license for asciidoctor 2016-08-19 04:05:06 +00:00
LICENSE-automaton Synchronize automaton license with upstream 2016-06-09 09:31:58 +00:00
LICENSE-bouncycastle Synchronize bouncy castle license with upstream 2016-06-10 06:31:21 +02:00
LICENSE-CC0-1.0 Add support for elliptic curve/ed25519 SSH keys 2017-03-28 15:26:29 +00:00
LICENSE-CC-BY3.0-unported Clarify that the CC-BY 3.0 license is the unported version 2016-09-21 11:19:22 +02:00
LICENSE-clippy Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-codemirror-minified Use a pre-built minified CodeMirror in the release build 2016-04-04 20:33:27 -04:00
LICENSE-codemirror-original Use a pre-built minified CodeMirror in the release build 2016-04-04 20:33:27 -04:00
LICENSE-diffy Diffy should use the unported CC-BY 3.0 license 2016-09-21 11:26:15 +02:00
LICENSE-DO_NOT_DISTRIBUTE Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-elasticsearch Elasticsearch: replace native API in prod w/ REST 2018-05-28 14:30:23 +09:00
LICENSE-es6-promise Add es6-promise for Internet Explorer 2016-09-13 15:14:32 +00:00
LICENSE-fetch Add fetch polyfill for use in all supported browsers 2016-03-03 23:49:18 -05:00
LICENSE-h2 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-highlightjs Syntax highlighting 2016-07-25 13:47:30 -07:00
LICENSE-icu4j Adds the Soy library and injects it via EmailArguments 2016-08-22 09:45:33 -07:00
LICENSE-jgit Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-jsch Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-jsoup Add jsoup to Buck and Bazel 2016-11-16 01:24:59 +00:00
LICENSE-moment Recognize time format preferences. 2016-03-15 15:22:39 -07:00
LICENSE-MPL1.1 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-OFL1.1 Serve fonts from Gerrit instead of Google Fonts. 2016-04-01 13:11:02 -04:00
LICENSE-ow2 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-page.js Build bower_components with buck 2015-11-12 19:01:53 -05:00
LICENSE-polymer Build bower_components with buck 2015-11-12 19:01:53 -05:00
LICENSE-postgresql Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-prologcafe Update license text for PrologCafe 2013-05-13 09:44:25 -07:00
LICENSE-promise-polyfill Build bower_components with buck 2015-11-12 19:01:53 -05:00
LICENSE-protobuf Add dependency on the Google protocol buffer library 2013-09-10 15:59:25 -07:00
LICENSE-PublicDomain Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-silk_icons Synchronize license for silk icons 2016-09-21 11:04:46 +02:00
LICENSE-slf4j Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-xz Download commands: Add JGit archive 2014-03-03 23:34:46 +00:00