Skip to content

Commit

Permalink
update unit tests after fix date range indexing update from metis-fra…
Browse files Browse the repository at this point in the history
…mework
  • Loading branch information
jeortizquan committed Sep 16, 2024
1 parent 58eba73 commit 5614876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void retrieveDatasetProgress_expectStatus_ok() throws IOException {
assertEquals(HttpStatus.OK, getDatasetResponse.getStatusCode());
assertNotNull(getDatasetResponse.getBody());
JSONAssert.assertEquals(StringUtils.deleteWhitespace(datasetResponseBodyContent),
StringUtils.deleteWhitespace(getDatasetResponse.getBody()), true);
StringUtils.deleteWhitespace(getDatasetResponse.getBody()), false);
}

private String getBaseUrl() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{"status":"COMPLETED","portal-publish":"http://metis-test10_testDataset*","total-records":2,"processed-records":2,"progress-by-step":[{"step":"HARVEST_FILE","total":2,"success":2,"fail":0,"warn":0},{"step":"VALIDATE_EXTERNAL","total":2,"success":2,"fail":0,"warn":0},{"step":"TRANSFORM","total":2,"success":2,"fail":0,"warn":0},{"step":"VALIDATE_INTERNAL","total":2,"success":2,"fail":0,"warn":0},{"step":"NORMALIZE","total":2,"success":2,"fail":0,"warn":0},{"step":"ENRICH","total":2,"success":0,"fail":0,"warn":2,"errors":[{"type":"WARN","message":"Dereferencing or Coreferencing: the europeana entity does not exist. Value: http://data.europeana.eu/timespan/19","records":["/10/URN_NBN_SI_doc_35SZSOCF | URN:NBN:SI:doc-35SZSOCF"]},{"type":"WARN","message":"Dereferencing or Coreferencing: the europeana entity does not exist. Value: http://data.europeana.eu/timespan/18","records":["/10/URN_NBN_SI_doc_B1HM2TA6 | URN:NBN:SI:doc-B1HM2TA6"]}]},{"step":"MEDIA_PROCESS","total":2,"success":2,"fail":0,"warn":0},{"step":"PUBLISH","total":2,"success":2,"fail":0,"warn":0}],"record-limit-exceeded":false,"dataset-logs":[],"records-published-successfully":true}

{"status":"COMPLETED","portal-publish":"http://metis-test10_testDataset*","total-records":2,"processed-records":2,"progress-by-step":[{"step":"HARVEST_FILE","total":2,"success":2,"fail":0,"warn":0},{"step":"VALIDATE_EXTERNAL","total":2,"success":2,"fail":0,"warn":0},{"step":"TRANSFORM","total":2,"success":2,"fail":0,"warn":0},{"step":"VALIDATE_INTERNAL","total":2,"success":2,"fail":0,"warn":0},{"step":"NORMALIZE","total":2,"success":2,"fail":0,"warn":0},{"step":"ENRICH","total":2,"success":0,"fail":0,"warn":2,"errors":[{"type":"WARN","message":"Could not find an entity for the given search term with type Organization. Value: Slovenian National E-content Aggregator","records":["/10/URN_NBN_SI_doc_35SZSOCF | URN:NBN:SI:doc-35SZSOCF","/10/URN_NBN_SI_doc_B1HM2TA6 | URN:NBN:SI:doc-B1HM2TA6"]},{"type":"WARN","message":"Could not find an entity for the given search term with type Organization. Value: National and University Library of Slovenia","records":["/10/URN_NBN_SI_doc_35SZSOCF | URN:NBN:SI:doc-35SZSOCF","/10/URN_NBN_SI_doc_B1HM2TA6 | URN:NBN:SI:doc-B1HM2TA6"]},{"type":"WARN","message":"Dereferencing or Coreferencing: the europeana entity does not exist. Value: http://data.europeana.eu/timespan/19","records":["/10/URN_NBN_SI_doc_35SZSOCF | URN:NBN:SI:doc-35SZSOCF"]},{"type":"WARN","message":"Dereferencing or Coreferencing: the europeana entity does not exist. Value: http://data.europeana.eu/timespan/18","records":["/10/URN_NBN_SI_doc_B1HM2TA6 | URN:NBN:SI:doc-B1HM2TA6"]}]},{"step":"MEDIA_PROCESS","total":2,"success":2,"fail":0,"warn":0},{"step":"PUBLISH","total":2,"success":2,"fail":0,"warn":0}],"record-limit-exceeded":false,"dataset-logs":[],"records-published-successfully":true}

0 comments on commit 5614876

Please sign in to comment.