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

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

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