-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
Code looks good. I assume the build failure is addressable (seems to be a renamed package or something?) |
Yes, I need to publish the underlying library |
fhir-odoo-mapper/src/main/java/com/ozonehis/fhir/odoo/OdooConstants.java
Show resolved
Hide resolved
fhir-odoo-mapper/src/main/java/com/ozonehis/fhir/odoo/mappers/ChargeItemDefinitionMapper.java
Outdated
Show resolved
Hide resolved
* | ||
* @return an array of field names annotated with {@link JsonProperty} | ||
*/ | ||
public String[] fields() { |
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.
Isn't their utilities in spring or apache beanutils that do this?
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.
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.
fhir-odoo/src/main/java/com/ozonehis/fhir/odoo/SessionHolder.java
Outdated
Show resolved
Hide resolved
...o/src/main/java/com/ozonehis/fhir/odoo/chargeItemDefinition/ChargeItemDefinitionService.java
Show resolved
Hide resolved
fhir-odoo/src/main/java/com/ozonehis/fhir/odoo/inventoryItem/InventoryItemService.java
Show resolved
Hide resolved
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.
Looks good generally, I have left some few comments
77a08c4
to
be20228
Compare
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.