Cassandra Migration

Database migration tool for Cassandra

License

License

Categories

Categories

Cassandra Data Databases
GroupId

GroupId

com.hhandoko
ArtifactId

ArtifactId

cassandra-migration
Last Version

Last Version

0.17
Release Date

Release Date

Type

Type

jar
Description

Description

Cassandra Migration
Database migration tool for Cassandra
Project URL

Project URL

https://github.com/hhandoko/cassandra-migration
Source Code Management

Source Code Management

https://github.com/hhandoko/cassandra-migration

Download cassandra-migration

How to add to project

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

Dependencies

compile (6)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.0.7
org.slf4j : slf4j-api Optional jar 1.7.25
commons-logging : commons-logging Optional jar 1.2
com.datastax.cassandra : cassandra-driver-core jar 3.3.2
com.typesafe : config jar 1.2.1
io.github.config4k : config4k jar 0.3.0

test (8)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 2.7.22
com.nhaarman : mockito-kotlin jar 1.4.0
org.hamcrest : hamcrest-junit jar 2.0.0.0
com.github.stefanbirkner : system-rules jar 1.17.1
org.cassandraunit : cassandra-unit jar 3.3.0.2
io.kotlintest : kotlintest jar 1.3.5
org.jetbrains.kotlin : kotlin-test-junit jar 1.0.7

Project Modules

There are no modules declared in this project.

License Master Build Status Maven Central Downloads Downloads

Cassandra Migration

cassandra-migration is a simple and lightweight Apache Cassandra database schema migration tool.

It is a Kotlin fork of Contrast Security's Cassandra Migration project, which has been manually re-based to closely follow Axel Fontaine / BoxFuse Flyway project.

It is designed to work similar to Flyway, supporting plain CQL and Java-based migrations. Both CQL execution and Java migration interface uses DataStax's Cassandra Java driver.

Limitations

The tool does not roll back the database upon migration failure. You're expected to manually restore from backup.

Resources

Refer to the Project Wiki for the full documentation.

Contributing

We follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Commit changes to a branch in your fork (use snake_case convention):
    • For technical chores, use chore/ prefix followed by the short description, e.g. chore/do_this_chore
    • For new features, use feature/ prefix followed by the feature name, e.g. feature/feature_name
    • For bug fixes, use bug/ prefix followed by the short description, e.g. bug/fix_this_bug
  3. Ensure relevant test(s) are added: for bugs, or if existing behaviour are changed or updated
  4. Rebase or merge from "upstream"
  5. Submit a PR "upstream" with your changes

Please read CONTRIBUTING for more details.

License

  Copyright (c) 2016 - 2018 cassandra-migration Contributors

  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.

cassandra-migration project is released under the Apache 2 license. See the LICENSE file for further details.

Contrast Security's Cassandra Migration project is released under the Apache 2 license. See Contrast Security Cassandra Migration project license page for further details.

Flyway project is released under the Apache 2 license. See Flyway's project license page for further details.

Versions

Version
0.17
0.16
0.15
0.14
0.13
0.12.1
0.12