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

OZ-689: Add functionality to remove transfer_encoding header and handle response status code in DelegatingController #2

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

corneliouzbett
Copy link
Contributor

Issue: https://mekomsolutions.atlassian.net/jira/software/c/projects/OZ/issues/OZ-689

This PR does;

  • Adds logic to handle client error exceptions and return the appropriate response status code.
  • Ensured that the response headers do not include transfer_encoding and connection headers.

/**
* Provides a proxy mechanism for all GET requests for ChargeItemDefinition and InventoryItem FHIR
* resources by delegating to a configured external API to process the request.
*/
@Slf4j
Copy link
Contributor

Choose a reason for hiding this comment

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

I actually don't like using lombok to generate loggers, because they are anti pattern, as in they are in lower case.

Copy link
Contributor

@wluyima wluyima left a comment

Choose a reason for hiding this comment

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

Looks good, I had a minor comment on the use of lombok to generate the logger

@corneliouzbett corneliouzbett merged commit 7b3c46f into main Oct 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants