From eb0e2e20d7c3e1863e0985e6d6263d2e16832a86 Mon Sep 17 00:00:00 2001 From: Josiah Date: Thu, 24 Jun 2021 10:17:44 -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 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 49a0c13a4dc..30f3fae56ab 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 = 1000; + public static final int REQUEST_LENGTH = 1024; 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 2de14fd8149..e25b83b4a55 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 @@ -98,7 +98,7 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks { .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); + .modifyColumn("20210624.1","REQUEST").nonNullable().withType(ColumnTypeEnum.STRING, 1024); } private void init540() {