Open Issues Need Help
View All on GitHubAI Summary: Implement a REST API endpoint to retrieve a paginated list of all accounts from a microservice. This involves creating a function to handle GET requests, querying a database (likely PostgreSQL), implementing pagination logic, and ensuring the response is properly formatted. The task also requires writing unit tests to achieve 95% code coverage using a test-driven development approach.
AI Summary: Implement a PATCH API endpoint for updating account information in a Flask microservice. The endpoint should validate input data (email, phone number), update the database record, and return appropriate success/error messages. Thorough testing (achieving 95% code coverage) using Test-Driven Development is required.
AI Summary: Implement a DELETE REST API endpoint for deleting an account from a microservice. The endpoint must authenticate the request using a token and return a success message upon successful deletion. The task requires writing the API endpoint code and associated unit tests to achieve 95% code coverage, following a Test-Driven Development approach.
AI Summary: Implement a REST API endpoint to retrieve account information by ID. This involves creating a GET request handler that fetches data from a Postgres database using a provided model and returns the account details in the response. The API should gracefully handle cases where the requested account ID is invalid. Thorough testing, aiming for 95% code coverage using Test Driven Development (TDD), is required.
AI Summary: Set up a development environment for a DevOps capstone project by cloning the repository, sourcing a setup script to install Python 3.9, create a virtual environment, and install dependencies. The environment should mimic the production environment and utilize Git for version control. The setup script handles most of the heavy lifting, but troubleshooting might be required.