Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Removed harry-core dependency on the in in-jvm dtest libs (cassandra-…
…dtest-shaded and dtest-api); Moved in-jvm tests to the harry-integration module; Created a new module: harry-integration-external for connections with external clusters.
- Loading branch information
Showing
7 changed files
with
117 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Licensed to the Apache Software Foundation (ASF) under one | ||
~ or more contributor license agreements. See the NOTICE file | ||
~ distributed with this work for additional information | ||
~ regarding copyright ownership. The ASF licenses this file | ||
~ to you 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. | ||
--> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<packaging>jar</packaging> | ||
|
||
<parent> | ||
<groupId>org.apache.cassandra</groupId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<artifactId>harry-parent</artifactId> | ||
</parent> | ||
|
||
<artifactId>harry-integration-external</artifactId> | ||
<name>Harry Integration - External</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.cassandra</groupId> | ||
<artifactId>harry-core</artifactId> | ||
<version>${project.parent.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.quicktheories</groupId> | ||
<artifactId>quicktheories</artifactId> | ||
<version>0.25</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -30,7 +30,7 @@ | ||
</parent> | ||
|
||
<artifactId>harry-integration</artifactId> | ||
<name>Harry Integration</name> | ||
<name>Harry Integration - InJVM</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,53 @@ | ||
# | ||
# Warning! | ||
# Consider the effects on 'o.a.c.i.s.LegacySSTableTest' before changing schemas in this file. | ||
# | ||
cluster_name: Test Cluster | ||
# memtable_allocation_type: heap_buffers | ||
memtable_allocation_type: offheap_objects | ||
commitlog_sync: batch | ||
commitlog_sync_batch_window_in_ms: 1.0 | ||
commitlog_segment_size_in_mb: 5 | ||
commitlog_directory: build/test/cassandra/commitlog | ||
# commitlog_compression: | ||
# - class_name: LZ4Compressor | ||
cdc_raw_directory: build/test/cassandra/cdc_raw | ||
cdc_enabled: false | ||
hints_directory: build/test/cassandra/hints | ||
partitioner: org.apache.cassandra.dht.ByteOrderedPartitioner | ||
listen_address: 127.0.0.1 | ||
storage_port: 7012 | ||
ssl_storage_port: 7011 | ||
start_native_transport: true | ||
native_transport_port: 9042 | ||
column_index_size_in_kb: 4 | ||
saved_caches_directory: build/test/cassandra/saved_caches | ||
data_file_directories: | ||
- build/test/cassandra/data | ||
disk_access_mode: mmap | ||
seed_provider: | ||
- class_name: org.apache.cassandra.locator.SimpleSeedProvider | ||
parameters: | ||
- seeds: "127.0.0.1:7012" | ||
endpoint_snitch: org.apache.cassandra.locator.SimpleSnitch | ||
dynamic_snitch: true | ||
server_encryption_options: | ||
internode_encryption: none | ||
keystore: conf/.keystore | ||
keystore_password: cassandra | ||
truststore: conf/.truststore | ||
truststore_password: cassandra | ||
incremental_backups: true | ||
concurrent_compactors: 4 | ||
compaction_throughput_mb_per_sec: 0 | ||
row_cache_class_name: org.apache.cassandra.cache.OHCProvider | ||
row_cache_size_in_mb: 16 | ||
enable_user_defined_functions: true | ||
enable_scripted_user_defined_functions: true | ||
prepared_statements_cache_size_mb: 1 | ||
corrupted_tombstone_strategy: exception | ||
stream_entire_sstables: true | ||
stream_throughput_outbound_megabits_per_sec: 200000000 | ||
enable_sasi_indexes: true | ||
enable_materialized_views: true | ||
file_cache_enabled: true |