Skip to content

Commit

Permalink
Change almaIdMms to almaMmsId (hbz#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jun 8, 2021
1 parent acafbe9 commit d6a9268
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/alma/alma.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<constant value="http://lobid.org/resources/context.jsonld"/>
</data>
<data name="@uid" source="981 .a"/>
<data name="almaIdMMS" source="001"/>
<data name="almaMmsId" source="001"/>
<data name="almaIdPID" source="@portfolio"/>
</rules>
<xi:include href="common/titleRelatedFields.xml"/>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/labels/context-labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,10 @@
},
{
"referenceType" : "String",
"uri" : "http://purl.org/lobid/lv#almaIdMMS",
"uri" : "http://purl.org/lobid/lv#almaMmsId",
"label" : "Alma Katalog Id",
"multilangLabel" : {},
"name" : "almaIdMMS"
"name" : "almaMmsId"
},
{
"name" : "numbering",
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT000161712.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990001412590206441",
"almaMmsId" : "990001412590206441",
"hbzId" : "HT000161712",
"title" : "Handwörterbuch des Volksschulwesens",
"responsibilityStatement" : [ "unter Mitw. zahlr. Schulmänner hrsg. von E. Clausnitzer ..." ],
Expand Down Expand Up @@ -176,7 +176,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-18T14:59:30",
"endTime" : "2021-06-08T16:06:32",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT000312236.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990053976760206441",
"almaMmsId" : "990053976760206441",
"hbzId" : "HT000312236",
"title" : "Physik in der Schule",
"oclcNumber" : "476269048",
Expand Down Expand Up @@ -180,7 +180,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T11:47:53",
"endTime" : "2021-06-08T16:06:33",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT003176544.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990054301770206441",
"almaMmsId" : "990054301770206441",
"hbzId" : "HT003176544",
"title" : "Reisen in Deutschland",
"otherTitleInformation" : [ "deutsches Handbuch für Fremdenverkehr" ],
Expand Down Expand Up @@ -73,7 +73,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-18T14:59:30",
"endTime" : "2021-06-08T16:06:32",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT004285445.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990016782920206441",
"almaMmsId" : "990016782920206441",
"hbzId" : "HT004285445",
"title" : "Erleben - Verstehen - Lernen",
"otherTitleInformation" : [ "Klavierschule für Erwachsene" ],
Expand Down Expand Up @@ -64,7 +64,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-18T14:59:32",
"endTime" : "2021-06-08T16:06:32",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT005207972.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990021367710206441",
"almaMmsId" : "990021367710206441",
"hbzId" : "HT005207972",
"title" : "Labor economics",
"otherTitleInformation" : [ "wages, employment, and trade unionism" ],
Expand Down Expand Up @@ -159,7 +159,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-18T14:59:32",
"endTime" : "2021-06-08T16:06:30",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT006855611.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990050000600206441",
"almaMmsId" : "990050000600206441",
"hbzId" : "HT006855611",
"title" : "Das gelbe Rechenbuch",
"otherTitleInformation" : [ "für Ingenieure, Naturwissenschaftler und Mathematiker ; Rechenverfahren der höheren Mathematik in Einzelschritten erklärt ; mit vielen ausführlich gerechneten Beispielen" ],
Expand Down Expand Up @@ -130,7 +130,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-18T14:59:31",
"endTime" : "2021-06-08T16:06:31",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT012734833.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990108873860206441",
"almaMmsId" : "990108873860206441",
"hbzId" : "HT012734833",
"title" : "Behavioural pharmacology",
"zdbId" : "1500025-4",
Expand Down Expand Up @@ -88,7 +88,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T09:07:41",
"endTime" : "2021-06-08T16:06:33",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT012734884.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990108874370206441",
"almaMmsId" : "990108874370206441",
"hbzId" : "HT012734884",
"title" : "Yearbook of anthropology",
"responsibilityStatement" : [ "Wenner-Gren Foundation for Anthropological Research" ],
Expand Down Expand Up @@ -94,7 +94,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T09:07:41",
"endTime" : "2021-06-08T16:06:34",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT015011399.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990156027740206441",
"almaMmsId" : "990156027740206441",
"hbzId" : "HT015011399",
"title" : "Strukturelle und biochemische Einblicke in Mechanismen des Nukleotidaustauschs von Rab-Proteinen",
"responsibilityStatement" : [ "vorgelegt von Aymelt Itzen" ],
Expand Down Expand Up @@ -85,7 +85,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T09:07:40",
"endTime" : "2021-06-08T16:06:30",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT015671602.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990171142550206441",
"almaMmsId" : "990171142550206441",
"hbzId" : "HT015671602",
"title" : "FRBR",
"otherTitleInformation" : [ "a guide for the perplexed" ],
Expand Down Expand Up @@ -128,7 +128,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-18T14:59:27",
"endTime" : "2021-06-08T16:06:31",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT016709661.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990184127410206441",
"almaMmsId" : "990184127410206441",
"hbzId" : "HT016709661",
"title" : "Wohnungsmarktbericht",
"otherTitleInformation" : [ "Fortschreibung mit Stand .." ],
Expand Down Expand Up @@ -134,7 +134,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T15:17:54",
"endTime" : "2021-06-08T16:06:32",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT017015300.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990189160110206441",
"almaMmsId" : "990189160110206441",
"hbzId" : "HT017015300",
"title" : "Der Schulhof als bewegungsorientierter Sozialraum",
"otherTitleInformation" : [ "eine sportpädagogische Untersuchung zum informellen Lernen in Ganztagsschulen" ],
Expand Down Expand Up @@ -221,7 +221,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T09:07:40",
"endTime" : "2021-06-08T16:06:31",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT017398609.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990193094010206441",
"almaMmsId" : "990193094010206441",
"hbzId" : "HT017398609",
"title" : "The FRBR family of conceptual models",
"otherTitleInformation" : [ "toward a linked bibliographic future" ],
Expand Down Expand Up @@ -94,7 +94,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-18T14:59:32",
"endTime" : "2021-06-08T16:06:33",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT017411546.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990193229450206441",
"almaMmsId" : "990193229450206441",
"hbzId" : "HT017411546",
"title" : "Westfälische Bibliographie zur Geschichte, Landeskunde und Volkskunde",
"zdbId" : "2685248-2",
Expand Down Expand Up @@ -132,7 +132,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T15:17:53",
"endTime" : "2021-06-08T16:06:32",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT017664407.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990197023370206441",
"almaMmsId" : "990197023370206441",
"hbzId" : "HT017664407",
"title" : "Aegyptische Nachrichten",
"zdbId" : "2719150-3",
Expand Down Expand Up @@ -85,7 +85,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T09:07:39",
"endTime" : "2021-06-08T16:06:33",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT019246898.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990217478660206441",
"almaMmsId" : "990217478660206441",
"hbzId" : "HT019246898",
"title" : "Architektur wahrnehmen",
"responsibilityStatement" : [ "Alexandra Abel, Bernd Rudolf (Hg.)" ],
Expand Down Expand Up @@ -332,7 +332,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T15:25:59",
"endTime" : "2021-06-08T16:06:33",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT020202475.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990363946050206441",
"almaMmsId" : "990363946050206441",
"hbzId" : "HT020202475",
"title" : "Kritische Theorie",
"otherTitleInformation" : [ "Schlüsselbegriffe, Kontroversen, Grenzen" ],
Expand Down Expand Up @@ -98,7 +98,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T09:07:40",
"endTime" : "2021-06-08T16:06:33",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)HT020391499.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990365842280206441",
"almaMmsId" : "990365842280206441",
"hbzId" : "HT020391499",
"title" : "L’importance de l’Objectif de développement durable relatif à l’éducation (ODD 4) pour les pays de l’OCDE",
"responsibilityStatement" : [ "Organisation de coopération et de développement économiques" ],
Expand Down Expand Up @@ -96,7 +96,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T09:07:40",
"endTime" : "2021-06-08T16:06:33",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)TT003907920.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990225056670206441",
"almaMmsId" : "990225056670206441",
"hbzId" : "TT003907920",
"title" : "Das gelbe Rechenbuch",
"otherTitleInformation" : [ "für Ingenieure, Naturwissenschaftler und Mathematiker ; Rechenverfahren der höheren Mathematik in Einzelschritten erklärt ; mit vielen ausführlich gerechneten Beispielen" ],
Expand Down Expand Up @@ -77,7 +77,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-18T14:59:30",
"endTime" : "2021-06-08T16:06:32",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma/(DE-605)TT050421649.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"almaIdMMS" : "990197293880206441",
"almaMmsId" : "990197293880206441",
"hbzId" : "TT050421649",
"title" : "Keine Angst vor Linux/Unix",
"otherTitleInformation" : [ "Ein Lehrbuch für Linux- und Unix-Anwender" ],
Expand Down Expand Up @@ -154,7 +154,7 @@
},
"resultOf" : {
"type" : [ "CreateAction" ],
"endTime" : "2021-05-21T09:07:39",
"endTime" : "2021-06-08T16:06:31",
"instrument" : {
"id" : "https://github.com/hbz/lobid-resources",
"type" : [ "SoftwareApplication" ],
Expand Down
2 changes: 1 addition & 1 deletion startAlmaToLobidResources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You may give as 8th parameter a file containing a list of filenames. These will
fi

function indexFile() {
mvn exec:java -DkeyToGetMainId=almaIdMMS -Dexec.mainClass="org.lobid.resources.run.AlmaMarcXml2lobidJsonEs" -Dexec.args="$1 $INDEX_NAME $INDEX_ALIAS_SUFFIX $ES_NODE $ES_CLUSTER_NAME $UPDATE_NEWEST_INDEX" -Dexec.cleanupDaemonThreads=false
mvn exec:java -DkeyToGetMainId=almaMmsId -Dexec.mainClass="org.lobid.resources.run.AlmaMarcXml2lobidJsonEs" -Dexec.args="$1 $INDEX_NAME $INDEX_ALIAS_SUFFIX $ES_NODE $ES_CLUSTER_NAME $UPDATE_NEWEST_INDEX" -Dexec.cleanupDaemonThreads=false
}

function index() {
Expand Down

0 comments on commit d6a9268

Please sign in to comment.