-
Notifications
You must be signed in to change notification settings - Fork 21
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
Feat/63 implement health endpoint #79
Feat/63 implement health endpoint #79
Conversation
@stephane-segning please review the last point under ticket Implement health Endpoint for Health Check in PowerPay Server #63 implemented by @chendiblessing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work @chendiblessing!
...kend/src/main/java/com/adorsys/gis/powerpay/powerpaybackend/controller/HealthController.java
Outdated
Show resolved
Hide resolved
…-victor/e2e-banking-app into feat/63-implement-health-endpoint
@stephane-segning i have made the changes you requested |
...kend/src/main/java/com/adorsys/gis/powerpay/powerpaybackend/controller/HealthController.java
Outdated
Show resolved
Hide resolved
Prof @stephane-segning changes done |
Fix failing test
power-pay-backend/pom.xml
Outdated
@@ -27,10 +27,10 @@ | |||
<groupId>org.springframework.boot</groupId> | |||
<artifactId>spring-boot-starter-data-jpa</artifactId> | |||
</dependency> | |||
<dependency> | |||
<!-- <dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this change?
@SpringBootTest | ||
@AutoConfigureMockMvc | ||
@ContextConfiguration(classes = { PowerPayBackendApplication.class }) | ||
public class PowerPayBackendHealthTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is testing the best case. You should also test the case the server is not sending 200 ok
hello prof @stephane-segning i did the last changes you demanded please you can now review |
@stephane-segning everything well done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work Dr @Awambeng !
Thanks |
added the unit test for the health endpoint