Search in sources :

Example 1 with PreprocessMuleApplication

use of com.mulesoft.tools.migration.library.mule.tasks.PreprocessMuleApplication in project mule-migration-assistant by mulesoft.

the class MigrationTaskLocator method locate.

public List<AbstractMigrationTask> locate() {
    List<AbstractMigrationTask> migrationTasks = newArrayList(new PreprocessMuleApplication());
    migrationTasks.addAll(getCoreMigrationTasks());
    migrationTasks.addAll(getGatewayMigrationTasks());
    migrationTasks.addAll(getCoreAfterMigrationTasks());
    return migrationTasks.stream().filter(mt -> shouldNotFilterTask(mt)).collect(Collectors.toList());
}
Also used : BatchMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.BatchMigrationTask) VersionUtils.isVersionGreaterOrEquals(com.mulesoft.tools.migration.util.version.VersionUtils.isVersionGreaterOrEquals) HTTPMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.HTTPMigrationTask) DbMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.DbMigrationTask) FiltersMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.FiltersMigrationTask) ScriptingMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.ScriptingMigrationTask) Preconditions.checkArgument(com.google.common.base.Preconditions.checkArgument) PostprocessGeneral(com.mulesoft.tools.migration.library.mule.tasks.PostprocessGeneral) EmailMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.EmailMigrationTask) EndpointsMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.EndpointsMigrationTask) JmsDomainMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.JmsDomainMigrationTask) SecurityCrc32MigrationTask(com.mulesoft.tools.migration.library.mule.tasks.SecurityCrc32MigrationTask) WscMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.WscMigrationTask) SftpMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.SftpMigrationTask) ExpressionTransformerMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.ExpressionTransformerMigrationTask) AbstractMigrationTask(com.mulesoft.tools.migration.task.AbstractMigrationTask) MigrationCleanTask(com.mulesoft.tools.migration.library.mule.tasks.MigrationCleanTask) MuleDeprecatedCoreComponentsMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.MuleDeprecatedCoreComponentsMigrationTask) BasicStructureMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.BasicStructureMigrationTask) VmDomainMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.VmDomainMigrationTask) PropertiesMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.PropertiesMigrationTask) MuleElementsMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.MuleElementsMigrationTask) AmqpMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.AmqpMigrationTask) RamlProxyMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.RamlProxyMigrationTask) Collectors(java.util.stream.Collectors) PolicyUtilsMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.PolicyUtilsMigrationTask) ObjectStoreMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.ObjectStoreMigrationTask) RequestReplyMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.RequestReplyMigrationTask) DomainAppMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.DomainAppMigrationTask) List(java.util.List) ApikitMigrationTask(com.mulesoft.tools.migration.library.apikit.tasks.ApikitMigrationTask) Lists.newArrayList(com.google.common.collect.Lists.newArrayList) IpFilterMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.IpFilterMigrationTask) JsonMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.JsonMigrationTask) HttpMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.HttpMigrationTask) MuleCoreComponentsMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.MuleCoreComponentsMigrationTask) ThreatProtectionMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.ThreatProtectionMigrationTask) TRUE(java.lang.Boolean.TRUE) SecurityOAuth2ProviderMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.SecurityOAuth2ProviderMigrationTask) FederationMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.FederationMigrationTask) MigrationTask(com.mulesoft.tools.migration.task.MigrationTask) ThrottlingMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.ThrottlingMigrationTask) VMMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.VMMigrationTask) ArrayList(java.util.ArrayList) SecurityFiltersMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.SecurityFiltersMigrationTask) SpringMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.SpringMigrationTask) HTTPCleanupTask(com.mulesoft.tools.migration.library.mule.tasks.HTTPCleanupTask) FtpMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.FtpMigrationTask) ValidationMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.ValidationMigrationTask) PreprocessMuleApplication(com.mulesoft.tools.migration.library.mule.tasks.PreprocessMuleApplication) MunitMigrationTask(com.mulesoft.tools.migration.library.munit.tasks.MunitMigrationTask) FALSE(java.lang.Boolean.FALSE) SecurePropertiesMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.SecurePropertiesMigrationTask) SocketsMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.SocketsMigrationTask) JmsMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.JmsMigrationTask) TransformersMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.TransformersMigrationTask) SoapkitMigrationTask(com.mulesoft.tools.migration.library.soapkit.tasks.SoapkitMigrationTask) FileMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.FileMigrationTask) SalesforceMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.SalesforceMigrationTask) CompressionMigrationTask(com.mulesoft.tools.migration.library.mule.steps.compression.CompressionMigrationTask) ClientIdEnforcementMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.ClientIdEnforcementMigrationTask) ProxyMigrationTask(com.mulesoft.tools.migration.library.gateway.tasks.ProxyMigrationTask) SplitterAggregatorTask(com.mulesoft.tools.migration.library.mule.tasks.SplitterAggregatorTask) QuartzMigrationTask(com.mulesoft.tools.migration.library.mule.tasks.QuartzMigrationTask) PostprocessMuleApplication(com.mulesoft.tools.migration.library.mule.tasks.PostprocessMuleApplication) AbstractMigrationTask(com.mulesoft.tools.migration.task.AbstractMigrationTask) PreprocessMuleApplication(com.mulesoft.tools.migration.library.mule.tasks.PreprocessMuleApplication)

Aggregations

Preconditions.checkArgument (com.google.common.base.Preconditions.checkArgument)1 Lists.newArrayList (com.google.common.collect.Lists.newArrayList)1 ApikitMigrationTask (com.mulesoft.tools.migration.library.apikit.tasks.ApikitMigrationTask)1 BasicStructureMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.BasicStructureMigrationTask)1 ClientIdEnforcementMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.ClientIdEnforcementMigrationTask)1 FederationMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.FederationMigrationTask)1 HttpMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.HttpMigrationTask)1 IpFilterMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.IpFilterMigrationTask)1 MuleElementsMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.MuleElementsMigrationTask)1 PolicyUtilsMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.PolicyUtilsMigrationTask)1 ProxyMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.ProxyMigrationTask)1 RamlProxyMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.RamlProxyMigrationTask)1 ThreatProtectionMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.ThreatProtectionMigrationTask)1 ThrottlingMigrationTask (com.mulesoft.tools.migration.library.gateway.tasks.ThrottlingMigrationTask)1 CompressionMigrationTask (com.mulesoft.tools.migration.library.mule.steps.compression.CompressionMigrationTask)1 AmqpMigrationTask (com.mulesoft.tools.migration.library.mule.tasks.AmqpMigrationTask)1 BatchMigrationTask (com.mulesoft.tools.migration.library.mule.tasks.BatchMigrationTask)1 DbMigrationTask (com.mulesoft.tools.migration.library.mule.tasks.DbMigrationTask)1 DomainAppMigrationTask (com.mulesoft.tools.migration.library.mule.tasks.DomainAppMigrationTask)1 EmailMigrationTask (com.mulesoft.tools.migration.library.mule.tasks.EmailMigrationTask)1