-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ issue #10] Added maven profiles with Cassandra and Failsafe plugins
- Loading branch information
agazzarini
committed
Aug 19, 2014
1 parent
d36afd4
commit 171c1bd
Showing
14 changed files
with
404 additions
and
98 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
81 changes: 0 additions & 81 deletions
81
...sql-binding-cassandra/src/test/java/org/gazzax/labs/jena/nosql/cassandra/ExampleTest.java
This file was deleted.
Oops, something went wrong.
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
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
46 changes: 46 additions & 0 deletions
46
jena-nosql-framework/src/test/resources/jena-nosql-default.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
########################################## | ||
## JENA-NOSQL default configuration ## | ||
########################################## | ||
|
||
# Cassandra nodes (comma seperated) actings as initial contact points | ||
cassandra-contact-points: "localhost" | ||
cassandra-keyspace: "C2XDB" | ||
|
||
cassandra-connect-timeout-millis: 5000 | ||
cassandra-read-timeout-millis: 12000 | ||
#cassandra-keep-alive: true | ||
#cassandra-reuse-address: true | ||
#cassandra-receive-buffer-size: 1000 | ||
#cassandra-so-linger: 1000 | ||
#cassandra-tcp-no-delay: false | ||
|
||
#cassandra-consistency-level: "ONE" | ||
#cassandra-serial-consistency-level: "SERIAL" | ||
#cassandra-fetch-size: 100 | ||
|
||
# Datastax driver retry policy | ||
#cassandra-retry-policy: "<class name>" | ||
|
||
# Datastax driver load balancing policy | ||
#cassandra-load-balancing-policy: "<class name>" | ||
|
||
# Datastax driver reconnection policy | ||
#cassandra-reconnection-policy: "<class name>" | ||
|
||
# Datastax driver compression to use for the transport | ||
#cassandra-transport-compression: "NONE" | ||
|
||
# Datastac pooling connection options | ||
#cassandra-local-core-connections-per-host: 10 | ||
#cassandra-local-max-connections-per-host: 10 | ||
#cassandra-local-max-simultaneous-request-per-connection-threshold: 10 | ||
#cassandra-local-min-simultaneous-request-per-connection-threshold: 10 | ||
#cassandra-remote-core-connections-per-host: 10 | ||
#cassandra-remote-max-connections-per-host: 10 | ||
#cassandra-remote-max-simultaneous-request-per-connection-threshold: 10 | ||
#cassandra-remote-min-simultaneous-request-per-connection-threshold: 10 | ||
|
||
cassandra-replication-factor: 1 | ||
cassandra-read-consistency: "ONE" | ||
cassandra-write-consistency: "ONE" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<artifactId>jena-nosql</artifactId> | ||
<groupId>org.gazzax.labs</groupId> | ||
<version>1.0</version> | ||
<relativePath>..</relativePath> | ||
</parent> | ||
<artifactId>jena-nosql-integration-tests</artifactId> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
<version>2.6</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>integration-test</goal> | ||
<goal>verify</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<profiles> | ||
<profile> | ||
<id>cassandra-2x</id> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.gazzax.labs</groupId> | ||
<artifactId>jena-nosql-binding-cassandra</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>cassandra-maven-plugin</artifactId> | ||
<version>2.0.0-1</version> | ||
<configuration> | ||
<startNativeTransport>true</startNativeTransport> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>start</goal> | ||
<goal>stop</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.gazzax.labs</groupId> | ||
<artifactId>jena-nosql-framework</artifactId> | ||
<version>1.0</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
Oops, something went wrong.