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 health Endpoint for Health Check in PowerPay Server #63

Closed
stephane-segning opened this issue Mar 6, 2024 · 1 comment
Closed
Assignees

Comments

@stephane-segning
Copy link
Contributor

  • Description: Using a backend, we want to know if the app is running or not. Having a /health endpoint is common. In Spring Boot, we have something called actuator that implement these features.
  • Implementation:
    • Add the actuator dependency in the backend project
    • Expose all metrics to the actuator
    • Test the APIs to ensure it's working
    • Write unit testing for the said endpoint
stephane-segning pushed a commit that referenced this issue Mar 19, 2024
* feat: configure the health and metrics endpoints

* feat: implement unit test for the health endpoint

* Update pom.xml

* updated: pom.xml file

* fix: remove unneccessary file

* Update PowerPayBackendHealthTest.java

Fix failing test

* Add test case for handling server failures in health endpoint

* fix test

---------

Co-authored-by: mbunwe-victor <[email protected]>
Co-authored-by: chendi <[email protected]>
@stephane-segning
Copy link
Contributor Author

stephane-segning commented Mar 19, 2024

Done in #75 & #79. Thank you @Awambeng @chendiblessing @mbunwe-victor

@mbunwe-victor mbunwe-victor self-assigned this Apr 9, 2024
Christiantyemele pushed a commit to Christiantyemele/forked-e2e-banking-app that referenced this issue Apr 9, 2024
Christiantyemele pushed a commit to Christiantyemele/forked-e2e-banking-app that referenced this issue Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants