collector

command module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

collector

A Go-based endpoint for collecting TNF logs

Goals for this project

  • Go HTTP web backend application that will accept incoming requests from TNF runs.
  • Parse the incoming requests (JSON payloads).
  • Place the results into a database to aggregate results into statistics.

Instructions for Running Locally

Use the following Make commands to build the collector container locally:

Prerequisites
  • Docker or Podman
Commands

Build the image:

  • make build-image-local

Run the application via container:

  • make run-collector or make run-collector-headless

Cleanup after:

  • make stop-collector

Instructions for running send-to-collector.sh

From collector's repo root directory, use the following command:

./send-to-collector.sh "path/to/claim.json" "enter_executed_by" "enter_partner_name(optional)" "enter_password(optinal)"

Instructions for running get-from-collector.sh

From collector's repo root directory, use the following command:

./get-from-collector.sh "enter_partner_name" "enter_password"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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