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

fix(health): add missing check for media conversion lambda #619

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

tthvo
Copy link
Contributor

@tthvo tthvo commented Feb 29, 2024

Welcome to PrivacyPal! 👋

Fixes: #616

Description of the change:

  • Added availability check for media conversion lambda.
  • Cleaned up health check utilities.

Motivation for the change:

See #616

How to test

$ http -v http://localhost:8080/health
GET /health HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: localhost:8080
User-Agent: HTTPie/3.2.2



HTTP/1.1 200 OK
Connection: keep-alive
Date: Thu, 29 Feb 2024 17:27:45 GMT
Keep-Alive: timeout=5
Transfer-Encoding: chunked
content-type: application/json
vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Url

{
    "data": {
        "app_version": "0.1.0-dev",
        "database_available": true,
        "video_conversion_available": true,
        "video_processor_available": true,
        "video_storage_available": true
    }
}

@tthvo tthvo added fix Fixes for something broken area/back-end Back-end work high-priority Need immediate attention labels Feb 29, 2024
@tthvo tthvo self-assigned this Feb 29, 2024
@tthvo tthvo marked this pull request as ready for review February 29, 2024 17:28
Copy link
Contributor

@connordoman connordoman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely a health check!

@tthvo tthvo merged commit f58d44e into develop Feb 29, 2024
17 checks passed
@tthvo tthvo deleted the gh-616-health-check branch February 29, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/back-end Back-end work fix Fixes for something broken high-priority Need immediate attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants