Skip to content

Commit

Permalink
Merge branch '1.3' into 1.x
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
  • Loading branch information
ps48 committed Jul 28, 2022
2 parents 7e215ff + f24de26 commit c3f4094
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 37 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.3.0.0
version: 1.3.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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 @@ -3,7 +3,7 @@ name: SQL Java CI
on: [push, pull_request]

env:
OPENSEARCH_VERSION: '1.3.0-SNAPSHOT'
OPENSEARCH_VERSION: '1.3.4-SNAPSHOT'

jobs:
build:
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.3.0.0
OPENSEARCH_VERSION: '1.3'
OPENSEARCH_PLUGIN_VERSION: 1.3.4.0

jobs:

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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

repositories {
Expand Down
6 changes: 3 additions & 3 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ repositories {

dependencies {
compile group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.19.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.19.RELEASE'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
compile group: 'com.facebook.presto', name: 'presto-matching', version: '0.240'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
compile project(':common')

testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
testCompile group: 'org.hamcrest', name: 'hamcrest-library', version: '2.1'
testCompile group: 'org.springframework', name: 'spring-test', version: '5.2.19.RELEASE'
testCompile group: 'org.springframework', name: 'spring-test', version: '5.2.20.RELEASE'
testCompile group: 'org.mockito', name: 'mockito-core', version: '3.3.3'
testCompile group: 'org.mockito', name: 'mockito-junit-jupiter', version: '3.3.3'
}
Expand Down
13 changes: 12 additions & 1 deletion doctest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ doctest.finalizedBy stopOpenSearch
build.dependsOn doctest
clean.dependsOn(cleanBootstrap)

String mlCommonsRemoteFile = 'https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.4/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-ml-1.3.4.0.zip'
String mlCommonsPlugin = "ml-commons"

testClusters {
docTestCluster {
plugin(provider(new Callable<RegularFile>(){
Expand All @@ -56,7 +59,15 @@ testClusters {
return new RegularFile() {
@Override
File getAsFile() {
return fileTree("resources/ml-commons").getSingleFile()
File dir = new File('./doctest/' + mlCommonsPlugin)
if (!dir.exists()) {
dir.mkdirs()
}
File f = new File(mlCommonsPlugin, dir)
if (!f.exists()) {
new URL(mlCommonsRemoteFile).withInputStream{ ins -> f.withOutputStream{ it << ins }}
}
return fileTree(mlCommonsPlugin).getSingleFile()
}
}
}
Expand Down
Binary file not shown.
2 changes: 0 additions & 2 deletions integ-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ configurations.all {
// enforce 1.1.3, https://www.whitesourcesoftware.com/vulnerability-database/WS-2019-0379
resolutionStrategy.force 'commons-codec:commons-codec:1.13'
resolutionStrategy.force 'com.google.guava:guava:31.0.1-jre'
resolutionStrategy.force 'com.fasterxml.jackson.core:jackson-core:2.12.6'
resolutionStrategy.force 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.6'
}

dependencies {
Expand Down
8 changes: 4 additions & 4 deletions opensearch/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ dependencies {
compile project(':core')
compile group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
compile "io.github.resilience4j:resilience4j-retry:1.5.0"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.12.6'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.6'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.12.6'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.13.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.2'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.13.2'
compile group: 'org.json', name: 'json', version:'20180813'
compileOnly group: 'org.opensearch.client', name: 'opensearch-rest-high-level-client', version: "${opensearch_version}"
compile group: 'org.opensearch', name:'opensearch-ml-client', version: '1.3.0.0-SNAPSHOT'
compile group: 'org.opensearch', name:'opensearch-ml-client', version: '1.3.4.0-SNAPSHOT'

testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
testCompile group: 'org.hamcrest', name: 'hamcrest-library', version: '2.1'
Expand Down
5 changes: 1 addition & 4 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,13 @@ configurations.all {
resolutionStrategy.force 'junit:junit:4.13.2'
// conflict with spring-jcl
exclude group: "commons-logging", module: "commons-logging"
// enforce 2.12.6, https://github.com/opensearch-project/sql/issues/424
resolutionStrategy.force 'com.fasterxml.jackson.core:jackson-core:2.12.6'
// enforce 1.1.3, https://www.whitesourcesoftware.com/vulnerability-database/WS-2019-0379
resolutionStrategy.force 'commons-codec:commons-codec:1.13'
resolutionStrategy.force 'com.google.guava:guava:31.0.1-jre'
resolutionStrategy.force 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.6'
}

dependencies {
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.19.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE'
compile project(":ppl")
compile project(':legacy')
compile project(':opensearch')
Expand Down
4 changes: 2 additions & 2 deletions ppl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ dependencies {
compile group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
compile group: 'org.opensearch', name: 'opensearch-x-content', version: "${opensearch_version}"
compile group: 'org.json', name: 'json', version: '20180813'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.19.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.19.RELEASE'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.1'
compile project(':common')
compile project(':core')
Expand Down
6 changes: 3 additions & 3 deletions protocol/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ plugins {

dependencies {
compile group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.12.6'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.6'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.12.6'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.13.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.2'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.13.2'
implementation 'com.google.code.gson:gson:2.8.9'
compile project(':core')
compile project(':opensearch')
Expand Down
Binary file removed sql-jdbc/docs/img/tableau_graph.PNG
Binary file not shown.
4 changes: 2 additions & 2 deletions sql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ dependencies {
compile "org.antlr:antlr4-runtime:4.7.1"
implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
compile group: 'org.json', name: 'json', version:'20180813'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.19.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.19.RELEASE'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE'
compile project(':common')
compile project(':core')
compile project(':protocol')
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.3.0.0",
"opensearchDashboardsVersion": "1.3.0",
"version": "1.3.4.0",
"opensearchDashboardsVersion": "1.3.4",
"server": true,
"ui": true,
"requiredPlugins": ["navigation"],
Expand Down
6 changes: 1 addition & 5 deletions workbench/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
{
"name": "opensearch-query-workbench",
"version": "1.3.0.0",
"version": "1.3.4.0",
"description": "Query Workbench",
"main": "index.js",
"license": "Apache-2.0",
"homepage": "https://github.com/opensearch-project/sql/tree/main/workbench",
"opensearchDashboards": {
"version": "1.3.0",
"templateVersion": "1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/opensearch-project/sql/tree/main/workbench"
Expand Down
8 changes: 4 additions & 4 deletions workbench/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2297,10 +2297,10 @@ semver-compare@^1.0.0:
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w=

semver-regex@^3.1.3:
version "3.1.3"
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.3.tgz#b2bcc6f97f63269f286994e297e229b6245d0dc3"
integrity sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ==
semver-regex@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338"
integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==

semver@7.x:
version "7.3.4"
Expand Down

0 comments on commit c3f4094

Please sign in to comment.