Skip to content

Commit

Permalink
No use cache-id on the tx server
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Sep 25, 2024
1 parent 463f595 commit 0b65fdc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fhirCoreVersion = 6.3.27
fhirCoreVersion = 6.3.28-SNAPSHOT
apachePoiVersion = 5.2.1
jacksonVersion = 2.16.0
apacheHttpcomponentsVersion = 4.5.13
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/hl7/fhir/tools/publisher/PageProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
import org.hl7.fhir.r5.conformance.profile.ProfileUtilities;
import org.hl7.fhir.r5.context.CanonicalResourceManager;
import org.hl7.fhir.r5.context.ILoggingService;
import org.hl7.fhir.r5.context.TextClientLogger;
import org.hl7.fhir.r5.elementmodel.Element;
import org.hl7.fhir.r5.elementmodel.Manager;
import org.hl7.fhir.r5.elementmodel.Manager.FhirFormat;
Expand Down Expand Up @@ -10434,6 +10435,7 @@ public void setDefinitions(Definitions definitions) throws Exception {
ITerminologyClient client;
try {
client = new TerminologyClientR5("tx.fhir.org", tsServer, "fhir/main-build");
// client.setLogger(new TextClientLogger(Utilities.path("[tmp]", "tx-main-build.log")));
client.setTimeoutFactor(2);
} catch(Exception e) {
System.out.println("Warning @ PageProcessor client initialize: " + e.getLocalizedMessage());
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/hl7/fhir/tools/publisher/Publisher.java
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
import org.hl7.fhir.r5.renderers.utils.ResourceWrapper;
import org.hl7.fhir.r5.terminologies.CodeSystemUtilities;
import org.hl7.fhir.r5.terminologies.ValueSetUtilities;
import org.hl7.fhir.r5.terminologies.client.TerminologyClientContext;
import org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome;
import org.hl7.fhir.r5.utils.BuildExtensions;
import org.hl7.fhir.r5.utils.CanonicalResourceUtilities;
Expand Down Expand Up @@ -675,6 +676,7 @@ private static String nowAsDate(Calendar cal) {
* @throws IOException
*/
public void execute(String folder, String[] args) throws IOException {
TerminologyClientContext.setCanUseCacheId(false);
tester = new PublisherTestSuites();
sdm = new SDUsageMapper();

Expand Down

0 comments on commit 0b65fdc

Please sign in to comment.