-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Avoid creating ResourcePersistentId for placeholder resources with null ID #3158
Merged
IanMMarshall
merged 4 commits into
master
from
3148-transactions-with-versioned-placeholders
Nov 15, 2021
Merged
Avoid creating ResourcePersistentId for placeholder resources with null ID #3158
IanMMarshall
merged 4 commits into
master
from
3148-transactions-with-versioned-placeholders
Nov 15, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #3158 +/- ##
============================================
- Coverage 82.76% 82.76% -0.01%
- Complexity 20057 20066 +9
============================================
Files 1346 1346
Lines 72213 72236 +23
Branches 10885 10887 +2
============================================
+ Hits 59769 59788 +19
Misses 8270 8270
- Partials 4174 4178 +4
Continue to review full report at Codecov.
|
IanMMarshall
changed the title
Add check for storage ID in TransactionDetail mapping
Avoid creating ResourcePersistentId for placeholder resources with null ID
Nov 11, 2021
fil512
approved these changes
Nov 15, 2021
IanMMarshall
deleted the
3148-transactions-with-versioned-placeholders
branch
November 15, 2021 21:36
tadgh
pushed a commit
that referenced
this pull request
Nov 30, 2021
…ll ID (#3158) * Add check before mapping storage ID to resource ID in TransactionDetails. * Add change log. * Changed to instead prevent creation of ResourcePersistentId with null ID value. * Changed to instead prevent ResourcePersistentId being created with null resource ID. Co-authored-by: ianmarshall <[email protected]>
tadgh
added a commit
that referenced
this pull request
Dec 9, 2021
* 3138 externalized binary packages (#3139) * Add test and impl * Add changelog * Fix test * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_6_0/3138-support-externalized-binaries.yaml * add beans to test configs * Typo * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/IBinaryStorageSvc.java Co-authored-by: michaelabuckley <[email protected]> * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/NullBinaryStorageSvcImpl.java Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> * 3131 - Added support for the lookup operation in the Remote Terminology code (#3134) * Remove leading underscores from identifiers (#3146) * Version bump * License files * version.yaml * Add executeRawSql() method to Migrator (#3183) * Add implementation, add test * Add javadoc * Add another helper function * Bump version * 3153 update unknowncodesystemwarningvallidationsupport to have configurable severities (#3155) * 3153 updating the unknowncodesystemwarningvalidationsupport class * 3153 updating version for smile * 3153 update broken tests * 3153 adding log * 3153 cleanup * 3153 cleanup Co-authored-by: leif stawnyczy <[email protected]> * Add backport info * Avoid creating ResourcePersistentId for placeholder resources with null ID (#3158) * Add check before mapping storage ID to resource ID in TransactionDetails. * Add change log. * Changed to instead prevent creation of ResourcePersistentId with null ID value. * Changed to instead prevent ResourcePersistentId being created with null resource ID. Co-authored-by: ianmarshall <[email protected]> * Fix bug loading packages in non-database mode (#3199) * Add implementation * Add changelog * Add backports * 3164 updating code review points (#3165) * 3164 updating code review points * 3164 updating code review points Co-authored-by: leif stawnyczy <[email protected]> * Add executeRawSqlStub (#3203) Co-authored-by: Joanne Mendoza <[email protected]> * Add new version * begin with failing test * fix bug * change log * change log * Add backport informationm * begin with failing test * fix issue * change log * code review * Add backport info. Add folder * fixed * Add test * Update test * Add backport info * Add 5.5.4 * Remove jpaconstants Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: TipzCM <[email protected]> Co-authored-by: leif stawnyczy <[email protected]> Co-authored-by: IanMMarshall <[email protected]> Co-authored-by: ianmarshall <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Ken Stevens <[email protected]> Co-authored-by: katie_smilecdr <[email protected]>
jamesagnew
pushed a commit
that referenced
this pull request
Jan 6, 2022
* 3138 externalized binary packages (#3139) * Add test and impl * Add changelog * Fix test * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_6_0/3138-support-externalized-binaries.yaml * add beans to test configs * Typo * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/IBinaryStorageSvc.java Co-authored-by: michaelabuckley <[email protected]> * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/NullBinaryStorageSvcImpl.java Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> * 3131 - Added support for the lookup operation in the Remote Terminology code (#3134) * Remove leading underscores from identifiers (#3146) * Version bump * License files * version.yaml * Add executeRawSql() method to Migrator (#3183) * Add implementation, add test * Add javadoc * Add another helper function * Bump version * 3153 update unknowncodesystemwarningvallidationsupport to have configurable severities (#3155) * 3153 updating the unknowncodesystemwarningvalidationsupport class * 3153 updating version for smile * 3153 update broken tests * 3153 adding log * 3153 cleanup * 3153 cleanup Co-authored-by: leif stawnyczy <[email protected]> * Add backport info * Avoid creating ResourcePersistentId for placeholder resources with null ID (#3158) * Add check before mapping storage ID to resource ID in TransactionDetails. * Add change log. * Changed to instead prevent creation of ResourcePersistentId with null ID value. * Changed to instead prevent ResourcePersistentId being created with null resource ID. Co-authored-by: ianmarshall <[email protected]> * Fix bug loading packages in non-database mode (#3199) * Add implementation * Add changelog * Add backports * 3164 updating code review points (#3165) * 3164 updating code review points * 3164 updating code review points Co-authored-by: leif stawnyczy <[email protected]> * Add executeRawSqlStub (#3203) Co-authored-by: Joanne Mendoza <[email protected]> * Add new version * begin with failing test * fix bug * change log * change log * Add backport informationm * begin with failing test * fix issue * change log * code review * Add backport info. Add folder * fixed * Add test * Update test * Add backport info * Bump minor version * 3170 language portion of language code is case insensitive (#3171) * 3170 language portion of language code is case insensitive * 3170 adding changelog * 3170 house keeping Co-authored-by: leif stawnyczy <[email protected]> * Add backport info: * Add version enum * Remove worthless import Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: TipzCM <[email protected]> Co-authored-by: leif stawnyczy <[email protected]> Co-authored-by: IanMMarshall <[email protected]> Co-authored-by: ianmarshall <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Ken Stevens <[email protected]> Co-authored-by: katie_smilecdr <[email protected]>
tadgh
added a commit
that referenced
this pull request
Apr 4, 2022
* 3138 externalized binary packages (#3139) * Add test and impl * Add changelog * Fix test * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_6_0/3138-support-externalized-binaries.yaml * add beans to test configs * Typo * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/IBinaryStorageSvc.java Co-authored-by: michaelabuckley <[email protected]> * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/NullBinaryStorageSvcImpl.java Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> * 3131 - Added support for the lookup operation in the Remote Terminology code (#3134) * Remove leading underscores from identifiers (#3146) * Version bump * License files * version.yaml * Add executeRawSql() method to Migrator (#3183) * Add implementation, add test * Add javadoc * Add another helper function * Bump version * 3153 update unknowncodesystemwarningvallidationsupport to have configurable severities (#3155) * 3153 updating the unknowncodesystemwarningvalidationsupport class * 3153 updating version for smile * 3153 update broken tests * 3153 adding log * 3153 cleanup * 3153 cleanup Co-authored-by: leif stawnyczy <[email protected]> * Add backport info * Avoid creating ResourcePersistentId for placeholder resources with null ID (#3158) * Add check before mapping storage ID to resource ID in TransactionDetails. * Add change log. * Changed to instead prevent creation of ResourcePersistentId with null ID value. * Changed to instead prevent ResourcePersistentId being created with null resource ID. Co-authored-by: ianmarshall <[email protected]> * Fix bug loading packages in non-database mode (#3199) * Add implementation * Add changelog * Add backports * 3164 updating code review points (#3165) * 3164 updating code review points * 3164 updating code review points Co-authored-by: leif stawnyczy <[email protected]> * Add executeRawSqlStub (#3203) Co-authored-by: Joanne Mendoza <[email protected]> * Add new version * begin with failing test * fix bug * change log * change log * Add backport informationm * begin with failing test * fix issue * change log * code review * Add backport info. Add folder * fixed * Add test * Update test * Add backport info * Bump minor version * 3170 language portion of language code is case insensitive (#3171) * 3170 language portion of language code is case insensitive * 3170 adding changelog * 3170 house keeping Co-authored-by: leif stawnyczy <[email protected]> * Add backport info: * Add version enum * Bump hapi version to 5.6.3 * Add version enum * Add changelog folder and version.yaml * Patch vulnerability, add changelog * Add new version * Remove test Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: TipzCM <[email protected]> Co-authored-by: leif stawnyczy <[email protected]> Co-authored-by: IanMMarshall <[email protected]> Co-authored-by: ianmarshall <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Ken Stevens <[email protected]> Co-authored-by: katie_smilecdr <[email protected]>
jkiddo
pushed a commit
to trifork/hapi-fhir
that referenced
this pull request
Apr 19, 2022
* 3138 externalized binary packages (hapifhir#3139) * Add test and impl * Add changelog * Fix test * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_6_0/3138-support-externalized-binaries.yaml * add beans to test configs * Typo * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/IBinaryStorageSvc.java Co-authored-by: michaelabuckley <[email protected]> * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/NullBinaryStorageSvcImpl.java Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> * 3131 - Added support for the lookup operation in the Remote Terminology code (hapifhir#3134) * Remove leading underscores from identifiers (hapifhir#3146) * Version bump * License files * version.yaml * Add executeRawSql() method to Migrator (hapifhir#3183) * Add implementation, add test * Add javadoc * Add another helper function * Bump version * 3153 update unknowncodesystemwarningvallidationsupport to have configurable severities (hapifhir#3155) * 3153 updating the unknowncodesystemwarningvalidationsupport class * 3153 updating version for smile * 3153 update broken tests * 3153 adding log * 3153 cleanup * 3153 cleanup Co-authored-by: leif stawnyczy <[email protected]> * Add backport info * Avoid creating ResourcePersistentId for placeholder resources with null ID (hapifhir#3158) * Add check before mapping storage ID to resource ID in TransactionDetails. * Add change log. * Changed to instead prevent creation of ResourcePersistentId with null ID value. * Changed to instead prevent ResourcePersistentId being created with null resource ID. Co-authored-by: ianmarshall <[email protected]> * Fix bug loading packages in non-database mode (hapifhir#3199) * Add implementation * Add changelog * Add backports * 3164 updating code review points (hapifhir#3165) * 3164 updating code review points * 3164 updating code review points Co-authored-by: leif stawnyczy <[email protected]> * Add executeRawSqlStub (hapifhir#3203) Co-authored-by: Joanne Mendoza <[email protected]> * Add new version * begin with failing test * fix bug * change log * change log * Add backport informationm * begin with failing test * fix issue * change log * code review * Add backport info. Add folder * fixed * Add test * Update test * Add backport info * Bump minor version * 3170 language portion of language code is case insensitive (hapifhir#3171) * 3170 language portion of language code is case insensitive * 3170 adding changelog * 3170 house keeping Co-authored-by: leif stawnyczy <[email protected]> * Add backport info: * Add version enum * Bump hapi version to 5.6.3 * Add version enum * Add changelog folder and version.yaml * Patch vulnerability, add changelog * Add new version * Remove test Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: TipzCM <[email protected]> Co-authored-by: leif stawnyczy <[email protected]> Co-authored-by: IanMMarshall <[email protected]> Co-authored-by: ianmarshall <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Ken Stevens <[email protected]> Co-authored-by: katie_smilecdr <[email protected]>
tadgh
added a commit
that referenced
this pull request
Jul 12, 2022
* 3138 externalized binary packages (#3139) * Add test and impl * Add changelog * Fix test * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_6_0/3138-support-externalized-binaries.yaml * add beans to test configs * Typo * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/IBinaryStorageSvc.java Co-authored-by: michaelabuckley <[email protected]> * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/NullBinaryStorageSvcImpl.java Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> * 3131 - Added support for the lookup operation in the Remote Terminology code (#3134) * Remove leading underscores from identifiers (#3146) * Version bump * License files * version.yaml * Add executeRawSql() method to Migrator (#3183) * Add implementation, add test * Add javadoc * Add another helper function * Bump version * 3153 update unknowncodesystemwarningvallidationsupport to have configurable severities (#3155) * 3153 updating the unknowncodesystemwarningvalidationsupport class * 3153 updating version for smile * 3153 update broken tests * 3153 adding log * 3153 cleanup * 3153 cleanup Co-authored-by: leif stawnyczy <[email protected]> * Add backport info * Avoid creating ResourcePersistentId for placeholder resources with null ID (#3158) * Add check before mapping storage ID to resource ID in TransactionDetails. * Add change log. * Changed to instead prevent creation of ResourcePersistentId with null ID value. * Changed to instead prevent ResourcePersistentId being created with null resource ID. Co-authored-by: ianmarshall <[email protected]> * Fix bug loading packages in non-database mode (#3199) * Add implementation * Add changelog * Add backports * 3164 updating code review points (#3165) * 3164 updating code review points * 3164 updating code review points Co-authored-by: leif stawnyczy <[email protected]> * Add executeRawSqlStub (#3203) Co-authored-by: Joanne Mendoza <[email protected]> * Add new version * begin with failing test * fix bug * change log * change log * Add backport informationm * begin with failing test * fix issue * change log * code review * Add backport info. Add folder * fixed * Add test * Update test * Add backport info * Bump minor version * 3170 language portion of language code is case insensitive (#3171) * 3170 language portion of language code is case insensitive * 3170 adding changelog * 3170 house keeping Co-authored-by: leif stawnyczy <[email protected]> * Add backport info: * Add version enum * Bump hapi version to 5.6.3 * Add version enum * Add changelog folder and version.yaml * Patch vulnerability, add changelog * AuthorizationInterceptor concurrency failure (#3528) * Fix #3256 - AuthorizationInterceptor concurrency failure * Test fixes * Add backport info * Fix test for lang level 8 * Bump hapi * License updates * Add release pipeline * remove checkstyle from old version * swap jdk for build * Couple removals for arbitrary failures * disabling tests for this next 5_6 release because we shoot from the hip here * Updating version to: 5.6.5 post release. * add new folder * fix versionenum * remove unreleased versions * Bring back into line Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: TipzCM <[email protected]> Co-authored-by: leif stawnyczy <[email protected]> Co-authored-by: IanMMarshall <[email protected]> Co-authored-by: ianmarshall <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Ken Stevens <[email protected]> Co-authored-by: katie_smilecdr <[email protected]> Co-authored-by: James Agnew <[email protected]> Co-authored-by: markiantorno <[email protected]>
Qingyixia
pushed a commit
that referenced
this pull request
Jul 22, 2022
* 3138 externalized binary packages (#3139) * Add test and impl * Add changelog * Fix test * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_6_0/3138-support-externalized-binaries.yaml * add beans to test configs * Typo * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/IBinaryStorageSvc.java Co-authored-by: michaelabuckley <[email protected]> * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/binstore/NullBinaryStorageSvcImpl.java Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> * 3131 - Added support for the lookup operation in the Remote Terminology code (#3134) * Remove leading underscores from identifiers (#3146) * Version bump * License files * version.yaml * Add executeRawSql() method to Migrator (#3183) * Add implementation, add test * Add javadoc * Add another helper function * Bump version * 3153 update unknowncodesystemwarningvallidationsupport to have configurable severities (#3155) * 3153 updating the unknowncodesystemwarningvalidationsupport class * 3153 updating version for smile * 3153 update broken tests * 3153 adding log * 3153 cleanup * 3153 cleanup Co-authored-by: leif stawnyczy <[email protected]> * Add backport info * Avoid creating ResourcePersistentId for placeholder resources with null ID (#3158) * Add check before mapping storage ID to resource ID in TransactionDetails. * Add change log. * Changed to instead prevent creation of ResourcePersistentId with null ID value. * Changed to instead prevent ResourcePersistentId being created with null resource ID. Co-authored-by: ianmarshall <[email protected]> * Fix bug loading packages in non-database mode (#3199) * Add implementation * Add changelog * Add backports * 3164 updating code review points (#3165) * 3164 updating code review points * 3164 updating code review points Co-authored-by: leif stawnyczy <[email protected]> * Add executeRawSqlStub (#3203) Co-authored-by: Joanne Mendoza <[email protected]> * Add new version * begin with failing test * fix bug * change log * change log * Add backport informationm * begin with failing test * fix issue * change log * code review * Add backport info. Add folder * fixed * Add test * Update test * Add backport info * Bump minor version * 3170 language portion of language code is case insensitive (#3171) * 3170 language portion of language code is case insensitive * 3170 adding changelog * 3170 house keeping Co-authored-by: leif stawnyczy <[email protected]> * Add backport info: * Add version enum * Bump hapi version to 5.6.3 * Add version enum * Add changelog folder and version.yaml * Patch vulnerability, add changelog * AuthorizationInterceptor concurrency failure (#3528) * Fix #3256 - AuthorizationInterceptor concurrency failure * Test fixes * Add backport info * Fix test for lang level 8 * Bump hapi * License updates * Add release pipeline * remove checkstyle from old version * swap jdk for build * Couple removals for arbitrary failures * disabling tests for this next 5_6 release because we shoot from the hip here * Updating version to: 5.6.5 post release. * add new folder * fix versionenum * remove unreleased versions * Bring back into line Co-authored-by: Kevin Dougan SmileCDR <[email protected]> Co-authored-by: michaelabuckley <[email protected]> Co-authored-by: TipzCM <[email protected]> Co-authored-by: leif stawnyczy <[email protected]> Co-authored-by: IanMMarshall <[email protected]> Co-authored-by: ianmarshall <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Joanne Mendoza <[email protected]> Co-authored-by: Ken Stevens <[email protected]> Co-authored-by: katie_smilecdr <[email protected]> Co-authored-by: James Agnew <[email protected]> Co-authored-by: markiantorno <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves issue #3148.