Commit 2eaa40db authored by Matthias's avatar Matthias
Browse files

improve default values for ImportProcessStart

parent 65f03187
Pipeline #24206 passed with stages
in 2 minutes and 16 seconds
......@@ -32,19 +32,11 @@ class ImportProcessStart(Resource):
if 'sessionId' not in job_parameters:
job_parameters['sessionId'] = 'drupal...'
if 'xmlRecordTag' not in job_parameters:
job_parameters['xmlRecordTag'] = 'defaultvalue...'
job_parameters['xmlRecordTag'] = 'record'
if 'xmlIdentifierFieldName' not in job_parameters:
job_parameters['xmlIdentifierFieldName'] = 'defaultvalue...'
job_parameters['xmlIdentifierFieldName'] = 'id'
if 'isPublished' not in job_parameters:
job_parameters['isPublished'] = 'defaultvalue...'
if 'tableSheetIndex' not in job_parameters:
job_parameters['tableSheetIndex'] = 'defaultvalue...'
if 'tableHeaderCount' not in job_parameters:
job_parameters['tableHeaderCount'] = 'defaultvalue...'
if 'tableHeaderIndex' not in job_parameters:
job_parameters['tableHeaderIndex'] = 'defaultvalue...'
if 'tableIdentifierIndex' not in job_parameters:
job_parameters['tableIdentifierIndex'] = 'defaultvalue...'
# start fetch-mapping-file
FetchMappingFile.fetchMappingFile(
......
Supports Markdown
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