Skip to content

jonatan-ivanov/buffer

Repository files navigation

buffer

Service to queue results of tasks

API

See buffer.postman_collection.json

How to use

  1. Install spring-boot cli
  2. Run: ./builder run OR spring run *.groovy
  3. 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
  2. Open Module Settings
  3. Project: setup the SDK
  4. Modules: mark the root as Sources and the config as Resources
  5. Facets: add Spring (don't forget to add the Application Context)
  6. Global Libraries: add Groovy
  7. Alt+Enter on @Grab: Grab the artifacts