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

feat: add code generation for oBDS v3 #101

Merged
merged 3 commits into from
Sep 4, 2024
Merged

feat: add code generation for oBDS v3 #101

merged 3 commits into from
Sep 4, 2024

Conversation

pcvolkmer
Copy link
Collaborator

This generates model classes for oBDS schema version 3.0.2 based on related XSD file using JAXB.

Jackson XML mapper is used with Jakarta XMLBind annotation module to support Jakarta XML annotations.

closes #61

@pcvolkmer
Copy link
Collaborator Author

Included Schema file can be removed if build.gradle file uses URL of schema file instead:

https://github.com/pcvolkmer/obds-to-fhir/blob/22b20b7338d74788eeb277c66d0b573eef96184c/build.gradle#L118

@pcvolkmer pcvolkmer marked this pull request as draft September 3, 2024 21:32
@pcvolkmer pcvolkmer marked this pull request as ready for review September 4, 2024 15:05
@pcvolkmer pcvolkmer requested a review from chgl September 4, 2024 15:06
@chgl chgl merged commit a54dca5 into bzkf:obds3 Sep 4, 2024
1 check passed
chgl pushed a commit that referenced this pull request Oct 23, 2024
* feat: codegen for oBDS 3.0.2

* test: add some basic content assertions

* refactor: change package of generated code
chgl added a commit that referenced this pull request Oct 23, 2024
* feat: add code generation for oBDS v3 (#101)

* feat: codegen for oBDS 3.0.2

* test: add some basic content assertions

* refactor: change package of generated code

* chore: use updated oBDS schema version 3.0.3

* chore: exclude generated files from spotless

* fix: "The String '${jaxbTargetDir}' contains a GString-type expression: '${jaxbTargetDir}'  GStringExpressionWithinString"

* chore: trailing whitespace and newlines

---------

Co-authored-by: Paul-Christian Volkmer <[email protected]>
miracum-bot pushed a commit that referenced this pull request Oct 24, 2024
## [2.3.0-beta.1](v2.2.1...v2.3.0-beta.1) (2024-10-24)

### Features

* first draft condition mapper ([#136](#136)) ([0e363e3](0e363e3))

### Bug Fixes

* mapping exception in connect record id field if it's not an integer ([#134](#134)) ([a3f9d1e](a3f9d1e))

### Miscellaneous Chores

* added dummy mapper classes and snapshot tests ([#133](#133)) ([d81dfda](d81dfda))
* added obds v3 skaffolding to beta ([#132](#132)) ([f805b2b](f805b2b)), closes [#101](#101)
* **deps:** update docker.io/gvenzl/oracle-free:23.5-slim-faststart docker digest to 9c0f4d5 ([#112](#112)) ([9db2691](9db2691))
* **deps:** update gcr.io/distroless/java21-debian12:nonroot docker digest to 2985410 ([#113](#113)) ([e338f6b](e338f6b))
* **deps:** update github-actions ([#114](#114)) ([59d30c7](59d30c7))
* **deps:** update github-actions ([#137](#137)) ([63fe5cc](63fe5cc))

### CI/CD

* release only on master or workflow_dispatch ([#135](#135)) ([e70141a](e70141a))
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.

2 participants