Skip to content

Spring Boot example using Spring Scheduler to periodically call a REST API and write the JSON response to a file.

License

Notifications You must be signed in to change notification settings

khoubyari/spring-boot-scheduler-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Look in resources/application.yml for the path to the output directory

Run this sample with maven: mvn clean spring-boot:run

This sample uses Spring scheduler to periodically call a sample REST API, binds the JSON response to a Java POJO, then writes the JSON string to a file. Uses RestTemplate to make the API call.

About

Spring Boot example using Spring Scheduler to periodically call a REST API and write the JSON response to a file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages