tps

module
v0.0.0-...-f79c404 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0

README

tps

Note: This repository should be imported as code.cloudfoundry.org/tps.

Note: The tps listener has been removed, its functionality is in cloud_controller_ng

the process status reporter

Running Unit Tests

Running TPS specs locally requires postgres running with the correct configuration.

  1. Install Postgres (version 9.4 or higher is required):
$ brew install postgresql

By default, brew installs Postgres to use /usr/local/var/postgres as its data directory, and the instructions below assume that.

  1. Run postgres in daemon mode:
$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
  1. Create the locket database with a specific user

Enter locket_pw when prompted for the user's password.

$ createdb locket
$ createuser -d -P -r -s locket

The specs also require that the locket binary is on the $PATH.

Resources

Learn more about Diego and its components at diego-design-notes

Directories

Path Synopsis
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
cmd

Jump to

Keyboard shortcuts

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