Lampros Smyrnaios
2656fc0b72
Allow to set an "root_address" in application.yml. This is used to declare the address of this server, when using proxy.
2023-11-09 16:40:35 +02:00
Lampros Smyrnaios
2e00ddba1b
- Set the release version.
...
- Change the scheduling tp occur 1,5 minutes after initialization.
- Reduce the threads-count for hikari.
2023-11-08 12:41:25 +02:00
Lampros Smyrnaios
40c1a61d63
Improve documentation.
2023-10-26 13:06:07 +03:00
Lampros Smyrnaios
0ce5c98a7e
- Make the "cacheUpdateInterval" configurable.
...
- During boot, wait 3 minutes for the Datasource-pool to get fully initialized before "hitting" the DB to update the cache.
- Improve logging during cache-update.
2023-10-23 14:53:22 +03:00
Lampros Smyrnaios
cbaa1cc621
- In case the provided "datasourceID" is not found inside the "datasourcesWithNumOfPayloads" map (but does not appear to have invalid form), add an explanatory message in the HTTP-404 response, to be able to distinguish it from a non-existent endpoint.
...
- Improve the UX of the "installAndRun.sh" script.
- Update dependencies.
2023-10-23 14:46:20 +03:00
Lampros Smyrnaios
aed56cc5e5
- Fix the "retryCount" appearing in log-messages.
...
- Adjust the number and size of log files.
- Update a dependency.
2023-09-14 15:34:16 +03:00
Lampros Smyrnaios
89ddd5d963
- Add the "shutdownService.sh" script.
...
- Update dependencies.
2023-07-26 17:35:21 +03:00
Lampros Smyrnaios
41af8cc429
Add counters, in each gathering, for 1) the num of new datasources, 2) the num of updated datasource and 3) the num of added payloads.
2023-07-26 17:32:16 +03:00
Lampros Smyrnaios
1ee1a94eff
- Handle the case where the "gatherNumberOfPayloadsPerDatasource()"-query-method is executed while some tables of the DB are in a "merge" state. In this case, the queries fail and the App retries up to 10 times.
...
- Handle the case when the aforementioned query-method fails with some unhandleable error. In this case the app retries 1 time and if it fails again, then if this has happened during initialization, the app shuts down, else the incident is ignored and the app will retry after 6 hours when the method is scheduled to run again.
2023-07-26 16:41:44 +03:00
Lampros Smyrnaios
8746d301d5
- Add useful messages for missing parameters in Stats API.
...
- Fix the Stats API returning simple numbers as "application/json". Now they are returned as "text/plain".
2023-07-25 15:39:20 +03:00
Lampros Smyrnaios
7e5c338de3
- Improve performance by avoiding checking if the huge ConcurrentHashMap is empty, on every request. After the first data-gathering, it will neven be empty and the checking-code is expensive.
...
- In case of an error retrieving data from the DB during initialization, gently shutdown the App. There is no point keeping the app running just to serve 500-Server-Errors.
- Code polishing.
2023-06-22 01:54:47 +03:00
Lampros Smyrnaios
64ef1bcf40
Add some TODOs to optimize performance and reliability.
2023-06-21 12:26:18 +03:00
Lampros Smyrnaios
83b8231993
Fix link in README.
2023-06-20 22:42:53 +03:00
Lampros Smyrnaios
cf0aed5274
Fully functional "PDF Aggregation Statistics" Service.
2023-06-20 22:16:07 +03:00