From 1ab3d0a15998be832d3a76814478786c60c63c54 Mon Sep 17 00:00:00 2001 From: Josiah Date: Thu, 24 Jun 2021 10:10:10 -0400 Subject: [PATCH] Bump bulk export request length --- .../main/java/ca/uhn/fhir/jpa/entity/BulkExportJobEntity.java | 2 +- .../uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/BulkExportJobEntity.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/BulkExportJobEntity.java index f2f8a092715..49a0c13a4dc 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/BulkExportJobEntity.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/BulkExportJobEntity.java @@ -57,7 +57,7 @@ import static org.apache.commons.lang3.StringUtils.left; }) public class BulkExportJobEntity implements Serializable { - public static final int REQUEST_LENGTH = 500; + public static final int REQUEST_LENGTH = 1000; public static final int STATUS_MESSAGE_LEN = 500; @Id @GeneratedValue(strategy = GenerationType.AUTO, generator = "SEQ_BLKEXJOB_PID") diff --git a/hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java b/hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java index fd9fd705b8f..2de14fd8149 100644 --- a/hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java +++ b/hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java @@ -39,6 +39,7 @@ import ca.uhn.fhir.jpa.model.entity.ResourceIndexedSearchParamToken; import ca.uhn.fhir.jpa.model.entity.ResourceIndexedSearchParamUri; import ca.uhn.fhir.jpa.model.entity.SearchParamPresent; import ca.uhn.fhir.util.VersionEnum; +import org.checkerframework.checker.units.qual.C; import java.util.Arrays; import java.util.List; @@ -95,6 +96,9 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks { .modifyColumn("20210617.1","TARGET_DISPLAY").nullable().withType(ColumnTypeEnum.STRING, 500); version.onTable("TRM_CONCEPT_MAP_GRP_ELEMENT") .modifyColumn("20210617.2", "SOURCE_DISPLAY").nullable().withType(ColumnTypeEnum.STRING, 500); + + version.onTable("HFJ_BLK_EXPORT_JOB") + .modifyColumn("20210624.1","REQUEST").nonNullable().withType(ColumnTypeEnum.STRING, 1000); } private void init540() {