diff --git a/src/test/resources/liquibase/ext/changelog.admin-command.test.xml b/src/test/resources/liquibase/ext/changelog.admin-command.test.xml index cf44437c..7141759b 100644 --- a/src/test/resources/liquibase/ext/changelog.admin-command.test.xml +++ b/src/test/resources/liquibase/ext/changelog.admin-command.test.xml @@ -20,7 +20,7 @@ @@ -28,26 +28,26 @@ - + - + { buildInfo: 1 } - + - + - + - + { shardCollection: "${database.name}.player_info_static", key: {location: 1, _id: 1}, unique: true} - + - + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.changeTypesMix.xml b/src/test/resources/liquibase/ext/changelog.changeTypesMix.xml index 6f6f462c..89d3af90 100644 --- a/src/test/resources/liquibase/ext/changelog.changeTypesMix.xml +++ b/src/test/resources/liquibase/ext/changelog.changeTypesMix.xml @@ -1,13 +1,13 @@ - - + + { validator: { $jsonSchema: { @@ -52,12 +52,12 @@ validationAction: "warn", validationLevel: "strict" } - - + + - - + + { name: "Alice", year: NumberInt(2019), @@ -68,12 +68,12 @@ street: "33rd Street" } } - - + + - - + + [ { item: "journal", qty: NumberInt(25), size: { h: 14, w: 21, uom: "cm" }, instock: true }, { item: "notebook", qty: NumberInt(50), size: { h: 8.5, w: 11, uom: "in" }, instock: true }, @@ -83,48 +83,48 @@ { item: "apple", qty: NumberInt(45), status: "A", instock: true }, { item: "pears", qty: NumberInt(50), status: "A", instock: true } ] - - + + - - + + { cloneCollectionAsCapped: "inventory", toCollection: "capped_inventory", size: 100000, comment: "This is a capped collection" } - - + + - - + + [ { _id: 1, name: "Alto", color: "Red",cno: "H410",speed:40,mfdcountry: "India"}, { _id: 2, name: "Polo", color: "White",cno: "H411",speed:45,mfdcountry: "Japan" }, { _id: 3, name: "Audi", color: "Black",cno: "H412",speed:50,mfdcountry: "Germany" } ] - - + + - - + + { findAndModify: "car", query: { name: "Alto" }, sort: { cno: 1 }, update: { $inc: { speed: 10 } }, } - - + + - - + + { findAndModify: "car", query: { name: "HondaCity", color: "Silver", cno:"H415" ,speed: 25 }, @@ -133,7 +133,7 @@ upsert: true, new: true } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.changeTypesMix_rollback.xml b/src/test/resources/liquibase/ext/changelog.changeTypesMix_rollback.xml index bbb89e77..b86ba902 100644 --- a/src/test/resources/liquibase/ext/changelog.changeTypesMix_rollback.xml +++ b/src/test/resources/liquibase/ext/changelog.changeTypesMix_rollback.xml @@ -1,36 +1,36 @@ - - + + { drop: "students" } - - + + - - + + { drop: "inventory" } - - + + - - + + { drop: "capped_inventory" } - - + + - - + + { drop: "car" } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.create-collection.test.xml b/src/test/resources/liquibase/ext/changelog.create-collection.test.xml index 24883518..d1c8336e 100644 --- a/src/test/resources/liquibase/ext/changelog.create-collection.test.xml +++ b/src/test/resources/liquibase/ext/changelog.create-collection.test.xml @@ -20,13 +20,13 @@ - - + + { validator: { $jsonSchema: { @@ -47,18 +47,18 @@ validationAction: "warn", validationLevel: "strict" } - - + + - - + + - + - + - + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.create-index.test.xml b/src/test/resources/liquibase/ext/changelog.create-index.test.xml index ccc387e0..e71e9c87 100644 --- a/src/test/resources/liquibase/ext/changelog.create-index.test.xml +++ b/src/test/resources/liquibase/ext/changelog.create-index.test.xml @@ -20,26 +20,26 @@ - - + + { clientId: 1, type: 1} - - + + {unique: true, name: "ui_tppClientId"} - - + + - - + + { clientId: 1, type: 1} - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.create-users.test.xml b/src/test/resources/liquibase/ext/changelog.create-users.test.xml index 3a8f43e8..5d915a26 100644 --- a/src/test/resources/liquibase/ext/changelog.create-users.test.xml +++ b/src/test/resources/liquibase/ext/changelog.create-users.test.xml @@ -20,14 +20,14 @@ - - + + { createRole: "readRole", roles: [ @@ -35,11 +35,11 @@ ], privileges: [] } - - + + - - + + { createRole: "readWriteRole", roles: [ @@ -47,11 +47,11 @@ ], privileges: [] } - - + + - - + + { createRole: "appRole", roles: [ @@ -59,11 +59,11 @@ ], privileges: [] } - - + + - - + + { createRole: "deployRole", roles: [ @@ -71,15 +71,15 @@ ], privileges: [] } - - + + - - + + { createUser: "appUser", pwd: "changeit", @@ -88,11 +88,11 @@ ], mechanisms: ["SCRAM-SHA-256"] } - - + + - - + + { createUser: "deployUser", pwd: "changeit", @@ -101,9 +101,9 @@ ], mechanisms: ["SCRAM-SHA-256"] } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.drop-users.test.xml b/src/test/resources/liquibase/ext/changelog.drop-users.test.xml index cfd44e5e..79dd92c6 100644 --- a/src/test/resources/liquibase/ext/changelog.drop-users.test.xml +++ b/src/test/resources/liquibase/ext/changelog.drop-users.test.xml @@ -20,32 +20,32 @@ - - + + { dropAllUsersFromDatabase: 1 } - - + + - - + + { dropAllRolesFromDatabase: 1 } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.implicit-rollback.test.xml b/src/test/resources/liquibase/ext/changelog.implicit-rollback.test.xml index 7042dea3..5ada6199 100644 --- a/src/test/resources/liquibase/ext/changelog.implicit-rollback.test.xml +++ b/src/test/resources/liquibase/ext/changelog.implicit-rollback.test.xml @@ -20,33 +20,33 @@ - - + + - - + + { id: 1, type: 1} - - + + {unique: true, name: "ui_namedIndex1"} - - + + - - + + { id: 1, type: 1} - - + + {unique: true, name: "ui_namedIndex2"} - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.insert-many.test.xml b/src/test/resources/liquibase/ext/changelog.insert-many.test.xml index 4825fdbb..3642c847 100644 --- a/src/test/resources/liquibase/ext/changelog.insert-many.test.xml +++ b/src/test/resources/liquibase/ext/changelog.insert-many.test.xml @@ -20,22 +20,22 @@ - - + + [ { id: 2 }, { id: 3, address: { nr: 1, ap: 5} } ] - + - + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.insert-one.test.xml b/src/test/resources/liquibase/ext/changelog.insert-one.test.xml index 72f442c8..f77cc12c 100644 --- a/src/test/resources/liquibase/ext/changelog.insert-one.test.xml +++ b/src/test/resources/liquibase/ext/changelog.insert-one.test.xml @@ -20,70 +20,70 @@ - + - + { id: 111 } - + - + - + - + { id: 2 } - + - + - + - + { id: 3 } - + - + - + - + { id: 21323123 } - + - + - + - + { id: 321321313 } - + - + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.insert-precondition.test.xml b/src/test/resources/liquibase/ext/changelog.insert-precondition.test.xml index d54dfc02..96c81ed1 100644 --- a/src/test/resources/liquibase/ext/changelog.insert-precondition.test.xml +++ b/src/test/resources/liquibase/ext/changelog.insert-precondition.test.xml @@ -20,71 +20,71 @@ - + Will be SKIPPED due to precondition - + - + { info: "notExistsAnyDocumentInCollection1" } - + - + - + - + { id: 1 } - + - + - + Will be inserted due to existing documents - + - + { info: "existsAnyDocumentInCollection1" } - + - + - - + + { "$or" : @@ -93,29 +93,29 @@ ] } - - + + Will be SKIPPED due to not matching filter - + - + { info: "notMatchingFilterInCollection1" } - + - + - - + + { "$or" : @@ -124,22 +124,22 @@ ] } - - + + Will be inserted as filter matches - + - + { info: "filterMatchedInCollection1" } - + - + @@ -149,24 +149,24 @@ Will be inserted as out of the box precondition met - + - + { info: "changeSetExecutedMatch" } - + - + - - + + { "$or" : @@ -175,29 +175,29 @@ ] } - - + + Will not be inserted as filter not matches - + - + { info: "expectedDocumentCountFilterNotMatchedInCollection1" } - + - + - - + + { "$or" : @@ -206,63 +206,63 @@ ] } - - + + Will be inserted as filter matches - + - + { info: "expectedDocumentCountFilterMatchedInCollection1" } - + - + - + Will be inserted as collection exists - + - + { info: "expectedCollectionResultsExists" } - + - + - + Will be inserted as collection exists - + - + { info: "expectedCollectionResults1NotExists" } - + - + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.insert-tags.test.xml b/src/test/resources/liquibase/ext/changelog.insert-tags.test.xml index 3fb30c5b..941190ab 100644 --- a/src/test/resources/liquibase/ext/changelog.insert-tags.test.xml +++ b/src/test/resources/liquibase/ext/changelog.insert-tags.test.xml @@ -20,33 +20,33 @@ - - + + { info: "row1" } - - + + - - + + { delete: "results", deletes: [{q: {info: "row1"}, limit: 0}] } - - + + @@ -57,54 +57,54 @@ - - + + { info: "row3" } - - + + - - + + { delete: "results", deletes: [{q: {info: "row3"}, limit: 0}] } - - + + - - + + { info: "row4" } - - + + - - + + { delete: "results", deletes: [{q: {info: "row4"}, limit: 0}] } - - + + @@ -115,29 +115,29 @@ - - + + { info: "row6" } - - + + - - + + { delete: "results", deletes: [{q: {info: "row6"}, limit: 0}] } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.rollback-insert-many.test.xml b/src/test/resources/liquibase/ext/changelog.rollback-insert-many.test.xml index dab1423a..08d493d4 100644 --- a/src/test/resources/liquibase/ext/changelog.rollback-insert-many.test.xml +++ b/src/test/resources/liquibase/ext/changelog.rollback-insert-many.test.xml @@ -20,14 +20,14 @@ - - + + [ { id: 1 }, @@ -35,28 +35,28 @@ { id: 3 } ] - - + + - - + + { delete: "insertManyRollback1", deletes: [{q: {id : {$lt: 4}}, limit: 0}] } - - + + - - + + [ { id: 4 }, @@ -64,22 +64,22 @@ { id: 6 } ] - - + + - - + + { delete: "insertManyRollback1", deletes: [{q: {id : {$gt: 3}}, limit: 0}] } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/ext/changelog.run-command.test.xml b/src/test/resources/liquibase/ext/changelog.run-command.test.xml index b22208b2..da9a860f 100644 --- a/src/test/resources/liquibase/ext/changelog.run-command.test.xml +++ b/src/test/resources/liquibase/ext/changelog.run-command.test.xml @@ -20,32 +20,32 @@ - + - + { buildInfo: 1 } - + - + - + - + { buildInfo: 1 } - + - + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/adminCommand.xml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/adminCommand.xml index aab0272a..7ffa85fd 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/adminCommand.xml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/adminCommand.xml @@ -2,18 +2,18 @@ - - + + { buildInfo: 1 } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createCollection.xml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createCollection.xml index e7a44657..d3bbd9d6 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createCollection.xml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/createCollection.xml @@ -2,7 +2,7 @@ create_collection_comment - + - + \ 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 4d149e12..2486b7d5 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 @@ -2,7 +2,7 @@ - + - - + + [ { _id : "us", @@ -48,29 +48,29 @@ } } ] - - + + - - + + { delete: "countries", deletes: [ { q: { }, limit: 0 } ] } - - + + - - + + { name: 1, type: 1} - - + + {unique: true, name: "ui_countries"} - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/dropCollection.xml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/dropCollection.xml index 88e138e7..4bca0ee0 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/dropCollection.xml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/dropCollection.xml @@ -2,16 +2,16 @@ - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/dropIndex.xml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/dropIndex.xml index b0a40a03..dc65451e 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/dropIndex.xml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/dropIndex.xml @@ -2,7 +2,7 @@ - + - - + + [ { _id : "us", @@ -48,38 +48,38 @@ } } ] - - + + - - + + { delete: "countries", deletes: [ { q: { }, limit: 0 } ] } - - + + - - + + { name: 1, type: 1} - - + + {unique: true, name: "ui_countries"} - - + + - - + + { name: 1, type: 1} - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/insertMany.xml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/insertMany.xml index 49773378..c64dfe57 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/insertMany.xml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/insertMany.xml @@ -2,20 +2,20 @@ - + - - + + [ { _id : "us", @@ -47,19 +47,19 @@ } } ] - - + + - - + + { delete: "countries", deletes: [ { q: { }, limit: 0 } ] } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/insertOne.xml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/insertOne.xml index 89c7469f..5a3c3e0f 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/insertOne.xml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/insertOne.xml @@ -2,7 +2,7 @@ create_collection_comment - + - - + + { name: "New York", population: 222000000, @@ -26,19 +26,19 @@ party: "D" } } - - + + - - + + { delete: "towns", deletes: [{q: { name: "New York"}, limit: 1}] } - - + + - + \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/runCommand.xml b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/runCommand.xml index 58290eba..6ac4157b 100644 --- a/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/runCommand.xml +++ b/src/test/resources/liquibase/harness/compatibility/foundational/changelogs/nosql/runCommand.xml @@ -2,21 +2,21 @@ - - + + { buildInfo: 1 } - - + + - + \ No newline at end of file