Skip to content
Snippets Groups Projects
Commit 7493324f authored by vkovtun's avatar vkovtun
Browse files

SSDM-8405 Fixing the data initialization problem on the CI server.

parent 770f3bf5
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ helper = MasterDataRegistrationHelper(sys.path)
api = CommonServiceProvider.getApplicationContext().getBean(ApplicationServerApi.INTERNAL_SERVICE_NAME)
sessionToken = api.loginAsSystem()
props = CustomASServiceExecutionOptions().withParameter('xls', helper.listXlsByteArrays())\
.withParameter('xls_name', 'ELN-LIMS').withParameter('update_mode', 'UPDATE_EXISTING')\
.withParameter('xls_name', 'ELN-LIMS').withParameter('update_mode', 'UPDATE_IF_EXISTS')\
.withParameter('scripts', helper.getAllScripts())
result = api.executeCustomASService(sessionToken, CustomASServiceCode("xls-import-api"), props);
print("======================== master-data xls ingestion result ========================")
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment