Skip to content

Commit

Permalink
Switch to using C* 5.0 for testing & include vectors (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
msmygit authored Sep 18, 2024
1 parent 0bab9e9 commit 439af0b
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 2 deletions.
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release Notes
## [4.4.0] - 2024-09-19
- Added property `spark.cdm.connect.origin.tls.isAstra` and `spark.cdm.connect.target.tls.isAstra` to allow connecting to Astra DB without using [SCB](https://docs.datastax.com/en/astra-db-serverless/drivers/secure-connect-bundle.html). This may be needed for enterprises that may find credentials packaged within SCB as a security risk. TLS properties can now be passed as params OR wrapper scripts (not included) could be used to pull sensitive credentials from a vault service in real-time & pass them to CDM.
- Switched to using Apache Cassandra® `5.0` docker image for testing
- Introduces smoke testing of `vector` CQL data type

## [4.3.10] - 2024-09-12
- Added property `spark.cdm.trackRun.runId` to support a custom unique identifier for the current run. This can be used by wrapper scripts to pass a known `runId` and then use it to query the `cdm_run_info` and `cdm_run_details` tables.
Expand Down
1 change: 1 addition & 0 deletions SIT/cdm-assert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Missing Record Count: 0
Corrected Missing Record Count: 0
Valid Record Count: 3
Skipped Record Count: 0
Error Record Count: 0
---------------
EOF
Expand Down
2 changes: 1 addition & 1 deletion SIT/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fi
###
# These variables are hard-coded for now
SUBNET=$(echo ${CIDR} | cut -d. -f1-3)
CASS_VERSION=4
CASS_VERSION=5.0
CDM_VERSION=latest
#==============================================================================================================================
# Helper Functions
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Missing Record Count: 0
Corrected Missing Record Count: 0
Valid Record Count: 2
Skipped Record Count: 0
Error Record Count: 0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion SIT/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _usage() {
usage: $0 -p phase
Required
-p phase: one of {$PHASES}
-p phase: one of ${PHASES}
EOF
exit 1
Expand Down
15 changes: 15 additions & 0 deletions src/test/java/com/datastax/cdm/job/ConnectionFetcherTest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.datastax.cdm.job;

import static org.junit.jupiter.api.Assertions.assertEquals;
Expand Down

0 comments on commit 439af0b

Please sign in to comment.