I will override the creation of tenant so that each creation tenant re-exeucte all the patches on this tenant without losing the information of the other tenants .
Hi,
If you are planning this for your client and thinking to keep it in future then do not use tenant because from version 6 it is being removed.
For the versions before 6 you may use.
Regards,
Rupesh
I'm using the multi tenant just for a student project and I'm on version 5 and I do not need a version 6 what you have an idea commits to re-run the patch with each creation of a tenant ?
Hi,
I am hopping you are using post webscript to create tenant, if yes then you just need to override org.alfresco.repo.web.scripts.tenant.TenantPost class in order to execute your logic around tenant creation.
Regards,
Rupesh
Hi,
Here is the bean definition of that class:
<bean class="org.alfresco.repo.web.scripts.tenant.TenantPost" id="webscript.org.alfresco.repository.tenant.tenants.post" parent="abstractTenantAdminWebScript"> </bean>
Regards,
Rupesh
I am already on this point but I am blocked because I do not know how to apply the execution of the patches after override creation tenant? how to invoke patches on a tenant? how to cause the re-execution of the patches?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.