diff --git a/sample-data/authorities/auth1.json b/sample-data/authorities/auth1.json deleted file mode 100644 index 123a9d71b..000000000 --- a/sample-data/authorities/auth1.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "id": "faa42925-1161-4642-8021-1077a0b19968", - "personalName": "Mark, Bernard, 1908-1966. Walka i zagłada warszawskiego getta. Dutch", - "sftPersonalName": [ - "Mark, Bernard, 1908-1966. Strijd en ondergang van het getto in Warschau" - ], - "saftPersonalName": [], - "sftPersonalNameTitle": [], - "saftPersonalNameTitle": [], - "sftCorporateName": [], - "saftCorporateName": [], - "sftCorporateNameTitle": [], - "saftCorporateNameTitle": [], - "sftMeetingName": [], - "saftMeetingName": [], - "sftMeetingNameTitle": [], - "saftMeetingNameTitle": [], - "sftUniformTitle": [], - "saftUniformTitle": [], - "sftTopicalTerm": [], - "saftTopicalTerm": [], - "subjectHeadings": "c", - "sftGeographicTerm": [], - "saftGeographicTerm": [], - "sftGenreTerm": [], - "saftGenreTerm": [], - "identifiers": [ - { - "value": "7325973", - "identifierTypeId": "6051f95c-028e-4c6a-8a9e-ee689dd51453" - }, - { - "value": "no2007123757", - "identifierTypeId": "e8b311a6-3b21-43f2-a269-dd9310cb2d0f" - }, - { - "value": "(OCoLC)oca07553000", - "identifierTypeId": "6051f95c-028e-4c6a-8a9e-ee689dd51453" - } - ], - "notes": [] -} diff --git a/sample-data/authorities/auth2.json b/sample-data/authorities/auth2.json deleted file mode 100644 index 687779b67..000000000 --- a/sample-data/authorities/auth2.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "id": "68c9894e-3a8b-4080-a462-00f10d3521d9", - "personalName": "Marḳ, Aharon, 1904-1938. Fulshṭendiḳ Poylish-Yidish ṿerṭerbukh", - "sftPersonalName": [ - "Marḳ, Aharon, 1904-1938. Poylish-Yidish ṿerṭerbukh", - "Marḳ, Aharon, 1904-1938. Słownik polsko-jidysz", - "Marḳ, Aharon, 1904-1938. Pełny słownik polsko-jidysz" - ], - "saftPersonalName": [], - "sftPersonalNameTitle": [], - "saftPersonalNameTitle": [], - "sftCorporateName": [], - "saftCorporateName": [], - "sftCorporateNameTitle": [], - "saftCorporateNameTitle": [], - "sftMeetingName": [], - "saftMeetingName": [], - "sftMeetingNameTitle": [], - "saftMeetingNameTitle": [], - "sftUniformTitle": [], - "saftUniformTitle": [], - "sftTopicalTerm": [], - "saftTopicalTerm": [], - "subjectHeadings": "c", - "sftGeographicTerm": [], - "saftGeographicTerm": [], - "sftGenreTerm": [], - "saftGenreTerm": [], - "identifiers": [ - { - "value": "7176877", - "identifierTypeId": "6051f95c-028e-4c6a-8a9e-ee689dd51453" - }, - { - "value": "no2007052185", - "identifierTypeId": "e8b311a6-3b21-43f2-a269-dd9310cb2d0f" - }, - { - "value": "(OCoLC)oca07406798", - "identifierTypeId": "6051f95c-028e-4c6a-8a9e-ee689dd51453" - } - ], - "notes": [] -} diff --git a/sample-data/authorities/auth3.json b/sample-data/authorities/auth3.json deleted file mode 100644 index 61efd605c..000000000 --- a/sample-data/authorities/auth3.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "id": "93edcb8d-52a6-4370-995f-f8ca987b2fec", - "personalName": "Cutter, Charles (Charles A.), 1951-", - "sftPersonalName": [], - "saftPersonalName": [], - "sftPersonalNameTitle": [], - "saftPersonalNameTitle": [], - "sftCorporateName": [], - "saftCorporateName": [], - "sftCorporateNameTitle": [], - "saftCorporateNameTitle": [], - "sftMeetingName": [], - "saftMeetingName": [], - "sftMeetingNameTitle": [], - "saftMeetingNameTitle": [], - "sftUniformTitle": [], - "saftUniformTitle": [], - "sftTopicalTerm": [], - "saftTopicalTerm": [], - "subjectHeadings": "z", - "sftGeographicTerm": [], - "saftGeographicTerm": [], - "sftGenreTerm": [], - "saftGenreTerm": [], - "identifiers": [ - { - "value": "oca12514049 ", - "identifierTypeId": "6051f95c-028e-4c6a-8a9e-ee689dd51453" - }, - { - "value": "no2019154628", - "identifierTypeId": "e8b311a6-3b21-43f2-a269-dd9310cb2d0f" - } - ], - "notes": [] -} diff --git a/sample-data/authorities/auth4.json b/sample-data/authorities/auth4.json deleted file mode 100644 index d957e5400..000000000 --- a/sample-data/authorities/auth4.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "id": "8187ae0a-e8cf-4876-b00a-ae4f839de8bf", - "personalName": "Mark, Barbara. Angelspeake book of prayer and healing. Spanish", - "sftPersonalName": [ - "Mark, Barbara. Devocionario de su angel de la guarda" - ], - "saftPersonalName": [], - "sftPersonalNameTitle": [], - "saftPersonalNameTitle": [], - "sftCorporateName": [], - "saftCorporateName": [], - "sftCorporateNameTitle": [], - "saftCorporateNameTitle": [], - "sftMeetingName": [], - "saftMeetingName": [], - "sftMeetingNameTitle": [], - "saftMeetingNameTitle": [], - "sftUniformTitle": [], - "saftUniformTitle": [], - "sftTopicalTerm": [], - "saftTopicalTerm": [], - "subjectHeadings": "c", - "sftGeographicTerm": [], - "saftGeographicTerm": [], - "sftGenreTerm": [], - "saftGenreTerm": [], - "identifiers": [ - { - "value": "877751", - "identifierTypeId": "6051f95c-028e-4c6a-8a9e-ee689dd51453" - }, - { - "value": "n 97095655 ", - "identifierTypeId": "e8b311a6-3b21-43f2-a269-dd9310cb2d0f" - }, - { - "value": "(DLC)n 97095655", - "identifierTypeId": "e8b311a6-3b21-43f2-a269-dd9310cb2d0f" - } - ], - "notes": [] -} diff --git a/src/main/java/org/folio/rest/impl/TenantRefAPI.java b/src/main/java/org/folio/rest/impl/TenantRefAPI.java index 31e787a72..2dc6af0ef 100644 --- a/src/main/java/org/folio/rest/impl/TenantRefAPI.java +++ b/src/main/java/org/folio/rest/impl/TenantRefAPI.java @@ -142,7 +142,6 @@ Future loadData(TenantAttributes attributes, String tenantId, tl.withIdContent(); tl.add("holdingsrecords", "holdings-storage/holdings"); tl.add("items", "item-storage/items"); - tl.add("authorities", "authority-storage/authorities"); tl.add("instance-relationships", "instance-storage/instance-relationships"); tl.add("bound-with/instances", "instance-storage/instances"); tl.add("bound-with/holdingsrecords", "holdings-storage/holdings"); diff --git a/src/test/java/org/folio/rest/api/SampleDataTest.java b/src/test/java/org/folio/rest/api/SampleDataTest.java index 8b43de512..7f5120f4c 100644 --- a/src/test/java/org/folio/rest/api/SampleDataTest.java +++ b/src/test/java/org/folio/rest/api/SampleDataTest.java @@ -74,11 +74,6 @@ public void boundWithPartsCount() { assertCount(boundWithStorageUrl("?limit=100"), "boundWithParts", 3); } - @Test - public void authorities() { - assertCount(authoritiesStorageUrl("?limit=100"), "authorities", 4); - } - private JsonObject get(URL url) { try { CompletableFuture getCompleted = new CompletableFuture<>();