Skip to content

nikosk686/batch-processing-poc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a database:

./gradlew postgresStart

Manually Test

Example request:

curl -X POST -H "Content-Type: application/json" \
    -d '{"inactiveAccountIds": [1, 2, 3, 4, 5]}' \
    localhost:9090/inactive-accounts/create-entries

Automation Test

Run BatchProcessingApplicationTests for a series of checks, like:

  • Testing the http endpoint
  • Testing the database integration
  • Testing the batch job execution (happy path)
  • Testing the batch job retry policy with a recover of failure
  • Testing the batch job retry policy when retry limit is exhausted without recovery.

Uses Docker with Testcontainers for the database instance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%