Skip to content

Commit fe7e867

Browse files
Tengda-Hekavithacmjoshuali925
authored
Bumps version to 1.2 (#254)
* Updates dashbquery-workbench-dashboardsoards version to 1.2. Changes the package jsons, as well as the github action workflows. Signed-off-by: Tengda He <[email protected]> * bump version to 1.2 changes Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]> * fix broken link Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]> * Remove unnecessary stubs Signed-off-by: Joshua Li <[email protected]> Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]> Co-authored-by: Joshua Li <[email protected]>
1 parent 6dae7b2 commit fe7e867

File tree

16 files changed

+21
-25
lines changed

16 files changed

+21
-25
lines changed

.github/workflows/draft-release-notes-workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
with:
1717
config-name: draft-release-notes-config.yml
1818
tag: (None)
19-
version: 1.1.0.1
19+
version: 1.2.0.0
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/sql-odbc-release-workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
ODBC_BUILD_PATH: "./build/odbc/build"
1313
AWS_SDK_INSTALL_PATH: "./build/aws-sdk/install"
1414
PLUGIN_NAME: opensearch-sql-odbc
15-
OD_VERSION: 1.1.0.1
15+
OD_VERSION: 1.2.0.0
1616

1717
jobs:
1818
build-mac:

.github/workflows/sql-odbc-rename-and-release-workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- rename*
99

1010
env:
11-
OD_VERSION: 1.1.0.1
11+
OD_VERSION: 1.2.0.0
1212

1313
jobs:
1414
upload-odbc:

.github/workflows/sql-test-and-build-workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
java-version: 1.14
1717

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

2121
- name: Create Artifact Path
2222
run: |

.github/workflows/sql-workbench-release-workflow.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77

88
env:
99
PLUGIN_NAME: query-workbench-dashboards
10-
OPENSEARCH_VERSION: '1.x'
11-
OPENSEARCH_PLUGIN_VERSION: 1.1.0.1
10+
OPENSEARCH_VERSION: '1.2'
11+
OPENSEARCH_PLUGIN_VERSION: 1.2.0.0
1212

1313
jobs:
1414

.github/workflows/sql-workbench-test-and-build-workflow.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on: [pull_request, push]
44

55
env:
66
PLUGIN_NAME: query-workbench-dashboards
7-
OPENSEARCH_VERSION: '1.x'
8-
OPENSEARCH_PLUGIN_VERSION: 1.1.0.0
7+
OPENSEARCH_VERSION: '1.2'
8+
OPENSEARCH_PLUGIN_VERSION: 1.2.0.0
99

1010
jobs:
1111

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ If you would like to contribute to the documentation, please do so in the [docum
3939

4040
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.
4141

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

4444
## Developer Certificate of Origin
4545

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
buildscript {
2828
ext {
29-
opensearch_version = System.getProperty("opensearch.version", "1.1.0-SNAPSHOT")
29+
opensearch_version = System.getProperty("opensearch.version", "1.2.0-SNAPSHOT")
3030
}
3131

3232
repositories {
@@ -61,7 +61,7 @@ ext {
6161
}
6262

6363
allprojects {
64-
version = opensearch_version - "-SNAPSHOT" + ".1"
64+
version = opensearch_version - "-SNAPSHOT" + ".0"
6565
if (isSnapshot) {
6666
version += "-SNAPSHOT"
6767
}

integ-test/src/test/java/org/opensearch/sql/correctness/tests/ComparisonTestTest.java

-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public class ComparisonTestTest {
6565

6666
@Before
6767
public void setUp() {
68-
when(openSearchConnection.getDatabaseName()).thenReturn("OpenSearch");
6968
when(otherDbConnection.getDatabaseName()).thenReturn("Other");
7069
correctnessTest = new ComparisonTest(
7170
openSearchConnection, new DBConnection[] {otherDbConnection}
@@ -119,7 +118,6 @@ public void testSuccessFinally() {
119118
DBResult anotherDbResult = new DBResult("Another DB", asList(new Type("firstname", "text")),
120119
asList(new Row(asList("John"))));
121120
when(openSearchConnection.select(anyString())).thenReturn(openSearchResult);
122-
when(otherDbConnection.select(anyString())).thenReturn(otherDbResult);
123121
when(anotherDbConnection.select(anyString())).thenReturn(anotherDbResult);
124122

125123
TestReport expected = new TestReport();
@@ -191,8 +189,6 @@ public void testSuccessWhenOneDBSupportThisQuery() {
191189
when(openSearchConnection.select(anyString())).thenReturn(
192190
new DBResult("OpenSearch", asList(new Type("firstname", "text")), asList(new Row(asList("John"))))
193191
);
194-
when(otherDbConnection.select(anyString()))
195-
.thenThrow(new RuntimeException("Unsupported feature"));
196192
when(anotherDbConnection.select(anyString())).thenReturn(
197193
new DBResult("Another DB", asList(new Type("firstname", "text")),
198194
asList(new Row(asList("John"))))

sql-cli/src/opensearch_sql_cli/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
express or implied. See the License for the specific language governing
2323
permissions and limitations under the License.
2424
"""
25-
__version__ = "1.1.0.1"
25+
__version__ = "1.2.0.0"

sql-jdbc/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ plugins {
4343
group 'org.opensearch.client'
4444

4545
// keep version in sync with version in Driver source
46-
version '1.1.0.1'
46+
version '1.2.0.0'
4747

4848
boolean snapshot = "true".equals(System.getProperty("build.snapshot", "false"));
4949
if (snapshot) {

sql-odbc/src/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ set(INSTALL_SRC "${CMAKE_CURRENT_SOURCE_DIR}/installer")
8787
set(DSN_INSTALLER_SRC "${CMAKE_CURRENT_SOURCE_DIR}/DSNInstaller")
8888

8989
# ODBC Driver version
90-
set(DRIVER_PACKAGE_VERSION "1.1.0.1")
91-
set(DRIVER_PACKAGE_VERSION_COMMA_SEPARATED "1,1,0,1")
90+
set(DRIVER_PACKAGE_VERSION "1.2.0.0")
91+
set(DRIVER_PACKAGE_VERSION_COMMA_SEPARATED "1,2,0,0")
9292
add_compile_definitions( OPENSEARCH_ODBC_VERSION="${DRIVER_PACKAGE_VERSION}"
9393
# Comma separated version is required for odbc administrator's driver file.
9494
OPENSEARCH_ODBC_DRVFILE_VERSION=${DRIVER_PACKAGE_VERSION_COMMA_SEPARATED} )

sql-odbc/src/TableauConnector/opensearch_sql_odbc/manifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0' encoding='utf-8' ?>
22

3-
<connector-plugin class='opensearch_sql_odbc' superclass='odbc' plugin-version='1.1.0.1' name='SQL' version='18.1' min-version-tableau='2020.1'>
3+
<connector-plugin class='opensearch_sql_odbc' superclass='odbc' plugin-version='1.2.0.0' name='SQL' version='18.1' min-version-tableau='2020.1'>
44
<vendor-information>
55
<company name="OpenSearch for ES"/>
66
<support-link url="https://github.com/opensearch-project/sql"/>

sql-odbc/src/TableauConnector/opensearch_sql_odbc_dev/manifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0' encoding='utf-8' ?>
22

3-
<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'>
3+
<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'>
44
<vendor-information>
55
<company name="OpenSearch"/>
66
<support-link url="https://github.com/opensearch-project/sql"/>

workbench/opensearch_dashboards.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "queryWorkbenchDashboards",
3-
"version": "1.1.0.0",
4-
"opensearchDashboardsVersion": "1.1.0",
3+
"version": "1.2.0.0",
4+
"opensearchDashboardsVersion": "1.2.0",
55
"server": true,
66
"ui": true,
77
"requiredPlugins": ["navigation"],

workbench/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "opensearch-query-workbench",
3-
"version": "1.1.0.1",
3+
"version": "1.2.0.0",
44
"description": "Query Workbench",
55
"main": "index.js",
66
"license": "Apache-2.0",
77
"homepage": "https://github.com/opensearch-project/sql/tree/main/workbench",
88
"opensearchDashboards": {
9-
"version": "1.1.0",
9+
"version": "1.2.0",
1010
"templateVersion": "1.0.0"
1111
},
1212
"repository": {

0 commit comments

Comments
 (0)