This pull request implements a backend API for the API Status Page. It includes endpoints to update and retrieve API status information, a database model to store the data, and a script to parse and post results from Newman test runs.
Related Issue (Link to issue ticket)
952
Motivation and Context
This change is required to create a robust backend system that can efficiently process, store, and serve API health data. It solves the problem of real-time monitoring and displaying the health of various API groups, enabling automatic updates every 15 minutes on all projects and boilerplates.
How Has This Been Tested?
Unit tests were written and carried out on the GET and POST endpoints using the Pytest library
Screenshots (if appropriate - Postman, etc):
SWAGGER UI
FETCH SUCCESSFUL
POST SUCCESSFUL
RUNNING PYTHON SCRIPT TO PARSE NEWMAN JSON AND POST TO ENDPOINT
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
Description
This pull request implements a backend API for the API Status Page. It includes endpoints to update and retrieve API status information, a database model to store the data, and a script to parse and post results from Newman test runs.
Related Issue (Link to issue ticket)
952
Motivation and Context
This change is required to create a robust backend system that can efficiently process, store, and serve API health data. It solves the problem of real-time monitoring and displaying the health of various API groups, enabling automatic updates every 15 minutes on all projects and boilerplates.
How Has This Been Tested?
Unit tests were written and carried out on the GET and POST endpoints using the Pytest library
Screenshots (if appropriate - Postman, etc):
SWAGGER UI
FETCH SUCCESSFUL
POST SUCCESSFUL
RUNNING PYTHON SCRIPT TO PARSE NEWMAN JSON AND POST TO ENDPOINT
Types of changes
Checklist: