Skip to content

Commit

Permalink
Bumps version to 1.2 (#254)
Browse files Browse the repository at this point in the history
* Updates dashbquery-workbench-dashboardsoards version to 1.2. Changes the package jsons, as well as the github action workflows.

Signed-off-by: Tengda He <tengh@amazon.com>

* bump version to 1.2 changes

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* fix broken link

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* Remove unnecessary stubs

Signed-off-by: Joshua Li <joshuali925@gmail.com>

Co-authored-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>
Co-authored-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
3 people authored Nov 4, 2021
1 parent 6dae7b2 commit fe7e867
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 25 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.1.0.1
version: 1.2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/sql-odbc-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
ODBC_BUILD_PATH: "./build/odbc/build"
AWS_SDK_INSTALL_PATH: "./build/aws-sdk/install"
PLUGIN_NAME: opensearch-sql-odbc
OD_VERSION: 1.1.0.1
OD_VERSION: 1.2.0.0

jobs:
build-mac:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sql-odbc-rename-and-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- rename*

env:
OD_VERSION: 1.1.0.1
OD_VERSION: 1.2.0.0

jobs:
upload-odbc:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sql-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
java-version: 1.14

- name: Build with Gradle
run: ./gradlew build assemble -Dopensearch.version=1.1.0-SNAPSHOT
run: ./gradlew build assemble -Dopensearch.version=1.2.0-SNAPSHOT

- name: Create Artifact Path
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sql-workbench-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:

env:
PLUGIN_NAME: query-workbench-dashboards
OPENSEARCH_VERSION: '1.x'
OPENSEARCH_PLUGIN_VERSION: 1.1.0.1
OPENSEARCH_VERSION: '1.2'
OPENSEARCH_PLUGIN_VERSION: 1.2.0.0

jobs:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sql-workbench-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: [pull_request, push]

env:
PLUGIN_NAME: query-workbench-dashboards
OPENSEARCH_VERSION: '1.x'
OPENSEARCH_PLUGIN_VERSION: 1.1.0.0
OPENSEARCH_VERSION: '1.2'
OPENSEARCH_PLUGIN_VERSION: 1.2.0.0

jobs:

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If you would like to contribute to the documentation, please do so in the [docum

As with other types of contributions, the first step is to [**open an issue on GitHub**](https://github.com/opensearch-project/sql/issues/new/choose). Opening an issue before you make changes makes sure that someone else isn't already working on that particular problem. It also lets us all work together to find the right approach before you spend a bunch of time on a PR. So again, when in doubt, open an issue.

Once you've opened an issue, check out our [Developer Guide](./DEVELOPER_GUIDE.md) for instructions on how to get started.
Once you've opened an issue, check out our [Developer Guide](./DEVELOPER_GUIDE.rst) for instructions on how to get started.

## Developer Certificate of Origin

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

buildscript {
ext {
opensearch_version = System.getProperty("opensearch.version", "1.1.0-SNAPSHOT")
opensearch_version = System.getProperty("opensearch.version", "1.2.0-SNAPSHOT")
}

repositories {
Expand Down Expand Up @@ -61,7 +61,7 @@ ext {
}

allprojects {
version = opensearch_version - "-SNAPSHOT" + ".1"
version = opensearch_version - "-SNAPSHOT" + ".0"
if (isSnapshot) {
version += "-SNAPSHOT"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public class ComparisonTestTest {

@Before
public void setUp() {
when(openSearchConnection.getDatabaseName()).thenReturn("OpenSearch");
when(otherDbConnection.getDatabaseName()).thenReturn("Other");
correctnessTest = new ComparisonTest(
openSearchConnection, new DBConnection[] {otherDbConnection}
Expand Down Expand Up @@ -119,7 +118,6 @@ public void testSuccessFinally() {
DBResult anotherDbResult = new DBResult("Another DB", asList(new Type("firstname", "text")),
asList(new Row(asList("John"))));
when(openSearchConnection.select(anyString())).thenReturn(openSearchResult);
when(otherDbConnection.select(anyString())).thenReturn(otherDbResult);
when(anotherDbConnection.select(anyString())).thenReturn(anotherDbResult);

TestReport expected = new TestReport();
Expand Down Expand Up @@ -191,8 +189,6 @@ public void testSuccessWhenOneDBSupportThisQuery() {
when(openSearchConnection.select(anyString())).thenReturn(
new DBResult("OpenSearch", asList(new Type("firstname", "text")), asList(new Row(asList("John"))))
);
when(otherDbConnection.select(anyString()))
.thenThrow(new RuntimeException("Unsupported feature"));
when(anotherDbConnection.select(anyString())).thenReturn(
new DBResult("Another DB", asList(new Type("firstname", "text")),
asList(new Row(asList("John"))))
Expand Down
2 changes: 1 addition & 1 deletion sql-cli/src/opensearch_sql_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
express or implied. See the License for the specific language governing
permissions and limitations under the License.
"""
__version__ = "1.1.0.1"
__version__ = "1.2.0.0"
2 changes: 1 addition & 1 deletion sql-jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ plugins {
group 'org.opensearch.client'

// keep version in sync with version in Driver source
version '1.1.0.1'
version '1.2.0.0'

boolean snapshot = "true".equals(System.getProperty("build.snapshot", "false"));
if (snapshot) {
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 @@ -87,8 +87,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.1.0.1")
set(DRIVER_PACKAGE_VERSION_COMMA_SEPARATED "1,1,0,1")
set(DRIVER_PACKAGE_VERSION "1.2.0.0")
set(DRIVER_PACKAGE_VERSION_COMMA_SEPARATED "1,2,0,0")
add_compile_definitions( OPENSEARCH_ODBC_VERSION="${DRIVER_PACKAGE_VERSION}"
# Comma separated version is required for odbc administrator's driver file.
OPENSEARCH_ODBC_DRVFILE_VERSION=${DRIVER_PACKAGE_VERSION_COMMA_SEPARATED} )
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='opensearch_sql_odbc' superclass='odbc' plugin-version='1.1.0.1' name='SQL' version='18.1' min-version-tableau='2020.1'>
<connector-plugin class='opensearch_sql_odbc' superclass='odbc' plugin-version='1.2.0.0' name='SQL' version='18.1' min-version-tableau='2020.1'>
<vendor-information>
<company name="OpenSearch for ES"/>
<support-link url="https://github.com/opensearch-project/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='opensearch_sql_odbc_dev' superclass='odbc' plugin-version='1.1.0.1' name='OpenSearch SQL ODBC DEV' version='18.1' min-version-tableau='2020.1'>
<connector-plugin class='opensearch_sql_odbc_dev' superclass='odbc' plugin-version='1.2.0.0' name='OpenSearch SQL ODBC DEV' version='18.1' min-version-tableau='2020.1'>
<vendor-information>
<company name="OpenSearch"/>
<support-link url="https://github.com/opensearch-project/sql"/>
Expand Down
4 changes: 2 additions & 2 deletions workbench/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "queryWorkbenchDashboards",
"version": "1.1.0.0",
"opensearchDashboardsVersion": "1.1.0",
"version": "1.2.0.0",
"opensearchDashboardsVersion": "1.2.0",
"server": true,
"ui": true,
"requiredPlugins": ["navigation"],
Expand Down
4 changes: 2 additions & 2 deletions workbench/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "opensearch-query-workbench",
"version": "1.1.0.1",
"version": "1.2.0.0",
"description": "Query Workbench",
"main": "index.js",
"license": "Apache-2.0",
"homepage": "https://github.com/opensearch-project/sql/tree/main/workbench",
"opensearchDashboards": {
"version": "1.1.0",
"version": "1.2.0",
"templateVersion": "1.0.0"
},
"repository": {
Expand Down

0 comments on commit fe7e867

Please sign in to comment.