cqframework / cqframework/cqf-tooling
Use conditional create in Artifact Bundles
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 22
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
The artifact bundling uses PUT with the logical id of the artifact for canonical resources. This causes problems when multiple versions of the same artifact are loaded in the same server. Guidance in CRMI packaging is to use a conditional create:
https://hl7.org/fhir/uv/crmi/packaging.html#fhir-bundle
We should update the artifact bundling logic to use this approach for all canonical resources.
Note that the documentation there as published has an error, the header is If-None-Exist, not ifNotExist as given in the example.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the artifact bundling logic in the Java tooling and read the CRMI packaging guidance linked in the issue. Update bundling for all canonical resources to use conditional create with the If-None-Exist header, then verify that multiple versions of one artifact can load into the same server without collision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100