From 25bd9cd700dd06f2996d99320815a5d78e7eb92b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:24:20 +0000 Subject: [PATCH 01/46] chore(deps-dev): bump org.mariadb.jdbc:mariadb-java-client Bumps [org.mariadb.jdbc:mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 3.4.1 to 3.5.0. - [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases) - [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md) - [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.4.1...3.5.0) --- updated-dependencies: - dependency-name: org.mariadb.jdbc:mariadb-java-client dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9651fd87c..3fba0d5f4 100644 --- a/pom.xml +++ b/pom.xml @@ -174,7 +174,7 @@ org.mariadb.jdbc mariadb-java-client - 3.4.1 + 3.5.0 test From 8c29a18b513b7cf9cb65f0f45f622b3afbcec503 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:52:00 +0000 Subject: [PATCH 02/46] chore(deps): bump actions/setup-python from 5.2.0 to 5.3.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.2.0 to 5.3.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5.2.0...v5.3.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/aws.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index 96bb7ac35..693f72e46 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -52,7 +52,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v5.2.0 + uses: actions/setup-python@v5.3.0 with: python-version: '3.11.5' From 5552543e14cbce0310635333b4ecbf8856745226 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:15:44 +0000 Subject: [PATCH 03/46] chore(deps): bump junit.version from 5.11.2 to 5.11.3 Bumps `junit.version` from 5.11.2 to 5.11.3. Updates `org.junit.jupiter:junit-jupiter-api` from 5.11.2 to 5.11.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3) Updates `org.junit.vintage:junit-vintage-engine` from 5.11.2 to 5.11.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3) Updates `org.junit.jupiter:junit-jupiter-engine` from 5.11.2 to 5.11.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter-api dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.vintage:junit-vintage-engine dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.jupiter:junit-jupiter-engine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3fba0d5f4..286699d1a 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 3.3.1 4.0.1 - 5.11.2 + 5.11.3 1.11.2 From 71f0400a6ec7e22655b40f8a3c5572cb5d642417 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 15:11:57 +0000 Subject: [PATCH 04/46] chore(deps): bump org.firebirdsql.jdbc:jaybird Bumps [org.firebirdsql.jdbc:jaybird](https://github.com/FirebirdSQL/jaybird) from 5.0.5.java11 to 5.0.6.java11. - [Release notes](https://github.com/FirebirdSQL/jaybird/releases) - [Commits](https://github.com/FirebirdSQL/jaybird/commits) --- updated-dependencies: - dependency-name: org.firebirdsql.jdbc:jaybird dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 286699d1a..26fb1d4a2 100644 --- a/pom.xml +++ b/pom.xml @@ -229,7 +229,7 @@ org.firebirdsql.jdbc jaybird - 5.0.5.java11 + 5.0.6.java11 From fd199b23c2e9f1716560287da970618d234b70fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:32:17 +0000 Subject: [PATCH 05/46] chore(deps-dev): bump net.snowflake:snowflake-jdbc from 3.19.0 to 3.20.0 Bumps [net.snowflake:snowflake-jdbc](https://github.com/snowflakedb/snowflake-jdbc) from 3.19.0 to 3.20.0. - [Release notes](https://github.com/snowflakedb/snowflake-jdbc/releases) - [Changelog](https://github.com/snowflakedb/snowflake-jdbc/blob/master/CHANGELOG.rst) - [Commits](https://github.com/snowflakedb/snowflake-jdbc/compare/v3.19.0...v3.20.0) --- updated-dependencies: - dependency-name: net.snowflake:snowflake-jdbc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 26fb1d4a2..3b9f9ffcb 100644 --- a/pom.xml +++ b/pom.xml @@ -223,7 +223,7 @@ net.snowflake snowflake-jdbc - 3.19.0 + 3.20.0 test From de5cdb26f5eb15e95d0cecc45ec962450a68c876 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:22:30 +0000 Subject: [PATCH 06/46] chore(deps-dev): bump org.xerial:sqlite-jdbc from 3.46.1.3 to 3.47.0.0 Bumps [org.xerial:sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.46.1.3 to 3.47.0.0. - [Release notes](https://github.com/xerial/sqlite-jdbc/releases) - [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG) - [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.46.1.3...3.47.0.0) --- updated-dependencies: - dependency-name: org.xerial:sqlite-jdbc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3b9f9ffcb..90730a2cc 100644 --- a/pom.xml +++ b/pom.xml @@ -196,7 +196,7 @@ org.xerial sqlite-jdbc - 3.46.1.3 + 3.47.0.0 test From 462209522852250fc9033408c6b07875a6e47e1b Mon Sep 17 00:00:00 2001 From: Steven Massaro Date: Fri, 1 Nov 2024 09:51:49 -0600 Subject: [PATCH 07/46] disable analytics (DAT-18903) (#914) --- pom.xml | 7 ++++++- .../compatibility/foundational/FoundationalTest.groovy | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 90730a2cc..22cfecc5b 100644 --- a/pom.xml +++ b/pom.xml @@ -291,7 +291,12 @@ dom 2.3.0-jaxb-1.0.6 - + + org.liquibase.ext + liquibase-disable-analytics + 1.0.0 + test + diff --git a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy index f9cd7e16c..482624d72 100644 --- a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy +++ b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy @@ -70,7 +70,7 @@ class FoundationalTest extends Specification { shouldRunChangeSet = connection instanceof JdbcConnection assert shouldRunChangeSet: "Database ${testInput.databaseName} ${testInput.version} is offline!" - and: "execute Liquibase validate command to ensure a chagelog is valid" + and: "execute Liquibase validate command to ensure a changelog is valid" for (int i = 0; i < changelogList.size(); i++) { argsMap.put("changeLogFile", changelogList.get(i)) executeCommandScope("validate", argsMap) From b69ff5523b87e04d1ab7b4597bacfe6b585e3983 Mon Sep 17 00:00:00 2001 From: PavloTytarchuk <55182440+PavloTytarchuk@users.noreply.github.com> Date: Mon, 4 Nov 2024 14:48:17 +0100 Subject: [PATCH 08/46] DAT-18864. testing titan issue fix (#916) * DAT-18864. testing titan issue fix * DAT-18864. testing titan issue fix --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1bb95252..109852fd0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -106,7 +106,7 @@ jobs: setup: name: Setup needs: authorize - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 env: GITHUB_TOKEN: ${{ secrets.INSTALL_SNAPSHOT_LIQUIBASE }} outputs: From 04a7507ac903c3c6a4cb30a08cd61d30ac2ff4c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:54:44 +0000 Subject: [PATCH 09/46] chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.10.1 to 3.11.1. - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases) - [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.10.1...maven-javadoc-plugin-3.11.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 22cfecc5b..369b6a171 100644 --- a/pom.xml +++ b/pom.xml @@ -383,7 +383,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.10.1 + 3.11.1 false Liquibase Test Harness ${project.version} From cd967c5bc7e5dd862c3c1c85e4e6c3ecb5772906 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:55:20 +0000 Subject: [PATCH 10/46] chore(deps): bump junit-platform.version from 1.11.2 to 1.11.3 Bumps `junit-platform.version` from 1.11.2 to 1.11.3. Updates `org.junit.platform:junit-platform-suite` from 1.11.2 to 1.11.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) Updates `org.junit.platform:junit-platform-launcher` from 1.11.2 to 1.11.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) Updates `org.junit.platform:junit-platform-engine` from 1.11.2 to 1.11.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) --- updated-dependencies: - dependency-name: org.junit.platform:junit-platform-suite dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.platform:junit-platform-launcher dependency-type: direct:development update-type: version-update:semver-patch - dependency-name: org.junit.platform:junit-platform-engine dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 369b6a171..fa67dbca2 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ 3.3.1 4.0.1 5.11.3 - 1.11.2 + 1.11.3 Liquibase.org From 9733c7d8e1edee0c6fb4e9f4b9ba3a0d46a46391 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:54:51 +0000 Subject: [PATCH 11/46] chore(deps): bump org.apache.maven.plugins:maven-failsafe-plugin Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.5.1 to 3.5.2. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.1...surefire-3.5.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-failsafe-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fa67dbca2..67ae20cf1 100644 --- a/pom.xml +++ b/pom.xml @@ -378,7 +378,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.5.1 + 3.5.2 org.apache.maven.plugins From 3e25787c47f6336997c58a304aeb7fd4894322bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:54:47 +0000 Subject: [PATCH 12/46] chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.5.1 to 3.5.2. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.1...surefire-3.5.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 67ae20cf1..a81499315 100644 --- a/pom.xml +++ b/pom.xml @@ -437,7 +437,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.1 + 3.5.2 From c33c0d13f50418a7807592ea1f5fde87ca8b2ef0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:54:55 +0000 Subject: [PATCH 13/46] chore(deps-dev): bump org.hsqldb:hsqldb from 2.7.3 to 2.7.4 Bumps org.hsqldb:hsqldb from 2.7.3 to 2.7.4. --- updated-dependencies: - dependency-name: org.hsqldb:hsqldb dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a81499315..cb4a3ece8 100644 --- a/pom.xml +++ b/pom.xml @@ -217,7 +217,7 @@ org.hsqldb hsqldb - 2.7.3 + 2.7.4 test From 75e40deae5b3cfa6a68675cbc7c2ef64b6792dab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:03:35 +0000 Subject: [PATCH 14/46] chore(deps): bump com.oracle.database.jdbc:ojdbc8 Bumps com.oracle.database.jdbc:ojdbc8 from 19.24.0.0 to 19.25.0.0. --- updated-dependencies: - dependency-name: com.oracle.database.jdbc:ojdbc8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cb4a3ece8..44bf5fe95 100644 --- a/pom.xml +++ b/pom.xml @@ -180,7 +180,7 @@ com.oracle.database.jdbc ojdbc8 - 19.24.0.0 + 19.25.0.0 com.microsoft.sqlserver From 44d088cc42e332d8cccfdea70dd5968791d9d94f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:40:12 +0000 Subject: [PATCH 15/46] chore(deps): bump org.codehaus.mojo:versions-maven-plugin Bumps [org.codehaus.mojo:versions-maven-plugin](https://github.com/mojohaus/versions) from 2.17.1 to 2.18.0. - [Release notes](https://github.com/mojohaus/versions/releases) - [Changelog](https://github.com/mojohaus/versions/blob/master/ReleaseNotes.md) - [Commits](https://github.com/mojohaus/versions/compare/2.17.1...2.18.0) --- updated-dependencies: - dependency-name: org.codehaus.mojo:versions-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 44bf5fe95..8c674500d 100644 --- a/pom.xml +++ b/pom.xml @@ -314,7 +314,7 @@ org.codehaus.mojo versions-maven-plugin - 2.17.1 + 2.18.0 false From d27fbad415e220a82a3b354101fd7bbf68dbe11d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:14:20 +0000 Subject: [PATCH 16/46] chore(deps): bump org.apache.groovy:groovy-all from 4.0.23 to 4.0.24 Bumps [org.apache.groovy:groovy-all](https://github.com/apache/groovy) from 4.0.23 to 4.0.24. - [Commits](https://github.com/apache/groovy/commits) --- updated-dependencies: - dependency-name: org.apache.groovy:groovy-all dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8c674500d..bd35954b5 100644 --- a/pom.xml +++ b/pom.xml @@ -89,7 +89,7 @@ org.apache.groovy groovy-all - 4.0.23 + 4.0.24 pom From 5bdc8f44c8330819d0105c8e9fd0352c56b84cfb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:29:19 +0000 Subject: [PATCH 17/46] chore(deps): bump liquibase-github-actions/drop-all Bumps [liquibase-github-actions/drop-all](https://github.com/liquibase-github-actions/drop-all) from 4.29.2 to 4.30.0. - [Release notes](https://github.com/liquibase-github-actions/drop-all/releases) - [Commits](https://github.com/liquibase-github-actions/drop-all/compare/v4.29.2...v4.30.0) --- updated-dependencies: - dependency-name: liquibase-github-actions/drop-all dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/aws.yml | 2 +- .github/workflows/azure.yml | 10 +++++----- .github/workflows/gcp.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index 693f72e46..dd48cc214 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -195,7 +195,7 @@ jobs: sleep 30 liquibase --classpath="src/test/resources/init-changelogs/aws" --changeLogFile="${{ steps.setup.outputs.databasePlatform }}.sql" --username="root" --password="${{ env.TH_DB_PASSWD }}" --url="$mysql_url" update - - uses: liquibase-github-actions/drop-all@v4.29.2 + - uses: liquibase-github-actions/drop-all@v4.30.0 if: ${{ steps.setup.outputs.databasePlatform == 'oracle' }} with: url: "${{ secrets.TH_ORACLEURL_19 }}" diff --git a/.github/workflows/azure.yml b/.github/workflows/azure.yml index ad97c5b51..fd840e34c 100644 --- a/.github/workflows/azure.yml +++ b/.github/workflows/azure.yml @@ -56,7 +56,7 @@ jobs: run: lpm update && lpm add mysql - name: Clean Azure MySQL Database - uses: liquibase-github-actions/drop-all@v4.29.2 + uses: liquibase-github-actions/drop-all@v4.30.0 if: ${{ matrix.database == 'mysql' }} with: url: "${{secrets.TH_AZURE_MYSQL_URL}}" @@ -98,7 +98,7 @@ jobs: core.setOutput("databaseVersion", splitValues[1]); - name: Azure MSSQL dropAll - uses: liquibase-github-actions/drop-all@v4.29.2 + uses: liquibase-github-actions/drop-all@v4.30.0 if: ${{ steps.setup.outputs.databasePlatform == 'mssql' && steps.setup.outputs.databaseVersion == 'azure' }} with: url: "${{secrets.TH_AZURE_URL}}" @@ -120,7 +120,7 @@ jobs: url: "${{secrets.TH_AZURE_URL}}" - name: Azure MSSQL MI dropAll - uses: liquibase-github-actions/drop-all@v4.29.2 + uses: liquibase-github-actions/drop-all@v4.30.0 if: ${{ steps.setup.outputs.databasePlatform == 'mssql' && steps.setup.outputs.databaseVersion == 'mi' }} with: url: "${{secrets.TH_AZURE_MSSQL_MI_URL}}" @@ -142,7 +142,7 @@ jobs: url: "${{secrets.TH_AZURE_MSSQL_MI_URL}}" - name: Azure PostgreSQL Single Server dropAll - uses: liquibase-github-actions/drop-all@v4.29.2 + uses: liquibase-github-actions/drop-all@v4.30.0 if: ${{ steps.setup.outputs.databasePlatform == 'postgresql' && steps.setup.outputs.databaseVersion == 'azure' }} with: url: "${{secrets.TH_AZURE_POSTGRESQL_URL}}" @@ -209,7 +209,7 @@ jobs: uses: actions/checkout@v4 - name: Azure PostgreSQL Flexible Server dropAll - uses: liquibase-github-actions/drop-all@v4.29.2 + uses: liquibase-github-actions/drop-all@v4.30.0 with: url: ${{ secrets[env.TH_AZURE_POSTGRESQL_FLEXIBLE_SERVER_URL] }} username: "${{secrets.TH_DB_ADMIN}}" diff --git a/.github/workflows/gcp.yml b/.github/workflows/gcp.yml index 2eccac97b..861fd3370 100644 --- a/.github/workflows/gcp.yml +++ b/.github/workflows/gcp.yml @@ -57,7 +57,7 @@ jobs: run: lpm update && lpm add mysql - name: Clean GCP MySQL Database - uses: liquibase-github-actions/drop-all@v4.29.2 + uses: liquibase-github-actions/drop-all@v4.30.0 if: ${{ matrix.version == 'gcp' }} with: url: "${{ secrets.TH_GCP_MYSQL_8_0_URL }}" @@ -92,7 +92,7 @@ jobs: core.setOutput("databasePlatform", splitValues[0]); core.setOutput("databaseVersion", splitValues[1]); - - uses: liquibase-github-actions/drop-all@v4.29.2 + - uses: liquibase-github-actions/drop-all@v4.30.0 if: ${{ steps.setup.outputs.databasePlatform == 'postgresql' }} with: url: "${{ secrets[format('TH_GCP_POSTGRESQL_{0}_URL', steps.setup.outputs.databaseVersion)] }}" @@ -112,7 +112,7 @@ jobs: password: "${{secrets.TH_DB_PASSWD}}" url: "${{ secrets[format('TH_GCP_POSTGRESQL_{0}_URL', steps.setup.outputs.databaseVersion)] }}" - - uses: liquibase-github-actions/drop-all@v4.29.2 + - uses: liquibase-github-actions/drop-all@v4.30.0 if: ${{ steps.setup.outputs.databasePlatform == 'mssql' }} with: url: "${{ secrets.TH_GCP_MSSQL_2019_URL }}" From 35f7da08b9b0a80f218ec0971f73ccb101e7a67f Mon Sep 17 00:00:00 2001 From: KushnirykOleh Date: Thu, 21 Nov 2024 18:03:06 +0200 Subject: [PATCH 18/46] [DAT-19026] allowed to override Foundational test input files (#925) * allowed to override Foundational test input files * udpated file locations and md5 checksum * removed md5sum from expected json * putting md5sum as any value * fixed expected json for sqlite * poking with sqlite * poking with sqlite more * restored md5sum check * wip * fixed expected files --- README.extensions.md | 5 +++ README.md | 2 +- .../foundational/FoundationalTest.groovy | 21 +++++----- .../FoundationalTestHelper.groovy | 8 ++++ .../liquibase/harness/util/FileUtils.groovy | 2 +- .../foundational/changelogs/createTable.json | 2 +- .../foundational/changelogs/createTable.sql | 2 +- .../foundational/changelogs/createTable.yml | 2 +- .../cockroachdb/createTable.json | 36 +++++++++-------- .../expectedResultSet/createTable.json | 29 +++++++------- .../expectedResultSet/db2-z/createTable.json | 32 +++++++-------- .../edb-edb/createTable.json | 32 ++++++++------- .../edb-postgres/createTable.json | 28 ++++++------- .../expectedResultSet/edb/createTable.json | 36 +++++++++-------- .../mssql/azure/createTable.json | 28 ++++++------- .../mysql/azure/createTable.json | 28 ++++++------- .../postgresql/azure/createTable.json | 39 +++++++++---------- .../postgresql/createTable.json | 36 +++++++++-------- .../postgresql/flexible/createTable.json | 29 +++++++------- .../snowflake/createTable.json | 28 ++++++------- .../expectedResultSet/sqlite/createTable.json | 38 ++++++++++-------- 21 files changed, 249 insertions(+), 214 deletions(-) diff --git a/README.extensions.md b/README.extensions.md index 25434b3d4..e38db0b63 100644 --- a/README.extensions.md +++ b/README.extensions.md @@ -53,6 +53,11 @@ This suite will run the Base Harness Test Suite. Please note the name of the tes - If you are creating a new extension to work with Liquibase, it is advisable to start with the Foundational Level Test. - See https://github.com/liquibase/liquibase-test-harness#foundationaltest for a description of what this test validates. +- Override input files if needed. + - to override input changelog put it into the path like src/test/resources/liquibase/harness/compatibility/foundational/changelogs/{database_name}/createTable.xml + - to override checkingSql for 'createTable' changelog, put it into the path like src/test/resources/liquibase/harness/compatibility/foundational/checkingSql/createTable/{database_name}/createTableXml.sql + - to override expected snapshot of DBCL table data for 'createTable' put it into the path like src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/{database_name}/createTable.json + - *{database_name}* represent value for database_name from harness-config.yml - In your `src/test/groovy/ext` directory, create a file with this inclusion: ``` diff --git a/README.md b/README.md index 37fe945d2..42547cdde 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ it is not present in test**) As far as this test validates work of basic Liquibase functions it is essential to keep its configuration as simple as possible: 1. If you have your database instance up and running you need to just add appropriate configuration details to `src/test/resources/harness-config.yml` file. Following the example: - - **name**: `database_name` (**mandatory**)
+ - **name**: `database_name` (**mandatory**) - is used in test input files structure to override default files
**version**: `database_version` (optional)
**prefix**: `local` (optional parameter required for CI/CD tests, leave it empty or set `local`)
**url**: `db_connection_url` (**mandatory**)
diff --git a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy index 482624d72..f979da139 100644 --- a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy +++ b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy @@ -37,25 +37,26 @@ class FoundationalTest extends Specification { def "apply #testInput.change against #testInput.databaseName #testInput.version"() { given: "read input data" + String basePath = "liquibase/harness/compatibility/foundational/" + String expectedResultSet = getJSONFileContent(testInput.change, testInput.databaseName, testInput.version, - "liquibase/harness/compatibility/foundational/expectedResultSet") + "${basePath}/expectedResultSet") Map argsMap = new HashMap() argsMap.put("url", testInput.url) argsMap.put("username", testInput.username) argsMap.put("password", testInput.password) - String basePath = "liquibase/harness/compatibility/foundational/" ArrayList changelogList = new ArrayList<>() - changelogList.add("${basePath}changelogs/${testInput.change}.xml") - changelogList.add("${basePath}changelogs/${testInput.change}.yml") - changelogList.add("${basePath}changelogs/${testInput.change}.json") - changelogList.add("${basePath}changelogs/${testInput.change}.sql") + changelogList.add(testInput.xmlChange) + changelogList.add(testInput.jsonChange) + changelogList.add(testInput.ymlChange) + changelogList.add(testInput.sqlChange) ArrayList checkingSqlList = new ArrayList<>() - checkingSqlList.add(getResourceContent("/${basePath}checkingSql/${testInput.change}/${testInput.change}Xml.sql")) - checkingSqlList.add(getResourceContent("/${basePath}checkingSql/${testInput.change}/${testInput.change}Yaml.sql")) - checkingSqlList.add(getResourceContent("/${basePath}checkingSql/${testInput.change}/${testInput.change}Json.sql")) - checkingSqlList.add(getResourceContent("/${basePath}checkingSql/${testInput.change}/${testInput.change}Sql.sql")) + checkingSqlList.add(getFileContent(testInput.change, testInput.databaseName, testInput.version, "/${basePath}checkingSql/${testInput.change}", "Xml.sql")) + checkingSqlList.add(getFileContent(testInput.change, testInput.databaseName, testInput.version, "/${basePath}checkingSql/${testInput.change}","Yaml.sql")) + checkingSqlList.add(getFileContent(testInput.change, testInput.databaseName, testInput.version, "/${basePath}checkingSql/${testInput.change}","Json.sql")) + checkingSqlList.add(getFileContent(testInput.change, testInput.databaseName, testInput.version, "/${basePath}checkingSql/${testInput.change}","Sql.sql")) boolean shouldRunChangeSet diff --git a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTestHelper.groovy b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTestHelper.groovy index a0ad3f87a..534b9e68c 100644 --- a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTestHelper.groovy +++ b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTestHelper.groovy @@ -48,6 +48,10 @@ class FoundationalTestHelper { .password(databaseUnderTest.password) .version(databaseUnderTest.version) .change(changeLogEntry.key) + .xmlChange(FileUtils.resolveInputFilePaths(databaseUnderTest, baseChangelogPath, "xml").get(changeLogEntry.key)) + .jsonChange(FileUtils.resolveInputFilePaths(databaseUnderTest, baseChangelogPath, "json").get(changeLogEntry.key)) + .ymlChange(FileUtils.resolveInputFilePaths(databaseUnderTest, baseChangelogPath, "yml").get(changeLogEntry.key)) + .sqlChange(FileUtils.resolveInputFilePaths(databaseUnderTest, baseChangelogPath, "sql").get(changeLogEntry.key)) .database(databaseUnderTest.database) .build()) } @@ -80,6 +84,10 @@ class FoundationalTestHelper { String url String dbSchema String change + String xmlChange + String jsonChange + String ymlChange + String sqlChange Database database } } diff --git a/src/main/groovy/liquibase/harness/util/FileUtils.groovy b/src/main/groovy/liquibase/harness/util/FileUtils.groovy index c84c1a367..257610150 100644 --- a/src/main/groovy/liquibase/harness/util/FileUtils.groovy +++ b/src/main/groovy/liquibase/harness/util/FileUtils.groovy @@ -84,7 +84,7 @@ class FileUtils { return true } - private static String getFileContent(String change, String databaseName, String version , String expectedFolder, + static String getFileContent(String change, String databaseName, String version , String expectedFolder, String fileExtension) { def resourceAccessor = TestConfig.instance.resourceAccessor diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.json index 1f53313c9..d254274d1 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.json @@ -2,7 +2,7 @@ "databaseChangeLog": [ { "changeSet": { - "id": "1", + "id": "2", "author": "as", "labels": "test_label", "context": "test_context", diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.sql b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.sql index 140f7b457..bcb8e9cdd 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.sql +++ b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.sql @@ -1,6 +1,6 @@ --liquibase formatted sql ---changeset as:1 -context:test_context -labels:test_label +--changeset as:4 -context:test_context -labels:test_label --comment: test_comment CREATE TABLE test_table_sql (test_column INT); diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.yml b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.yml index 309fa2a56..bff1379cf 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.yml +++ b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.yml @@ -3,7 +3,7 @@ databaseChangeLog: comment: test_comment labels: test_label context: test_context - id: 1 + id: 3 author: as changes: - createTable: diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/cockroachdb/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/cockroachdb/createTable.json index b0f91434d..e4a5478a8 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/cockroachdb/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/cockroachdb/createTable.json @@ -3,50 +3,54 @@ { "comments": "test_comment", "author": "as", + "orderexecuted": 1, "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename":"liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", - "md5sum": "8:4e697074d57029d3e267ce7507da5cf5", + "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", + "md5sum": "9:4a083dae8a82228dbf846133a767d880", "id": "1", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_yaml", + "orderexecuted": 2, + "description": "createTable tableName=test_table_json", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename":"liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", - "md5sum": "8:13bf5dadad410884e263691bc66ee760", - "id": "1", + "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", + "md5sum": "9:b93d6668d8df8115b2b634a585875da6", + "id": "2", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "sql", + "orderexecuted": 3, + "description": "createTable tableName=test_table_yaml", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename":"liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", - "md5sum": "8:3e89383340c9b7c69e4902c53534b7ac", - "id": "1", - "tag": "test_tag" + "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", + "md5sum": "9:7eb68c7a3994f387134835e99cf27a10", + "id": "3", + "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_json", + "orderexecuted": 4, + "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename":"liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", - "md5sum": "8:b9ab89365e024967a1da5704f0441428", - "id": "1", - "tag": "" + "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", + "md5sum": "9:23305a0f4312264f2bee0e1e23cad5de", + "id": "4", + "tag": "test_tag" } ] } \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/createTable.json index 21521884c..3f7258b95 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/createTable.json @@ -2,50 +2,53 @@ "createTable": [ { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 1, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:4e697074d57029d3e267ce7507da5cf5", + "MD5SUM": "9:4a083dae8a82228dbf846133a767d880", "CONTEXTS": "test_context", "DESCRIPTION": "sql", "ID": "1", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", "TAG": "" }, { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 2, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:13bf5dadad410884e263691bc66ee760", + "MD5SUM": "9:b93d6668d8df8115b2b634a585875da6", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_yaml", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_json", + "ID": "2", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", "TAG": "" }, { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 3, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:b9ab89365e024967a1da5704f0441428", + "MD5SUM": "9:7eb68c7a3994f387134835e99cf27a10", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_json", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_yaml", + "ID": "3", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:3e89383340c9b7c69e4902c53534b7ac", + "MD5SUM": "9:23305a0f4312264f2bee0e1e23cad5de", "CONTEXTS": "test_context", "DESCRIPTION": "sql", - "ID": "1", + "ID": "4", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", "TAG": "test_tag" } ] diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/db2-z/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/db2-z/createTable.json index b6c722780..221ef9878 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/db2-z/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/db2-z/createTable.json @@ -4,7 +4,7 @@ "EXECTYPE": "EXECUTED", "COMMENTS": "", "AUTHOR": "liquibase", - "MD5SUM": "8:d41d8cd98f00b204e9800998ecf8427e", + "MD5SUM": ".*", "CONTEXTS": "", "DESCRIPTION": "empty", "TAG": "test-harness-tag", @@ -15,49 +15,49 @@ "EXECTYPE": "EXECUTED", "COMMENTS": "", "AUTHOR": "as", - "MD5SUM": "8:4e697074d57029d3e267ce7507da5cf5", + "MD5SUM": "9:4a083dae8a82228dbf846133a767d880", "CONTEXTS": "test_context", "DESCRIPTION": "sql", "ID": "1", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/base\/changelogs\/createTable.xml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "", "AUTHOR": "as", - "MD5SUM": "8:13bf5dadad410884e263691bc66ee760", + "MD5SUM": "9:b93d6668d8df8115b2b634a585875da6", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_yaml", - "ID": "1", + "DESCRIPTION": "sql", + "ID": "2", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/base\/changelogs\/createTable.yml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "", "AUTHOR": "as", - "MD5SUM": "8:3e89383340c9b7c69e4902c53534b7ac", + "MD5SUM": "9:7eb68c7a3994f387134835e99cf27a10", "CONTEXTS": "test_context", - "DESCRIPTION": "sql", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_yaml", + "ID": "3", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/base\/changelogs\/createTable.sql", - "TAG": "test_tag" + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", + "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "", "AUTHOR": "as", - "MD5SUM": "8:b9ab89365e024967a1da5704f0441428", + "MD5SUM": "9:23305a0f4312264f2bee0e1e23cad5de", "CONTEXTS": "test_context", "DESCRIPTION": "sql", - "ID": "1", + "ID": "4", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/base\/changelogs\/createTable.json", - "TAG": "" + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", + "TAG": "test_tag" } ] } \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb-edb/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb-edb/createTable.json index 24b8b6205..1da238e15 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb-edb/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb-edb/createTable.json @@ -3,49 +3,53 @@ { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_yaml", + "orderexecuted": 1, + "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", - "md5sum": "8:13bf5dadad410884e263691bc66ee760", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", + "md5sum": "9:4a083dae8a82228dbf846133a767d880", "id": "1", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "sql", + "orderexecuted": 2, + "description": "createTable tableName=test_table_json", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", - "md5sum": "8:4e697074d57029d3e267ce7507da5cf5", - "id": "1", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", + "md5sum": "9:b93d6668d8df8115b2b634a585875da6", + "id": "2", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_json", + "orderexecuted": 3, + "description": "createTable tableName=test_table_yaml", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", - "md5sum": "8:b9ab89365e024967a1da5704f0441428", - "id": "1", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", + "md5sum": "9:7eb68c7a3994f387134835e99cf27a10", + "id": "3", "tag": "" }, { "comments": "test_comment", "author": "as", + "orderexecuted": 4, "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", - "md5sum": "8:3e89383340c9b7c69e4902c53534b7ac", - "id": "1", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", + "md5sum": "9:23305a0f4312264f2bee0e1e23cad5de", + "id": "4", "tag": "test_tag" } ] diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb-postgres/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb-postgres/createTable.json index 24b8b6205..e877b7d8f 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb-postgres/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb-postgres/createTable.json @@ -3,37 +3,37 @@ { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_yaml", + "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", - "md5sum": "8:13bf5dadad410884e263691bc66ee760", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", + "md5sum": "9:4a083dae8a82228dbf846133a767d880", "id": "1", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "sql", + "description": "createTable tableName=test_table_json", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", - "md5sum": "8:4e697074d57029d3e267ce7507da5cf5", - "id": "1", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", + "md5sum": "9:b93d6668d8df8115b2b634a585875da6", + "id": "2", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_json", + "description": "createTable tableName=test_table_yaml", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", - "md5sum": "8:b9ab89365e024967a1da5704f0441428", - "id": "1", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", + "md5sum": "9:7eb68c7a3994f387134835e99cf27a10", + "id": "3", "tag": "" }, { @@ -43,9 +43,9 @@ "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", - "md5sum": "8:3e89383340c9b7c69e4902c53534b7ac", - "id": "1", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", + "md5sum": "9:23305a0f4312264f2bee0e1e23cad5de", + "id": "4", "tag": "test_tag" } ] diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb/createTable.json index 356dc00f7..1da238e15 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/edb/createTable.json @@ -3,50 +3,54 @@ { "comments": "test_comment", "author": "as", + "orderexecuted": 1, "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", - "md5sum": "8:4e697074d57029d3e267ce7507da5cf5", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", + "md5sum": "9:4a083dae8a82228dbf846133a767d880", "id": "1", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_yaml", + "orderexecuted": 2, + "description": "createTable tableName=test_table_json", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", - "md5sum": "8:13bf5dadad410884e263691bc66ee760", - "id": "1", + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", + "md5sum": "9:b93d6668d8df8115b2b634a585875da6", + "id": "2", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "sql", + "orderexecuted": 3, + "description": "createTable tableName=test_table_yaml", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", - "md5sum": "8:3e89383340c9b7c69e4902c53534b7ac", - "id": "1", - "tag": "test_tag" + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", + "md5sum": "9:7eb68c7a3994f387134835e99cf27a10", + "id": "3", + "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_json", + "orderexecuted": 4, + "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", - "md5sum": "8:b9ab89365e024967a1da5704f0441428", - "id": "1", - "tag": "" + "filename": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", + "md5sum": "9:23305a0f4312264f2bee0e1e23cad5de", + "id": "4", + "tag": "test_tag" } ] } \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/mssql/azure/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/mssql/azure/createTable.json index 10dd4cd53..19ed5f0e1 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/mssql/azure/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/mssql/azure/createTable.json @@ -4,7 +4,7 @@ "EXECTYPE":"EXECUTED", "COMMENTS":"", "AUTHOR":"liquibase", - "MD5SUM":"8:22fecc43185615efdc0426bf8b4c2a1b", + "MD5SUM":".*", "CONTEXTS":"", "DESCRIPTION":"sql", "ID":"1", @@ -16,48 +16,48 @@ "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:4e697074d57029d3e267ce7507da5cf5", + "MD5SUM": "9:4a083dae8a82228dbf846133a767d880", "CONTEXTS": "test_context", "DESCRIPTION": "sql", "ID": "1", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:13bf5dadad410884e263691bc66ee760", + "MD5SUM": "9:b93d6668d8df8115b2b634a585875da6", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_yaml", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_json", + "ID": "2", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:b9ab89365e024967a1da5704f0441428", + "MD5SUM": "9:7eb68c7a3994f387134835e99cf27a10", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_json", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_yaml", + "ID": "3", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:3e89383340c9b7c69e4902c53534b7ac", + "MD5SUM": "9:23305a0f4312264f2bee0e1e23cad5de", "CONTEXTS": "test_context", "DESCRIPTION": "sql", - "ID": "1", + "ID": "4", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", "TAG": "test_tag" } ] diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/mysql/azure/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/mysql/azure/createTable.json index c931b3d90..bfb3c8f30 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/mysql/azure/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/mysql/azure/createTable.json @@ -4,7 +4,7 @@ "EXECTYPE":"EXECUTED", "COMMENTS":"", "AUTHOR":"liquibase", - "MD5SUM":"8:43aa5d72dc939cea9f59a57da06e3129", + "MD5SUM":".*", "CONTEXTS":"", "DESCRIPTION":"sql", "ID":"1", @@ -16,48 +16,48 @@ "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:4e697074d57029d3e267ce7507da5cf5", + "MD5SUM": "9:4a083dae8a82228dbf846133a767d880", "CONTEXTS": "test_context", "DESCRIPTION": "sql", "ID": "1", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:13bf5dadad410884e263691bc66ee760", + "MD5SUM": "9:b93d6668d8df8115b2b634a585875da6", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_yaml", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_json", + "ID": "2", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:b9ab89365e024967a1da5704f0441428", + "MD5SUM": "9:7eb68c7a3994f387134835e99cf27a10", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_json", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_yaml", + "ID": "3", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:3e89383340c9b7c69e4902c53534b7ac", + "MD5SUM": "9:23305a0f4312264f2bee0e1e23cad5de", "CONTEXTS": "test_context", "DESCRIPTION": "sql", - "ID": "1", + "ID": "4", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", "TAG": "test_tag" } ] diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/azure/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/azure/createTable.json index ce3194812..66892cda6 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/azure/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/azure/createTable.json @@ -1,17 +1,5 @@ { "createTable": [ - { - "comments":"test_comment", - "author":"as", - "description":"createTable tableName=test_table_json", - "contexts":"test_context", - "exectype":"EXECUTED", - "labels":"test_label", - "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", - "md5sum":"8:b9ab89365e024967a1da5704f0441428", - "id":"1", - "tag":"" - }, { "comments":"", "author":"liquibase", @@ -22,7 +10,7 @@ "filename":"postgresql.sql", "md5sum":"8:dcd35d09f34d2ec9aeae879fc4222925", "id":"1", - "tag":"", + "tag":"" }, { "comments":"test_comment", @@ -32,10 +20,21 @@ "exectype":"EXECUTED", "labels":"test_label", "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", - "md5sum":"8:4e697074d57029d3e267ce7507da5cf5", + "md5sum":"9:4a083dae8a82228dbf846133a767d880", "id":"1", - "tag":"", - "deployment_id":"3610748767" + "tag":"" + }, + { + "comments":"test_comment", + "author":"as", + "description":"createTable tableName=test_table_json", + "contexts":"test_context", + "exectype":"EXECUTED", + "labels":"test_label", + "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", + "md5sum":"9:b93d6668d8df8115b2b634a585875da6", + "id":"2", + "tag":"" }, { "comments":"test_comment", @@ -45,8 +44,8 @@ "exectype":"EXECUTED", "labels":"test_label", "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", - "md5sum":"8:13bf5dadad410884e263691bc66ee760", - "id":"1", + "md5sum":"9:7eb68c7a3994f387134835e99cf27a10", + "id":"3", "tag":"" }, { @@ -57,8 +56,8 @@ "exectype":"EXECUTED", "labels":"test_label", "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", - "md5sum":"8:3e89383340c9b7c69e4902c53534b7ac", - "id":"1", + "md5sum":"9:23305a0f4312264f2bee0e1e23cad5de", + "id":"4", "tag":"test_tag" } ] diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/createTable.json index 356dc00f7..9be4ae70d 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/createTable.json @@ -3,50 +3,54 @@ { "comments": "test_comment", "author": "as", + "orderexecuted": 1, "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", - "md5sum": "8:4e697074d57029d3e267ce7507da5cf5", + "filename": "liquibase/harness/compatibility/foundational/changelogs/createTable.xml", + "md5sum": "9:4a083dae8a82228dbf846133a767d880", "id": "1", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_yaml", + "orderexecuted": 2, + "description": "createTable tableName=test_table_json", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", - "md5sum": "8:13bf5dadad410884e263691bc66ee760", - "id": "1", + "filename": "liquibase/harness/compatibility/foundational/changelogs/createTable.json", + "md5sum": "9:b93d6668d8df8115b2b634a585875da6", + "id": "2", "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "sql", + "orderexecuted": 3, + "description": "createTable tableName=test_table_yaml", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", - "md5sum": "8:3e89383340c9b7c69e4902c53534b7ac", - "id": "1", - "tag": "test_tag" + "filename": "liquibase/harness/compatibility/foundational/changelogs/createTable.yml", + "md5sum": "9:7eb68c7a3994f387134835e99cf27a10", + "id": "3", + "tag": "" }, { "comments": "test_comment", "author": "as", - "description": "createTable tableName=test_table_json", + "orderexecuted": 4, + "description": "sql", "contexts": "test_context", "exectype": "EXECUTED", "labels": "test_label", - "filename": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", - "md5sum": "8:b9ab89365e024967a1da5704f0441428", - "id": "1", - "tag": "" + "filename": "liquibase/harness/compatibility/foundational/changelogs/createTable.sql", + "md5sum": "9:23305a0f4312264f2bee0e1e23cad5de", + "id": "4", + "tag": "test_tag" } ] } \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/flexible/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/flexible/createTable.json index 79c4bc60e..333feed3a 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/flexible/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/postgresql/flexible/createTable.json @@ -8,9 +8,9 @@ "exectype":"RERAN", "labels":"", "filename":"postgresql.sql", - "md5sum":"8:dcd35d09f34d2ec9aeae879fc4222925", + "md5sum":".*", "id":"1", - "tag":"", + "tag":"" }, { "comments":"test_comment", @@ -20,33 +20,32 @@ "exectype":"EXECUTED", "labels":"test_label", "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", - "md5sum":"8:4e697074d57029d3e267ce7507da5cf5", + "md5sum":"9:4a083dae8a82228dbf846133a767d880", "id":"1", - "tag":"", - "deployment_id":"3610748767" + "tag":"" }, { "comments":"test_comment", "author":"as", - "description":"createTable tableName=test_table_yaml", + "description":"createTable tableName=test_table_json", "contexts":"test_context", "exectype":"EXECUTED", "labels":"test_label", - "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", - "md5sum":"8:13bf5dadad410884e263691bc66ee760", - "id":"1", + "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", + "md5sum":"9:b93d6668d8df8115b2b634a585875da6", + "id":"2", "tag":"" }, { "comments":"test_comment", "author":"as", - "description":"createTable tableName=test_table_json", + "description":"createTable tableName=test_table_yaml", "contexts":"test_context", "exectype":"EXECUTED", "labels":"test_label", - "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", - "md5sum":"8:b9ab89365e024967a1da5704f0441428", - "id":"1", + "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", + "md5sum":"9:7eb68c7a3994f387134835e99cf27a10", + "id":"3", "tag":"" }, { @@ -57,8 +56,8 @@ "exectype":"EXECUTED", "labels":"test_label", "filename":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", - "md5sum":"8:3e89383340c9b7c69e4902c53534b7ac", - "id":"1", + "md5sum":"9:23305a0f4312264f2bee0e1e23cad5de", + "id":"4", "tag":"test_tag" } ] diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/snowflake/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/snowflake/createTable.json index 4879f479d..3cfb85262 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/snowflake/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/snowflake/createTable.json @@ -4,7 +4,7 @@ "EXECTYPE":"EXECUTED", "COMMENTS":"", "AUTHOR":"liquibase", - "MD5SUM":"8:d41d8cd98f00b204e9800998ecf8427e", + "MD5SUM":".*", "CONTEXTS":"", "DESCRIPTION":"empty", "TAG":"test-harness-tag", @@ -15,49 +15,49 @@ "EXECTYPE":"EXECUTED", "COMMENTS":"test_comment", "AUTHOR":"as", - "MD5SUM":"8:4e697074d57029d3e267ce7507da5cf5", + "MD5SUM":"9:4a083dae8a82228dbf846133a767d880", "CONTEXTS":"test_context", "DESCRIPTION":"sql", "ID":"1", "TAG":"", "LABELS":"test_label", - "FILENAME":"liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml" + "FILENAME":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml" }, { "EXECTYPE":"EXECUTED", "COMMENTS":"test_comment", "AUTHOR":"as", - "MD5SUM":"8:13bf5dadad410884e263691bc66ee760", + "MD5SUM":"9:b93d6668d8df8115b2b634a585875da6", "CONTEXTS":"test_context", - "DESCRIPTION":"createTable tableName=test_table_yaml", - "ID":"1", + "DESCRIPTION":"createTable tableName=test_table_json", + "ID":"2", "TAG":"", "LABELS":"test_label", - "FILENAME":"liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml" + "FILENAME":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json" }, { "EXECTYPE":"EXECUTED", "COMMENTS":"test_comment", "AUTHOR":"as", - "MD5SUM":"8:b9ab89365e024967a1da5704f0441428", + "MD5SUM":"9:7eb68c7a3994f387134835e99cf27a10", "CONTEXTS":"test_context", - "DESCRIPTION":"createTable tableName=test_table_json", - "ID":"1", + "DESCRIPTION":"createTable tableName=test_table_yaml", + "ID":"3", "TAG":"", "LABELS":"test_label", - "FILENAME":"liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json" + "FILENAME":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml" }, { "EXECTYPE":"EXECUTED", "COMMENTS":"test_comment", "AUTHOR":"as", - "MD5SUM":"8:3e89383340c9b7c69e4902c53534b7ac", + "MD5SUM":"9:23305a0f4312264f2bee0e1e23cad5de", "CONTEXTS":"test_context", "DESCRIPTION":"sql", - "ID":"1", + "ID":"4", "TAG":"test_tag", "LABELS":"test_label", - "FILENAME":"liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql" + "FILENAME":"liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql" } ] } \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/sqlite/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/sqlite/createTable.json index a94bdf87c..313cdd1e8 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/sqlite/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/sqlite/createTable.json @@ -2,51 +2,55 @@ "createTable": [ { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 1, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:4e697074d57029d3e267ce7507da5cf5", + "MD5SUM": "9:4a083dae8a82228dbf846133a767d880", "CONTEXTS": "test_context", "DESCRIPTION": "sql", "ID": "1", + "TAG": "", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.xml", - "TAG": "test_tag" + "FILENAME": "liquibase/harness/compatibility/foundational/changelogs/createTable.xml" }, { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 2, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:13bf5dadad410884e263691bc66ee760", + "MD5SUM": "9:b93d6668d8df8115b2b634a585875da6", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_yaml", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_json", + "ID": "2", + "TAG": "test_tag", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.yml", - "TAG": "test_tag" + "FILENAME": "liquibase/harness/compatibility/foundational/changelogs/createTable.json" }, { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 3, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:b9ab89365e024967a1da5704f0441428", + "MD5SUM": "9:7eb68c7a3994f387134835e99cf27a10", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_json", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_yaml", + "ID": "3", + "TAG": "test_tag", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.json", - "TAG": "test_tag" + "FILENAME": "liquibase/harness/compatibility/foundational/changelogs/createTable.yml" }, { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 4, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "8:3e89383340c9b7c69e4902c53534b7ac", + "MD5SUM": "9:23305a0f4312264f2bee0e1e23cad5de", "CONTEXTS": "test_context", "DESCRIPTION": "sql", - "ID": "1", + "ID": "4", + "TAG": "test_tag", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/basic\/changelogs\/createTable.sql", - "TAG": "test_tag" + "FILENAME": "liquibase/harness/compatibility/foundational/changelogs/createTable.sql" } ] } \ No newline at end of file From b88da5ac3719a0a7c9d36fe99391b92b94bd0b0e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 15:41:19 +0000 Subject: [PATCH 19/46] chore(deps-dev): bump org.mariadb.jdbc:mariadb-java-client Bumps [org.mariadb.jdbc:mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 3.5.0 to 3.5.1. - [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases) - [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md) - [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.5.0...3.5.1) --- updated-dependencies: - dependency-name: org.mariadb.jdbc:mariadb-java-client dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bd35954b5..fa3ba9897 100644 --- a/pom.xml +++ b/pom.xml @@ -174,7 +174,7 @@ org.mariadb.jdbc mariadb-java-client - 3.5.0 + 3.5.1 test From 31a5a200fc3e00f0d3ae69da81ad9560d3312ee8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 15:29:46 +0000 Subject: [PATCH 20/46] chore(deps): bump commons-io:commons-io from 2.17.0 to 2.18.0 Bumps commons-io:commons-io from 2.17.0 to 2.18.0. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fa3ba9897..b446e01db 100644 --- a/pom.xml +++ b/pom.xml @@ -157,7 +157,7 @@ commons-io commons-io - 2.17.0 + 2.18.0 org.postgresql From 49ed19a32763bb04cbad758f99aed057e284bb7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:03:14 +0000 Subject: [PATCH 21/46] chore(deps-dev): bump org.xerial:sqlite-jdbc from 3.47.0.0 to 3.47.1.0 Bumps [org.xerial:sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.47.0.0 to 3.47.1.0. - [Release notes](https://github.com/xerial/sqlite-jdbc/releases) - [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG) - [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.47.0.0...3.47.1.0) --- updated-dependencies: - dependency-name: org.xerial:sqlite-jdbc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b446e01db..fc36d7e50 100644 --- a/pom.xml +++ b/pom.xml @@ -196,7 +196,7 @@ org.xerial sqlite-jdbc - 3.47.0.0 + 3.47.1.0 test From 7a15df73e87ddebb93fe3dfd020d2aba772bfd2f Mon Sep 17 00:00:00 2001 From: filipe Date: Thu, 5 Dec 2024 10:52:47 -0300 Subject: [PATCH 22/46] fix: core improvements now add "as BIGINT" by default to DB2luw sequences. --- .../harness/change/expectedSql/db2-luw/alterSequence.sql | 2 +- .../harness/change/expectedSql/db2-luw/createSequence.sql | 2 +- .../harness/change/expectedSql/db2-luw/dropSequence.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/alterSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/alterSequence.sql index ddd876a09..0105878eb 100644 --- a/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/alterSequence.sql +++ b/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/alterSequence.sql @@ -1,2 +1,2 @@ -CREATE SEQUENCE "DB2INST1".test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1 +CREATE SEQUENCE "DB2INST1".test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 MINVALUE 1 ALTER SEQUENCE "DB2INST1".test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/createSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/createSequence.sql index c86460bb8..2d6d2cdde 100644 --- a/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/createSequence.sql +++ b/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/createSequence.sql @@ -1 +1 @@ -CREATE SEQUENCE "DB2INST1".test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1 \ No newline at end of file +CREATE SEQUENCE "DB2INST1".test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 MINVALUE 1 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/dropSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/dropSequence.sql index 1f511cb1a..7834bf63d 100644 --- a/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/dropSequence.sql +++ b/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/dropSequence.sql @@ -1,2 +1,2 @@ -CREATE SEQUENCE "DB2INST1".test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1 +CREATE SEQUENCE "DB2INST1".test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 MINVALUE 1 DROP SEQUENCE "DB2INST1".test_sequence \ No newline at end of file From b034d17f7e2c40e023368ec02a81cfa4b166616b Mon Sep 17 00:00:00 2001 From: filipe Date: Thu, 5 Dec 2024 11:42:47 -0300 Subject: [PATCH 23/46] fix: core improvements now add "as BIGINT" by default to DB2luw sequences. --- .../harness/change/expectedSql/db2-luw/alterSequence.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/alterSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/alterSequence.sql index 0105878eb..c046c40e2 100644 --- a/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/alterSequence.sql +++ b/src/main/resources/liquibase/harness/change/expectedSql/db2-luw/alterSequence.sql @@ -1,2 +1,2 @@ CREATE SEQUENCE "DB2INST1".test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 MINVALUE 1 -ALTER SEQUENCE "DB2INST1".test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 \ No newline at end of file +ALTER SEQUENCE "DB2INST1".test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CACHE 371717 \ No newline at end of file From 70536e447cdbfabbdbdef7b96d1ece8b76a06ba3 Mon Sep 17 00:00:00 2001 From: filipe Date: Thu, 5 Dec 2024 12:03:03 -0300 Subject: [PATCH 24/46] fix: fix hsqldb tests --- .../harness/change/expectedSql/hsqldb/alterSequence.sql | 2 +- .../harness/change/expectedSql/hsqldb/createSequence.sql | 2 +- .../harness/change/expectedSql/hsqldb/dropSequence.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/alterSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/alterSequence.sql index 59bd771bb..1cf21faba 100644 --- a/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/alterSequence.sql +++ b/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/alterSequence.sql @@ -1,5 +1,5 @@ +INVALID TEST -- This changeType is checked in scope of ChangeDataTests because there is no way to verify it by snapshotting DB. -- Verification require running query and ChangeDataTests is able to do it -- that's why it is marked as -INVALID TEST -- for ChangeObjectTest \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/createSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/createSequence.sql index 9d11cd852..84c006396 100644 --- a/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/createSequence.sql +++ b/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/createSequence.sql @@ -1 +1 @@ -CREATE SEQUENCE PUBLIC.test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 \ No newline at end of file +CREATE SEQUENCE PUBLIC.test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/dropSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/dropSequence.sql index 160937af7..ff64a49fe 100644 --- a/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/dropSequence.sql +++ b/src/main/resources/liquibase/harness/change/expectedSql/hsqldb/dropSequence.sql @@ -1,2 +1,2 @@ -CREATE SEQUENCE PUBLIC.test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 +CREATE SEQUENCE PUBLIC.test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 DROP SEQUENCE PUBLIC.test_sequence \ No newline at end of file From dabc51e8b6cde2a5d3d1abd4228693b9481682b5 Mon Sep 17 00:00:00 2001 From: filipe Date: Thu, 5 Dec 2024 12:04:35 -0300 Subject: [PATCH 25/46] fix: fix mssql altersequence --- .../harness/change/expectedSql/mssql/alterSequence.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/liquibase/harness/change/expectedSql/mssql/alterSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/mssql/alterSequence.sql index e3711211d..b56c8ce52 100644 --- a/src/main/resources/liquibase/harness/change/expectedSql/mssql/alterSequence.sql +++ b/src/main/resources/liquibase/harness/change/expectedSql/mssql/alterSequence.sql @@ -1,2 +1,2 @@ CREATE SEQUENCE test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1 -ALTER SEQUENCE test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CYCLE \ No newline at end of file +ALTER SEQUENCE test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CACHE 371717 CYCLE \ No newline at end of file From 5bf2e2ed8d22483cce0c72e36f247ed20d326213 Mon Sep 17 00:00:00 2001 From: filipe Date: Thu, 5 Dec 2024 12:26:16 -0300 Subject: [PATCH 26/46] fix: fix another hsqldb altersequence --- .../liquibase/harness/data/expectedSql/hsqldb/alterSequence.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/liquibase/harness/data/expectedSql/hsqldb/alterSequence.sql b/src/main/resources/liquibase/harness/data/expectedSql/hsqldb/alterSequence.sql index 4d5fcb8e9..ef796c158 100644 --- a/src/main/resources/liquibase/harness/data/expectedSql/hsqldb/alterSequence.sql +++ b/src/main/resources/liquibase/harness/data/expectedSql/hsqldb/alterSequence.sql @@ -1,2 +1,2 @@ -CREATE SEQUENCE PUBLIC.test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 +CREATE SEQUENCE PUBLIC.test_sequence AS BIGINT START WITH 1 INCREMENT BY 1 ALTER SEQUENCE PUBLIC.test_sequence RESTART WITH 42 \ No newline at end of file From a9499c35e163d22ddd31f510d98063fdcc1bec20 Mon Sep 17 00:00:00 2001 From: filipe Date: Wed, 11 Dec 2024 13:30:55 -0300 Subject: [PATCH 27/46] chore: remove MSSQL 2019 and 2022 from build until they are fixed. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 109852fd0..c0698032e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -116,7 +116,7 @@ jobs: liquibaseSha: ${{ steps.configure-build.outputs.liquibaseSha }} databases: ${{ github.event.inputs.databases || '["mysql-5.6","mysql-5.7","mysql-8","percona-xtradb-cluster-5.7","percona-xtradb-cluster-8.0", "postgres-12","postgres-13","postgres-14","postgres-15","postgres-16","mariadb-10.2","mariadb-10.3","mariadb-10.4","mariadb-10.5","mariadb-10.6", - "mariadb-10.7","mssql-2017","mssql-2019","mssql-2022","H2Database-2.2","crdb-23.1","crdb-23.2","crdb-24.1", + "mariadb-10.7","mssql-2017","H2Database-2.2","crdb-23.1","crdb-23.2","crdb-24.1", "edb-postgres-12","edb-postgres-13","edb-postgres-14","edb-postgres-15","edb-postgres-16", "edb-edb-12","edb-edb-13","edb-edb-14","edb-edb-15","edb-edb-16","derby","sqlite","hsqldb-2.4","hsqldb-2.5","firebird-3","firebird-4","db2-luw"]' }} testClasses: ${{ inputs.testClasses || 'LiquibaseHarnessSuiteTest' }} From 1252e3e400aa18367941546f6427bbc834eb77b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:15:50 +0000 Subject: [PATCH 28/46] chore(deps-dev): bump net.snowflake:snowflake-jdbc from 3.20.0 to 3.21.0 Bumps [net.snowflake:snowflake-jdbc](https://github.com/snowflakedb/snowflake-jdbc) from 3.20.0 to 3.21.0. - [Release notes](https://github.com/snowflakedb/snowflake-jdbc/releases) - [Changelog](https://github.com/snowflakedb/snowflake-jdbc/blob/master/CHANGELOG.rst) - [Commits](https://github.com/snowflakedb/snowflake-jdbc/compare/v3.20.0...v3.21.0) --- updated-dependencies: - dependency-name: net.snowflake:snowflake-jdbc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fc36d7e50..780aa1caf 100644 --- a/pom.xml +++ b/pom.xml @@ -223,7 +223,7 @@ net.snowflake snowflake-jdbc - 3.20.0 + 3.21.0 test From e14f61f62026447a9ddd63b49f7291cde50d8ed5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:58:41 +0000 Subject: [PATCH 29/46] chore(deps): bump junit.version from 5.11.3 to 5.11.4 Bumps `junit.version` from 5.11.3 to 5.11.4. Updates `org.junit.jupiter:junit-jupiter-api` from 5.11.3 to 5.11.4 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.11.3...r5.11.4) Updates `org.junit.vintage:junit-vintage-engine` from 5.11.3 to 5.11.4 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.11.3...r5.11.4) Updates `org.junit.jupiter:junit-jupiter-engine` from 5.11.3 to 5.11.4 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.11.3...r5.11.4) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter-api dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.vintage:junit-vintage-engine dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.jupiter:junit-jupiter-engine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 780aa1caf..3b48e1299 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 3.3.1 4.0.1 - 5.11.3 + 5.11.4 1.11.3 From e53604fe55d82003ccbe77f0f2a12f5f61920e08 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:49:03 +0000 Subject: [PATCH 30/46] chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.11.1 to 3.11.2. - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases) - [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.11.1...maven-javadoc-plugin-3.11.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3b48e1299..4b8a87ec0 100644 --- a/pom.xml +++ b/pom.xml @@ -383,7 +383,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.11.1 + 3.11.2 false Liquibase Test Harness ${project.version} From f06355f3bbeabdcfafd87cfa801cacf879f55f0d Mon Sep 17 00:00:00 2001 From: rberezen Date: Tue, 17 Dec 2024 08:32:47 -0700 Subject: [PATCH 31/46] DAT-19145 Basic template to setup Informix (#933) * DAT-19145 Basic template to setup Informix --------- Co-authored-by: Tamelianovych Co-authored-by: PavloTytarchuk <55182440+PavloTytarchuk@users.noreply.github.com> Co-authored-by: Taras Amelianovych <97164517+Tamelianovych@users.noreply.github.com> --- .github/workflows/main.yml | 6 +- pom.xml | 5 + .../foundational/FoundationalTest.groovy | 2 + .../informix/addDefaultValueComputed.xml | 14 +++ .../informix/addDefaultValueDate.xml | 16 ++++ .../informix/addDefaultValueNumeric.xml | 16 ++++ .../changelogs/informix/alterSequence.xml | 26 ++++++ .../changelogs/informix/createFunction.xml | 24 +++++ .../changelogs/informix/createPackage.xml | 23 +++++ .../changelogs/informix/createPackageBody.xml | 23 +++++ .../changelogs/informix/createProcedure.txt | 3 + .../changelogs/informix/createProcedure.xml | 20 ++++ .../informix/createProcedureFromFile.xml | 20 ++++ .../changelogs/informix/createSequence.xml | 19 ++++ .../changelogs/informix/createTrigger.xml | 40 ++++++++ .../changelogs/informix/dropDefaultValue.xml | 16 ++++ .../changelogs/informix/dropProcedure.xml | 19 ++++ .../changelogs/informix/dropSequence.xml | 18 ++++ .../changelogs/informix/dropTrigger.xml | 42 +++++++++ .../informix/addDefaultValue.json | 15 +++ .../informix/addDefaultValueBoolean.json | 15 +++ .../informix/addDefaultValueNumeric.json | 15 +++ .../informix/alterSequence.json | 13 +++ .../informix/createTableTimestamp.json | 28 ++++++ .../expectedSnapshot/informix/createView.json | 13 +++ .../informix/dropDefaultValue.json | 17 ++++ .../informix/addCheckConstraint.sql | 3 + .../informix/addDefaultValueComputed.sql | 9 ++ .../informix/addDefaultValueDate.sql | 4 + .../informix/addDefaultValueSequenceNext.sql | 3 + .../informix/addUniqueConstraint.sql | 3 + .../expectedSql/informix/createFunction.sql | 3 + .../expectedSql/informix/createPackage.sql | 3 + .../informix/createPackageBody.sql | 3 + .../expectedSql/informix/createProcedure.sql | 3 + .../informix/createProcedureFromFile.sql | 3 + .../expectedSql/informix/createTrigger.sql | 3 + .../informix/disableCheckConstraint.sql | 3 + .../expectedSql/informix/disableTrigger.sql | 3 + .../informix/dropCheckConstraint.sql | 3 + .../expectedSql/informix/dropFunction.sql | 3 + .../expectedSql/informix/dropTrigger.sql | 3 + .../informix/enableCheckConstraint.sql | 3 + .../expectedSql/informix/enableTrigger.sql | 3 + .../expectedSql/informix/renameSequence.sql | 3 + .../expectedSql/informix/renameTrigger.sql | 3 + .../expectedSql/informix/renameView.sql | 3 + .../expectedSql/informix/setColumnRemarks.sql | 3 + .../expectedSql/informix/setTableRemarks.sql | 3 + .../changelogs/informix/loadUpdateData.csv | 4 + .../changelogs/informix/loadUpdateData.xml | 24 +++++ src/test/resources/automation-runner.sh | 10 +- src/test/resources/docker/create-infra.sh | 6 ++ src/test/resources/docker/docker-compose.yml | 31 +++++++ src/test/resources/docker/informix-init.sql | 93 +++++++++++++++++++ src/test/resources/harness-config.yml | 15 +++ 56 files changed, 723 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueComputed.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueDate.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueNumeric.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/alterSequence.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/createFunction.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/createPackage.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/createPackageBody.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/createProcedure.txt create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/createProcedure.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/createProcedureFromFile.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/createSequence.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/createTrigger.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/dropDefaultValue.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/dropProcedure.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/dropSequence.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/informix/dropTrigger.xml create mode 100644 src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValue.json create mode 100644 src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValueBoolean.json create mode 100644 src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValueNumeric.json create mode 100644 src/main/resources/liquibase/harness/change/expectedSnapshot/informix/alterSequence.json create mode 100644 src/main/resources/liquibase/harness/change/expectedSnapshot/informix/createTableTimestamp.json create mode 100644 src/main/resources/liquibase/harness/change/expectedSnapshot/informix/createView.json create mode 100644 src/main/resources/liquibase/harness/change/expectedSnapshot/informix/dropDefaultValue.json create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/addCheckConstraint.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueComputed.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueDate.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueSequenceNext.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/addUniqueConstraint.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/createFunction.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/createPackage.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/createPackageBody.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/createProcedure.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/createProcedureFromFile.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/createTrigger.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/disableCheckConstraint.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/disableTrigger.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/dropCheckConstraint.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/dropFunction.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/dropTrigger.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/enableCheckConstraint.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/enableTrigger.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/renameSequence.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/renameTrigger.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/renameView.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/setColumnRemarks.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/informix/setTableRemarks.sql create mode 100644 src/main/resources/liquibase/harness/data/changelogs/informix/loadUpdateData.csv create mode 100644 src/main/resources/liquibase/harness/data/changelogs/informix/loadUpdateData.xml create mode 100644 src/test/resources/docker/informix-init.sql diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0698032e..ca038b0ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -93,7 +93,9 @@ on: "hsqldb-2.5", "firebird-3", "firebird-4", - "db2-luw" + "db2-luw", + "informix-12.10", + "informix-14.10" ] jobs: @@ -118,7 +120,7 @@ jobs: "postgres-12","postgres-13","postgres-14","postgres-15","postgres-16","mariadb-10.2","mariadb-10.3","mariadb-10.4","mariadb-10.5","mariadb-10.6", "mariadb-10.7","mssql-2017","H2Database-2.2","crdb-23.1","crdb-23.2","crdb-24.1", "edb-postgres-12","edb-postgres-13","edb-postgres-14","edb-postgres-15","edb-postgres-16", - "edb-edb-12","edb-edb-13","edb-edb-14","edb-edb-15","edb-edb-16","derby","sqlite","hsqldb-2.4","hsqldb-2.5","firebird-3","firebird-4","db2-luw"]' }} + "edb-edb-12","edb-edb-13","edb-edb-14","edb-edb-15","edb-edb-16","derby","sqlite","hsqldb-2.4","hsqldb-2.5","firebird-3","firebird-4","db2-luw","informix-12.10","informix-14.10"]' }} testClasses: ${{ inputs.testClasses || 'LiquibaseHarnessSuiteTest' }} steps: - uses: actions/checkout@v4 diff --git a/pom.xml b/pom.xml index 4b8a87ec0..317d04104 100644 --- a/pom.xml +++ b/pom.xml @@ -187,6 +187,11 @@ mssql-jdbc 12.8.1.jre11 + + com.ibm.informix + jdbc + 4.50.11 + com.h2database h2 diff --git a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy index f979da139..eb435648c 100644 --- a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy +++ b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy @@ -107,6 +107,8 @@ class FoundationalTest extends Specification { if (shouldOpenNewConnection(connection, "sqlite")) { newConnection = DriverManager.getConnection(testInput.url, testInput.username, testInput.password) resultSet = newConnection.createStatement().executeQuery("SELECT * FROM DATABASECHANGELOG") + } else if (shouldOpenNewConnection(connection, "informix")) { + resultSet = ((JdbcConnection) connection).createStatement().executeQuery("SELECT * FROM DATABASECHANGELOG") } else { resultSet = ((JdbcConnection) connection).createStatement().executeQuery("SELECT * FROM DATABASECHANGELOG") connection.autoCommit ?: connection.commit() diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueComputed.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueComputed.xml new file mode 100644 index 000000000..a78dd036f --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueComputed.xml @@ -0,0 +1,14 @@ + + + + + + + diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueDate.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueDate.xml new file mode 100644 index 000000000..56dbaf9f7 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueDate.xml @@ -0,0 +1,16 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueNumeric.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueNumeric.xml new file mode 100644 index 000000000..f714b52c8 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/addDefaultValueNumeric.xml @@ -0,0 +1,16 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/alterSequence.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/alterSequence.xml new file mode 100644 index 000000000..bad59e011 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/alterSequence.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/createFunction.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/createFunction.xml new file mode 100644 index 000000000..68a42ec7b --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/createFunction.xml @@ -0,0 +1,24 @@ + + + + CREATE FUNCTION test_function() + RETURNS BOOLEAN + LANGUAGE SPL + BEGIN + LET trace_message = 'Test function executed'; + TRACE trace_message; + RETURN TRUE; -- Use TRUE or appropriate value as needed. + END; + + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/createPackage.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/createPackage.xml new file mode 100644 index 000000000..600825143 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/createPackage.xml @@ -0,0 +1,23 @@ + + + + + CREATE FUNCTION test_function() + RETURNS BOOLEAN + LANGUAGE SPL + BEGIN + LET trace_message = 'Test function executed'; + TRACE trace_message; + RETURN TRUE; -- Use TRUE or appropriate value as needed. + END; + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/createPackageBody.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/createPackageBody.xml new file mode 100644 index 000000000..804a87ec2 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/createPackageBody.xml @@ -0,0 +1,23 @@ + + + + + CREATE FUNCTION test_function() + RETURNS BOOLEAN + LANGUAGE SPL + BEGIN + LET trace_message = 'Test function executed'; + TRACE trace_message; + RETURN TRUE; -- Use TRUE or appropriate value as needed. + END; + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedure.txt b/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedure.txt new file mode 100644 index 000000000..460b62ee9 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedure.txt @@ -0,0 +1,3 @@ +CREATE PROCEDURE test_procedure ( per_cent INT) + UPDATE stock SET unit_price = unit_price + (unit_price * (per_cent/100) ); + END PROCEDURE \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedure.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedure.xml new file mode 100644 index 000000000..06be7d70c --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedure.xml @@ -0,0 +1,20 @@ + + + + + test procedure + CREATE PROCEDURE test_procedure ( per_cent INT) + UPDATE stock SET unit_price = unit_price + (unit_price * (per_cent/100) ); + END PROCEDURE + + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedureFromFile.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedureFromFile.xml new file mode 100644 index 000000000..bb701454f --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/createProcedureFromFile.xml @@ -0,0 +1,20 @@ + + + + + test procedure + + + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/createSequence.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/createSequence.xml new file mode 100644 index 000000000..8004e4a07 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/createSequence.xml @@ -0,0 +1,19 @@ + + + + + + + + + + diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/createTrigger.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/createTrigger.xml new file mode 100644 index 000000000..045de2e60 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/createTrigger.xml @@ -0,0 +1,40 @@ + + + + test procedure + CREATE FUNCTION test_function() + RETURNS BOOLEAN + LANGUAGE SPL + BEGIN + LET trace_message = 'Test function executed'; + TRACE trace_message; + RETURN TRUE; + END; + + + DROP FUNCTION test_function() + + + + CREATE TRIGGER test_trigger + BEFORE INSERT ON your_table_name + FOR EACH ROW + EXECUTE FUNCTION test_function(); + + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/dropDefaultValue.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/dropDefaultValue.xml new file mode 100644 index 000000000..6fbbe9e5b --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/dropDefaultValue.xml @@ -0,0 +1,16 @@ + + + + + + + + + diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/dropProcedure.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/dropProcedure.xml new file mode 100644 index 000000000..07f4e9a8c --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/dropProcedure.xml @@ -0,0 +1,19 @@ + + + + + test procedure + + + + + + diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/dropSequence.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/dropSequence.xml new file mode 100644 index 000000000..ce8b16bdd --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/dropSequence.xml @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/src/main/resources/liquibase/harness/change/changelogs/informix/dropTrigger.xml b/src/main/resources/liquibase/harness/change/changelogs/informix/dropTrigger.xml new file mode 100644 index 000000000..2d960c438 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/informix/dropTrigger.xml @@ -0,0 +1,42 @@ + + + + test procedure + CREATE FUNCTION test_function() + RETURNS BOOLEAN + LANGUAGE SPL + BEGIN + LET trace_message = 'Test function executed'; + TRACE trace_message; + RETURN TRUE; + END; + + + DROP FUNCTION test_function() + + + + CREATE TRIGGER test_trigger + BEFORE INSERT ON your_table_name + FOR EACH ROW + EXECUTE FUNCTION test_function(); + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValue.json b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValue.json new file mode 100644 index 000000000..cb6558445 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValue.json @@ -0,0 +1,15 @@ +{ + "snapshot": { + "objects": { + "liquibase.structure.core.Column": [ + { + "column": { + "defaultValue": "title_test", + "name": "title", + "nullable": true + } + } + ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValueBoolean.json b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValueBoolean.json new file mode 100644 index 000000000..658445dfc --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValueBoolean.json @@ -0,0 +1,15 @@ +{ + "snapshot": { + "objects": { + "liquibase.structure.core.Column": [ + { + "column": { + "defaultValue": "T\\!\\{liquibase.statement.DatabaseFunction\\}", + "name": "booleancolumn", + "nullable": true + } + } + ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValueNumeric.json b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValueNumeric.json new file mode 100644 index 000000000..6a116b302 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/addDefaultValueNumeric.json @@ -0,0 +1,15 @@ +{ + "snapshot": { + "objects": { + "liquibase.structure.core.Column": [ + { + "column": { + "defaultValue": "100000000\\!\\{java.lang.Integer\\}", + "name": "numericColumn", + "nullable": true + } + } + ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/alterSequence.json b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/alterSequence.json new file mode 100644 index 000000000..f1c16d223 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/alterSequence.json @@ -0,0 +1,13 @@ +{ + "snapshot": { + "objects": { + "liquibase.structure.core.Sequence": [ + { + "sequence": { + "name": "test_sequence" + } + } + ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/createTableTimestamp.json b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/createTableTimestamp.json new file mode 100644 index 000000000..d7bc4c8f6 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/createTableTimestamp.json @@ -0,0 +1,28 @@ +{ + "snapshot": { + "objects": { + "liquibase.structure.core.Table": [ + { + "table": { + "name": "lms_create_table_test" + } + } + ], + "liquibase.structure.core.Column": [ + { + "column": { + "name": "lms_test_id" + } + }, + { + "column": { + "name": "lms_test_timestamp", + "type": { + "typeName": "datetime year to fraction(5)" + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/createView.json b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/createView.json new file mode 100644 index 000000000..4281f444c --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/createView.json @@ -0,0 +1,13 @@ +{ + "snapshot": { + "objects": { + "liquibase.structure.core.View": [ + { + "view": { + "definition": "select x0.id, x0.first_name, x0.last_name, x0.email from (select x1.id, x1.first_name, x1.last_name, x1.email from authors x1 ) x0(id, first_name, last_name, email)", + "name": "test_view" + } + }] + } + } +} \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/dropDefaultValue.json b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/dropDefaultValue.json new file mode 100644 index 000000000..d700c07f7 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSnapshot/informix/dropDefaultValue.json @@ -0,0 +1,17 @@ +{ + "snapshot": { + "objects": { + "liquibase.structure.core.Column": [ + { + "column": { + "name": "title", + "nullable": true, + "type": { + "typeName": "varchar" + } + } + } + ] + } + } +} diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/addCheckConstraint.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/addCheckConstraint.sql new file mode 100644 index 000000000..55a67dde4 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/addCheckConstraint.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:addCheckConstraint' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueComputed.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueComputed.sql new file mode 100644 index 000000000..43c1ef09d --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueComputed.sql @@ -0,0 +1,9 @@ +INVALID TEST + +-- Bug on Liquibase side: incorrect generated sql DAT-19231 +-- Actual: +-- ALTER TABLE testdb:informix.posts +-- MODIFY (inserted_date date DEFAULT DATETIME YEAR TO FRACTION(5) DEFAULT CURRENT YEAR TO FRACTION(5)); +-- Expected: +-- ALTER TABLE testdb:informix.posts +-- MODIFY (inserted_date DATETIME YEAR TO FRACTION(5) DEFAULT CURRENT YEAR TO FRACTION(5)); \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueDate.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueDate.sql new file mode 100644 index 000000000..707217485 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueDate.sql @@ -0,0 +1,4 @@ +INVALID TEST + +-- Bug on Liquibase side: Incorrect SQL generated on rollback defaultValueDate DAT-19231 + --[Failed SQL: (-201) ALTER TABLE testdb:informix.authors MODIFY (dateTimeColumn datetime)] \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueSequenceNext.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueSequenceNext.sql new file mode 100644 index 000000000..1982e0a92 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/addDefaultValueSequenceNext.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Informix does not support using a sequence’s NEXTVAL directly in a DEFAULT clause \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/addUniqueConstraint.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/addUniqueConstraint.sql new file mode 100644 index 000000000..3874406a3 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/addUniqueConstraint.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Missing UniqueConstraints in Liquibase Snapshot output DAT-19232 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/createFunction.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/createFunction.sql new file mode 100644 index 000000000..adaa35efc --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/createFunction.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:createFunction' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/createPackage.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/createPackage.sql new file mode 100644 index 000000000..005138ab2 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/createPackage.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Informix does not support packages \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/createPackageBody.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/createPackageBody.sql new file mode 100644 index 000000000..666c7a764 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/createPackageBody.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Informix does not support package bodies \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/createProcedure.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/createProcedure.sql new file mode 100644 index 000000000..78b01fd55 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/createProcedure.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Missing Procedures in Liquibase Snapshot output DAT-19232 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/createProcedureFromFile.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/createProcedureFromFile.sql new file mode 100644 index 000000000..78b01fd55 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/createProcedureFromFile.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Missing Procedures in Liquibase Snapshot output DAT-19232 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/createTrigger.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/createTrigger.sql new file mode 100644 index 000000000..06d0fc77a --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/createTrigger.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:createTrigger' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/disableCheckConstraint.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/disableCheckConstraint.sql new file mode 100644 index 000000000..55a67dde4 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/disableCheckConstraint.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:addCheckConstraint' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/disableTrigger.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/disableTrigger.sql new file mode 100644 index 000000000..06d0fc77a --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/disableTrigger.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:createTrigger' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/dropCheckConstraint.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/dropCheckConstraint.sql new file mode 100644 index 000000000..55a67dde4 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/dropCheckConstraint.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:addCheckConstraint' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/dropFunction.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/dropFunction.sql new file mode 100644 index 000000000..adaa35efc --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/dropFunction.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:createFunction' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/dropTrigger.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/dropTrigger.sql new file mode 100644 index 000000000..06d0fc77a --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/dropTrigger.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:createTrigger' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/enableCheckConstraint.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/enableCheckConstraint.sql new file mode 100644 index 000000000..55a67dde4 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/enableCheckConstraint.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:addCheckConstraint' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/enableTrigger.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/enableTrigger.sql new file mode 100644 index 000000000..06d0fc77a --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/enableTrigger.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:createTrigger' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/renameSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/renameSequence.sql new file mode 100644 index 000000000..71f844506 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/renameSequence.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Informix does not support renameSequence \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/renameTrigger.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/renameTrigger.sql new file mode 100644 index 000000000..06d0fc77a --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/renameTrigger.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Bug on Liquibase side: Change Type 'pro:createTrigger' is not allowed for Informix Dynamic Server DAT-19230 \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/renameView.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/renameView.sql new file mode 100644 index 000000000..5a466f774 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/renameView.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Informix does not support renameView \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/setColumnRemarks.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/setColumnRemarks.sql new file mode 100644 index 000000000..b6af43a36 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/setColumnRemarks.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Informix does not support setColumnRemarks \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/informix/setTableRemarks.sql b/src/main/resources/liquibase/harness/change/expectedSql/informix/setTableRemarks.sql new file mode 100644 index 000000000..dc4c06138 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/informix/setTableRemarks.sql @@ -0,0 +1,3 @@ +INVALID TEST + +-- Informix does not support setTableRemarks \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/data/changelogs/informix/loadUpdateData.csv b/src/main/resources/liquibase/harness/data/changelogs/informix/loadUpdateData.csv new file mode 100644 index 000000000..3fec2c40f --- /dev/null +++ b/src/main/resources/liquibase/harness/data/changelogs/informix/loadUpdateData.csv @@ -0,0 +1,4 @@ +id;first_name;last_name;email;birthdate;added +1;Adam;Gods;test1@example.com;1000-02-27;2000-02-04T02:32:00 +7;Noah;Lamekhs;test2@example.com;2000-02-27;1994-12-10T01:00:00 +8;Muhammad;Ibn Abdullah;test3@example.com;3000-02-27;2000-12-10T01:00:00 diff --git a/src/main/resources/liquibase/harness/data/changelogs/informix/loadUpdateData.xml b/src/main/resources/liquibase/harness/data/changelogs/informix/loadUpdateData.xml new file mode 100644 index 000000000..ab4f4fa13 --- /dev/null +++ b/src/main/resources/liquibase/harness/data/changelogs/informix/loadUpdateData.xml @@ -0,0 +1,24 @@ + + + + + + + + DELETE FROM authors WHERE id = 1; + INSERT INTO authors (id, first_name, last_name, email, birthdate, added) VALUES (1, 'Eileen', 'Lubowitz', 'ppaucek@example.org', TO_DATE('1991-03-04', '%Y-%m-%d'), TO_DATE('2004-05-30 02:08:25', '%Y-%m-%d %H:%M:%S'));; + DELETE FROM authors WHERE id = 7; + DELETE FROM authors WHERE id = 8; + + + + diff --git a/src/test/resources/automation-runner.sh b/src/test/resources/automation-runner.sh index b17f36e0e..d91890c1c 100755 --- a/src/test/resources/automation-runner.sh +++ b/src/test/resources/automation-runner.sh @@ -132,10 +132,16 @@ case $db in test_command mvn -ntp -Dtest=$tc -DdbName=firebird -DdbVersion=4 test ;; "db2-luw") - test_command mvn -ntp -Dtest=$tc -DdbName=db2-luw test - ;; + test_command mvn -ntp -Dtest=$tc -DdbName=db2-luw test + ;; "snowflake") test_command mvn -ntp -Dtest=$tc -DdbName=snowflake -DrollbackStrategy=rollbackByTag test ;; + "informix-12.10") + test_command mvn -ntp -Dtest=$tc -DdbName=informix -DdbVersion=12 test + ;; + "informix-14.10") + test_command mvn -ntp -Dtest=$tc -DdbName=informix -DdbVersion=14 test + ;; esac diff --git a/src/test/resources/docker/create-infra.sh b/src/test/resources/docker/create-infra.sh index 6d14efd8c..5e2757445 100755 --- a/src/test/resources/docker/create-infra.sh +++ b/src/test/resources/docker/create-infra.sh @@ -66,6 +66,12 @@ case $db in exit 0 ;; + # informix needs a bit more time to start + "informix-12.10"|"informix-14.10") + docker compose up -d $db + sleep 60 + ;; + # standard startup *) docker compose up -d $db diff --git a/src/test/resources/docker/docker-compose.yml b/src/test/resources/docker/docker-compose.yml index 1e82ead9c..8ca368c15 100644 --- a/src/test/resources/docker/docker-compose.yml +++ b/src/test/resources/docker/docker-compose.yml @@ -342,6 +342,37 @@ services: depends_on: - crdb-24.1 + informix-12.10: + image: ibmcom/informix-developer-database:12.10.FC12W1DE + container_name: informix-db + hostname: ifx + ports: + - "9088:9088" + environment: + LICENSE: "accept" + INIT_FILE: "sch_init_informix.custom.sql" + SIZE: "custom" + restart: always + privileged: true + volumes: + - "./informix-init.sql:/opt/ibm/data/sch_init_informix.custom.sql" + + informix-14.10: + image: icr.io/informix/informix-developer-database:14.10.FC7W1DE + container_name: informix-db + hostname: ifx + ports: + - "9088:9088" + environment: + LICENSE: "accept" + INIT_FILE: "informix-init.sql" + DBDATE: "Y4MD-" + restart: always + privileged: true + volumes: + - "./informix-init.sql:/opt/ibm/config/informix-init.sql" + + # Titan (https://titan-data.io) is managing these images for our CI/CD process. If you want to run them locally you'll have to # populate init script (hsqldb-init.sql) for this platform manually or install titan and pull image pre-populated with data diff --git a/src/test/resources/docker/informix-init.sql b/src/test/resources/docker/informix-init.sql new file mode 100644 index 000000000..8b7636617 --- /dev/null +++ b/src/test/resources/docker/informix-init.sql @@ -0,0 +1,93 @@ +CREATE DATABASE testdb WITH LOG MODE ANSI; + +DATABASE testdb; + +-- Use BEGIN WORK to start a transaction +BEGIN WORK; + +-- Drop and create authors table +DROP TABLE IF EXISTS authors; +CREATE TABLE authors ( + id SERIAL PRIMARY KEY, + first_name VARCHAR(50) NOT NULL, + last_name VARCHAR(50) NOT NULL, + email VARCHAR(100) NOT NULL, + birthdate DATE NOT NULL, + added DATETIME YEAR TO FRACTION(5) DEFAULT CURRENT YEAR TO FRACTION(5) +); + +-- Insert data into authors table +INSERT INTO authors (id, first_name, last_name, email, birthdate, added) +VALUES + (1, 'Eileen', 'Lubowitz', 'ppaucek@example.org', + TO_DATE('1991-03-04', '%Y-%m-%d'), + TO_DATE('2004-05-30 02:08:25', '%Y-%m-%d %H:%M:%S')); + +INSERT INTO authors (id, first_name, last_name, email, birthdate, added) +VALUES + (2, 'Tamia', 'Mayert', 'shansen@example.org', + TO_DATE('2016-03-27', '%Y-%m-%d'), + TO_DATE('2014-03-21 02:52:00', '%Y-%m-%d %H:%M:%S')); +INSERT INTO authors (id, first_name, last_name, email, birthdate, added) +VALUES + (3, 'Cyril', 'Funk', 'reynolds.godfrey@example.com', + TO_DATE('1988-04-21', '%Y-%m-%d'), + TO_DATE('2011-06-24 18:17:48', '%Y-%m-%d %H:%M:%S')); + +INSERT INTO authors (id, first_name, last_name, email, birthdate, added) +VALUES + (4, 'Nicolas', 'Buckridge', 'xhoeger@example.net', + TO_DATE('2017-02-03', '%Y-%m-%d'), + TO_DATE('2019-04-22 02:04:41', '%Y-%m-%d %H:%M:%S')); + +INSERT INTO authors (id, first_name, last_name, email, birthdate, added) +VALUES + (5, 'Jayden', 'Walter', 'lillian66@example.com', + TO_DATE('2010-02-27', '%Y-%m-%d'), + TO_DATE('1990-02-04 02:32:00', '%Y-%m-%d %H:%M:%S')); + +-- Commit the transaction for authors table +COMMIT WORK; + +-- Start a new transaction for the posts table +BEGIN WORK; + +-- Drop and create posts table +DROP TABLE IF EXISTS posts; +CREATE TABLE posts ( + id SERIAL, + author_id INT NOT NULL, + title VARCHAR(255) NOT NULL DEFAULT 'title_test', + description VARCHAR(255) NOT NULL, + content VARCHAR(255) NOT NULL, + inserted_date DATE NOT NULL +); + +-- Insert data into posts table +INSERT INTO posts (id, author_id, title, description, content, inserted_date) +VALUES + (1, 1, 'temporibus', 'voluptatum', 'Fugit non et doloribus repudiandae.', + TO_DATE('2015-11-18', '%Y-%m-%d')); + +INSERT INTO posts (id, author_id, title, description, content, inserted_date) +VALUES + (2, 2, 'ea', 'aut', 'Tempora molestias maiores provident molestiae sint possimus quasi.', + TO_DATE('1975-06-08', '%Y-%m-%d')); + +INSERT INTO posts (id, author_id, title, description, content, inserted_date) +VALUES + (3, 3, 'illum', 'rerum', 'Delectus recusandae sit officiis dolor.', + TO_DATE('1975-02-25', '%Y-%m-%d')); + +INSERT INTO posts (id, author_id, title, description, content, inserted_date) +VALUES + (4, 4, 'itaque', 'deleniti', 'Magni nam optio id recusandae.', + TO_DATE('2010-07-28', '%Y-%m-%d')); + +INSERT INTO posts (id, author_id, title, description, content, inserted_date) +VALUES + (5, 5, 'ad', 'similique', 'Rerum tempore quis ut nesciunt qui excepturi est.', + TO_DATE('2006-10-09', '%Y-%m-%d')); + +-- Commit the transaction for posts table +COMMIT WORK; \ No newline at end of file diff --git a/src/test/resources/harness-config.yml b/src/test/resources/harness-config.yml index d3556ae3d..142864263 100644 --- a/src/test/resources/harness-config.yml +++ b/src/test/resources/harness-config.yml @@ -308,3 +308,18 @@ databasesUnderTest: url: jdbc:firebirdsql://localhost:3050/lbcat username: lbuser password: LiquibasePass1 + + - name: informix + prefix: docker + version: 12 + url: jdbc:informix-sqli://localhost:9088/testdb:INFORMIXSERVER=informix; + username: informix + password: in4mix + + - name: informix + prefix: docker + version: 14 + url: jdbc:informix-sqli://localhost:9088/testdb:INFORMIXSERVER=informix; + username: informix + password: in4mix + From a2c1f0b762ecc8b565d7777b258a7d9a94283d8c Mon Sep 17 00:00:00 2001 From: KushnirykOleh Date: Wed, 18 Dec 2024 15:19:11 +0200 Subject: [PATCH 32/46] brought vladimirevd fix --- .../harness/compatibility/foundational/FoundationalTest.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy index eb435648c..155c3e750 100644 --- a/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy +++ b/src/main/groovy/liquibase/harness/compatibility/foundational/FoundationalTest.groovy @@ -63,8 +63,7 @@ class FoundationalTest extends Specification { and: "fail test if expectedResultSet is not provided" shouldRunChangeSet = expectedResultSet != null assert shouldRunChangeSet: "No expectedResultSet for ${testInput.change} against " + - "${testInput.database.shortName} ${testInput.database.databaseMajorVersion}." + - "${testInput.database.databaseMinorVersion}" + "${testInput.databaseName} ${testInput.version}." and: "check database under test is online" def connection = testInput.database.getConnection() From e12551b996777a8c04afb273da90a9409a6ab40f Mon Sep 17 00:00:00 2001 From: Taras Amelianovych <97164517+Tamelianovych@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:27:47 +0100 Subject: [PATCH 33/46] DAT-18428 adding default schema for lbuser (#943) --- src/test/resources/init-changelogs/gcp/mssql.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/resources/init-changelogs/gcp/mssql.sql b/src/test/resources/init-changelogs/gcp/mssql.sql index ca7654608..dd54b97f2 100644 --- a/src/test/resources/init-changelogs/gcp/mssql.sql +++ b/src/test/resources/init-changelogs/gcp/mssql.sql @@ -13,6 +13,8 @@ BEGIN EXEC sp_addrolemember 'db_owner', 'lbuser'; END +ALTER USER lbuser WITH DEFAULT_SCHEMA = lbuser; + --changeset liquibase:2 runAlways:true DROP TABLE IF EXISTS [lbuser].[authors] From a9d07da2cd1be4d5754ba6332c82f509706cc831 Mon Sep 17 00:00:00 2001 From: Taras Amelianovych <97164517+Tamelianovych@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:32:07 +0100 Subject: [PATCH 34/46] fixing main after https://github.com/liquibase/liquibase/commit/78b17ce838f42b97144c8f8fee206e9173a4da44 (#945) --- src/test/resources/H2/lbcat.mv.db | Bin 20480 -> 28672 bytes src/test/resources/derby/lbcat/db.lck | Bin 38 -> 0 bytes src/test/resources/derby/lbcat/log/log.ctrl | Bin 48 -> 48 bytes src/test/resources/derby/lbcat/log/log5.dat | Bin 1048576 -> 1048576 bytes .../resources/derby/lbcat/log/logmirror.ctrl | Bin 48 -> 48 bytes src/test/resources/derby/lbcat/seg0/c10.dat | Bin 8192 -> 8192 bytes src/test/resources/derby/lbcat/seg0/c230.dat | Bin 724992 -> 815104 bytes src/test/resources/derby/lbcat/seg0/c241.dat | Bin 36864 -> 36864 bytes src/test/resources/derby/lbcat/seg0/c251.dat | Bin 16384 -> 16384 bytes src/test/resources/derby/lbcat/seg0/c4c0.dat | Bin 8192 -> 8192 bytes src/test/resources/derby/lbcat/seg0/c90.dat | Bin 81920 -> 81920 bytes src/test/resources/derby/lbcat/seg0/ca1.dat | Bin 32768 -> 32768 bytes src/test/resources/derby/lbcat/seg0/cb1.dat | Bin 8192 -> 8192 bytes .../docker/percona-xtradb-cluster-init.sql | 2 +- 14 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 src/test/resources/derby/lbcat/db.lck diff --git a/src/test/resources/H2/lbcat.mv.db b/src/test/resources/H2/lbcat.mv.db index e37b5e1d5809b511eef1cc9ab6a79e816fca8b6e..6e4d84ea3f93690548db647299573cacad495a10 100644 GIT binary patch delta 775 zcmbV~v2W8r6vm%jD5;}{4waxFLP%JOj&Nt6l)f}vB)P!hp{PGUFkG#GpKRJ0fqoqMv6xh;NY1`qzU@(eSiWe@#m|0LCxN+ ijW-_`My2V>;XVDki=*T9gl{=sovX`OmEBTKGyVb`GUKZN delta 134 zcmZp8z}T>WQOU!~NGB;LKRFvl2WM8LS{WJ`80aKtl;&kynM_pD6EV?A%SkOs&PXk? hN-TL<0b;k_f{9 diff --git a/src/test/resources/derby/lbcat/log/log.ctrl b/src/test/resources/derby/lbcat/log/log.ctrl index 790e5edc06ce97d6d736d2885d6fa5e81e0968b4..8972fe6b8aea90b4627d76394412746b0763b619 100644 GIT binary patch literal 48 mcmZQzU}#`qVBiE|RtDa+Qb3vui1`>~8NUH(6c8*Mx*7mcOauP_ literal 48 mcmZQzU}#`qVBiE|Rt8RUZ6M7B#C#0WGq(U~6!2~(e+U3g>I8HE diff --git a/src/test/resources/derby/lbcat/log/log5.dat b/src/test/resources/derby/lbcat/log/log5.dat index 1c8d9a25545b4cf53d1508170d87ef455f236514..c1d17e88cf4dcb1329deb4bfa8a9d26b1ffb97f7 100644 GIT binary patch delta 44710 zcmb__d3=;b@^{ZOGtbOqW(ZfpVZtE^0TGxSKn{)>?r;Qx$Ptd*;l4#ggn)u5pb!Ey zAV(lTK5Y;d}&tNPnj)z$U% z^E}I!2baVDR@zo-EA1;CE1fI#m9CZUm7bLm&v;Wa>4plsp5)E!Mpk4JLTndp@c#?o zOSZl9^<(fS3ck_sbrNr84p|Yhk@6tP%A{=<+gfz@W-f=H2>;3ETF%M3$-l&A(`_~< zZ-zeZC(a=BLgy~FH3ONiD>6%qp`Fa{b`Jlb%qH+fncsqd#=M8}kS*Hp9TH_|kwtCy z+M1-U;-o_|pkX;9%_1}5w}!+6*c;ot zIf)#+lK8b+tv3$qF$oPwt2MdM1Ip+HUr=etTQ%iq0kVcRALK}F?j0IiyNNWm(Y%-S zF7((yhu+LPbXqNvwWKv2k>TkMjVHr2wxK&RJl&dmhiP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aBoW_Lbqfa9-^2k4`}*ju*nA54_GWj&3D8psB~v=Q-$dvgv>f@W?H zPt#9-u}7Eq4=y)2j*}^j!$S@R;2-EZGaUgE!S0p(Bj~lM1z#KDfLL*`}a{V!bq_Lst39jjpZmOmWfs{mP$GYPm_zG)3l4EFkl7^<+Tcr7qn3j3c2Ky)$ks?6H zPS^!}aAPf{qGxf#J}IQWsY+dd^esAfKMj9Wsoxt?pQCLT+gfz@A8iRg5qMk}$$HM_ zTFxxy$eZ#ngfiU*FaBfA(AWLM8T23dp3YrtYnJ3cIz^S)4%*3(5xbs)KPXeEdUTzk U>T|0*WP0K2tL~8LpFHaS0ct^PJpcdz delta 65 zcmZo@aA*Lc7RDB)7UmX~7SJ O18eymf`BBijSv79k{Oo( diff --git a/src/test/resources/derby/lbcat/log/logmirror.ctrl b/src/test/resources/derby/lbcat/log/logmirror.ctrl index 790e5edc06ce97d6d736d2885d6fa5e81e0968b4..8972fe6b8aea90b4627d76394412746b0763b619 100644 GIT binary patch literal 48 mcmZQzU}#`qVBiE|RtDa+Qb3vui1`>~8NUH(6c8*Mx*7mcOauP_ literal 48 mcmZQzU}#`qVBiE|Rt8RUZ6M7B#C#0WGq(U~6!2~(e+U3g>I8HE diff --git a/src/test/resources/derby/lbcat/seg0/c10.dat b/src/test/resources/derby/lbcat/seg0/c10.dat index 1f9a1837da9d05c904100518c387c4787659480e..e9b4c11532ae42a550a0e9bbfdf4abf2f0023960 100644 GIT binary patch delta 47 zcmZp0XmHrTE5InZnNOgYk(q^;VREyeE~^9szemevMn)k%7RE*f)5&M#4Om)E@-_ef D02K=< delta 46 zcmZp0XmHrTE5InWnNOgYk%@tKa*LoYD<6YgSNvv1Mqxe{#zqE{$!FvZSmvAjl>z|% CU<*_L diff --git a/src/test/resources/derby/lbcat/seg0/c230.dat b/src/test/resources/derby/lbcat/seg0/c230.dat index 1e717529efe456d11fe281bf0276f66163500061..7cb67073942e4c9e398917ab796d35db9aa92f05 100644 GIT binary patch delta 5837 z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f86bf3 100644 GIT binary patch delta 74 zcmZp0XmHrTE5OJ-nNJ{I`vs3M10NT&p*PC`23ZDaw=g$1UtBRxYi e3q3J*NK9;{f>pV9J@CGp2P3B7wXB3|p zD7M)q;TH!Jquk_=$-Xc2D!-}lZ7WIq=-+>oM5hX4Qo delta 29 kcmZo@U}|V!+Q3`D7`~aWAfAzlO>T33VJ{zx_4^-M0E>JHzW@LL diff --git a/src/test/resources/derby/lbcat/seg0/cb1.dat b/src/test/resources/derby/lbcat/seg0/cb1.dat index 452187a4a9bc234a3d3672816e2a3c3d6959b003..00fa0b4dee7236f941ffe4e92162788f1a3d499a 100644 GIT binary patch delta 79 zcmZp0XmHrTDCB$(I2gXip3j-)t+O%+AQLIZ^xx<7OttR>sLkq$X~TmR`uh Ja@66=K>(@}5CQ-I diff --git a/src/test/resources/docker/percona-xtradb-cluster-init.sql b/src/test/resources/docker/percona-xtradb-cluster-init.sql index 8411cdd91..2964210ef 100644 --- a/src/test/resources/docker/percona-xtradb-cluster-init.sql +++ b/src/test/resources/docker/percona-xtradb-cluster-init.sql @@ -32,7 +32,7 @@ CREATE TABLE `DATABASECHANGELOG` ( `LIQUIBASE` varchar(20) DEFAULT NULL, `CONTEXTS` varchar(255) DEFAULT NULL, `LABELS` varchar(255) DEFAULT NULL, - `DEPLOYMENT_ID` varchar(10) DEFAULT NULL, + `DEPLOYMENT_ID` varchar(36) DEFAULT NULL, PRIMARY KEY (ID, AUTHOR, FILENAME) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; From eaab62e9bcc3fffc18f0b8411e6cba87df4a7d64 Mon Sep 17 00:00:00 2001 From: Charles Queiroz Date: Thu, 19 Dec 2024 18:41:42 +0000 Subject: [PATCH 35/46] DAT-18731 - Resolving the /null problem when not finding the createTable.aql file And also solving the problem of not cleaning the files generated after finishing the tests. --- pom.xml | 20 ++----------------- .../GenerateChangelogTest.groovy | 9 +++++---- 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/pom.xml b/pom.xml index 780aa1caf..98aa26e99 100644 --- a/pom.xml +++ b/pom.xml @@ -342,19 +342,6 @@ 1.8
- - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} - - - attach-sources - - jar-no-fork - - - - org.apache.maven.plugins maven-enforcer-plugin @@ -467,11 +454,8 @@ release - - - env.CI - true - + + true diff --git a/src/main/groovy/liquibase/harness/generateChangelog/GenerateChangelogTest.groovy b/src/main/groovy/liquibase/harness/generateChangelog/GenerateChangelogTest.groovy index 63df90d9b..902a90692 100644 --- a/src/main/groovy/liquibase/harness/generateChangelog/GenerateChangelogTest.groovy +++ b/src/main/groovy/liquibase/harness/generateChangelog/GenerateChangelogTest.groovy @@ -66,12 +66,13 @@ class GenerateChangelogTest extends Specification { when: "execute generateChangelog command using different changelog formats" argsMap.put("changeLogFile", testInput.xmlChangelogPath) executeCommandScope("update", argsMap) - argsMap.put("changeLogFile", resourcesDirFullPath + entry.value) argsMap.put("excludeObjects", "(?i)posts, (?i)authors")//excluding static test-harness objects from generated changelog if (entry.key.equalsIgnoreCase("expectedSqlChangelog")) { def shortDbName = getShortDatabaseName(testInput.databaseName) sqlSpecificChangelogFile = entry.value.replace(".sql", ".$shortDbName" + ".sql") - argsMap.put("changeLogFile", resourcesDirFullPath + sqlSpecificChangelogFile) + argsMap.put("changeLogFile", resourcesDirFullPath + "generated/" + sqlSpecificChangelogFile) + } else { + argsMap.put("changeLogFile", resourcesDirFullPath + "generated/" + entry.value) } executeCommandScope("generateChangelog", argsMap, testInput.databaseName) @@ -128,9 +129,9 @@ class GenerateChangelogTest extends Specification { } for (Map.Entry entry : map.entrySet()) { if (entry.key.equalsIgnoreCase("expectedSqlChangelog")) { - deleteFile(resourcesDirFullPath + sqlSpecificChangelogFile) + deleteFile(resourcesDirFullPath + "generated/" + sqlSpecificChangelogFile) } else { - deleteFile(resourcesDirFullPath + entry.value) + deleteFile(resourcesDirFullPath + "generated/" + entry.value) } } From fe2cf0a2dc6e9e353c7654b0558b85e768b29e60 Mon Sep 17 00:00:00 2001 From: Charles Queiroz Date: Thu, 19 Dec 2024 18:53:53 +0000 Subject: [PATCH 36/46] DAT-18731 - Fixing the plugin --- pom.xml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 98aa26e99..780aa1caf 100644 --- a/pom.xml +++ b/pom.xml @@ -342,6 +342,19 @@ 1.8
+ + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + attach-sources + + jar-no-fork + + + + org.apache.maven.plugins maven-enforcer-plugin @@ -454,8 +467,11 @@ release - - true + + + env.CI + true + From cb73c38b653e56e82b51e5dd96a0e1b3bbfdd243 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:52:36 +0000 Subject: [PATCH 37/46] chore(deps): bump junit-platform.version from 1.11.3 to 1.11.4 Bumps `junit-platform.version` from 1.11.3 to 1.11.4. Updates `org.junit.platform:junit-platform-suite` from 1.11.3 to 1.11.4 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) Updates `org.junit.platform:junit-platform-launcher` from 1.11.3 to 1.11.4 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) Updates `org.junit.platform:junit-platform-engine` from 1.11.3 to 1.11.4 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) --- updated-dependencies: - dependency-name: org.junit.platform:junit-platform-suite dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.platform:junit-platform-launcher dependency-type: direct:development update-type: version-update:semver-patch - dependency-name: org.junit.platform:junit-platform-engine dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 317d04104..00fa2a9e9 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ 3.3.1 4.0.1 5.11.4 - 1.11.3 + 1.11.4 Liquibase.org From dfa679c4371292200cd9513c59a36a087e99531a Mon Sep 17 00:00:00 2001 From: PavloTytarchuk <55182440+PavloTytarchuk@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:34:19 +0100 Subject: [PATCH 38/46] DAT-14344. added initial setup for percona-mysql-8.4 (#947) * DAT-14344. added initial setup for percona-mysql-8.4 * DAT-14344. fix for a failing test * DAT-14344. #2 fix for a failing test --- .github/workflows/main.yml | 3 +- .../8.4/createFunction.xml | 26 +++++++++++++++++ .../8.4/dropFunction.xml | 28 +++++++++++++++++++ src/test/resources/automation-runner.sh | 3 ++ src/test/resources/docker/create-infra.sh | 2 +- src/test/resources/docker/docker-compose.yml | 16 +++++++++++ src/test/resources/harness-config.yml | 6 ++++ 7 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/liquibase/harness/change/changelogs/percona-xtradb-cluster/8.4/createFunction.xml create mode 100644 src/main/resources/liquibase/harness/change/changelogs/percona-xtradb-cluster/8.4/dropFunction.xml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca038b0ff..9de4e8154 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,6 +59,7 @@ on: "mysql-8", "percona-xtradb-cluster-5.7", "percona-xtradb-cluster-8.0", + "percona-xtradb-cluster-8.4", "postgres-12", "postgres-13", "postgres-14", @@ -116,7 +117,7 @@ jobs: liquibaseBranch: ${{ steps.configure-build.outputs.liquibaseBranch }} liquibaseRepo: ${{ steps.configure-build.outputs.liquibaseRepo }} liquibaseSha: ${{ steps.configure-build.outputs.liquibaseSha }} - databases: ${{ github.event.inputs.databases || '["mysql-5.6","mysql-5.7","mysql-8","percona-xtradb-cluster-5.7","percona-xtradb-cluster-8.0", + databases: ${{ github.event.inputs.databases || '["mysql-5.6","mysql-5.7","mysql-8","percona-xtradb-cluster-5.7","percona-xtradb-cluster-8.0","percona-xtradb-cluster-8.4", "postgres-12","postgres-13","postgres-14","postgres-15","postgres-16","mariadb-10.2","mariadb-10.3","mariadb-10.4","mariadb-10.5","mariadb-10.6", "mariadb-10.7","mssql-2017","H2Database-2.2","crdb-23.1","crdb-23.2","crdb-24.1", "edb-postgres-12","edb-postgres-13","edb-postgres-14","edb-postgres-15","edb-postgres-16", diff --git a/src/main/resources/liquibase/harness/change/changelogs/percona-xtradb-cluster/8.4/createFunction.xml b/src/main/resources/liquibase/harness/change/changelogs/percona-xtradb-cluster/8.4/createFunction.xml new file mode 100644 index 000000000..d84858d59 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/percona-xtradb-cluster/8.4/createFunction.xml @@ -0,0 +1,26 @@ + + + + SET GLOBAL log_bin_trust_function_creators = 1; + + + + CREATE FUNCTION test_function() + RETURNS VARCHAR(20) + BEGIN + RETURN 'Hello'; + END + + + + + + \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/changelogs/percona-xtradb-cluster/8.4/dropFunction.xml b/src/main/resources/liquibase/harness/change/changelogs/percona-xtradb-cluster/8.4/dropFunction.xml new file mode 100644 index 000000000..a89e30de5 --- /dev/null +++ b/src/main/resources/liquibase/harness/change/changelogs/percona-xtradb-cluster/8.4/dropFunction.xml @@ -0,0 +1,28 @@ + + + + SET GLOBAL log_bin_trust_function_creators = 1; + + + + CREATE FUNCTION test_function() + RETURNS VARCHAR(20) + BEGIN + RETURN 'Hello'; + END + + + + + + + + \ No newline at end of file diff --git a/src/test/resources/automation-runner.sh b/src/test/resources/automation-runner.sh index d91890c1c..2a80ab32e 100755 --- a/src/test/resources/automation-runner.sh +++ b/src/test/resources/automation-runner.sh @@ -26,6 +26,9 @@ case $db in "percona-xtradb-cluster-8.0" ) test_command mvn -ntp -Dtest=$tc -DdbName=percona-xtradb-cluster -DdbVersion=8.0 test ;; + "percona-xtradb-cluster-8.4" ) + test_command mvn -ntp -Dtest=$tc -DdbName=percona-xtradb-cluster -DdbVersion=8.4 test + ;; "postgres-12" ) test_command mvn -ntp -Dtest=$tc -DdbName=postgresql -DdbVersion=12 test ;; diff --git a/src/test/resources/docker/create-infra.sh b/src/test/resources/docker/create-infra.sh index 5e2757445..6de0abb8e 100755 --- a/src/test/resources/docker/create-infra.sh +++ b/src/test/resources/docker/create-infra.sh @@ -7,7 +7,7 @@ db=$1 case $db in # percona xtradb cluster needs a bit more time to start - "percona-xtradb-cluster-5.7"|"percona-xtradb-cluster-8.0" ) + "percona-xtradb-cluster-5.7"|"percona-xtradb-cluster-8.0"|"percona-xtradb-cluster-8.4" ) docker compose up -d $db sleep 180 ;; diff --git a/src/test/resources/docker/docker-compose.yml b/src/test/resources/docker/docker-compose.yml index 8ca368c15..12bf00e07 100644 --- a/src/test/resources/docker/docker-compose.yml +++ b/src/test/resources/docker/docker-compose.yml @@ -76,6 +76,22 @@ services: volumes: - "./percona-xtradb-cluster-init.sql:/docker-entrypoint-initdb.d/percona-xtradb-cluster-init.sql" + percona-xtradb-cluster-8.4: + image: percona/percona-xtradb-cluster:8.4 + ports: + - "33072:3306" + networks: + - cluster1_net + restart: always + environment: + MYSQL_ROOT_PASSWORD: LbRootPass1 + MYSQL_DATABASE: lbcat + MYSQL_USER: lbuser + MYSQL_PASSWORD: LiquibasePass1 + CLUSTER_NAME: cluster1 + volumes: + - "./percona-xtradb-cluster-init.sql:/docker-entrypoint-initdb.d/percona-xtradb-cluster-init.sql" + postgres-12: image: postgres:12 ports: diff --git a/src/test/resources/harness-config.yml b/src/test/resources/harness-config.yml index 142864263..3575428bc 100644 --- a/src/test/resources/harness-config.yml +++ b/src/test/resources/harness-config.yml @@ -70,6 +70,12 @@ databasesUnderTest: username: lbuser password: LiquibasePass1 + - name: percona-xtradb-cluster + version: 8.4 + url: jdbc:mysql://localhost:33072/lbcat + username: lbuser + password: LiquibasePass1 + - name: mariadb prefix: docker version: 10.2 From 6268155bd22e3fd4a105043924def1fb9607150a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Dec 2024 17:38:44 +0000 Subject: [PATCH 39/46] chore(deps): bump org.liquibase.ext:liquibase-sdk-maven-plugin Bumps [org.liquibase.ext:liquibase-sdk-maven-plugin](https://github.com/liquibase/liquibase-sdk-maven-plugin) from 0.10.23 to 0.10.25. - [Release notes](https://github.com/liquibase/liquibase-sdk-maven-plugin/releases) - [Commits](https://github.com/liquibase/liquibase-sdk-maven-plugin/compare/v0.10.23...v0.10.25) --- updated-dependencies: - dependency-name: org.liquibase.ext:liquibase-sdk-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 00fa2a9e9..3159146e2 100644 --- a/pom.xml +++ b/pom.xml @@ -308,7 +308,7 @@ org.liquibase.ext liquibase-sdk-maven-plugin - 0.10.23 + 0.10.25 ${env.GITHUB_TOKEN} bin From c87d7b5735f8f283f3241a55220c485018249d6d Mon Sep 17 00:00:00 2001 From: Taras Amelianovych <97164517+Tamelianovych@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:34:24 +0100 Subject: [PATCH 40/46] [DAT-18428] Fixing issue with GCP_MSSQL (#952) * DAT-18428 adding Liquibase default schema for lbuser --- .github/workflows/gcp.yml | 1 + src/test/resources/init-changelogs/gcp/mssql.sql | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/gcp.yml b/.github/workflows/gcp.yml index 861fd3370..927d355ac 100644 --- a/.github/workflows/gcp.yml +++ b/.github/workflows/gcp.yml @@ -156,6 +156,7 @@ jobs: if: ${{ steps.setup.outputs.databasePlatform == 'mssql' }} env: LIQUIBASE_PRO_LICENSE_KEY: ${{ secrets.LICENSE_KEY }} + LIQUIBASE_LIQUIBASE_SCHEMA_NAME: lbuser run: mvn -Dtest=${{ needs.setup.outputs.testClasses }} -DconfigFile=/harness-config-cloud.yml -DdbName=${{ steps.setup.outputs.databasePlatform }} -DdbVersion=${{ steps.setup.outputs.databaseVersion }} -Dprefix=gcp -DdbUsername=${{secrets.TH_DB_ADMIN}} -DdbPassword=${{secrets.TH_DB_PASSWD}} -DdbUrl='${{ secrets.TH_GCP_MSSQL_2019_URL }}' test - name: Archive GCP ${{ steps.setup.outputs.databasePlatform }}-${{ steps.setup.outputs.databaseVersion }} Test Results diff --git a/src/test/resources/init-changelogs/gcp/mssql.sql b/src/test/resources/init-changelogs/gcp/mssql.sql index dd54b97f2..ca7654608 100644 --- a/src/test/resources/init-changelogs/gcp/mssql.sql +++ b/src/test/resources/init-changelogs/gcp/mssql.sql @@ -13,8 +13,6 @@ BEGIN EXEC sp_addrolemember 'db_owner', 'lbuser'; END -ALTER USER lbuser WITH DEFAULT_SCHEMA = lbuser; - --changeset liquibase:2 runAlways:true DROP TABLE IF EXISTS [lbuser].[authors] From d725220f4777feee9b9bbb1c01fab4ceeb1b318a Mon Sep 17 00:00:00 2001 From: Taras Amelianovych <97164517+Tamelianovych@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:33:25 +0100 Subject: [PATCH 41/46] Fixing aws mssql (#953) * fixing aws_mssql --- .github/workflows/aws-weekly.yml | 2 +- .github/workflows/aws.yml | 2 +- .../harness/change/expectedSql/mssql/aws_2019/alterSequence.sql | 2 ++ src/test/resources/harness-config-cloud.yml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/mssql/aws_2019/alterSequence.sql diff --git a/.github/workflows/aws-weekly.yml b/.github/workflows/aws-weekly.yml index 2f37cf1f9..ecc036821 100644 --- a/.github/workflows/aws-weekly.yml +++ b/.github/workflows/aws-weekly.yml @@ -23,7 +23,7 @@ on: databases: description: Databases to start up. Comma separated list of "name:version" required: true - default: "[\"postgresql:12\",\"postgresql:13\",\"postgresql:14\",\"oracle:aws_19\",\"mariadb:aws_10.6\",\"mysql:aws\",\"mysql:aurora\",\"mssql:2019\",\"postgresql:aurora\"]" + default: "[\"postgresql:12\",\"postgresql:13\",\"postgresql:14\",\"oracle:aws_19\",\"mariadb:aws_10.6\",\"mysql:aws\",\"mysql:aurora\",\"mssql:aws_2019\",\"postgresql:aurora\"]" jobs: setup: diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index dd48cc214..148d692e9 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -23,7 +23,7 @@ on: databases: description: Databases to start up. Comma separated list of "name:version" required: true - default: "[\"postgresql:12\",\"postgresql:13\",\"postgresql:14\",\"postgresql:16\",\"oracle:aws_19\",\"mariadb:aws_10.6\",\"mysql:aws\",\"mysql:aurora\",\"mssql:2019\",\"postgresql:aurora\"]" + default: "[\"postgresql:12\",\"postgresql:13\",\"postgresql:14\",\"postgresql:16\",\"oracle:aws_19\",\"mariadb:aws_10.6\",\"mysql:aws\",\"mysql:aurora\",\"mssql:aws_2019\",\"postgresql:aurora\"]" jobs: setup: diff --git a/src/main/resources/liquibase/harness/change/expectedSql/mssql/aws_2019/alterSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/mssql/aws_2019/alterSequence.sql new file mode 100644 index 000000000..e3711211d --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/mssql/aws_2019/alterSequence.sql @@ -0,0 +1,2 @@ +CREATE SEQUENCE test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1 +ALTER SEQUENCE test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CYCLE \ No newline at end of file diff --git a/src/test/resources/harness-config-cloud.yml b/src/test/resources/harness-config-cloud.yml index 25eab45b5..535eaa641 100644 --- a/src/test/resources/harness-config-cloud.yml +++ b/src/test/resources/harness-config-cloud.yml @@ -53,7 +53,7 @@ databasesUnderTest: - name: mssql prefix: aws - version: 2019 + version: aws_2019 url: DBENDPOINT username: USERNAME password: PASSWORD From 847035fdbfe91bed3fa5b5e5c3191acebeb5585e Mon Sep 17 00:00:00 2001 From: Taras Amelianovych <97164517+Tamelianovych@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:23:18 +0100 Subject: [PATCH 42/46] fixing aws_mssql (#955) --- .github/workflows/aws-weekly.yml | 2 +- .github/workflows/aws.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/aws-weekly.yml b/.github/workflows/aws-weekly.yml index ecc036821..468a9f80b 100644 --- a/.github/workflows/aws-weekly.yml +++ b/.github/workflows/aws-weekly.yml @@ -30,7 +30,7 @@ jobs: name: Setup runs-on: ubuntu-latest outputs: - databases: ${{ github.event.inputs.databases || '["postgresql:12","postgresql:13","postgresql:14","oracle:aws_19","mariadb:aws_10.6","mysql:aws","mysql:aurora","mssql:2019","postgresql:aurora"]' }} + databases: ${{ github.event.inputs.databases || '["postgresql:12","postgresql:13","postgresql:14","oracle:aws_19","mariadb:aws_10.6","mysql:aws","mysql:aurora","mssql:aws_2019","postgresql:aurora"]' }} testClasses: ${{ inputs.testClasses || 'LiquibaseHarnessSuiteTest' }} steps: - name: Checkout diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index 148d692e9..2f7b77750 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest outputs: databases: ${{ github.event.inputs.databases || '["postgresql:12","postgresql:13","postgresql:14","postgresql:16","oracle:aws_19", - "mariadb:aws_10.6","mysql:aws","mysql:aurora","mssql:2019","postgresql:aurora"]' }} + "mariadb:aws_10.6","mysql:aws","mysql:aurora","mssql:aws_2019","postgresql:aurora"]' }} testClasses: ${{ inputs.testClasses || 'LiquibaseHarnessSuiteTest' }} steps: - name: Checkout From 5f7ff22b5c0efd385d1af2db68eec7f3e24e34bc Mon Sep 17 00:00:00 2001 From: Taras Amelianovych <97164517+Tamelianovych@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:17:52 +0100 Subject: [PATCH 43/46] Fixing cloud dbs (#956) * fixing aws_mssql * fixing cloud dbs --- .../harness/change/expectedSql/mssql/azure/alterSequence.sql | 2 ++ .../harness/change/expectedSql/mssql/gcp/alterSequence.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/mssql/azure/alterSequence.sql create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/mssql/gcp/alterSequence.sql diff --git a/src/main/resources/liquibase/harness/change/expectedSql/mssql/azure/alterSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/mssql/azure/alterSequence.sql new file mode 100644 index 000000000..e3711211d --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/mssql/azure/alterSequence.sql @@ -0,0 +1,2 @@ +CREATE SEQUENCE test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1 +ALTER SEQUENCE test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CYCLE \ No newline at end of file diff --git a/src/main/resources/liquibase/harness/change/expectedSql/mssql/gcp/alterSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/mssql/gcp/alterSequence.sql new file mode 100644 index 000000000..e3711211d --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/mssql/gcp/alterSequence.sql @@ -0,0 +1,2 @@ +CREATE SEQUENCE test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1 +ALTER SEQUENCE test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CYCLE \ No newline at end of file From 70e1cf7085fe8a3521d45894ef0eab924b8ef0d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:02:20 +0000 Subject: [PATCH 44/46] chore(deps-dev): bump org.xerial:sqlite-jdbc from 3.47.1.0 to 3.47.2.0 Bumps [org.xerial:sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.47.1.0 to 3.47.2.0. - [Release notes](https://github.com/xerial/sqlite-jdbc/releases) - [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG) - [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.47.1.0...3.47.2.0) --- updated-dependencies: - dependency-name: org.xerial:sqlite-jdbc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3159146e2..d9611d405 100644 --- a/pom.xml +++ b/pom.xml @@ -201,7 +201,7 @@ org.xerial sqlite-jdbc - 3.47.1.0 + 3.47.2.0 test From ba142dae3391b7be4f584296a6809246e95c4f46 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:02:12 +0000 Subject: [PATCH 45/46] chore(deps): bump org.codehaus.gmavenplus:gmavenplus-plugin Bumps [org.codehaus.gmavenplus:gmavenplus-plugin](https://github.com/groovy/GMavenPlus) from 4.0.1 to 4.1.1. - [Release notes](https://github.com/groovy/GMavenPlus/releases) - [Commits](https://github.com/groovy/GMavenPlus/compare/4.0.1...4.1.1) --- updated-dependencies: - dependency-name: org.codehaus.gmavenplus:gmavenplus-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d9611d405..7dc8eead7 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ [4.26.0,) 3.3.1 - 4.0.1 + 4.1.1 5.11.4 1.11.4 From beb55ed83e34f82d3def7bb148c3249b097eee35 Mon Sep 17 00:00:00 2001 From: Taras Amelianovych <97164517+Tamelianovych@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:51:59 +0100 Subject: [PATCH 46/46] Fixing cloud dbs (#959) * fixing aws_mssql * fixing cloud dbs * fixing cloud dbs --- .../harness/change/expectedSql/mssql/mi/alterSequence.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/main/resources/liquibase/harness/change/expectedSql/mssql/mi/alterSequence.sql diff --git a/src/main/resources/liquibase/harness/change/expectedSql/mssql/mi/alterSequence.sql b/src/main/resources/liquibase/harness/change/expectedSql/mssql/mi/alterSequence.sql new file mode 100644 index 000000000..e3711211d --- /dev/null +++ b/src/main/resources/liquibase/harness/change/expectedSql/mssql/mi/alterSequence.sql @@ -0,0 +1,2 @@ +CREATE SEQUENCE test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1 +ALTER SEQUENCE test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CYCLE \ No newline at end of file