openehr-rest-client's People
openehr-rest-client's Issues
Default representation details negotiation
The conformance is currently running with a hardcoded HTTP header for representation details (Prefer: return=representation
) and it is expecting resolved references in the creation of EHRs (EhrDto
). We can support both behaviours by allowing defining these headers, returning EhrDto
when configured to resolve references (i.e. Prefer: return=representation, resolve_refs
) and Ehr if not (i.e. Prefer: return=representation
).
Add get EHR client
Verify error codes instead of messages
Since error messages are not part of the specs and will vary quite a lot between implementations, I would suggest we check HTTP status codes instead. Those are included in the specs and should be implementation agnostic.
Make authentication optional
We should have a way of disabling authentication if it's not required
Add create directory
Create random EHR ids instead of fixed ones
When testing the EHR endpoint we could use random UUIDs instead of fixed ones, that way there is no need to truncate the Db each time we run the test.
Organize test cases in their respective classes by component
EHR
EHR_STATUS
COMPOSITION
FOLDER
CONTRIBUTION
ADL
OPT
QUERY
ACTOR
PARTY_RELATIONSHIP
Add support to pass committed data for the committer header to the POST methods
This is now hardcoded https://github.com/ppazos/openehr-rest-client/blob/master/src/main/groovy/com/cabolabs/openehr/rest/client/OpenEhrRestClient.groovy#L138
Maybe by presetting them before calling the commit services.
Allow configuration of the sut_api_url without changing codebase
We should provide a simple way of passing this parameter when running the tests, without needing to change the application.properties file in the project
Update groovy dependencies
Project is using old groovy dependencies (2020) and there are some problems using the latest JDK. I'd suggest we move to groovy-all:3.0.17 and spock-core:2.3-groovy-3.0. Gradle could also be updated to 7.6
Add get composition
Upload template operation should receive an instance of OperationalTemplate
For this we need serialization for OPT to XML in the SDK ppazos/openEHR-OPT#83
Add demographic endpoints and tests
Add list stored queries client
Allow configuration of DB truncation
It should be possible to run the tests with or without DB truncation
Remove truncate calls when not needed
Some of the tests are performing unnecessary calls to the truncateServer()
method during the cleanup phase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.