Commit graph

9 commits

Author SHA1 Message Date
d3c4f1e87b Implement SSL certificate expiration check
- Added pyOpenSSL to Pipfile and Pipfile.lock for SSL certificate expiration check implementation
- Implemented SSLCertificateExpiration check in checks.py
- Updated config.yaml with new test cases
- Minor changes and clean up in base.py and config.py
2023-10-07 00:19:36 +02:00
ff4588bc39 Refactor argos check and cli modules
- Added a simple way to have a registry for the checks.
- Use a Result dataclass to send back results from the workers
2023-10-05 11:36:36 +02:00
835ee50c1f Log errors that occured on the client side 2023-10-05 11:10:39 +02:00
f038a37022 Update implemented features 2023-10-05 11:07:03 +02:00
fa092ad75b "/response" endpoint is now functional 2023-10-05 11:05:51 +02:00
f41e74d402 Refactor code to handle job failures on clients
- Added error handler `SerializableException` in models.py which gets error details from base exception
- Added an API to get the results back from the clients
2023-10-05 00:48:26 +02:00
0a4850c1ed First iterations of the client / server.
- Added new libraries to Pipfile: httpx and click
- Refactored the file structure
- Added new functionality in logging.py to set log level
- README.md now includes information about running the server, running the client, and a sample configuration file
- Started working on checks logic
2023-10-03 11:44:52 +02:00
8ac5cdb529 Updated models.py and queries.py
- Removed the `Definition` class and added the `Task` class. It contains all information needed to run the jobs on the workers.
- Added the `Result` class. It stores the results returned by workers.
- In queries.py, updated the `update_from_config` function. Now it checks for the existence of tasks with the same URL, check, and expected result before adding new ones.
2023-10-02 13:03:06 +02:00
eea465af5c Start working with FastAPI 2023-10-02 12:15:57 +02:00