From 894119a031efff402b74b2aad874cffc9f35a9c8 Mon Sep 17 00:00:00 2001
From: Dorian Merz <merz@ub.uni-leipzig.de>
Date: Wed, 10 Feb 2021 15:40:47 +0100
Subject: [PATCH] refs #19114 [fid_bbi] reduce Amsl API configuration

* relies on newly introduced finc-level config
---
 fid_bbi/config/vufind/Amsl.ini | 26 ++------------------------
 1 file changed, 2 insertions(+), 24 deletions(-)

diff --git a/fid_bbi/config/vufind/Amsl.ini b/fid_bbi/config/vufind/Amsl.ini
index 90767a4bb53..745da29ee9b 100644
--- a/fid_bbi/config/vufind/Amsl.ini
+++ b/fid_bbi/config/vufind/Amsl.ini
@@ -8,7 +8,7 @@
 ;
 
 [Parent_Config]
-;relative_path = ../../../local/config/vufind/Amsl.ini
+relative_path = ../../../local/config/vufind/Amsl.ini
 
 ; A comma-separated list of config sections from the parent which should be
 ; completely overwritten by the equivalent sections in this configuration;
@@ -25,33 +25,11 @@
 ;url = "https://live.amsl.technology/inhouseservices/list?do=catalog_metadataList&isil=DE-23"
 ;url = "https://live.amsl.technology/outboundservices/list?do=metadata_usage_concat" => source_label and collection_description missing
 url = "https://live.amsl.technology/inhouseservices/list?do=catalog_metadataList&isil=FID-BBI-DE-23"
-response_type = 'application/json'
-; max caching in milliseconds
+; max caching in seconds
 ttl = 604800
 
-; Contains label patterns for two layers of source hierarchy
-; these will normally be source and collection represented by main_label and sub_label, resp.
-; use array_keys in double percent signs to be rendered in the labels
-; the main label MUST contain the main key and the main key SHOULD identify the source
-; same for the sub key and label
 [Mapping]
-main_key = 'source_id'
-main_label = '%%source_label%%'
-sortBySourceLabel = true
-default_main_label = 'untitled source'
-sub_key = 'collection_label'
-sub_label = '%%collection_label%%'
-default_sub_label = 'untilted collection'
-show_link = true
-; show_description can be api, local or false
-; api or true displays entry from AMSL-API as defined in sub_description_key
-; local displays entry from local translation file
-; false does not show a description
 show_description = local
-sub_description_key = 'collection_description'
-
-[AdditionalResources]
-; mega_collection = source_id
 
 [MisspelledResources]
 ; wrong collection label = correct collection label for links
-- 
GitLab