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-684: Odoo FHIR facade implementation #2

Merged
merged 22 commits into from
Sep 26, 2024
Merged

OZ-684: Odoo FHIR facade implementation #2

merged 22 commits into from
Sep 26, 2024

Conversation

corneliouzbett
Copy link
Collaborator

Issue: https://mekomsolutions.atlassian.net/browse/OZ-684

This PR implements a FHIR API for Odoo. It uses odoo-java-api library to interact with Odoo backend.

@ibacher
Copy link

ibacher commented Sep 12, 2024

Code looks good. I assume the build failure is addressable (seems to be a renamed package or something?)

@corneliouzbett
Copy link
Collaborator Author

I assume the build failure is addressable (seems to be a renamed package or something?)

Yes, I need to publish the underlying library odoo-java-api as it's not available in maven central repo.

@rbuisson rbuisson requested a review from wluyima September 16, 2024 15:09
*
* @return an array of field names annotated with {@link JsonProperty}
*/
public String[] fields() {
Copy link

Choose a reason for hiding this comment

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

Isn't their utilities in spring or apache beanutils that do this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, this is different because it looks for fields annotated with @JsonProperty and picks the value. This is because the field in the response might be different from the class field name.

Copy link

@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 generally, I have left some few comments

@corneliouzbett corneliouzbett merged commit 0d2960d into main Sep 26, 2024
5 checks passed
@corneliouzbett corneliouzbett deleted the OZ-684 branch October 1, 2024 06:19
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.

3 participants