Bump bulk export request length

This commit is contained in:
Josiah 2021-06-24 10:10:10 -04:00
parent 9bc4859761
commit 1ab3d0a159
2 changed files with 5 additions and 1 deletions

View File

@ -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")

View File

@ -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<VersionEnum> {
.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() {