Java application designed to automate various backend tasks we have within ParadiseSS13.
It handles:
- ACL Cleanup
- Bouncer Restart
- Dev Rank Handling
- IP2ASN
- Profiler Daemon Ingest
- Profiler DB Cleanup
- PR Label Bot
Removes entries from a HAproxy ACL via its socket interface in order for inactivate players t o be put through the bouncer server again.
Restarts our "bouncer" server every day. This is the thing that does 2FA, server queue, and region redirection.
Adds or removes members from development rank when changes are made. Performed hourly.
Caches ASNs for IP addresses of recent players.
This takes BYOND Profiler results and split them apart to be indexed at a later date, allowing multiple procs from multiple rounds to easily be visualised alongside eachother over time. An example SS13 codebase implementation can be found at ParadiseSS13/Paradise#17459.
This project itself does not provide a data extraction method, but that can be found at https://github.com/ParadiseSS13/ParadisePublicAPI.
Just wipes rows older than 7 days out the profiler table.
Handles labelling PRs on the GitHub based on TM status, assigned type, votes and other stuff.
TaskDaemon.Core- Core application which handles running tasks.TaskDaemon.Database.Forums- Database project automatically generated with JOOQ for theparadise_forumsdatabase.TaskDaemon.Database.GameDb- Database project automatically generated with JOOQ for theparadise_gamedbdatabase.TaskDaemon.Database.Profiler- Database project automatically generated with JOOQ for theparadise_profilerdatabase.TaskDaemon.Database.PullRequests- Database project automatically generated with JOOQ for theaa07_pr_votingdatabase.- No I will not apologise for that DB name.
Use mvn package -P update-db to update DB projects.
To build, run mvn package to generate the JAR file. This will then appear in the out directory.
- Compile the codebase (See
Building). - Copy the jar and the example
config.tomlin the repository root to a running location. - Import the relevant schemas from the
schemasdir to your database server. - Setup the configuration as per section labels.
- Start the application up, it will now run tasks in the background.
- Code must be tested.
- Good luck.
- Code must adhere to the style guidelines set in
checkstyle.xml.- These are google's guidelines but with minor tweaks for my own needs.
This project is licensed under GPL-3. You can find a copy of this license in the file LICENSE.MD.