Service capable of merging given intervals. PoC, not intended for production use.
Imaging given intervals [25,30] [2,19] [14, 23] [4,8], which you want to merge to the intervals [2,23] [25,30].
This services provides an endpoint
POST /merge-intervals
for exactly doing this.
- Prerequisite: JDK16
### Start (Quarkus) application
./gradlew quarkusDev
NOTE: Visit http://localhost:8080/q/swagger-ui for reading as well as using the API.
If you are interested in the merge alogrithm, have a look at IntervalsMerger.
This service is intended to be a proof of concept, not ready for production. Besides the existing open issues there is still production rdy functionality missing such as user input validation, error handling, logging etc.