Added the consistency module. It adds a SQL database that is used as part of an oracle to determine if, after the migrations executed in the script module, the Cassandra database maintains data integrity #28
The main class of this module is the "Oracle" class, which contains the methods that initiate the comparison between databases as well as the methods needed to first populate the Cassandra database with data from the SQL database that ensures that the Cassandra database.
Right now this branch adds all the code and files needed to verify data integrity for the test case "testCustomV1NewColumn" where a new column is added to a table and data is migrated to this column from another table.
Things to improve when adding more test cases to the module:
Alternative way for the addition of the SQL queries that are used to obtain the projections of the databases. Right now they are hardcodded in the test case.
Better feedback from the oracle when an inconsistency is detected.
Added the consistency module. It adds a SQL database that is used as part of an oracle to determine if, after the migrations executed in the script module, the Cassandra database maintains data integrity #28
The main class of this module is the "Oracle" class, which contains the methods that initiate the comparison between databases as well as the methods needed to first populate the Cassandra database with data from the SQL database that ensures that the Cassandra database.
Right now this branch adds all the code and files needed to verify data integrity for the test case "testCustomV1NewColumn" where a new column is added to a table and data is migrated to this column from another table.
Things to improve when adding more test cases to the module: