OpenSearch/distribution
Mark Vieira 39fa1c4df0
Add compatibility testing for JDBC driver (#60409)
This commit adds compatibility testing of our JDBC driver against
different Elasticsearch versions. Although we are really testing the
forwards compatibility nature of the JDBC driver we model the testing
the same as we do existing BWC tests, that is, with the current branch
fetching the earlier versions of the artifact that is to be tested. In
this case, that's the JDBC driver itself.

Because the tests include the JDBC driver jar on it's classpath we had
to change the packaging of the driver jar in order to avoid jarhell and
other conflicting dependency issues when using an old JDBC driver with
later branches. For this we simply relocate all driver dependencies in
the shadow jar under a "shadowed" package. This allows the JDBC driver
to use the correct version of Elasticsearch libs classes, while the
tests themselves use their versions. Since this required a change to the
driver jar compatibility testing can only go back as far as that version
which at the time of this commit is 7.8.1.
2020-07-29 10:45:11 -07:00
..
archives Verify distro archives do not contain plain class files (#59073) (#59229) 2020-07-08 17:06:36 +02:00
bwc Add compatibility testing for JDBC driver (#60409) 2020-07-29 10:45:11 -07:00
docker Fix implicit duplicate duplicatesStrategy in processResources (#58929) (#59127) 2020-07-07 13:45:36 +02:00
licenses Add notice for bundled jdk (#40576) 2019-03-29 17:21:21 -04:00
packages Set the systemd initial timeout to 75 seconds (#60345) 2020-07-28 16:57:36 -07:00
src Make windows JAVA_HOME handling consistent with linux (#55261) (#55362) 2020-04-16 16:17:41 -07:00
tools Fix deprecated unsave project outputs resolution (#59088) (#59356) 2020-07-10 17:16:47 +02:00
build.gradle Fix deprecated unsave project outputs resolution (#59088) (#59356) 2020-07-10 17:16:47 +02:00