Commit 117b9ef3 authored by Ivan Tyagov's avatar Ivan Tyagov

Use from new location (ERP5's 48c45fbdd8fa30799ef1b9e6ad2e1e5cb8415487).

parent be54fd5f
from DateTime import DateTime from DateTime import DateTime
portal = context.getPortalObject() portal = context.getPortalObject()
portal_catalog = portal.portal_catalog portal_catalog = portal.portal_catalog
from Products.ERP5Type.Log import log from erp5.component.module.Log import log
now = DateTime() now = DateTime()
query_dict = { query_dict = {
"portal_type": "Data Ingestion Line", "portal_type": "Data Ingestion Line",
......
from Products.ERP5Type.Log import log from erp5.component.module.Log import log
portal = context.getPortalObject() portal = context.getPortalObject()
portal_catalog = portal.portal_catalog portal_catalog = portal.portal_catalog
complex_files = portal.ERP5Site_getIngestionReferenceDictionary()["complex_files_extensions"] complex_files = portal.ERP5Site_getIngestionReferenceDictionary()["complex_files_extensions"]
......
from Products.ERP5Type.Log import log from erp5.component.module.Log import log
from Products.ZSQLCatalog.SQLCatalog import Query, SimpleQuery from Products.ZSQLCatalog.SQLCatalog import Query, SimpleQuery
import hashlib import hashlib
......
from DateTime import DateTime from DateTime import DateTime
from Products.ERP5Type.Log import log from erp5.component.module.Log import log
# reference parameter example: supplier/dataset/filename/fif/EOF/size/hash # reference parameter example: supplier/dataset/filename/fif/EOF/size/hash
# ingestion reference example: dataset/filename/fif # ingestion reference example: dataset/filename/fif
......
...@@ -3,7 +3,7 @@ This script is called from ebulk client to get list of Data Streams for a Data s ...@@ -3,7 +3,7 @@ This script is called from ebulk client to get list of Data Streams for a Data s
""" """
import json import json
from Products.ERP5Type.Log import log from erp5.component.module.Log import log
portal = context.getPortalObject() portal = context.getPortalObject()
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
This script will setup the default Wendelin's configuration as saved in erp5_wendelin_scalability_test business template. This script will setup the default Wendelin's configuration as saved in erp5_wendelin_scalability_test business template.
As this modifies your site care must be taken! As this modifies your site care must be taken!
""" """
from Products.ERP5Type.Log import log from erp5.component.module.Log import log
portal = context.getPortalObject() portal = context.getPortalObject()
configurator = getattr(portal.business_configuration_module, "default_wendelin_configuration", None) configurator = getattr(portal.business_configuration_module, "default_wendelin_configuration", None)
......
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