Commit efb8db1c authored by Matthias's avatar Matthias
Browse files

change parameter name to mroe generic one

parent 28fdf16d
Pipeline #13482 passed with stages
in 5 minutes and 38 seconds
......@@ -5,7 +5,7 @@ import yaml
class FetchMappingFile(Resource):
def get(self, recordset_id, mapping_file_name):
def get(self, recordset_id, file_name):
"""
Fetches the mapping file form the sftp-server
---
......@@ -19,7 +19,7 @@ class FetchMappingFile(Resource):
example: AfZ-Becker-Audiovisuals
type: string
- in: path
name: mapping_file_name
name: file_name
required: true
description: The name of the mapping file
example: mapping.yml
......@@ -47,7 +47,7 @@ class FetchMappingFile(Resource):
# port = 80
# user = 'mb_sftp'
# pwd = '***'
remotePath = '/swissbib_index/mb_sftp/' + recordset_id + '/config/' + mapping_file_name
remotePath = '/swissbib_index/mb_sftp/' + recordset_id + '/config/' + file_name
mappingFileContents = ''
status = 'SUCCESS'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment