core

Simple plugin for starting an embedded Cassandra instance from SBT

License

License

Categories

Categories

Cassandra Data Databases
GroupId

GroupId

com.47deg
ArtifactId

ArtifactId

embedded-cassandra-core_2.12
Last Version

Last Version

0.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

core
Simple plugin for starting an embedded Cassandra instance from SBT
Project URL

Project URL

https://github.com/47degrees/sbt-embedded-cassandra
Project Organization

Project Organization

47 Degrees Open Source
Source Code Management

Source Code Management

https://github.com/47degrees/sbt-embedded-cassandra

Download embedded-cassandra-core_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.47deg/embedded-cassandra-core_2.12/ -->
<dependency>
    <groupId>com.47deg</groupId>
    <artifactId>embedded-cassandra-core_2.12</artifactId>
    <version>0.0.7</version>
</dependency>
// https://jarcasting.com/artifacts/com.47deg/embedded-cassandra-core_2.12/
implementation 'com.47deg:embedded-cassandra-core_2.12:0.0.7'
// https://jarcasting.com/artifacts/com.47deg/embedded-cassandra-core_2.12/
implementation ("com.47deg:embedded-cassandra-core_2.12:0.0.7")
'com.47deg:embedded-cassandra-core_2.12:jar:0.0.7'
<dependency org="com.47deg" name="embedded-cassandra-core_2.12" rev="0.0.7">
  <artifact name="embedded-cassandra-core_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.47deg', module='embedded-cassandra-core_2.12', version='0.0.7')
)
libraryDependencies += "com.47deg" % "embedded-cassandra-core_2.12" % "0.0.7"
[com.47deg/embedded-cassandra-core_2.12 "0.0.7"]

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.11
com.47deg : org-policies-core_2.12 jar 0.13.3
com.datastax.cassandra : cassandra-driver-core jar 3.6.0
org.apache.cassandra : cassandra-all jar 3.11.6

Project Modules

There are no modules declared in this project.

Maven Central License GitHub Issues

sbt-embedded-cassandra

sbt-embedded-cassandra is an SBT plugin that allows to you to start an embedded Cassandra instance.

The goal of this project is to provide a way to add integration tests using Cassandra, supporting the latest versions and keeping the plugin simple as possible.

Usage

Add to plugins.sbt

addSbtPlugin("com.47deg" % "sbt-embedded-cassandra" % "0.0.7")

Start Cassandra from SBT

> embeddedCassandraStart

Customization

  • embeddedCassandraWorkingDirectorySetting: File: Output directory for Cassandra. target/Cassandra by default.

  • embeddedCassandraPropertiesSetting: Map[String, String]: Properties to replace in the cassandra.yml template. Internally, the plugin will add a new property to the map named workingDirectory with the value of the previous setting.

  • embeddedCassandraConfigFileSetting: Option[File]: Defines a custom template config file, None by default. When this setting is None it will use the following template from the resources

  • embeddedCassandraCQLFileSetting: Option[File]: Defines a CQL file with statements ended with ; that will be executed after starting the service.

Supported Cassandra version

Currently, the plugin uses the version 3.9 of cassandra-all library. Take a look to the issues to stay informed about latest improvements and limitations.

sbt-embedded-cassandra in the wild not found

If you wish to add your library here please consider a PR to include it.

Copyright

sbt-embedded-cassandra is designed and developed by 47 Degrees

Copyright (C) 2017-2018 47 Degrees. http://47deg.com

com.47deg

47 Degrees Open Source

47 Degrees Open Source Initiatives

Versions

Version
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3