Commit Graph

55 Commits

Author SHA1 Message Date
Jannik f20279a4b4
updated jsoup 1.12.1 -> 1.12.2
continuous-integration/drone/push Build is passing Details
2020-02-16 15:18:52 +01:00
Jannik 3aa27dff4a
don't use lateinit in CacheController()
continuous-integration/drone/push Build is passing Details
2020-02-10 17:42:44 +01:00
Jannik f01916b363
updated gradle and spring boot
continuous-integration/drone/push Build is passing Details
* gradle 5.6.2 -> 6.1.1
* spring boot 2.1.11 -> 2.2.4
* junit-jupiter 5.5.1 -> 5.6.0
2020-01-26 17:46:16 +01:00
Jannik a13203c477
use the current directory to store the config.xml and cached timetables
continuous-integration/drone/push Build is passing Details
2020-01-15 13:42:40 +01:00
Jannik 2bb6bc6534 Update 'README.md'
continuous-integration/drone/push Build is passing Details
2020-01-07 16:00:24 +01:00
Jannik d0d5e4b6d1
removed Java legacy code
continuous-integration/drone/push Build is passing Details
the minimum is now Java 11
2019-12-30 01:36:21 +01:00
Jannik 16cb89ca38
update kotlin to 1.3.61
* update coroutines to 1.3.3
2019-12-13 14:06:08 +01:00
Jannik b428840df7
update to spring boot 2.1.11 2019-12-12 14:25:13 +01:00
Jannik 4ca79e6540
removed invalid TODOs
continuous-integration/drone/push Build is passing Details
2019-11-21 14:58:34 +01:00
Jannik 9dd875fcb3
update softwareVersion/version to 1.2.0
continuous-integration/drone/push Build is passing Details
2019-11-21 14:49:22 +01:00
Jannik e2169ba8ab
update to kotlin 1.3.60
continuous-integration/drone/push Build is passing Details
2019-11-14 23:10:40 +01:00
Jannik 697f5e3167
added on disk cache for the timetables
continuous-integration/drone/push Build is passing Details
* update spring-boot 2.1.9 -> 2.1.10
2019-11-14 18:43:00 +01:00
Jannik dd064d63af
added a configuration via config.xml file
continuous-integration/drone/push Build is passing Details
* the config file contains the Mensa name and URL, the Cachet Base-URL and API-Key
2019-10-28 18:39:44 +01:00
Jannik 3177be1bf0
use a FixedThreadPool to execute the timetable updates
continuous-integration/drone/push Build is passing Details
closes #9
2019-10-27 13:51:08 +01:00
Jannik db57059727
version 1.1.6
continuous-integration/drone/push Build is passing Details
* 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
Jannik 132cf2df0e
reworked the CacheController Class
continuous-integration/drone/push Build is passing Details
2019-10-20 11:52:44 +02:00
Jannik 283cc96e48
fixed drone formatting
continuous-integration/drone/push Build is passing Details
2019-10-06 12:12:56 +02:00
Jannik 238947a894
added java 8 support again
* added drone testing for java 8
2019-10-06 12:11:02 +02:00
Jannik 26f1834183
try running ci with jdk11
continuous-integration/drone/push Build is passing Details
2019-10-05 17:21:35 +02:00
Jannik 6a687eb297
added more status metrics, api version 1.1.3 (/lesson -> /lessons)
continuous-integration/drone/push Build is failing Details
* updated spring boot 2.1.8 -> 2.1.9
* closes #7
2019-10-05 17:17:26 +02:00
Jannik 3be98f6129
added junit test for TimetableParser
continuous-integration/drone/push Build is passing Details
* this also is release 1.1.4 (api version 1.1.2)
* closes issue #5
2019-09-14 00:43:59 +02:00
Jannik 7d1f825057
more gradle wrapper stuff
continuous-integration/drone/push Build is passing Details
2019-09-07 20:59:18 +02:00
Jannik c4b3a09d23
updated gradle wrapper to gradle 5.6.2
continuous-integration/drone/push Build is passing Details
2019-09-07 20:56:58 +02:00
Jannik 715af9987b
updated some libs
continuous-integration/drone/push Build is passing Details
* spring boot2.1.7 -> 2.1.8
* coroutines-core 1.2.2 -> 1.3.2
* print test results (passed, failed, skipped)
2019-09-07 20:44:44 +02:00
Jannik 9797e23efb Update 'README.md'
continuous-integration/drone/push Build is passing Details
2019-09-07 19:12:23 +02:00
Jannik c7182bc095
added drone ci
continuous-integration/drone/push Build is passing Details
2019-09-07 19:08:08 +02:00
Jannik 5e220225f6
parse the week number of the year too 2019-09-06 23:10:35 +02:00
Jannik ea6be1db33
update to kotlin 1.3.50 2019-08-25 22:46:14 +02:00
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
2019-08-16 13:59:44 +02:00
Jannik e89201c951
added more metrics to the status request 2019-06-03 12:20:01 +02:00
Jannik a6bb0a7afe
an hour needs to bee an hour 2019-06-02 19:04:20 +02:00
Jannik 13a55508d0
run the mensamenu update task every hour 2019-06-02 16:55:36 +02:00
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
2019-05-28 12:49:25 +02:00
Jannik 9efc7fe4b7
cacth all exceptions in MensaParser
there are many things that can go wrong
2019-05-25 20:23:31 +02:00
Jannik e804774970
cover some timeouts 2019-05-25 19:37:04 +02:00
Jannik 62ad7a3b36
courses is now CourseList, added lessonSubjectList & lesson request
closes #1, #2
2019-05-23 14:56:16 +02:00
Jannik 4313c78edf
update to spring boot 2.1.5 & jsoup 1.12.1 2019-05-21 19:21:25 +02:00
Jannik 142471f870 Update 'README.md' 2019-05-13 00:29:25 +02:00
Jannik 387a8e0782
update to kotlin 1.3.31 and spring boot 2.1.4 2019-05-03 22:47:16 +02:00
Jannik aa48668af1 fixed wrong lessonID 2019-04-06 11:33:21 +02:00
Jannik a3a705d1d7 updated spring_boot 2.1.0 -> 2.1.3 2019-04-03 12:29:06 +02:00
Jannik 8dd385e52a removed requestCount from /status 2019-03-18 19:28:27 +01:00
Jannik cef6e84e37 added request counter 2019-03-18 19:11:20 +01:00
Jannik cf0327bc88 added initial delay for scheduled updates 2019-03-18 16:13:13 +01:00
Jannik 08b6b2603f update to 1.0.1
* added some config lines
2019-03-17 00:33:18 +01:00
Jannik f9f0564a91 time is now updateTime 2019-03-16 00:00:34 +01:00
Jannik ecfc1356ee the /timetable request needs a week now 2019-03-15 23:57:31 +01:00
Jannik f2c1f2bc58 update all existing courses every 3 hours & some clean up 2019-03-13 19:12:05 +01:00
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
2019-03-13 15:13:53 +01:00
Jannik 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