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

Implement the show endpoint in the httpd crate #175

Merged
merged 4 commits into from
Jul 24, 2023

Commits on Jul 24, 2023

  1. fix(docs): fix links to crates in README

    This commit:
    1- fixes the links to crates in the readme file
    2- fixes some typos within the readme file
    
    Signed-off-by: Tarek <tareknaser360@gmail.com>
    tareknaser committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    93e0296 View commit details
    Browse the repository at this point in the history
  2. fix(httpd): modify the macro to use in all endpoints

    Signed-off-by: Tarek <tareknaser360@gmail.com>
    tareknaser committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    2e17841 View commit details
    Browse the repository at this point in the history
  3. feat(httpd): implement the show endpoint

    This commit:
    1- define a new type Show to send to the show http endpoint
    2- implement coffee_show function to handle /show endpoint
    3- modify the /list and /remote/list endpoints to use the macro
    
    Signed-off-by: Tarek <tareknaser360@gmail.com>
    tareknaser committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    efe02dc View commit details
    Browse the repository at this point in the history
  4. feat(tests): add a new httpd test

    This commit:
    1- adds an httpd integration test to further stress test the server. The new test mimics a test case where all endpoints are called.
    2- implements Debug for CoffeeHTTPDTesting
    
    Signed-off-by: Tarek <tareknaser360@gmail.com>
    tareknaser committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    f066f27 View commit details
    Browse the repository at this point in the history