-
Notifications
You must be signed in to change notification settings - Fork 7
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
EP Merge: Fix health check / app startup based on health of rabbitmq and postgres connections #2505
EP Merge: Fix health check / app startup based on health of rabbitmq and postgres connections #2505
Conversation
…eck immediately that reflect downstream services.
JaCoCo Test Coverage
|
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.
Nice work on this! The unit and integration tests look great. However for some reason, I'm having trouble getting the E2E tests to pass locally. Example error:
ERROR root:ep_merge_machine.py:275 event=jobCompletedWithError trigger=resume_processing_from_running_cancel_ep400_claim job_id=2fb9cfb5-0004-4eea-8883-23db909e7b06 pending_claim_id=10000 ep400_claim_id=5002 state=COMPLETED_ERROR errorState=RUNNING_GET_PENDING_CLAIM_FAILED_REMOVE_SPECIAL_ISSUE error="["client=getClaimClient error='Unknown Downstream Error' status=500 status_message=INTERNAL_SERVER_ERROR", "client=getClaimContentionsClient error='Unknown Downstream Error' status=500 status_message=INTERNAL_SERVER_ERROR"]"
Any ideas?
domain-ee/ee-ep-merge-app/src/python_src/service/hoppy_service.py
Outdated
Show resolved
Hide resolved
|
Yes, after looking at the logs it seems that the issue is with the |
HTTPS>HTTP made things worse (integration tests failed) so I reverted that. Here's the error: svc-bip-api logs
mock-bip-claims-api logs
|
Good to go on my end. The issue with my environment was twofold: wrong value for |
What was the problem?
This PR addresses the following:
Associated tickets or Slack threads:
Discovered while testing EP Merge App in dev:
Related to:
How does this fix it?1
How to test this PR
COMPOSE_PROFILES="bip,bgs" ./gradlew :app:dockerComposeUp
COMPOSE_PROFILES="bip,bgs" ./gradlew -p mocks :dockerComposeUp
./gradlew :domain-ee:ee-ep-merge-app:endToEndTest
Footnotes
Pull-Requests guidelines. If PR is significant, update Current Software State wiki page. ↩