Skip to content

Latest commit

 

History

History
executable file
·
34 lines (26 loc) · 767 Bytes

File metadata and controls

executable file
·
34 lines (26 loc) · 767 Bytes

groovy-cli-bazel-postgres-procedure

Description

Creates a small database table called dog with an insert update delete after triggers. The trigger function fn_trigger calls sp_rolling_audit that remmoves old entries.

All output normally seen in a terminal will be in java-srv/log which will dump to the screen. The project may seem to hang but the logs from the container must be written to the project this can take up to 3 min.

Tech stack

  • groovy
  • bazel
    • log4j
    • postgres driver

Docker stack

  • l.gcr.io/google/bazel:latest
  • postgres

To run

sudo ./install.sh -u Creates java-srv/log

To stop

sudo ./install.sh -d Removes java-srv/log

For help

sudo ./install.sh -h

Credit

https://github.com/htorun/dbtableprinter