Skip to content

wedwincode/java-rest-aggregator

Repository files navigation

Java REST aggregator


Console Java app for REST API data aggregation


Build

./gradlew clean build

Run

java -jar dist/app.jar --params

Coverage

./gradlew clean test jacocoTestReport

Coverage output path: build/reports/jacoco/test/html/index.html


Available params

--interactive - interactive mode

--format [csv|json] - output format

--mode [new|append] - clear existing contents or append to it

--path [path/file.ext] - path to the output file (default: out.{selectedFormat})

--apis [api1 api2 ...] - list of the APIs. Currently available: weatherapi, newsapi, thenewsapi

--params [api1.param1=val1 api2.param1=val2 ...] - list of the params you want to set for APIs

--max-concurrent [quantity] - maximum amount of tasks which can be executed at the same time

--interval [duration] - querying interval in seconds

--duration [duration] - total time after which aggregation is stopped in seconds


Project architecture

hexagon.png


Coverage summary

coverage.png

About

Console Java app for REST API data aggregation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages