![Hugo Arès](/assets/img/avatar_default.png)
Most of the index abstraction classes were already in gerrit-server except 3 classes that were recently added in gerrit-index. Change-Id: Id7360ff70bef377c27c9cad9a591a63e72728a61
51 lines
1.3 KiB
Python
51 lines
1.3 KiB
Python
java_library(
|
|
name = 'elasticsearch',
|
|
srcs = glob(['src/main/java/**/*.java']),
|
|
deps = [
|
|
'//gerrit-antlr:query_exception',
|
|
'//gerrit-extension-api:api',
|
|
'//gerrit-lucene:lucene', # only for LuceneAccountIndex
|
|
'//gerrit-reviewdb:client',
|
|
'//gerrit-reviewdb:server',
|
|
'//gerrit-server:server',
|
|
'//lib:gson',
|
|
'//lib:guava',
|
|
'//lib:gwtorm',
|
|
'//lib:protobuf',
|
|
'//lib/commons:codec',
|
|
'//lib/commons:lang',
|
|
'//lib/elasticsearch:elasticsearch',
|
|
'//lib/elasticsearch:jest',
|
|
'//lib/elasticsearch:jest-common',
|
|
'//lib/guice:guice',
|
|
'//lib/guice:guice-assistedinject',
|
|
'//lib/jgit/org.eclipse.jgit:jgit',
|
|
'//lib/joda:joda-time',
|
|
'//lib/log:api',
|
|
'//lib/lucene:lucene-analyzers-common',
|
|
'//lib/lucene:lucene-core',
|
|
],
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_test(
|
|
name = 'elasticsearch_tests',
|
|
labels = ['elastic', 'flaky'],
|
|
srcs = glob(['src/test/java/**/*.java']),
|
|
deps = [
|
|
':elasticsearch',
|
|
'//gerrit-extension-api:api',
|
|
'//gerrit-server:server',
|
|
'//gerrit-server:testutil',
|
|
'//gerrit-server:query_tests',
|
|
'//lib:gson',
|
|
'//lib:guava',
|
|
'//lib:junit',
|
|
'//lib:truth',
|
|
'//lib/elasticsearch:elasticsearch',
|
|
'//lib/guice:guice',
|
|
'//lib/jgit/org.eclipse.jgit:jgit',
|
|
'//lib/jgit/org.eclipse.jgit.junit:junit',
|
|
],
|
|
)
|