How to implement multi-schema, multi-tenancy in alfresco process services?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2023 06:35 AM
Hello All,
I'm using Alfresco process services, I need to connect it to different schemas (two or more). Meaning, the same APS connected to different databases diff rent LDAP, AD, Mailing... So different subsidiary companies can use the same APS of the mother company. Is it possible? If so how to implement it and if not what is the alternative?
Thank you in advance
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2023 06:04 AM
You can enable Multi-Tenancy in two different ways:
- Using a unique database with all the capabilities supported
- Multi-Schema: configuring a different schema for each tenant with some limitations such as LDAP (auth & synchronization)
Take a look at the official documentation here:
https://docs.alfresco.com/process-services/latest/config/multi-tenancy/
Hope this helps

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2023 11:43 AM
Thanks for your help.
I followed the documentation, but the problem is that I can't find the "create new tenant" button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2023 02:36 AM
There is no "Create New Tenant" button because you have to invoke an HTTP POST request to create a new tenant as described in the documentation. If your tenant name is acme then the HTTP call should be executed in the following way:
POST http://your-domain:your-port/activiti-app/api/enterprise/admin/tenants
with the following JSON body:
{
"name" : "acme",
"configuration" : "tenant.admin.email=admin@acme.com\n
com.mysql.cj.jdbc.Driver\n
datasource.url=jdbc:mysql://127.0.0.1:3306/tenant-acme?characterEncoding=UTF-8\n
datasource.username=acme\n
datasource.password=acme"
}
