Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bearddan2000/groovy-cli-maven-dolt-trigger
Creates a small database table
https://github.com/bearddan2000/groovy-cli-maven-dolt-trigger
cli dolt driver groovy log4j maven trigger
Last synced: 26 days ago
JSON representation
Creates a small database table
- Host: GitHub
- URL: https://github.com/bearddan2000/groovy-cli-maven-dolt-trigger
- Owner: bearddan2000
- Created: 2023-10-30T15:18:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-30T15:18:47.000Z (about 1 year ago)
- Last Synced: 2024-09-30T04:01:20.327Z (about 1 month ago)
- Topics: cli, dolt, driver, groovy, log4j, maven, trigger
- Language: Groovy
- Homepage: https://github.com/bearddan2000/groovy-cli-maven-dolt-trigger
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# groovy-cli-maven-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
- maven
- log4j
- dolt driver## Docker stack
- dolthub/dolt-sql-serverdb:latest
- maven:3-openjdk-17## 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`