Skip to content

Commit

Permalink
Use local version of cron job ed maps #1893
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Sep 22, 2023
1 parent 1c9c561 commit 2dd6338
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 7 deletions.
12 changes: 12 additions & 0 deletions src/main/resources/alma/maps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
On production there are several maps that are fetch via cron job or are not public.
For avoiding conflict there are local version for testing saved here:

The maps are:

generatedAlmaSublibraryCode2Isil.tsv
generatedAlmaSuppressedLocations.tsv
deweyLabels.tsv
almaMmsId2rpbId.tsv
rpb-spatial.ttl
rpb.ttl
rpb2.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,24 @@ public void setup() {
fixVariables.put("catalogid", "DE-605");
fixVariables.put("createEndTime", "0"); // 0 <=> false
fixVariables.put("institution-code", "DE-605");
fixVariables.put("deweyLabels", "src/test/resources/deweyLabels.tsv");
fixVariables.put("deweyLabels", "src/test/resources/maps/deweyLabels.tsv");
fixVariables.put("dnbSachgruppen", "src/main/resources/alma/maps/dnbSachgruppen.tsv");
fixVariables.put("nwbib-spatial", "src/main/resources/nwbib-spatial.tsv");
fixVariables.put("wd_itemLabelTypesCoordinates", "src/main/resources/wd_itemLabelTypesCoordinates.tsv");
fixVariables.put("classification.tsv", "src/main/resources/alma/maps/classification.tsv");
fixVariables.put("formangabe.tsv", "src/main/resources/alma/maps/formangabe.tsv");
fixVariables.put("maps-institutions.tsv", "src/main/resources/alma/maps/institutions.tsv");
fixVariables.put("sublibraryIsil", "src/main/resources/alma/maps/generatedAlmaSublibraryCode2Isil.tsv");
fixVariables.put("suppressedLocations", "src/main/resources/alma/maps/generatedAlmaSuppressedLocations.tsv");
fixVariables.put("sublibraryIsil", "src/test/resources/maps/generatedAlmaSublibraryCode2Isil.tsv");
fixVariables.put("suppressedLocations", "src/test/resources/maps/generatedAlmaSuppressedLocations.tsv");
fixVariables.put("picaCreatorId2Isil.tsv", "src/main/resources/alma/maps/picaCreatorId2Isil.tsv");
fixVariables.put("nwbibWikidataLabelTypeCoords.tsv", "src/main/resources/alma/maps/nwbibWikidataLabelTypeCoords.tsv");
fixVariables.put("almaMmsId2rpbId", "src/main/resources/alma/maps/almaMmsId2rpbId.tsv");
fixVariables.put("almaMmsId2rpbId", "src/test/resources/maps/almaMmsId2rpbId.tsv");
fixVariables.put("lobidOrganisationsMapping.tsv", "src/main/resources/alma/maps/lobidOrganisationsMapping.tsv");
fixVariables.put("hbzowner2sigel.tsv", "src/main/resources/alma/maps/hbzowner2sigel.tsv");
fixVariables.put("isilRedirect.tsv", "src/main/resources/alma/maps/isilRedirect.tsv");
fixVariables.put("rpb2.ttl", "src/main/resources/alma/maps/rpb2.ttl");
fixVariables.put("rpb-spatial.ttl", "src/main/resources/alma/maps/rpb-spatial.ttl");
fixVariables.put("rpb.ttl", "src/main/resources/alma/maps/rpb.ttl");
fixVariables.put("rpb2.ttl", "src/test/resources/maps/rpb2.ttl");
fixVariables.put("rpb-spatial.ttl", "src/test/resources/maps/rpb-spatial.ttl");
fixVariables.put("rpb.ttl", "src/test/resources/maps/rpb.ttl");
fixVariables.put("hbzId2zdbId.tsv", "src/main/resources/alma/maps/hbzId2zdbId.tsv.gz");
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2dd6338

Please sign in to comment.