Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature/cdr 1198 query response meta props #559

Merged
merged 6 commits into from
Jan 19, 2024

Conversation

alexlehn
Copy link
Contributor

@alexlehn alexlehn commented Jan 17, 2024

Changes

Extend the QueryResponseData.meta response object to map also the additional fetch, offset amd resultsize properties, that are supported by EHRBase 1.0.0. Further more adde limit and offset to the ehrscape QueryResultDto to be able to pass such informations in EHRBase.
Now a MetaData object can be constructed from QueryResponseData that contains all basic properties.

Additional information

  • Added unit tests for affected QueryResponseData and MetaData DTOs.
  • Bumped palantirJavaFormat to 2.24.0 to be able to use spotless with Java 21

Pre-Merge checklist

  • New code is tested
  • Present and new tests pass
  • Documentation is updated
  • The build is working without errors
  • No new Sonar issues introduced
  • Changelog is updated
  • Code has been reviewed

@alexlehn alexlehn force-pushed the feature/CDR-1198-query-response-meta-debug-props branch from db5932e to e68fdd6 Compare January 17, 2024 07:55
@alexlehn alexlehn marked this pull request as ready for review January 17, 2024 08:16
@alexlehn alexlehn requested a review from vmueller-vg January 17, 2024 08:16
@alexlehn alexlehn marked this pull request as draft January 17, 2024 09:07
@alexlehn alexlehn force-pushed the feature/CDR-1198-query-response-meta-debug-props branch 3 times, most recently from bf6e70c to aad104b Compare January 17, 2024 11:58
@alexlehn alexlehn marked this pull request as ready for review January 18, 2024 07:38
@alexlehn alexlehn force-pushed the feature/CDR-1198-query-response-meta-debug-props branch from 9bc5511 to c168198 Compare January 18, 2024 13:51
@alexlehn alexlehn changed the title Feature/cdr 1198 query response meta debug props Feature/cdr 1198 query response meta props Jan 18, 2024
@alexlehn alexlehn requested review from stefanspiska and removed request for vmueller-vg January 18, 2024 14:16
@alexlehn alexlehn force-pushed the feature/CDR-1198-query-response-meta-debug-props branch 2 times, most recently from a22dd61 to 8a2e7be Compare January 19, 2024 07:56
* Not part of the standard spec, but returned by openEHR since version <code>1.0.0</code> for debugging purposes.
* </pre>
*/
LongProperty fetch = () -> "fetch";
Copy link
Contributor

Choose a reason for hiding this comment

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

If fetch is long than so would resultSize

Copy link
Contributor

Choose a reason for hiding this comment

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

I think both could be int

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are right, integer seems to be sufficient.

@alexlehn alexlehn force-pushed the feature/CDR-1198-query-response-meta-debug-props branch from 3586c92 to 3be5a06 Compare January 19, 2024 09:16
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@alexlehn alexlehn merged commit a571377 into develop Jan 19, 2024
19 checks passed
@alexlehn alexlehn deleted the feature/CDR-1198-query-response-meta-debug-props branch January 19, 2024 09:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants