Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Bump to ODFE 1.10.1.1 for integration test fixes (#759)
Browse files Browse the repository at this point in the history
* Bump to 1.10.1.1, prepare integTest fixes

* Add os check for windows in integTest:compileJdbc

* Add release notes for 1.10.1.1
  • Loading branch information
joshuali925 committed Sep 28, 2020
1 parent 72b5cf4 commit 5b20eef
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/draft-release-notes-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
with:
config-name: draft-release-notes-config.yml
tag: (None)
version: 1.10.1.0
version: 1.10.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ext {
}

allprojects {
version = "${opendistroVersion}.0"
version = "${opendistroVersion}.1"

plugins.withId('java') {
sourceCompatibility = targetCompatibility = "1.8"
Expand Down
10 changes: 8 additions & 2 deletions integ-test/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import org.elasticsearch.gradle.test.RestIntegTestTask
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform

apply plugin: 'elasticsearch.build'
apply plugin: 'elasticsearch.rest-test'
Expand Down Expand Up @@ -195,6 +196,11 @@ testClusters.comparisonTest {
task compileJdbc(type:Exec) {
workingDir '../sql-jdbc/'

commandLine './gradlew', 'build'
commandLine './gradlew', 'shadowJar'
if (DefaultNativePlatform.getCurrentOperatingSystem().isWindows()) {
commandLine './gradlew.bat', 'build'
commandLine './gradlew.bat', 'shadowJar'
} else {
commandLine './gradlew', 'build'
commandLine './gradlew', 'shadowJar'
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## 2020-09-28 Version 1.10.1.1

### Infrastructure
* Support security plugin ([#760](https://github.com/opendistro-for-elasticsearch/sql/pull/760))
* Bump to ODFE 1.10.1.1 for integration test fixes ([#759](https://github.com/opendistro-for-elasticsearch/sql/pull/759))
* Bug Fix, Clean all the indices, included hidden indices ([#758](https://github.com/opendistro-for-elasticsearch/sql/pull/758))
2 changes: 1 addition & 1 deletion sql-cli/src/odfe_sql_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
express or implied. See the License for the specific language governing
permissions and limitations under the License.
"""
__version__ = "1.10.1.0"
__version__ = "1.10.1.1"
2 changes: 1 addition & 1 deletion sql-jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ plugins {
group 'com.amazon.opendistroforelasticsearch.client'

// keep version in sync with version in Driver source
version '1.10.1.0'
version '1.10.1.1'

boolean snapshot = "true".equals(System.getProperty("build.snapshot", "true"));
if (snapshot) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public enum Version {

// keep this in sync with the gradle version
Current(1, 10, 1, 0);
Current(1, 10, 1, 1);

private int major;
private int minor;
Expand Down
4 changes: 2 additions & 2 deletions sql-odbc/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ set(INSTALL_SRC "${CMAKE_CURRENT_SOURCE_DIR}/installer")
set(DSN_INSTALLER_SRC "${CMAKE_CURRENT_SOURCE_DIR}/DSNInstaller")

# ODBC Driver version
set(DRIVER_PACKAGE_VERSION "1.10.1.0")
set(DRIVER_PACKAGE_VERSION_COMMA_SEPARATED "1,10,1,0")
set(DRIVER_PACKAGE_VERSION "1.10.1.1")
set(DRIVER_PACKAGE_VERSION_COMMA_SEPARATED "1,10,1,1")
add_compile_definitions( ES_ODBC_VERSION="${DRIVER_PACKAGE_VERSION}"
# Comma separated version is required for odbc administrator's driver file.
ES_ODBC_DRVFILE_VERSION=${DRIVER_PACKAGE_VERSION_COMMA_SEPARATED} )
Expand Down
2 changes: 1 addition & 1 deletion sql-odbc/src/TableauConnector/odfe_sql_odbc/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8' ?>

<connector-plugin class='odfe_sql_odbc' superclass='odbc' plugin-version='1.10.1.0' name='SQL' version='18.1' min-version-tableau='2020.1'>
<connector-plugin class='odfe_sql_odbc' superclass='odbc' plugin-version='1.10.1.1' name='SQL' version='18.1' min-version-tableau='2020.1'>
<vendor-information>
<company name="Open Distro for ES"/>
<support-link url="https://github.com/opendistro-for-elasticsearch/sql"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8' ?>

<connector-plugin class='odfe_sql_odbc_dev' superclass='odbc' plugin-version='1.10.1.0' name='Open Distro for Elasticsearch SQL ODBC DEV' version='18.1' min-version-tableau='2020.1'>
<connector-plugin class='odfe_sql_odbc_dev' superclass='odbc' plugin-version='1.10.1.1' name='Open Distro for Elasticsearch SQL ODBC DEV' version='18.1' min-version-tableau='2020.1'>
<vendor-information>
<company name="Open Distro for Elasticsearch"/>
<support-link url="https://github.com/opendistro-for-elasticsearch/sql"/>
Expand Down
2 changes: 1 addition & 1 deletion sql-workbench/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opendistro-sql-workbench",
"version": "1.10.1.0",
"version": "1.10.1.1",
"description": "SQL Workbench",
"main": "index.js",
"license": "Apache-2.0",
Expand Down

0 comments on commit 5b20eef

Please sign in to comment.