public interface MigrationClient
Modifier and Type | Method and Description |
---|---|
void |
cleanOldResources()
This method is used to clean old resources from registry.
|
void |
databaseMigration()
This method is used to migrate databases.
|
void |
fileSystemMigration()
This method is used to migrate all file system resources.
|
void |
populateScopeRoleMapping()
This method is used to retrieve user roles based on permissions and update the scopes in the the tenant-conf.
|
void |
populateSPAPPs()
This method is to populate SP_APP table
|
void |
registryResourceMigration()
This method is used to migrate all the registry resources
Swagger, RXTs and all other registry resources will be migrated
|
void |
scopeMigration()
This method is used to migrate the scopes of API's
|
void |
spMigration()
This method is used to migrate service provider information
|
void |
statsMigration()
This method is used to migrate API stats database.
|
void |
tierMigration(List<String> options)
This method is used to migrate throttling tiers.
|
void |
updateAPIPropertyVisibility()
This method is used to migrate properties to 3.2 with devportal visibility intact
|
void |
updateAPITypeInDB()
This method is used to migrate properties to 3.2 with devportal visibility intact
|
void |
updateArtifacts()
This method is used to update the API artifacts in the registry to trigger indexer.
|
void |
updateScopeRoleMappings()
This method is used to update role scope mappings during 2.x to 3.2 migrations
|
void databaseMigration() throws APIMigrationException, SQLException
APIMigrationException
SQLException
void registryResourceMigration() throws APIMigrationException
APIMigrationException
void fileSystemMigration() throws APIMigrationException
APIMigrationException
void cleanOldResources() throws APIMigrationException
APIMigrationException
void statsMigration() throws APIMigrationException, APIMStatMigrationException
void tierMigration(List<String> options) throws APIMigrationException
APIMigrationException
void updateArtifacts() throws APIMigrationException
APIMigrationException
void populateSPAPPs() throws APIMigrationException
APIMigrationException
void populateScopeRoleMapping() throws APIMigrationException
APIMigrationException
void scopeMigration() throws APIMigrationException
APIMigrationException
void spMigration() throws APIMigrationException
APIMigrationException
void updateScopeRoleMappings() throws APIMigrationException
APIMigrationException
void updateAPIPropertyVisibility() throws APIMigrationException
APIMigrationException
void updateAPITypeInDB() throws APIMigrationException
APIMigrationException
Copyright © 2024 WSO2. All rights reserved.