Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use local version of cron job ed maps #1893 #1901

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.