-
Notifications
You must be signed in to change notification settings - Fork 67
/
gradle.properties
38 lines (30 loc) · 1.77 KB
/
gradle.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# The following 3 properties are used for integration testing with OpenSearch
# The "enablePaAndRca" gradle task in the performance-analyzer-rca repository contains logic to spin up a 2-node
# OpenSearch cluster with the PA and RCA components enabled. The cluster endpoint for this cluster is localhost:9300
# and the REST endpoint is localhost:9200.
# The OpenSearch cluster endpoint to use for test REST requests
systemProp.tests.rest.cluster=localhost:9200
# The OpenSearch cluster node communication endpoint
systemProp.tests.cluster=localhost:9300
# The OpenSearch cluster name for integ tests
systemProp.tests.clustername=IntegTestCluster
# Set this to true if you want a cluster spun up for integration testing
systemProp.tests.useDockerCluster=false
# Set this to true if you want to enable integration testing
systemProp.tests.enableIT=false
# The port number for the PerformanceAnalyzer WebService
systemProp.tests.pa.port=9600
# Whether or not to use https for REST and transport clients
systemProp.tests.https=false
# The username of the admin user (or any user able to auth requests against opensearch-security)
# NOTE: this only does something if tests.https is set to true
systemProp.tests.user=admin
# The password of the user specified above
systemProp.tests.password=admin
# Below were added to fix build issue. Refer - https://github.com/diffplug/spotless/issues/834
org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
--add-exports jdk.attach/sun.tools.attach=ALL-UNNAMED