Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation of server monitoring and querying logic #30

Merged
merged 6 commits into from
Jan 30, 2023

Conversation

mylesagray
Copy link
Contributor

  • servers.py - adds the management and accounting of servers, and introduces custom Server and ServerType objects, not yet exposed through the bot, rather just through servers.json for now.
  • network.py- utils for checking external IP and if an IP or port is valid, to be refactored out later
  • gamequery.py- provides utils for querying the backend servers based on the information from servers.py
  • Currently exposed as a simple bool check on /boot, /reboot and /shutdown

app/gamequery.py Show resolved Hide resolved
app/gamequery.py Show resolved Hide resolved
app/gamequery.py Show resolved Hide resolved
app/servers.py Show resolved Hide resolved
app/servers.py Show resolved Hide resolved
@mylesagray mylesagray requested review from KarlJGray and removed request for minuq January 30, 2023 19:57
@mylesagray mylesagray force-pushed the feature/server-queries branch from fd0e4ac to d2c35be Compare January 30, 2023 20:15
@mylesagray mylesagray force-pushed the feature/server-queries branch from d2c35be to c495604 Compare January 30, 2023 20:39
@mylesagray mylesagray merged commit 45ce67e into kharms-dev:master Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create unit tests using code coverage reports Add checks for active users in servers
3 participants