-
Notifications
You must be signed in to change notification settings - Fork 157
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
Issues 1921, 1923, and 2499 - whole-system search updates and related changes #2519
Conversation
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
…anonical url parsing Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
…param tables Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
...rsistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/impl/FHIRPersistenceJDBCImpl.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
fhir-bucket/src/main/java/com/ibm/fhir/bucket/interop/InteropWorkload.java
Show resolved
Hide resolved
fhir-bucket/src/main/java/com/ibm/fhir/bucket/persistence/GetLastProcessedLineNumber.java
Outdated
Show resolved
Hide resolved
...tence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/cache/CommonTokenValuesCacheImpl.java
Outdated
Show resolved
Hide resolved
...nce-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/cache/FHIRPersistenceJDBCCacheUtil.java
Show resolved
Hide resolved
...ence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/connection/CreateTempTablesAction.java
Outdated
Show resolved
Hide resolved
fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dto/CompositeParmVal.java
Outdated
Show resolved
Hide resolved
fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dto/DateParmVal.java
Show resolved
Hide resolved
fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dto/StringParmVal.java
Outdated
Show resolved
Hide resolved
fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dto/UriParmVal.java
Show resolved
Hide resolved
...ence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/impl/ParameterTransactionDataImpl.java
Show resolved
Hide resolved
...-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/postgres/PostgresResourceReferenceDAO.java
Show resolved
Hide resolved
fhir-persistence-jdbc/src/test/java/com/ibm/fhir/persistence/jdbc/test/spec/Main.java
Show resolved
Hide resolved
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/JDBCConstants.java
Outdated
Show resolved
Hide resolved
...tence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/cache/CommonTokenValuesCacheImpl.java
Show resolved
Hide resolved
fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dao/ReindexResourceDAO.java
Outdated
Show resolved
Hide resolved
...nce-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/postgres/PostgresResourceNoProcDAO.java
Outdated
Show resolved
Hide resolved
...persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/domain/SearchQueryRenderer.java
Show resolved
Hide resolved
...persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/domain/SearchQueryRenderer.java
Show resolved
Hide resolved
...ersistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dto/ExtractedParameterValue.java
Outdated
Show resolved
Hide resolved
fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dto/UriParmVal.java
Outdated
Show resolved
Hide resolved
deprecates UriParmVal.java |
...rsistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/impl/FHIRPersistenceJDBCImpl.java
Show resolved
Hide resolved
...rsistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/impl/FHIRPersistenceJDBCImpl.java
Outdated
Show resolved
Hide resolved
...rsistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/postgres/PostgresResourceDAO.java
Show resolved
Hide resolved
updateStatement.setLong(3, logicalResourceId); | ||
updateStatement.setInt(4, versionId); | ||
updateStatement.setInt(3, versionId); | ||
updateStatement.setLong(4, logicalResourceId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a good catch but what was the result of the previous code? I guess InitializeLogicalResourceDenorms.java was just broken for Derby?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes - I expect it would fail with FK violations
fhir-persistence-schema/src/main/java/com/ibm/fhir/schema/control/FhirResourceTableGroup.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Issue #1922 - implement whole-system search in new query builder
* Get the set of all resource type names. | ||
* @return | ||
*/ | ||
Set<String> getResourceTypeNames() throws FHIRPersistenceException; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In ModelSupport we have a similar method which takes an argument for whether or not you want it to include "abstract" types.
At the very least I think we should clearly document whether this list will include those types or not (seems like yes at the moment, but should it?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should fix this when we properly implement support for a subset of resources (so that the whole-system search union only selects from the tables which are actually provisioned in the schema).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added as a comment to #819 (comment) but I still think we should update the javadoc to indicate that it current returns abstract types in the meantime.
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
…f parameter codes Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
Issue #1922 - don't run reindex tests during search tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just some minor documentation comments
...ersistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dao/impl/ResourceProfileRec.java
Show resolved
Hide resolved
fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/derby/DerbyResourceDAO.java
Show resolved
Hide resolved
...rsistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/impl/FHIRPersistenceJDBCImpl.java
Show resolved
Hide resolved
...rsistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/postgres/PostgresResourceDAO.java
Show resolved
Hide resolved
...nce-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/postgres/PostgresResourceNoProcDAO.java
Show resolved
Hide resolved
...nce-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/postgres/PostgresResourceNoProcDAO.java
Show resolved
Hide resolved
Signed-off-by: Robin Arnold <robin.arnold23@ibm.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Addresses #1921, #1923, and #2499.
Also includes schema updates associated with #2195 and partially addresses #2348 by introducing ParameterTableSupport