0.1.0 • Published 4 years ago

chaosblade-exec-common v0.1.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
4 years ago

chaosblade-exec-nodejs

GitHub Build Status codecov

Chaos engineering experiment injection tool for nodejs applications.

chaosblade-exec-service

A http service that handles web console or cli communication compatible with the chaosblade specification.

Installation

$ npm install chaosblade-exec-service --save

Node.js >= 10.16.0 required.

Getting Started

Typescript Code:

import { ChaosbladeServer } from 'chaosblade-exec-service';

const server = new ChaosbladeServer();

// start server
await server.start();

// stop server
await server.stop();

Server Options

interface ServiceOptions {
  host?: string; // host to bind
  port?: number; // port to bind
  prefix?: string; // request path prefix
}

chaosblade-exec-common

Chaosblade Node.js executor core logic, including fault injection description and common fault injection implementation, can customize the required fault types through extension.

Installation

$ npm install chaosblade-exec-common --save

Node.js >= 10.16.0 required.

chaosblade-exec-bootstrap

Start and load chaosblade service and fault module Please look forward...

chaosblade-exec-plugin

Implementation of fault injection for common middleware. Please look forward...

Contributors

Please let us know how can we help. Do check out issues for bug reports or suggestions first.

To become a contributor, please follow our contributing guide.