a13203c477
use the current directory to store the config.xml and cached timetables
continuous-integration/drone/push Build is passing
2020-01-15 13:42:40 +01:00
d0d5e4b6d1
removed Java legacy code
...
continuous-integration/drone/push Build is passing
the minimum is now Java 11
2019-12-30 01:36:21 +01:00
4ca79e6540
removed invalid TODOs
continuous-integration/drone/push Build is passing
2019-11-21 14:58:34 +01:00
9dd875fcb3
update softwareVersion/version to 1.2.0
continuous-integration/drone/push Build is passing
2019-11-21 14:49:22 +01:00
697f5e3167
added on disk cache for the timetables
...
continuous-integration/drone/push Build is passing
* update spring-boot 2.1.9 -> 2.1.10
2019-11-14 18:43:00 +01:00
dd064d63af
added a configuration via config.xml file
...
continuous-integration/drone/push Build is passing
* the config file contains the Mensa name and URL, the Cachet Base-URL and API-Key
2019-10-28 18:39:44 +01:00
3177be1bf0
use a FixedThreadPool to execute the timetable updates
...
continuous-integration/drone/push Build is passing
closes #9
2019-10-27 13:51:08 +01:00
db57059727
version 1.1.6
...
continuous-integration/drone/push Build is passing
* 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
2019-10-21 18:46:21 +02:00
132cf2df0e
reworked the CacheController Class
continuous-integration/drone/push Build is passing
2019-10-20 11:52:44 +02:00
238947a894
added java 8 support again
...
* added drone testing for java 8
2019-10-06 12:11:02 +02:00
6a687eb297
added more status metrics, api version 1.1.3 (/lesson -> /lessons)
...
continuous-integration/drone/push Build is failing
* updated spring boot 2.1.8 -> 2.1.9
* closes #7
2019-10-05 17:17:26 +02:00
3be98f6129
added junit test for TimetableParser
...
continuous-integration/drone/push Build is passing
* this also is release 1.1.4 (api version 1.1.2)
* closes issue #5
2019-09-14 00:43:59 +02:00
5e220225f6
parse the week number of the year too
2019-09-06 23:10:35 +02:00
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
2019-08-16 13:59:44 +02:00
e89201c951
added more metrics to the status request
2019-06-03 12:20:01 +02:00
a6bb0a7afe
an hour needs to bee an hour
2019-06-02 19:04:20 +02:00
13a55508d0
run the mensamenu update task every hour
2019-06-02 16:55:36 +02:00
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
2019-05-28 12:49:25 +02:00
9efc7fe4b7
cacth all exceptions in MensaParser
...
there are many things that can go wrong
2019-05-25 20:23:31 +02:00
e804774970
cover some timeouts
2019-05-25 19:37:04 +02:00
62ad7a3b36
courses is now CourseList, added lessonSubjectList & lesson request
...
closes #1 , #2
2019-05-23 14:56:16 +02:00
aa48668af1
fixed wrong lessonID
2019-04-06 11:33:21 +02:00
8dd385e52a
removed requestCount from /status
2019-03-18 19:28:27 +01:00
cef6e84e37
added request counter
2019-03-18 19:11:20 +01:00
cf0327bc88
added initial delay for scheduled updates
2019-03-18 16:13:13 +01:00
08b6b2603f
update to 1.0.1
...
* added some config lines
2019-03-17 00:33:18 +01:00
f9f0564a91
time is now updateTime
2019-03-16 00:00:34 +01:00
ecfc1356ee
the /timetable request needs a week now
2019-03-15 23:57:31 +01:00
f2c1f2bc58
update all existing courses every 3 hours & some clean up
2019-03-13 19:12:05 +01:00
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
2019-03-13 15:13:53 +01:00
6f2bed65ab
added spring and a API specific stuff
...
this commit adds a fully working API wit /courses, /timetable?courseName=[course] and /mensamenu
2019-03-12 22:06:04 +01:00
ace2cb1e39
updated all parser & updated build.gradle
...
this is the first work to get tcor fully workin
2019-03-11 20:12:49 +01:00
0430330801
added mensa and timetable parser
2018-11-06 15:35:38 +01:00