public abstract class MigrationClientBase extends Object
Constructor and Description |
---|
MigrationClientBase(String tenantArguments,
String blackListTenantArguments,
String tenantRange,
org.wso2.carbon.user.core.tenant.TenantManager tenantManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
dropFKConstraint(String sqlScriptPath)
This method is used to remove the FK constraint which is unnamed
This finds the name of the constraint and build the query to delete the constraint and execute it
|
protected List<org.wso2.carbon.user.api.Tenant> |
getTenantsArray() |
void |
migrateFaultSequencesInRegistry(RegistryService registryService) |
void |
rxtMigration(RegistryService registryService)
This method is used to migrate rxt
|
protected void |
updateAPIManagerDatabase(String sqlScriptPath) |
void |
updateGenericAPIArtifacts(RegistryService registryService)
This method is used to update the API artifacts in the registry
- to migrate Publisher Access Control feature related data.
|
public MigrationClientBase(String tenantArguments, String blackListTenantArguments, String tenantRange, org.wso2.carbon.user.core.tenant.TenantManager tenantManager) throws org.wso2.carbon.user.api.UserStoreException, org.wso2.carbon.apimgt.api.APIManagementException
org.wso2.carbon.user.api.UserStoreException
org.wso2.carbon.apimgt.api.APIManagementException
protected List<org.wso2.carbon.user.api.Tenant> getTenantsArray()
protected void updateAPIManagerDatabase(String sqlScriptPath) throws SQLException
SQLException
protected void dropFKConstraint(String sqlScriptPath) throws SQLException
sqlScriptPath
- path of sql scriptSQLException
public void updateGenericAPIArtifacts(RegistryService registryService) throws APIMigrationException
APIMigrationException
public void migrateFaultSequencesInRegistry(RegistryService registryService)
public void rxtMigration(RegistryService registryService) throws APIMigrationException
APIMigrationException
Copyright © 2024 WSO2. All rights reserved.