diff --git a/.github/workflows/bidi-checker.yml b/.github/workflows/bidi-checker.yml index 391c19bf9..39cba1e06 100644 --- a/.github/workflows/bidi-checker.yml +++ b/.github/workflows/bidi-checker.yml @@ -24,5 +24,7 @@ jobs: - name: Check for bidi characters id: bidi_check uses: HL7/bidi-checker-action@v1.9 + env: + IGNORE: dummy-package.tgz$ - name: Get the output time run: echo "The time was ${{ steps.bidi_check.outputs.time }}" diff --git a/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/terminologies/TerminologyCacheManager.java b/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/terminologies/TerminologyCacheManager.java index 1e1f8308c..6f9eb2679 100644 --- a/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/terminologies/TerminologyCacheManager.java +++ b/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/terminologies/TerminologyCacheManager.java @@ -157,6 +157,7 @@ public class TerminologyCacheManager { String url = "https://tx.fhir.org/post/tx-cache/"+ghOrg+"/"+ghRepo+"/"+ghBranch+".zip"; System.out.println("Sending tx-cache to "+url+" ("+Utilities.describeSize(bs.toByteArray().length)+")"); SimpleHTTPClient http = new SimpleHTTPClient(); + http.setAuthenticationMode(SimpleHTTPClient.AuthenticationMode.BASIC); http.setUsername(token.substring(0, token.indexOf(':'))); http.setPassword(token.substring(token.indexOf(':')+1)); HTTPResult res = http.put(url, "application/zip", bs.toByteArray(), null); // accept doesn't matter diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/TerminologyCacheManager.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/TerminologyCacheManager.java index 60fa1cf2d..61dadde57 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/TerminologyCacheManager.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/TerminologyCacheManager.java @@ -157,6 +157,7 @@ public class TerminologyCacheManager { String url = "https://tx.fhir.org/post/tx-cache/"+ghOrg+"/"+ghRepo+"/"+ghBranch+".zip"; System.out.println("Sending tx-cache to "+url+" ("+Utilities.describeSize(bs.toByteArray().length)+")"); SimpleHTTPClient http = new SimpleHTTPClient(); + http.setAuthenticationMode(SimpleHTTPClient.AuthenticationMode.BASIC); http.setUsername(token.substring(0, token.indexOf(':'))); http.setPassword(token.substring(token.indexOf(':')+1)); HTTPResult res = http.put(url, "application/zip", bs.toByteArray(), null); // accept doesn't matter diff --git a/org.hl7.fhir.utilities/pom.xml b/org.hl7.fhir.utilities/pom.xml index 64630d9e3..ac622c346 100644 --- a/org.hl7.fhir.utilities/pom.xml +++ b/org.hl7.fhir.utilities/pom.xml @@ -153,6 +153,13 @@ 3.1.0 test + + com.squareup.okhttp3 + mockwebserver + 4.11.0 + test + +