Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bearddan2000/groovy-cli-gradle-dolt-trigger

Creates a small database table
https://github.com/bearddan2000/groovy-cli-gradle-dolt-trigger

cli dolt driver gradle groovy log4j trigger

Last synced: 6 days ago
JSON representation

Creates a small database table

Awesome Lists containing this project

README

        

# groovy-cli-gradle-dolt-trigger

## Description
Creates a small database table
called `dog` with an `insert after` trigger.
The trigger function `ins_dog_trigger` calls `sp_rolling_audit`
that remmoves old entries.

All output normally
seen in a terminal will be in `groovy-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
- gradle
- log4j
- dolt driver

## Docker stack
- dolthub/dolt-sql-serverdb:latest
- gradle:jdk11

## To run
`sudo ./install.sh -u`
Creates groovy-srv/log

## To stop
`sudo ./install.sh -d`
Removes groovy-srv/log

## For help
`sudo ./install.sh -h`