Skip to content

hitchtest/hitchserve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HitchServe

HitchServe is a UNIX service orchestration plugin for the Hitch testing framework.

Features

  • Start a group of services in parallel by using a simple, declarative API.
  • Aggregates logs from all the services it runs and prints them together, labeled.
  • Provides API to print logs, tail logs as well as to tail service logs and 'listen' for specific lines.
  • Provides an API to auto-convert JSON log lines into JSON and to tail and listen for specific properties.
  • Asks politely first with a configurable signal (default: SIGTERM) to shut down services.
  • If the shutdown timeout is exceeded, sends SIGKILL to any misbehaving processes and all of their children and grandchildren.
  • Runs services with libfaketime and provides an API to change the time sent to their APIs.
  • Provides an API call to listen for and connect to any process's IPython kernel.

Install

Install into a hitch environment like so:

$ hitch install hitchserve

Docs

About

Service orchestration library for the Hitch testing framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages