Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smok-serwis/wait-for-cassandra
A tool to wait until a given Cassandra instance is up and running
https://github.com/smok-serwis/wait-for-cassandra
Last synced: 6 days ago
JSON representation
A tool to wait until a given Cassandra instance is up and running
- Host: GitHub
- URL: https://github.com/smok-serwis/wait-for-cassandra
- Owner: smok-serwis
- License: mit
- Created: 2020-04-01T20:21:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-27T13:56:08.000Z (about 4 years ago)
- Last Synced: 2024-11-08T22:56:48.851Z (about 2 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
wait-for-cassandra
==================[![Build Status](https://travis-ci.org/smok-serwis/wait-for-cassandra.svg)](https://travis-ci.org/smok-serwis/wait-for-cassandra)
[![PyPI](https://img.shields.io/pypi/pyversions/wait-for-cassandra.svg)](https://pypi.python.org/pypi/wait-for-cassandra)
[![PyPI version](https://badge.fury.io/py/wait-for-cassandra.svg)](https://badge.fury.io/py/wait-for-cassandra)
[![PyPI](https://img.shields.io/pypi/implementation/wait-for-cassandra.svg)](https://pypi.python.org/pypi/wait-for-cassandra)This is a quick'n'dirty utility to wait for a Cassandra instance
to become available. This proves to be an issue in CI development,
where jobs that are tested for Cassandra need to wait for it
to become available. Well, no problem with that!# Installation
`pip install wait-for-cassandra`
# Usage
`wait-for-cassandra `
Default hostname is localhost, and default timeout is 5 minutes
(300 seconds).If you need to specify an user and a password, call this tool like this:
`wait-for-cassandra `
## Executing specified CQL
If you want to load a CQL file, just use:
`wait-for-cassandra -l ...`
## Changelog## v1.9:
* added -q : the quiet switch