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

Overrides Ids when installing an IG #2264

Merged
merged 9 commits into from
Oct 19, 2023
Merged

Conversation

vitorpamplona
Copy link
Collaborator

@vitorpamplona vitorpamplona commented Oct 14, 2023

Description
A draft solution to make sure the searchById in the Knowledge Manager works without searching by part of the URL.

Replaces: #2262

This PR:

  1. Overrides id when installing Knowledge Artifacts
  2. Updates files to match id
  3. Updates test case framework to not rely in id, because they will change
  4. Updates FhirOperator interface to offer a way to not use the internal id when selecting a PlanDefinition
  5. Updates test cases to match the new output ids

Type
Bug fix

Screenshots (if applicable)

Checklist

  • I have read and acknowledged the Code of conduct.
  • I have read the Contributing page.
  • I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
  • I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
  • I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
  • I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
  • I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

2. Updates files to match id
3. Updates test case framework to not rely in Ids, because they will change
4. Updates FhirOperator interface to offer a way to not use the internal Id when selecting a PlanDefinition
5. Updates test cases to match the new output ids.
# Conflicts:
#	workflow/src/main/java/com/google/android/fhir/workflow/FhirOperator.kt
#	workflow/src/test/java/com/google/android/fhir/workflow/FhirOperatorTest.kt
…urce metadata entity db table... so this function can actually be simplified to remove the resource type parameter.
@jingtang10 jingtang10 enabled auto-merge (squash) October 19, 2023 14:29
@jingtang10 jingtang10 merged commit c07ccc7 into google:master Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

2 participants