Skip to content

mminella/batch-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project reads text files (output of some process) and saves them into in-memory H2 database.

To run the output processing job

Open Swagger (http://localhost:8090/swagger-ui.html): Run the end point - /api/v1/batches/process/outputs (processPricingEngineOutputsJob method) with the following data:

executionID - 10 (could be any number) working directory - C:\Temp\Main (Extract the zip file in the Main folder, dont specify Validus here. C:\Temp could be anything on your drive) models = Validus

To see the running jobs

Open Swagger (http://localhost:8090/swagger-ui.html): Run the end point - /api/v1/batches/jobs/running Notice, output will be an empty response

Important Classes:

JobConfig BatchJobLauncher The two controllers in question are OutputProcessingController and MainBatchController getAllRunningJobs() is in the MainBatchController which doesn't return anything and is the problem.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages