-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cassandra Driver Config Loader for Cassandra Driver Config in GCS #2077
Cassandra Driver Config Loader for Cassandra Driver Config in GCS #2077
Conversation
5f15087
to
093e8a7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2077 +/- ##
============================================
+ Coverage 46.35% 54.31% +7.95%
+ Complexity 3932 1545 -2387
============================================
Files 858 391 -467
Lines 51259 21402 -29857
Branches 5391 2145 -3246
============================================
- Hits 23763 11625 -12138
+ Misses 25783 9085 -16698
+ Partials 1713 692 -1021
|
87402e0
to
3275661
Compare
3275661
to
b1bcd9c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments. Looks fine overall.
.../java/com/google/cloud/teleport/v2/spanner/migrations/utils/CassandraDriverConfigLoader.java
Outdated
Show resolved
Hide resolved
.../java/com/google/cloud/teleport/v2/spanner/migrations/utils/CassandraDriverConfigLoader.java
Outdated
Show resolved
Hide resolved
.../java/com/google/cloud/teleport/v2/spanner/migrations/utils/CassandraDriverConfigLoader.java
Outdated
Show resolved
Hide resolved
.../java/com/google/cloud/teleport/v2/spanner/migrations/utils/CassandraDriverConfigLoader.java
Outdated
Show resolved
Hide resolved
b1bcd9c
to
56878f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Removed * * Create README.md for UDF samples (GoogleCloudPlatform#2083) This commit adds a README.md file to the directory. The README file provides descriptions for each of the sample Javascript UDF files in the directory, including their purpose and usage examples. Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> * CassandraDriverConfigLoader from GCS (GoogleCloudPlatform#2077) * Added Config File Path * Added Fix for Loading Driver Options * Added Dependecy Fixes * Fix UT --------- Co-authored-by: liferoad <huxiangqian@gmail.com> Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> Co-authored-by: Vardhan Vinay Thigle <39047439+VardhanThigle@users.noreply.github.com>
* Removed * * Create README.md for UDF samples (GoogleCloudPlatform#2083) This commit adds a README.md file to the directory. The README file provides descriptions for each of the sample Javascript UDF files in the directory, including their purpose and usage examples. Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> * CassandraDriverConfigLoader from GCS (GoogleCloudPlatform#2077) * Added Config File Path * Added Fix for Loading Driver Options * Added Dependecy Fixes * Fix UT --------- Co-authored-by: liferoad <huxiangqian@gmail.com> Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> Co-authored-by: Vardhan Vinay Thigle <39047439+VardhanThigle@users.noreply.github.com>
Co-authored-by: Narendra Rajput <narendra.rajput@ollion.com> Cassandra metadata PR To accomodate Driver Loader Class (#33) * Removed * * Create README.md for UDF samples (GoogleCloudPlatform#2083) This commit adds a README.md file to the directory. The README file provides descriptions for each of the sample Javascript UDF files in the directory, including their purpose and usage examples. Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> * CassandraDriverConfigLoader from GCS (GoogleCloudPlatform#2077) * Added Config File Path * Added Fix for Loading Driver Options * Added Dependecy Fixes * Fix UT --------- Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> Co-authored-by: Vardhan Vinay Thigle <39047439+VardhanThigle@users.noreply.github.com>
Co-authored-by: Narendra Rajput <narendra.rajput@ollion.com> Cassandra metadata PR To accomodate Driver Loader Class (#33) * Removed * * Create README.md for UDF samples (GoogleCloudPlatform#2083) This commit adds a README.md file to the directory. The README file provides descriptions for each of the sample Javascript UDF files in the directory, including their purpose and usage examples. Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> * CassandraDriverConfigLoader from GCS (GoogleCloudPlatform#2077) * Added Config File Path * Added Fix for Loading Driver Options * Added Dependecy Fixes * Fix UT --------- Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> Co-authored-by: Vardhan Vinay Thigle <39047439+VardhanThigle@users.noreply.github.com>
* Added Connection Helper * Added Formatter * Added File Reader * Refectored * Added Changes for Schema and Spanner Schema * Added Schema Changes to read Spanner Table in Schema object * Added Schema Changes * Added Changes for Schma * Added Source Writn Fn Changes * Added Source Factory Changes * Added Fixed for the Source factory and Casssandra Connection helper * Added Cassandra Schema Reader * Added Pipeline Process * Removed Unwanted Validation * Added Access validator * removed unwanted Return * Added Thread safe optimization in cassandra Connection helper * Applied spotless:apply * spotless:apply * Added Constructor for Test case * Added DUMMY Generator For UT * Fixed UT for Metadata config (#30) Co-authored-by: Narendra Rajput <narendra.rajput@ollion.com> Cassandra metadata PR To accomodate Driver Loader Class (#33) * Removed * * Create README.md for UDF samples (#2083) This commit adds a README.md file to the directory. The README file provides descriptions for each of the sample Javascript UDF files in the directory, including their purpose and usage examples. Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> * CassandraDriverConfigLoader from GCS (#2077) * Added Config File Path * Added Fix for Loading Driver Options * Added Dependecy Fixes * Fix UT --------- Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> Co-authored-by: Vardhan Vinay Thigle <39047439+VardhanThigle@users.noreply.github.com> * PR Review Comments (#35) * Convert it to builder Pattern * Convert Waring to Error * remove the unwanted comments * Removed Unwanted options * Address the PR * Address the PR Comments * Added Missing Getter for Configuration * Address to removed configuration changes * removed unwanted getters * Removal of getter from cassandra dao and test case fixes * Handle Optionmap in cassandra DAO for serialization * removed dependecy of getKeyOrder * Removed And Update Exception * Fix Checkstyle Voilation * Missing UT Added (#37) * Added Dummy Test case * Removed * from import * removed unwanted * Added Fixes * Added test case and fixes * Added Some more PR comments * Added Test case for Cassandra Reader * Added New testcase * Added Dependecny * Update test case and remove Dependency of Jupiter (#39) * Update test case and remove Dependecy of jupiter * Added UT fixes * Added Missing Getter for Configuration * [Sourcedb-to-spanner] Bulk migration Mysql to spanner 1tb Load test (#2063) * [Sourcedb-to-spanner] Bulk migration Mysql to spanner 1tb Load test * Updating row counts, added static sql resources * Renaming the test and addressing comments * PipelineController Changes for Cassandra (#2086) * Fix Spanner Load tests and add display test report (#2092) * correcting lt failures * Adding test report * Meta code coverage (#41) Meta code coverage * Pr bug fixes (#42) * Schema Reader Optimization (#43) * Added Pr Fix related to Changes Year in Javadoc * Address the revert of 2025 and removal of extra constructor * Added Extra Testcase to reach target patch --------- Co-authored-by: taherkl <taher.lakdawala@ollion.com> Co-authored-by: Taher Lakdawala <78196491+taherkl@users.noreply.github.com> Co-authored-by: pawankashyapollion <v-pawan.kumar@ollion.com> Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> Co-authored-by: Vardhan Vinay Thigle <39047439+VardhanThigle@users.noreply.github.com> Co-authored-by: darshan-sj <darshan-sj@users.noreply.github.com>
Overview
Testing