Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| docs:3400_how_to:1100_miscellaneous:1450_auto_deploy [2022/09/13 18:15] – external edit 127.0.0.1 | docs:3400_how_to:1100_miscellaneous:1450_auto_deploy [2025/06/12 03:59] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Many applications are hosted on a server for multiple tenants. Each tenant has his own business space and the same application is deployed into each business space. When a new tenant signs up online the system needs to create a new business space for the new tenant, load the BSV file containing the configuration of the application and publish this BSV (and maybe perform some additional steps, for example send an email to the new tenant. This section explains how this can be done. | Many applications are hosted on a server for multiple tenants. Each tenant has his own business space and the same application is deployed into each business space. When a new tenant signs up online the system needs to create a new business space for the new tenant, load the BSV file containing the configuration of the application and publish this BSV (and maybe perform some additional steps, for example send an email to the new tenant. This section explains how this can be done. | ||
| - | The signup web page has to be implemented outside of Aware IM – it can be any HTML page hosted on any server. This page has to collect relevant details of the new tenant and when the tenant submits the page, the page has to call the server hosting | + | The signup web page has to be implemented outside of AwareIM |
| [[http:// | [[http:// | ||
| Line 17: | Line 17: | ||
| - domain – this parameter specifies the name of the new business space to create. This parameter is mandatory. | - domain – this parameter specifies the name of the new business space to create. This parameter is mandatory. | ||
| - bsv – this parameter specifies the path on the server to the BSV file that will be deployed into the new business space. The parameter is mandatory | - bsv – this parameter specifies the path on the server to the BSV file that will be deployed into the new business space. The parameter is mandatory | ||
| - | - domain_start – this parameter specifies the name of the “initial business space”. This business space should not be used to deploy an application – it should contain just one published version (of any content). A business space that is created when Aware IM is initially installed on the server can be used for these purposes. This parameter is mandatory | + | - domain_start – this parameter specifies the name of the “initial business space”. This business space should not be used to deploy an application – it should contain just one published version (of any content). A business space that is created when AwareIM |
| - init_process – this is an optional parameter. If specified it defines the name of the process that will be called after the BSV has been published in the new business space. The process can be useful to register user data collected by the web page (user name, company name, address etc). The process can also send an email to the user. | - init_process – this is an optional parameter. If specified it defines the name of the process that will be called after the BSV has been published in the new business space. The process can be useful to register user data collected by the web page (user name, company name, address etc). The process can also send an email to the user. | ||
| - object_name – this optional parameter can be used together with the init_process parameter. If specified the system will create an instance of the business object with the specified name and initialise it with extra parameters defined in the request (see below). This will be done just before the init_process is executed. It will then pass this instance as a process input to the process (the process should have this object declared as process input) | - object_name – this optional parameter can be used together with the init_process parameter. If specified the system will create an instance of the business object with the specified name and initialise it with extra parameters defined in the request (see below). This will be done just before the init_process is executed. It will then pass this instance as a process input to the process (the process should have this object declared as process input) | ||