diff --git a/.github/workflows/bi-connectors.yml b/.github/workflows/bi-connectors.yml index 7e339967b0..bb0f9dd809 100644 --- a/.github/workflows/bi-connectors.yml +++ b/.github/workflows/bi-connectors.yml @@ -42,13 +42,13 @@ jobs: working-directory: bi-connectors/PowerBIConnector - name: Upload Tableau JDBC connector if: steps.pack-tableau-jdbc.outcome == 'success' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: TableauConnectors path: bi-connectors/TableauConnector/opensearch_sql_jdbc/opensearch_sql_jdbc.taco - name: Upload Power BI ODBC connectors if: steps.pack-powerbi-odbc-os-proj.outcome == 'success' || (steps.prep-powerbi-odbc-amz-os-svc.outcome == 'success' && steps.pack-powerbi-odbc-amz-os-svc.outcome == 'success') - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: PBIConnectors path: 'bi-connectors/PowerBIConnector/*.mez' diff --git a/.github/workflows/sql-cli-test-and-build-workflow.yml b/.github/workflows/sql-cli-test-and-build-workflow.yml index 3de1ff3aa5..a52d130486 100644 --- a/.github/workflows/sql-cli-test-and-build-workflow.yml +++ b/.github/workflows/sql-cli-test-and-build-workflow.yml @@ -57,7 +57,7 @@ jobs: cp -r ./dist/*.tar.gz ./dist/*.whl opensearchsql-builds/ - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: opensearchsql path: sql-cli/opensearchsql-builds diff --git a/.github/workflows/sql-jdbc-test-and-build-workflow.yml b/.github/workflows/sql-jdbc-test-and-build-workflow.yml index f32cfd9511..2e5320c8a1 100644 --- a/.github/workflows/sql-jdbc-test-and-build-workflow.yml +++ b/.github/workflows/sql-jdbc-test-and-build-workflow.yml @@ -27,7 +27,7 @@ jobs: cp ./build/libs/*.jar sql-jdbc-builds - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: sql-jdbc path: sql-jdbc/sql-jdbc-builds diff --git a/.github/workflows/sql-odbc-main.yml b/.github/workflows/sql-odbc-main.yml index 0a22780aa9..264d59bfd3 100644 --- a/.github/workflows/sql-odbc-main.yml +++ b/.github/workflows/sql-odbc-main.yml @@ -23,7 +23,7 @@ jobs: sh run_cppcheck.sh - name: upload-cppcheck-results if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: cppcheck-results path: sql-odbc/cppcheck-results.log @@ -61,19 +61,19 @@ jobs: # cp ./bin64/*.log test-output - name: upload-build if: success() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: mac64-build path: sql-odbc/build-output - name: upload-installer if: success() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: mac64-installer path: sql-odbc/installer #- name: upload-test-results - # if: success() - # uses: actions/upload-artifact@v1 + # if: always() + # uses: actions/upload-artifact@v4 # with: # name: mac-test-results # path: test-output @@ -106,19 +106,19 @@ jobs: .\scripts\prepare_ci_output.ps1 $Env:ODBC_BIN_PATH $Env:ODBC_LIB_PATH $Env:ODBC_BUILD_PATH - name: upload-build if: always() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: windows32-build path: sql-odbc/ci-output/build - name: upload-installer if: always() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: windows32-installer path: sql-odbc/ci-output/installer #- name: upload-test-results # if: always() - # uses: actions/upload-artifact@v1 + # uses: actions/upload-artifact@v4 # with: # name: windows-test-results # path: $CI_OUTPUT_PATH/test @@ -151,19 +151,19 @@ jobs: .\scripts\prepare_ci_output.ps1 $Env:ODBC_BIN_PATH $Env:ODBC_LIB_PATH $Env:ODBC_BUILD_PATH - name: upload-build if: always() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: windows64-build path: sql-odbc/ci-output/build - name: upload-installer if: always() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: windows64-installer path: sql-odbc/ci-output/installer #- name: upload-test-results # if: always() - # uses: actions/upload-artifact@v1 + # uses: actions/upload-artifact@v4 # with: # name: windows-test-results # path: sql-odbc/ci-output/test-output diff --git a/.github/workflows/sql-test-and-build-workflow.yml b/.github/workflows/sql-test-and-build-workflow.yml index 2db8063f96..d669264b22 100644 --- a/.github/workflows/sql-test-and-build-workflow.yml +++ b/.github/workflows/sql-test-and-build-workflow.yml @@ -42,7 +42,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: opensearch-sql path: opensearch-sql-builds diff --git a/build.gradle b/build.gradle index d3e1a51f06..77a5fbb063 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,8 @@ buildscript { ext { - opensearch_version = System.getProperty("opensearch.version", "1.3.3-SNAPSHOT") + opensearch_version = System.getProperty("opensearch.version", "1.3.4-SNAPSHOT") + spring_version = "5.3.39" } repositories { diff --git a/core/build.gradle b/core/build.gradle index 17bb1e1a71..5ced00381a 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -40,8 +40,8 @@ repositories { dependencies { compile group: 'com.google.guava', name: 'guava', version: '31.0.1-jre' - 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.springframework', name: 'spring-context', version: "${spring_version}" + compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}" 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' @@ -49,7 +49,7 @@ dependencies { 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.20.RELEASE' + testCompile group: 'org.springframework', name: 'spring-test', version: "${spring_version}" testCompile group: 'org.mockito', name: 'mockito-core', version: '3.3.3' testCompile group: 'org.mockito', name: 'mockito-junit-jupiter', version: '3.3.3' } diff --git a/plugin/build.gradle b/plugin/build.gradle index 3ed4407ebe..e220ad4831 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -65,7 +65,7 @@ configurations.all { } dependencies { - compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE' + compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}" compile project(":ppl") compile project(':legacy') compile project(':opensearch') diff --git a/ppl/build.gradle b/ppl/build.gradle index 4b0d361555..8b96d302d8 100644 --- a/ppl/build.gradle +++ b/ppl/build.gradle @@ -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.20.RELEASE' - compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE' + compile group: 'org.springframework', name: 'spring-context', version: "${spring_version}" + compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}" compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.1' compile project(':common') compile project(':core') diff --git a/sql/build.gradle b/sql/build.gradle index e49810fb5f..8572be7f3f 100644 --- a/sql/build.gradle +++ b/sql/build.gradle @@ -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.20.RELEASE' - compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE' + compile group: 'org.springframework', name: 'spring-context', version: "${spring_version}" + compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}" compile project(':common') compile project(':core') compile project(':protocol')