Modifier and Type | Method and Description |
---|---|
void |
MigrateFrom200.addDefaultRoleCreationConfig() |
void |
MigrateFrom320.apiRevisionRelatedMigration() |
void |
MigrateFrom19to110.cleanOldResources() |
void |
MigrationClient.cleanOldResources()
This method is used to clean old resources from registry.
|
void |
MigrateFrom210.cleanOldResources() |
void |
MigrateFrom320.cleanOldResources() |
void |
MigrateFrom310.cleanOldResources() |
void |
MigrateFrom18to19.cleanOldResources()
This method is used to clean old registry resources.
|
void |
ScopeRoleMappingPopulationClient.cleanOldResources() |
void |
MigrateFrom200to210.cleanOldResources() |
void |
MigrateFrom200.cleanOldResources() |
void |
MigrationDBCreator.createRegistryDatabase() |
void |
MigrateFrom19to110.databaseMigration() |
void |
MigrationClient.databaseMigration()
This method is used to migrate databases.
|
void |
MigrateFrom210.databaseMigration() |
void |
MigrateFrom320.databaseMigration() |
void |
MigrateFrom310.databaseMigration() |
void |
ScopeRoleMappingPopulationClient.databaseMigration() |
void |
MigrateFrom200to210.databaseMigration() |
void |
MigrateFrom200.databaseMigration() |
static void |
MigrationExecutor.execute(MigrationExecutor.Arguments arguments) |
void |
MigrateFrom19to110.fileSystemMigration() |
void |
MigrationClient.fileSystemMigration()
This method is used to migrate all file system resources.
|
void |
MigrateFrom210.fileSystemMigration() |
void |
MigrateFrom320.fileSystemMigration() |
void |
MigrateFrom310.fileSystemMigration() |
void |
MigrateFrom18to19.fileSystemMigration()
This method is used to migrate all the file system components
such as sequences and synapse files
|
void |
ScopeRoleMappingPopulationClient.fileSystemMigration() |
void |
MigrateFrom200to210.fileSystemMigration() |
void |
MigrateFrom200.fileSystemMigration() |
void |
MigrateFrom18to19.fixConsumerAppTable()
This method will format the APP_NAME IN IDN_OAUTH_CONSUMER_APPS table according to the 1.9 format
|
void |
MigrateFrom320.migrateEndpointCertificates() |
void |
MigrateFrom320.migrateProductMappingTable() |
void |
MigrateFrom320.migrateWebSocketAPI() |
void |
MigrateUUIDToDB.moveUUIDToDBFromRegistry()
Get the List of APIs and pass it to DAO method to update the uuid
|
void |
ScopeRoleMappingPopulationClient.populateRoleMappingWithUserRoles()
This method is used to update the scopes of the user roles which will be retrieved based on the
permissions assigned.
|
void |
MigrateFrom19to110.populateScopeRoleMapping() |
void |
MigrationClient.populateScopeRoleMapping()
This method is used to retrieve user roles based on permissions and update the scopes in the the tenant-conf.
|
void |
MigrateFrom210.populateScopeRoleMapping() |
void |
MigrateFrom320.populateScopeRoleMapping() |
void |
MigrateFrom310.populateScopeRoleMapping() |
void |
MigrateFrom18to19.populateScopeRoleMapping() |
void |
ScopeRoleMappingPopulationClient.populateScopeRoleMapping() |
void |
MigrateFrom200to210.populateScopeRoleMapping() |
void |
MigrateFrom200.populateScopeRoleMapping() |
void |
MigrateFrom19to110.populateSPAPPs()
This method will be used to populate SP_APP table
|
void |
MigrationClient.populateSPAPPs()
This method is to populate SP_APP table
|
void |
MigrateFrom210.populateSPAPPs() |
void |
MigrateFrom320.populateSPAPPs() |
void |
MigrateFrom310.populateSPAPPs() |
void |
MigrateFrom18to19.populateSPAPPs() |
void |
ScopeRoleMappingPopulationClient.populateSPAPPs() |
void |
MigrateFrom200to210.populateSPAPPs() |
void |
MigrateFrom200.populateSPAPPs() |
void |
MigrateFrom18to19.populateSPAPPTable(ResultSet resultSet)
This method will be used to populate SP_APP table
|
void |
MigrateFrom19to110.registryResourceMigration() |
void |
MigrationClient.registryResourceMigration()
This method is used to migrate all the registry resources
Swagger, RXTs and all other registry resources will be migrated
|
void |
MigrateFrom210.registryResourceMigration() |
void |
MigrateFrom320.registryResourceMigration() |
void |
MigrateFrom310.registryResourceMigration() |
void |
MigrateFrom18to19.registryResourceMigration()
This method is used to migrate all registry resources
This migrates swagger resources and rxts
|
void |
ScopeRoleMappingPopulationClient.registryResourceMigration() |
void |
MigrateFrom200to210.registryResourceMigration() |
void |
MigrateFrom200.registryResourceMigration() |
void |
MigrateFrom320.removeUnnecessaryFaultHandlers() |
void |
MigrateFrom320.replaceKMNamebyUUID() |
void |
MigrationClientBase.rxtMigration(RegistryService registryService)
This method is used to migrate rxt
|
void |
MigrateFrom19to110.scopeMigration() |
void |
MigrationClient.scopeMigration()
This method is used to migrate the scopes of API's
|
void |
MigrateFrom210.scopeMigration() |
void |
MigrateFrom320.scopeMigration() |
void |
MigrateFrom310.scopeMigration() |
void |
MigrateFrom18to19.scopeMigration() |
void |
ScopeRoleMappingPopulationClient.scopeMigration() |
void |
MigrateFrom200to210.scopeMigration() |
void |
MigrateFrom200.scopeMigration() |
void |
MigrateFrom19to110.spMigration() |
void |
MigrationClient.spMigration()
This method is used to migrate service provider information
|
void |
MigrateFrom210.spMigration() |
void |
MigrateFrom320.spMigration() |
void |
MigrateFrom310.spMigration() |
void |
MigrateFrom18to19.spMigration() |
void |
ScopeRoleMappingPopulationClient.spMigration() |
void |
MigrateFrom200to210.spMigration() |
void |
MigrateFrom200.spMigration() |
void |
MigrateFrom19to110.statsMigration() |
void |
MigrationClient.statsMigration()
This method is used to migrate API stats database.
|
void |
MigrateFrom210.statsMigration() |
void |
MigrateFrom320.statsMigration() |
void |
MigrateFrom310.statsMigration() |
void |
MigrateFrom18to19.statsMigration()
This method is used to migrate API stats database.
|
void |
ScopeRoleMappingPopulationClient.statsMigration() |
void |
MigrateFrom200to210.statsMigration() |
void |
MigrateFrom200.statsMigration() |
void |
MigrateFrom19to110.tierMigration(List<String> options) |
void |
MigrationClient.tierMigration(List<String> options)
This method is used to migrate throttling tiers.
|
void |
MigrateFrom210.tierMigration(List<String> options) |
void |
MigrateFrom320.tierMigration(List<String> options) |
void |
MigrateFrom310.tierMigration(List<String> options) |
void |
MigrateFrom18to19.tierMigration(List<String> options) |
void |
ScopeRoleMappingPopulationClient.tierMigration(List<String> options) |
void |
MigrateFrom200to210.tierMigration(List<String> options) |
void |
MigrateFrom200.tierMigration(List<String> options) |
void |
MigrationClient.updateAPIPropertyVisibility()
This method is used to migrate properties to 3.2 with devportal visibility intact
|
void |
MigrateFrom310.updateAPIPropertyVisibility() |
void |
MigrateFrom200.updateAPIPropertyVisibility() |
void |
MigrateFrom19to110.updateAPITypeInDB() |
void |
MigrationClient.updateAPITypeInDB()
This method is used to migrate properties to 3.2 with devportal visibility intact
|
void |
MigrateFrom210.updateAPITypeInDB() |
void |
MigrateFrom320.updateAPITypeInDB() |
void |
MigrateFrom310.updateAPITypeInDB()
Update the API_TYPE in the database
|
void |
MigrateFrom18to19.updateAPITypeInDB() |
void |
ScopeRoleMappingPopulationClient.updateAPITypeInDB() |
void |
MigrateFrom200to210.updateAPITypeInDB() |
void |
MigrateFrom200.updateAPITypeInDB() |
void |
MigrateFrom19to110.updateArtifacts() |
void |
MigrationClient.updateArtifacts()
This method is used to update the API artifacts in the registry to trigger indexer.
|
void |
MigrateFrom210.updateArtifacts() |
void |
MigrateFrom320.updateArtifacts() |
void |
MigrateFrom310.updateArtifacts() |
void |
MigrateFrom18to19.updateArtifacts() |
void |
ScopeRoleMappingPopulationClient.updateArtifacts() |
void |
MigrateFrom200to210.updateArtifacts() |
void |
MigrateFrom200.updateArtifacts() |
void |
MigrationClientBase.updateGenericAPIArtifacts(RegistryService registryService)
This method is used to update the API artifacts in the registry
- to migrate Publisher Access Control feature related data.
|
void |
MigrateFrom18to19.updateMetaDataTable() |
void |
MigrateFrom320.updateRegistryPathsOfIconAndWSDL() |
void |
MigrateFrom19to110.updateScopeRoleMappings() |
void |
MigrationClient.updateScopeRoleMappings()
This method is used to update role scope mappings during 2.x to 3.2 migrations
|
void |
MigrateFrom210.updateScopeRoleMappings() |
void |
MigrateFrom320.updateScopeRoleMappings() |
void |
MigrateFrom310.updateScopeRoleMappings() |
void |
MigrateFrom18to19.updateScopeRoleMappings() |
void |
ScopeRoleMappingPopulationClient.updateScopeRoleMappings() |
void |
MigrateFrom200to210.updateScopeRoleMappings() |
void |
MigrateFrom200.updateScopeRoleMappings() |
Constructor and Description |
---|
MigrateFrom200(String tenantArguments,
String blackListTenantArguments,
String tenantRange,
RegistryService registryService,
org.wso2.carbon.user.core.tenant.TenantManager tenantManager) |
MigrateFrom210(String tenantArguments,
String blackListTenantArguments,
String tenantRange,
RegistryService registryService,
org.wso2.carbon.user.core.tenant.TenantManager tenantManager) |
Modifier and Type | Method and Description |
---|---|
static String |
ResourceModifier.modifyTiers(String xmlContent,
String fileName) |
static String |
ResourceModifier.modifyWorkFlowExtensions(String xmlContent) |
static String |
ResourceModifier.removeExecutorsFromAPILifeCycle(String apiLifeCycle) |
Modifier and Type | Method and Description |
---|---|
void |
APIMStatMigrationClient.cleanOldResources() |
void |
APIMStatMigrationClient.databaseMigration() |
void |
APIMStatMigrationClient.fileSystemMigration() |
void |
APIMStatMigrationClient.populateScopeRoleMapping() |
void |
APIMStatMigrationClient.populateSPAPPs() |
void |
APIMStatMigrationClient.registryResourceMigration() |
void |
APIMStatMigrationClient.scopeMigration() |
void |
APIMStatMigrationClient.spMigration() |
void |
APIMStatMigrationClient.statsMigration() |
void |
APIMStatMigrationClient.tierMigration(List<String> options) |
void |
APIMStatMigrationClient.updateAPITypeInDB() |
void |
APIMStatMigrationClient.updateArtifacts() |
void |
APIMStatMigrationClient.updateScopeRoleMappings() |
Constructor and Description |
---|
APIMStatMigrationClient(String tenantArguments,
String blackListTenantArguments,
String tenantRange,
RegistryService registryService,
org.wso2.carbon.user.core.tenant.TenantManager tenantManager) |
Modifier and Type | Method and Description |
---|---|
void |
APIMgtDAO.addDataToResourceScopeMapping(List<AMAPIResourceScopeMappingDTO> resourceScopeMappingDTOS)
This method is used to insert data to AM_API_RESOURCE_SCOPE_MAPPING table
|
void |
APIMgtDAO.addDefaultURLTemplatesForWSAPIs(List<Integer> wsApiIds)
This method is used to insert data to add default URL Mappings of WS APIs
|
void |
APIMgtDAO.addDynamicGatewayEnvironments(List<GatewayEnvironmentDTO> environments)
This method is used to insert dynamic environments to the table AM_GATEWAY_ENVIRONMENT
and VHosts to the table AM_GW_VHOST
|
void |
APIMgtDAO.addKeyManagerConfiguration(KeyManagerConfigurationDTO keyManagerConfigurationDTO) |
org.wso2.carbon.apimgt.api.model.APIRevision |
APIMgtDAO.checkAPIUUIDIsARevisionUUID(String apiUUID)
Get a provided api uuid is in the revision db table
|
void |
APIMgtDAO.dropLabelTable()
Drop AM_LABELS and AM_LABEL_URLS tables
|
ArrayList<APIScopeMappingDTO> |
APIMgtDAO.getAMScopeData()
This mehthod is used to get data from AM_API_SCOPE
|
ArrayList<APIInfoDTO> |
APIMgtDAO.getAPIData()
This mehthod is used to get data from AM_API table
|
String |
APIMgtDAO.getAPIID(String context)
This method is used to get API Id using API context
|
ArrayList<APIInfoScopeMappingDTO> |
APIMgtDAO.getAPIInfoScopeData()
This method is used to get data from AM_API_SCOPE, IDN_OAUTH2_SCOPE by tenant id
|
ArrayList<APIURLMappingInfoDTO> |
APIMgtDAO.getAPIURLMappingData()
This method is used to get data from AM_API_URL_MAPPING table
|
static ArrayList<String> |
APIMgtDAO.getAppsOfTypeJWT(int tenantId)
Get the list of consumer keys corresponding to the apps created of the type JWT
|
KeyManagerConfigurationDTO |
APIMgtDAO.getKeyManagerConfigurationByName(String tenantDomain,
String name) |
List<LabelDTO> |
APIMgtDAO.getLabels()
This method is used to read labels from the table AM_LABELS and access URLs from the table AM_LABEL_URLS
|
ArrayList<ResourceScopeInfoDTO> |
APIMgtDAO.getResourceScopeData()
This mehthod is used to get data from IDN_OAUTH2_RESOURCE_SCOPE by tenant id
|
List<UserRoleFromPermissionDTO> |
SharedDAO.getRoleNamesMatchingPermission(String permission,
int tenantId) |
List<UserRoleFromPermissionDTO> |
SharedDAO.getRoleNamesMatchingPermissions(String permissions,
int tenantId) |
int |
APIMgtDAO.getScopeId(String resourcePath)
This method is used to retrieve the scope id given the resource path
|
ScopeInfoDTO |
APIMgtDAO.getScopeInfoByScopeId(int scopeId)
This method is used to retrieve the scope details given the scopeId
|
static String |
APIMgtDAO.getStringFromInputStream(InputStream is)
Function converts IS to String
Used for handling blobs
|
void |
APIMgtDAO.removeDuplicateScopeEntries(ArrayList<APIScopeMappingDTO> duplicateList)
This method is used to remove the duplicate data from IDN_OAUTH2_SCOPE, AM_API_SCOPE
and IDN_OAUTH2_SCOPE_BINDING tables
|
void |
APIMgtDAO.removePreviousURLTemplatesForWSAPIs(List<Integer> wsApiIds)
This method is used to remove previous entries from URL Mapping table of WS APIs
|
void |
APIMgtDAO.replaceKeyMappingKMNamebyUUID(org.wso2.carbon.user.api.Tenant tenant)
This method is used to fetch and update the key mapping table with the key manager ID
|
void |
APIMgtDAO.replaceRegistrationKMNamebyUUID(org.wso2.carbon.user.api.Tenant tenant)
This method is used to fetch and update the app registration table with the key manager ID
|
Set<String> |
APIMgtDAO.retrieveListOfEndpointCertificateAliases() |
List<Integer> |
APIMgtDAO.retrieveWebSocketAPIs() |
void |
APIMgtDAO.updateAPIType(List<APIInfoDTO> apiInfoDTOList,
int tenantId,
String tenantDomain)
This method is used to update the API_TYPE in AM_API in the DB using API details
|
void |
APIMgtDAO.updateAppRegistration(Connection connection,
HashMap<Integer,String> registrationEntries)
This method is used to update the app registration table with the key manager ID
|
void |
APIMgtDAO.updateEndpointCertificates(Map<String,String> certificateMap) |
void |
APIMgtDAO.updateKeyMappings(Connection connection,
HashMap<String,String> keyMappingEntries)
This method is used to update the key mapping table with the key manager ID
|
void |
APIMgtDAO.updateProductMappings()
This method is used to update the AM_API_PRODUCT_MAPPING_TABLE
|
static void |
APIMgtDAO.updateScopeResource(int newScopeId,
String resourcePath,
int scopeId)
Alter the scope id in the resource scope
|
static void |
APIMgtDAO.updateTokenTypeToJWT(String consumerKey)
Updates the token type of the service provider corresponding to the consumer key provided to the JWT token type
|
void |
APIMgtDAO.updateUUIDAndStatus(List<APIInfoDTO> apiInfoDTOS)
This method is used to set the UUID in the DB using Api details
|
Modifier and Type | Method and Description |
---|---|
static Document |
ResourceUtil.buildDocument(byte[] content,
String fileName) |
static Document |
ResourceUtil.buildDocument(File file,
String fileName) |
static Document |
ResourceUtil.buildDocument(InputStream inputStream,
String fileName) |
static Document |
ResourceUtil.buildDocument(String xmlContent,
String fileName) |
static void |
ResourceUtil.copyNewSequenceToExistingSequences(String sequenceDirectoryFilePath,
String sequenceName)
To copy a new sequence to existing ones
|
static void |
ResourceUtil.deployPolicy(String fileName,
String content) |
static Connection |
SharedDBUtil.getConnection()
Utility method to get a new database connection
|
static String |
ResourceUtil.getExecutionPlanPath() |
static void |
ResourceUtil.handleException(String msg,
Throwable e)
To handle exceptions
|
static void |
StatDBUtil.initialize() |
static void |
SharedDBUtil.initialize()
Initializes the data source
|
static void |
StatDBUtil.updateContext() |
static void |
ResourceUtil.updateSynapseAPI(Document document,
File file)
To update synapse API
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationHandler.doValidation() |
Modifier and Type | Method and Description |
---|---|
String |
V400Utils.getGraphqlDefinitionFilePath(String apiName,
String apiVersion,
String apiProvider,
String apiId) |
String |
Utils.getGraphqlDefinitionFilePath(String apiName,
String apiVersion,
String apiProvider,
String apiId) |
String |
V400Utils.getOpenAPIDefinitionFilePath(String apiName,
String apiVersion,
String apiProvider,
String apiId) |
String |
Utils.getOpenAPIDefinitionFilePath(String apiName,
String apiVersion,
String apiProvider,
String apiId) |
Copyright © 2024 WSO2. All rights reserved.