-
Notifications
You must be signed in to change notification settings - Fork 160
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
End-to-end automation test for reindexing #1751 #2489
Conversation
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
…h Guide #2494 Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
- Update BasicDate.json to support code vs valueString - Improve Test Coverage for ReindexOperation Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@@ -98,7 +98,7 @@ | |||
"_start": { | |||
"extension": [{ | |||
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", | |||
"valueString": "masked" | |||
"valueCode": "masked" |
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.
is this fix needed for any tests, or just a general cleanup thing? just checking since we currently point to the released fhir-examples.
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.
I have to update, otherwise I have to exclude it when I post to the server, which rejects it as invalid (no-value) data-absent-reason
...server-test/src/test/java/com/ibm/fhir/server/test/operation/ReindexOperationPhase2Test.java
Outdated
Show resolved
Hide resolved
...server-test/src/test/java/com/ibm/fhir/server/test/operation/ReindexOperationPhase3Test.java
Outdated
Show resolved
Hide resolved
...on/fhir-operation-reindex/src/main/java/com/ibm/fhir/operation/reindex/ReindexOperation.java
Show resolved
Hide resolved
...on/fhir-operation-reindex/src/main/java/com/ibm/fhir/operation/reindex/ReindexOperation.java
Outdated
Show resolved
Hide resolved
…eration/reindex/ReindexOperation.java Signed-off-by: Paul Bastide <pbastide@us.ibm.com> Co-authored-by: Lee Surprenant <lmsurpre@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
in FHIROperationRegistry Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
...server-test/src/test/java/com/ibm/fhir/server/test/operation/ReindexOperationPhase1Test.java
Outdated
Show resolved
Hide resolved
...server-test/src/test/java/com/ibm/fhir/server/test/operation/ReindexOperationPhase2Test.java
Outdated
Show resolved
Hide resolved
...on/fhir-operation-reindex/src/main/java/com/ibm/fhir/operation/reindex/ReindexOperation.java
Outdated
Show resolved
Hide resolved
...on/fhir-operation-reindex/src/main/java/com/ibm/fhir/operation/reindex/ReindexOperation.java
Show resolved
Hide resolved
Signed-off-by: Paul Bastide <pbastide@us.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 (when build successful)
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
This PR addresses:
1 - Hardening the Reindex Operation to bad input and reflective responses
2 - Update the documentation to include an omitted input parameter
3 - Add Reindex workflow with three jobs (in the matrix) - db2, postgres, derby
4 - Add multiple phase tests which require restarts between them
5 - BasicDate.json had a small error using valueString instead of code
6 - Added LogicalResource and Type level for the ReindexOperation
7 - Cleaned up the FHIROperationRegistry to register at system, type and instance level
What's not included:
1 - Reindex after Migration (a separate PR, based on these integration tests, will address the tests)
Signed-off-by: Paul Bastide pbastide@us.ibm.com