Skip to content

dougstowell/training-toxiproxy-demo

Repository files navigation

toxiproxy-demo

Rudimentary Spring Boot app that does nothing of interest, but allows demonstation of the following tech.

  • Localstack
  • Toxiproxy
  • Cucumber

Getting Started

  1. Start the containers docker compose up --build -d
  2. Create the S3 bucket docker exec toxiproxy-demo-localstack awslocal s3api create-bucket --bucket toxiproxy-demo --create-bucket-configuration LocationConstraint=eu-west-2
  3. Set ENV VAR AWS_ACCESS_KEY_ID
  4. Set ENV VAR AWS_SECRET_ACCESS_KEY
  5. Create a new document on S3 curl POST http://localhost:8080/api/v1/toxiproxy-demo/create
  6. View the document added to cache curl GET http://localhost:8080/api/v1/toxiproxy-demo/cache
  7. Resrt the contents of the cache curl POST http://localhost:8080/api/v1/toxiproxy-demo/reset

About

Training demo to illustrate Toxiproxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages