Skip to content

Commit

Permalink
integration fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
southeo committed Nov 1, 2024
1 parent e4f3bb3 commit b974efc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class ElasticSearchRepository {

private final ElasticsearchClient client;
private final ElasticSearchProperties properties;
private static final String SORT_BY = "dcterms:identifier.keyword";
private static final String SORT_BY = "ods:ID.keyword";

public List<JsonNode> getTargetObjects(List<SearchParam> searchParams, TargetType targetType,
String lastId, List<String> targetFields)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public abstract class AbstractExportJobService {
private final ExporterBackendClient exporterBackendClient;
private final S3Repository s3Repository;
protected static final String TEMP_FILE_NAME = "src/main/resources/tmp.csv.gz";
protected static final String ID_FIELD = "dcterms:identifier";
protected static final String ID_FIELD = "ods:ID";
protected static final String PHYSICAL_ID_FIELD = "ods:physicalSpecimenID";


Expand Down
2 changes: 1 addition & 1 deletion src/test/java/eu/dissco/exportjob/utils/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private TestUtils() {
.setSerializationInclusion(Include.NON_NULL);
public static final String DOWNLOAD_LINK = "https://aws.download/s3";
public static final String ORG_FIELD_NAME = "$['ods:organisationID']";
public static final String ID_FIELD = "dcterms:identifier";
public static final String ID_FIELD = "ods:ID";
public static final String PHYS_ID_FIELD = "ods:physicalSpecimenID";

public static JobRequest givenJobRequest() {
Expand Down

0 comments on commit b974efc

Please sign in to comment.