Jannik
a13203c477
use the current directory to store the config.xml and cached timetables
3 years ago
Jannik
d0d5e4b6d1
removed Java legacy code
...
the minimum is now Java 11
3 years ago
Jannik
4ca79e6540
removed invalid TODOs
3 years ago
Jannik
9dd875fcb3
update softwareVersion/version to 1.2.0
3 years ago
Jannik
697f5e3167
added on disk cache for the timetables
...
* update spring-boot 2.1.9 -> 2.1.10
3 years ago
Jannik
dd064d63af
added a configuration via config.xml file
...
* the config file contains the Mensa name and URL, the Cachet Base-URL and API-Key
3 years ago
Jannik
3177be1bf0
use a FixedThreadPool to execute the timetable updates
...
closes #9
3 years ago
Jannik
db57059727
version 1.1.6
...
* API version 1.1.4
* added /health, returns 200 (OK, for status checks)
* moved status code to a separate class
* added status.mosad.xyz reporting
3 years ago
Jannik
132cf2df0e
reworked the CacheController Class
3 years ago
Jannik
238947a894
added java 8 support again
...
* added drone testing for java 8
4 years ago
Jannik
6a687eb297
added more status metrics, api version 1.1.3 (/lesson -> /lessons)
...
* updated spring boot 2.1.8 -> 2.1.9
* closes #7
4 years ago
Jannik
3be98f6129
added junit test for TimetableParser
...
* this also is release 1.1.4 (api version 1.1.2)
* closes issue #5
4 years ago
Jannik
5e220225f6
parse the week number of the year too
4 years ago
Jannik
a0fceccc2f
added junit test for MensaParser
...
* updated kotlin 1.3.31 -> 1.3.41
* updated spring boot 2.1.5 -> 2.1.7
* updated coroutines 1.2.1 -> 1.2.2
* reworked MensaParser to make it testable
4 years ago
Jannik
e89201c951
added more metrics to the status request
4 years ago
Jannik
a6bb0a7afe
an hour needs to bee an hour
4 years ago
Jannik
13a55508d0
run the mensamenu update task every hour
4 years ago
Jannik
754c8cb17b
clean up APICOntroller & new CacheController
...
* added a CacheController to hold all cache variables and clean up the APIController
* more consistent naming of variables
* update mensaMenu and courseList only if the request was successful
4 years ago
Jannik
9efc7fe4b7
cacth all exceptions in MensaParser
...
there are many things that can go wrong
4 years ago
Jannik
e804774970
cover some timeouts
4 years ago
Jannik
62ad7a3b36
courses is now CourseList, added lessonSubjectList & lesson request
...
closes #1 , #2
4 years ago
Jannik
aa48668af1
fixed wrong lessonID
4 years ago
Jannik
8dd385e52a
removed requestCount from /status
4 years ago
Jannik
cef6e84e37
added request counter
4 years ago
Jannik
cf0327bc88
added initial delay for scheduled updates
4 years ago
Jannik
08b6b2603f
update to 1.0.1
...
* added some config lines
4 years ago
Jannik
f9f0564a91
time is now updateTime
4 years ago
Jannik
ecfc1356ee
the /timetable request needs a week now
4 years ago
Jannik
f2c1f2bc58
update all existing courses every 3 hours & some clean up
4 years ago
Jannik
6de94be329
update coursesList and mensa every 24/6 hours & added status page
...
* the status page shows the latest updates and the http staus of the hso and swfr sites
4 years ago
Jannik
6f2bed65ab
added spring and a API specific stuff
...
this commit adds a fully working API wit /courses, /timetable?courseName=[course] and /mensamenu
4 years ago
Jannik
ace2cb1e39
updated all parser & updated build.gradle
...
this is the first work to get tcor fully workin
4 years ago