eventgenerator/

directory
v0.0.0-...-81a4f0c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0

README

Data Aggregator

Data Aggregator is one of the components of CF app-autoscaler.

Getting started

System requirements:
  • Go 1.11 or above
Build and test
  1. clone app-autoscaler project: git clone https://github.com/cloudfoundry-incubator/app-autoscaler.git
  2. change directory to app-autoscaler
  3. run source .envrc
  4. pull the submodules : git submodule update --init --recursive
  5. change directory to eventgenerator root path : autoscaler/src/autoscaler/eventgenerator
  6. build the project: `go install ./...
  7. run unit test:
  8. download and install postgreSQL
  9. initialize the database, see README of the project
  10. install ginko: go install github.com/onsi/ginkgo/ginkgo
  11. set environment variable $DBURL, e.g. export DBURL=postgres://postgres:postgres@localhost/autoscaler?sslmode=disable
  12. run tests: ginkgo -r -race

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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