https://github.com/jonatan-ivanov/buffer
Service to queue results of tasks
https://github.com/jonatan-ivanov/buffer
async buffer queue spring-boot spring-boot-cli tasks
Last synced: about 1 year ago
JSON representation
Service to queue results of tasks
- Host: GitHub
- URL: https://github.com/jonatan-ivanov/buffer
- Owner: jonatan-ivanov
- Created: 2018-04-07T21:35:13.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2021-05-09T03:49:56.000Z (almost 5 years ago)
- Last Synced: 2025-02-18T04:31:22.031Z (about 1 year ago)
- Topics: async, buffer, queue, spring-boot, spring-boot-cli, tasks
- Language: Groovy
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# buffer
Service to queue results of tasks
# API
See [buffer.postman_collection.json](buffer.postman_collection.json)
# How to use
1. Install [spring-boot cli](https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started-installing-spring-boot.html#getting-started-installing-the-cli)
1. Run: `./builder run` OR `spring run *.groovy`
1. Build jar: `./builder jar` OR `spring jar buffer.jar .`
# Docker
- Build: `./builder dockerBuild` OR `spring jar buffer.jar . && docker-compose build`
- Build and run: `./builder dockerRun` OR `spring jar buffer.jar . && docker-compose up`
# Open in IntelliJ
1. Open
1. Open Module Settings
1. Project: setup the SDK
1. Modules: mark the root as `Sources` and the config as `Resources`
1. Facets: add Spring (don't forget to add the Application Context)
1. Global Libraries: add Groovy
1. `Alt+Enter` on `@Grab`: Grab the artifacts