Commit 6d6ac69e authored by Benjamin Blanc's avatar Benjamin Blanc

erp5_bootstrap: add logs

parent 3e91b4b0
...@@ -92,6 +92,7 @@ if scalability: ...@@ -92,6 +92,7 @@ if scalability:
# Fix site consistency # Fix site consistency
if not testIfExist("/%%s/portal_configurator/" %%site_id): if not testIfExist("/%%s/portal_configurator/" %%site_id):
print "Going to fix site consistency..."
zope_connection = getConnection() zope_connection = getConnection()
zope_connection.request( zope_connection.request(
'GET', '/%%s/ERP5Site_launchFixConfigurationConsistency' %%(site_id), 'GET', '/%%s/ERP5Site_launchFixConfigurationConsistency' %%(site_id),
...@@ -107,6 +108,7 @@ if scalability: ...@@ -107,6 +108,7 @@ if scalability:
# Install testing scalability business configuration if not exists # Install testing scalability business configuration if not exists
if testIfExist("/%%s/portal_configurator/" %%site_id) \ if testIfExist("/%%s/portal_configurator/" %%site_id) \
and not testIfExist("/%%s/sale_order_module/" %%site_id): and not testIfExist("/%%s/sale_order_module/" %%site_id):
print "Going to install testing scalability business configuration.."
zope_connection = getConnection() zope_connection = getConnection()
zope_connection.request( zope_connection.request(
'GET', '/%%s/business_configuration_module/1/build' %%site_id, 'GET', '/%%s/business_configuration_module/1/build' %%site_id,
...@@ -122,6 +124,7 @@ if scalability: ...@@ -122,6 +124,7 @@ if scalability:
# Create scalability users # Create scalability users
if testIfExist("/%%s/person_module/scalability_user/getTitle" %%site_id) \ if testIfExist("/%%s/person_module/scalability_user/getTitle" %%site_id) \
and not testIfExist("/%%s/person_module/scalability_user_0/getTitle" %%site_id): and not testIfExist("/%%s/person_module/scalability_user_0/getTitle" %%site_id):
print Going to create scalability users..
zope_connection = getConnection() zope_connection = getConnection()
zope_connection.request( zope_connection.request(
'GET', '/%%s/clone_scalability_user' %%site_id, 'GET', '/%%s/clone_scalability_user' %%site_id,
......
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