3.0 Migration Guide
In this document, we will see the major steps to migrate from 2.x to 3.0.
| Please check the change log for detailed list of fixes, changes and improvements introduced in 3.0. |
Database migration
Migration scripts are available there.
Configuration changes
If you have not customized the axelor-config.properties file for BI, you can ignore this section.
|
Multi-tenancy support
BI configuration via axelor-config.properties is no longer supported.
The following properties have been removed:
-
bi.local -
bi.studio.url -
bi.studio.admin.user -
bi.studio.admin.password -
bi.tenant.code
BI configuration is now managed from the App BI configuration page:
-
Install the BI app.
-
Go to the configuration page and open the BI Studio tab.
-
Add the database connection manually or click Load DB info.
-
Set the BI URL if not already defined in the license.
-
Click Activate Connection and fill in the admin credentials.
Breaking Changes
| If you have not overridden the code of BI module, you can ignore this section. |
Removed domains and models
The following domains have been removed:
-
AppBiInstance(and fieldbiStudioInstancefromAppBi) -
LibraryInstance(and fieldlibraryfromAppBi) -
BiUser(and its association withUsermodel)
Removed classes
The following classes have been deleted:
-
com.axelor.apps.bi.listener.BiServerStartListener -
com.axelor.apps.bi.service.BiConfigService -
com.axelor.apps.bi.helpers.ClientHelper -
com.axelor.apps.bi.service.observer.BiAppObserver -
com.axelor.apps.bi.service.BiAuthServiceandBiAuthServiceImpl -
com.axelor.apps.bi.service.tenant.TenantService -
com.axelor.apps.bi.service.library.LibraryInstanceServiceand its implementation -
com.axelor.apps.bi.service.user.BiUserServiceand its implementation -
com.axelor.apps.bi.web.BiUserController -
com.axelor.web.BiAuthRequestHandler
Renamed and moved classes
| Old name | New name |
|---|---|
|
|
|
|
|
|
Renamed methods
| Old signature | New signature |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following methods from TenantService have been moved to AppBiService:
| Old name | New name |
|---|---|
|
|
|
|
|
|
|
|
|
|
The method getBiClientCode has been deleted entirely.
The following methods from LibraryInstanceService have been moved to AppBiService:
-
getBiLibraryUrl -
getBiLibraryUser -
getBiLibraryPassword -
isLibraryConfigured