Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating 1.x branch to latest 1.3 #714

Merged
merged 22 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f154faa
Disable flaky test in JdbcTestIT. (#475)
penghuo Mar 10, 2022
f2263e7
Update dependency opensearch-ml-client group name (#477)
jackiehanyang Mar 10, 2022
646ce3c
Collected fixes related to bugs #280, #302, #783, #696 and 317 all to…
Yury-Fridlyand Mar 10, 2022
942c24f
Add JDK 8 to CI Matrix (#483) (#484)
opensearch-trigger-bot[bot] Mar 11, 2022
cc5e0af
Add parse docs to PPL commands index (#486) (#487)
opensearch-trigger-bot[bot] Mar 14, 2022
31ee54b
Add 1.3.0 release notes (#492)
eugenesk24 Mar 14, 2022
be42907
Add Kmeans and AD command documentation (#493) (#497)
opensearch-trigger-bot[bot] Mar 16, 2022
56b9789
Bump version to 1.3.1
gaiksaya Mar 26, 2022
6d76cc1
Bump ml
gaiksaya Mar 28, 2022
f035135
Add new zip
gaiksaya Mar 29, 2022
2cd49a5
Updated release drafter
gaiksaya Mar 29, 2022
20bff4c
Merge pull request #517 from gaiksaya/1.3.1
gaiksaya Mar 29, 2022
d85f861
Remove checked-in ml-commons dependency (#529)
jackiehanyang Apr 5, 2022
3af0fec
Bump workbench to 1.3.1 (#540)
joshuali925 Apr 5, 2022
c0c8ed8
Bug Fix, return default ID when log4j ThreadContext is empty (#538) (…
opensearch-trigger-bot[bot] Apr 8, 2022
04dcd27
Incremented version to 1.3.2. (#593)
zelinh May 2, 2022
810d7f2
Version bump 1.3.3
prudhvigodithi Jun 2, 2022
ff2f36f
[1.3] Bump spring-beans to 5.2.20 (#632)
joshuali925 Jun 2, 2022
b31f4ed
Version bump 1.3.3
prudhvigodithi Jun 3, 2022
0b5fa2b
Merge pull request #631 from prudhvigodithi/1.3.3-versionbump
anirudha Jun 6, 2022
f24de26
Incremented version to 1.3.4. (#681)
zelinh Jul 13, 2022
c3f4094
Merge branch '1.3' into 1.x
ps48 Jul 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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