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

End-to-end automation test for reindexing #1751 #2489

Merged
merged 45 commits into from
Jun 14, 2021
Merged

End-to-end automation test for reindexing #1751 #2489

merged 45 commits into from
Jun 14, 2021

Conversation

prb112
Copy link
Contributor

@prb112 prb112 commented Jun 8, 2021

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

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@prb112 prb112 marked this pull request as draft June 8, 2021 19:57
@prb112 prb112 self-assigned this Jun 8, 2021
prb112 added 26 commits June 8, 2021 20:23
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>
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>
prb112 added 4 commits June 11, 2021 09:49
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>
@prb112 prb112 requested a review from lmsurpre June 12, 2021 23:31
@prb112 prb112 marked this pull request as ready for review June 12, 2021 23:31
@@ -98,7 +98,7 @@
"_start": {
"extension": [{
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueString": "masked"
"valueCode": "masked"
Copy link
Member

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.

Copy link
Contributor Author

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

@lmsurpre lmsurpre requested a review from tbieste June 14, 2021 11:52
prb112 and others added 6 commits June 14, 2021 08:19
…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>
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Copy link
Contributor

@tbieste tbieste left a 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)

Copy link
Member

@lmsurpre lmsurpre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lmsurpre lmsurpre merged commit e1270f8 into main Jun 14, 2021
@lmsurpre lmsurpre deleted the issue-1751 branch June 14, 2021 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants