Skip to main content

Chaos Toolkit Gremlin, YY. support

Project description

# chaostoolkit-gremlin-yy

[![Build Status](https://travis-ci.org/chaostoolkit/chaostoolkit-gremlin.svg?branch=master)](https://travis-ci.org/chaostoolkit/chaostoolkit-gremlin)

[Gremlin, Inc][gremlin] support for the [Chaos Toolkit][chaostoolkit].

[gremlin]: https://github.com/beingcoder/chaostoolkit-gremlin [gremlin]: https://www.gremlin.com/ [chaostoolkit]: http://chaostoolkit.org/

## Install

To be used from your experiment, this package must be installed in the Python environment where [chaostoolkit][] already lives.

[chaostoolkit]: https://github.com/chaostoolkit/chaostoolkit

` $ pip install chaostoolkit-gremlin-yy `

## Usage

To use this package, you must create an account with [Gremlin, Inc][gremlin]. Once registered, create a new organisation (formerly known as team). You may have to ask your Gremlin administrator to do this for you.

Once this is done, you must set the following environmental variables so the Chaos Toolkit can pick up them:

  • team_id: the email used to register to Gremlin and associated to that organisation

  • api_key: your api key

Note that 2FA is not yet implemented in this package.

Next you need to specify to load those variables and inject them into this package’s activities. At the top of the experiment file, add the following object under secret:

api_key: api_key_value team_id: team_id_value

Finally, in all activities where you call a function from this package, make sure to add the following property:

json “secrets”: [“gremlin”]

## Contribute

If you wish to contribute more functions to this package, you are more than welcome to do so. Please, fork this project, make your changes following the usual [PEP 8][pep8] code style, sprinkling with tests and submit a PR for review.

[pep8]: https://pycodestyle.readthedocs.io/en/latest/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

chaostoolkit_gremlin_yy-0.3.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file chaostoolkit_gremlin_yy-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: chaostoolkit_gremlin_yy-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for chaostoolkit_gremlin_yy-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1db85b4b872bd54c20326dcfedbe3dce6d829fb262b138c9a5be5a4a51cd711
MD5 c3764094fb91f6dab26690a9f52e5d3d
BLAKE2b-256 311ac66ed58e49da35dbbc46d49118233bf54d08a6ea0f97432ab86dfd607db4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page