diff --git a/modules/weko-search-ui/weko_search_ui/config.py b/modules/weko-search-ui/weko_search_ui/config.py index fb159984a9..09e930899d 100644 --- a/modules/weko-search-ui/weko_search_ui/config.py +++ b/modules/weko-search-ui/weko_search_ui/config.py @@ -759,10 +759,21 @@ WEKO_SEARCH_UI_BULK_EXPORT_RETRY_INTERVAL = 1 """ retry interval(sec) """ -WEKO_SEARCH_UI_IMPORT_REPLACE_RULES = {} +WEKO_SEARCH_UI_IMPORT_REPLACE_RULES = { + "pipe_full_width": { + "from": "|", + "to": "|", + "is_regex": False, + "target_path": [] + } +} """Strings to be replaced during item import.""" -WEKO_SEARCH_UI_IMPORT_REPLACE_RULE_MAP = {} +WEKO_SEARCH_UI_IMPORT_REPLACE_RULE_MAP = { + "32001": [ + "pipe_full_width" + ] +} """Mapping of jsonld_mappings table 'id' to replacement rule keys.""" CELERY_RESULT_PERSISTENT = True diff --git a/scripts/instance.cfg b/scripts/instance.cfg index 07c757a6f3..0845409ed7 100644 --- a/scripts/instance.cfg +++ b/scripts/instance.cfg @@ -746,22 +746,6 @@ WEKO_RECORDS_UI_OA_UPDATE_STATUS_URL = "" # The API URL to get OA policies. example: "/api/archive_policies" WEKO_RECORDS_UI_OA_GET_OA_POLICIES_URL = "" -# For Import Replace Rules -WEKO_SEARCH_UI_IMPORT_REPLACE_RULES = { - "pipe_full_width": { - "from": "|", - "to": "|", - "is_regex": False, - "target_path": [] - } -} -# Import Replace Rule Map -WEKO_SEARCH_UI_IMPORT_REPLACE_RULE_MAP = { - "32001": [ - "pipe_full_width" - ] -} - # For JGSS # 1. User-Profile @@ -905,5 +889,3 @@ WEKO_RECORDS_UI_S3_TRANSFER_USE_THREADS = True WEKO_RECORDS_UI_S3_TRANSFER_MAX_CONCURRENCY = 10 """Number of threads for multipart upload/download for S3 compatible service transfer. Default is 10.""" -WEKO_SWORDSERVER_FILE_SET_FILE = "/terms/fileSetFile" -""" File path of file set file in SWORD server. """