cf-chaos-loris-broker

command module
v0.0.0-...-f38afdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

README

cf-chaos-loris-broker

See this doc for details about schedule option.

Chaos Loris Repo.

Chaos Loris API Docs.

Algorithm
  • Create Service Instance: create a scheduler, save ServiceInstance to db with scheduler and probobility from a plan
  • Delete Service Instance: delete a scheduler and all chaoses, remove ServiceInstance from db
  • Create Service Bind: create an app, create a chaos with , scheduler url and probo, remove ServiceInstance from db
Note

To debug chaos-loris you can use following commands:

cf set-env chaos-loris JAVA_OPTS -Dlogging.level.org.springframework=TRACE
cf restart chaos-loris

ALTER TABLE application DROP UNIQUE application_id;

curl -k 'https://chaos-loris.appshaoses' -i -X POST -H 'Content-Type: application/json' -d '{
  "schedule" : "https://chaos-loris.apps.wdc1.itcna.vmware.com/schedules/23",
  "application" : "https://chaos-loris.apps.wdc1.itcna.vmware.com/applications/1",
  "probability" : 0.1
}'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL