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

Fix the version collision in Knowledge Manager #2043

Merged
merged 7 commits into from
Jun 29, 2023

Conversation

ktarasenko
Copy link
Contributor

Fixes [2042]

Description
URL is not a unique identifier for the library and should be used together with version.
Made necessary changes to reflect that

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?

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).

…ether with version. Made necessary changes to reflect that
@jingtang10
Copy link
Collaborator

@ktarasenko there seem to be tests failing:

com.google.android.fhir.workflow.FhirOperatorTest > evaluateIndividualSubjectMeasure FAILED
    org.opencds.cqf.cql.engine.exception.CqlException at Context.java:408

com.google.android.fhir.workflow.FhirOperatorTest > evaluatePopulationMeasure FAILED
    org.opencds.cqf.cql.engine.exception.CqlException at Context.java:408

com.google.android.fhir.workflow.FhirOperatorTest > evaluateGroupPopulationMeasure FAILED
    org.opencds.cqf.cql.engine.exception.CqlException at Context.java:408

ktarasenko and others added 4 commits June 28, 2023 17:20
… with the given url if the version wasn't explicitly provided
* Refactored text overflow in dropdown

* Removed unnecessary attributes from drop down list item xml

* Update datacapture/src/main/res/layout/drop_down_list_item.xml

---------

Co-authored-by: Jing Tang <[email protected]>
@ktarasenko ktarasenko force-pushed the km-fix-url-version branch from 8188928 to 4def0d6 Compare June 29, 2023 09:30
@ktarasenko ktarasenko enabled auto-merge (squash) June 29, 2023 09:31
@ktarasenko ktarasenko merged commit 5dba2ec into google:master Jun 29, 2023
@ktarasenko ktarasenko deleted the km-fix-url-version branch June 29, 2023 10:55
omarismail94 added a commit that referenced this pull request Jul 4, 2023
* distinct name for onetime

new stuff

Fix the version collision in Knowledge Manager  (#2043)

* Url is not a unique identifier for the library and should be used together with version. Made necessary changes to reflect that

* Truncate the input test file to fit the memory. Use the first library with the given url if the version wasn't explicitly provided

* Refactored text overflow in dropdown (#1987)

* Refactored text overflow in dropdown

* Removed unnecessary attributes from drop down list item xml

* Update datacapture/src/main/res/layout/drop_down_list_item.xml

---------

Co-authored-by: Jing Tang <[email protected]>

* Spotless apply

---------

Co-authored-by: Omar Ismail <[email protected]>
Co-authored-by: khyativyasargus <[email protected]>
Co-authored-by: Jing Tang <[email protected]>

Support basic HTTP authentication (#2038)

* Create a more generic and consistent way of providing authorization header

* Update engine/src/main/java/com/google/android/fhir/sync/HttpAuthenticator.kt

Co-authored-by: Omar Ismail <[email protected]>

* Update doc for HttpAuthenticator

---------

Co-authored-by: Omar Ismail <[email protected]>

Engine codelab (#2059)

* Initial version

* make app work

* add update function

* Run spotless apply

* Remove unnecessary header in FHIR Engine codelab README.md

---------

Co-authored-by: omarismail <[email protected]>

Simplify codelab code (#2060)

* Initial version

* make app work

* add update function

* Run spotless apply

* Remove unnecessary header in FHIR Engine codelab README.md

* Simplify engine codelab code

* Update codelabs/engine/app/src/main/java/com/google/android/fhir/codelabs/engine/DownloadWorkManagerImpl.kt

Co-authored-by: Omar Ismail <[email protected]>

---------

Co-authored-by: omarismail <[email protected]>
Co-authored-by: Omar Ismail <[email protected]>

Engine codelab (#2061)

* Initial version

* make app work

* add update function

* Run spotless apply

* Remove unnecessary header in FHIR Engine codelab README.md

* Simplify engine codelab code

* Update codelabs/engine/app/src/main/java/com/google/android/fhir/codelabs/engine/DownloadWorkManagerImpl.kt

Co-authored-by: Omar Ismail <[email protected]>

* Update engine codelab

* Run spotless

---------

Co-authored-by: omarismail <[email protected]>
Co-authored-by: Omar Ismail <[email protected]>

* address comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
4 participants