Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 505 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 505 Bytes

Job executor

Simple job executor using SpringBoot.

Build

$ mvn clean install

Running

$ mvn spring-boot:run -f dt-web-app

Using

Defining number of workers

$ curl -X POST  http://localhost:8080/rest/jobs/workers/size/2

Using jobs

$ curl -X POST  http://localhost:8080/rest/jobs/WaitFor20Second
$ curl -X POST  http://localhost:8080/rest/jobs/CalculatePi
$ curl -X POST  http://localhost:8080/rest/jobs/FailImmediately