diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.json b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.json index a2228053..6da0e8e7 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.json +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.json @@ -88,6 +88,30 @@ } ] } + }, + { + "changeSet": { + "id": "4", + "author": "as", + "changes": [ + { + "createIndex": { + "collectionName": "salesData_json", + "keys": { + "$rawJson": { + "tenantId": 1, + "customFields.$**": 1 + } + }, + "options": { + "$rawJson": { + "name": "compoundWildcardIndex_json" + } + } + } + } + ] + } } ] } \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.xml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.xml index 2486b7d5..85db99b0 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.xml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.xml @@ -73,4 +73,16 @@ + + + + + { tenantId: 1, + "customFields.$**": 1 } + + + {name: "compoundWildcardIndex"} + + + \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.yaml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.yaml index ee13b2dd..e179ae8c 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.yaml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createIndex.yaml @@ -60,3 +60,12 @@ databaseChangeLog: collectionName: countries_yaml keys: '{ name: 1, type: 1}' options: '{unique: true, name: "ui_countries"}' + + - changeSet: + id: 4 + author: as + changes: + - createIndex: + collectionName: salesData_yaml + keys: '{ tenantId: 1, "customFields.$**": 1 }' + options: '{name: "compoundWildcardIndex_yaml"}' \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/json_changelog/createIndex.json b/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/json_changelog/createIndex.json index 8f0b9940..34096500 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/json_changelog/createIndex.json +++ b/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/json_changelog/createIndex.json @@ -20,6 +20,13 @@ "description":"createIndex collectionName=countries_json", "id":"3", "execType":"EXECUTED" + }, + { + "fileName":"liquibase\/harness\/compatibility\/foundational\/changelogs\/nosql\/createIndex.json", + "author":"as", + "description":"createIndex collectionName=salesData_json", + "id":"4", + "execType":"EXECUTED" } ] } \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/xml_changelog/createIndex.json b/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/xml_changelog/createIndex.json index 38f27a26..0d5b7a8b 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/xml_changelog/createIndex.json +++ b/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/xml_changelog/createIndex.json @@ -20,6 +20,13 @@ "description":"createIndex collectionName=countries", "id":"3", "execType":"EXECUTED" + }, + { + "fileName":"liquibase\/harness\/compatibility\/foundational\/changelogs\/nosql\/createIndex.xml", + "author":"as", + "description":"createIndex collectionName=salesData", + "id":"4", + "execType":"EXECUTED" } ] } \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/yaml_changelog/createIndex.json b/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/yaml_changelog/createIndex.json index 43b0edbb..4b6831ea 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/yaml_changelog/createIndex.json +++ b/src/test/resources/liquibase/harness/compatibility/foundational/expectedResultSet/yaml_changelog/createIndex.json @@ -19,6 +19,13 @@ "author":"as", "description":"createIndex collectionName=countries_yaml", "id":"3", + "execType":"EXECUTED" + }, + { + "fileName":"liquibase\/harness\/compatibility\/foundational\/changelogs\/nosql\/createIndex.yaml", + "author":"as", + "description":"createIndex collectionName=salesData_yaml", + "id":"4", "tag":"test_tag", "execType":"EXECUTED" }