Skip to content

This repo demonstrates how to create traffic-inferred tests, contracts, mocks and observability that represent real-life application behavior.

License

Notifications You must be signed in to change notification settings

up9inc/consul-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use UP9 & Consul to infer tests, mocks & observability from traffic

This repo demonstrates how to create traffic-inferred tests, contracts, mocks, and observability that represent real-life application behavior.

It includes:

Requirements

  • An UP9 account - If you don't have one already, you can sign up for free here: https://up9.app/signup
  • UP9 CLI - npm install -g up9
  • Docker-compose

Steps

  • Log in to your UP9 account on https://up9.com/.
  • Authenticate your UP9 CLI - In your terminal window - up9 auth:login
  • Create the necessary Envoy configuration files: up9 tap:create-docker-compose-consul 19001 <give-it-a-name>
  • Run docker-compose -f docker-compose.yaml -f docker-compose-up9.yaml up

Using the apps

Architecture

UP9 uses Envoy configuration to subscribe and unsubscribe to traffic events. UP9 observes traffic and infers tests, contracts, mocks, and observability.

A Consul Connect sidecar (with Envoy proxy) is attached to each service and is controlled by the Consul Server.
Envoy proxies enforce mTLS communication by authorized clients only to enforce secure communication in the service mesh. architecture

Screenshots

Observability Service-Contracts Traffic Viewer Machine-generated Test code Consul

About

This repo demonstrates how to create traffic-inferred tests, contracts, mocks and observability that represent real-life application behavior.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages