use of com.mulesoft.tools.migration.library.gateway.tasks.RamlProxyMigrationTask in project mule-migration-assistant by mulesoft.
the class RamlProxyMigrationTaskTestCase method setUp.
@Before
public void setUp() throws Exception {
ApplicationModel.ApplicationModelBuilder amb = new ApplicationModel.ApplicationModelBuilder();
amb.withProjectType(ProjectType.MULE_THREE_POLICY);
amb.withProjectBasePath(APPLICATION_MODEL_PATH);
amb.withPom(POM_PATH);
appModel = amb.build();
doc = getDocument(this.getClass().getClassLoader().getResource(configPath.toString()).toURI().getPath());
RamlProxyMigrationTask task = new RamlProxyMigrationTask();
task.setApplicationModel(appModel);
steps = task.getSteps();
}
use of com.mulesoft.tools.migration.library.gateway.tasks.RamlProxyMigrationTask in project mule-migration-assistant by mulesoft.
the class MigrationTaskLocator method getGatewayMigrationTasks.
protected List<AbstractMigrationTask> getGatewayMigrationTasks() {
List<AbstractMigrationTask> gatewayMigrationTasks = new ArrayList<>();
gatewayMigrationTasks.add(new ProxyMigrationTask());
gatewayMigrationTasks.add(new RamlProxyMigrationTask());
gatewayMigrationTasks.add(new IpFilterMigrationTask());
gatewayMigrationTasks.add(new ThreatProtectionMigrationTask());
gatewayMigrationTasks.add(new ThrottlingMigrationTask());
gatewayMigrationTasks.add(new ClientIdEnforcementMigrationTask());
gatewayMigrationTasks.add(new FederationMigrationTask());
gatewayMigrationTasks.add(new HttpMigrationTask());
gatewayMigrationTasks.add(new MuleElementsMigrationTask());
gatewayMigrationTasks.add(new PolicyUtilsMigrationTask());
gatewayMigrationTasks.add(new BasicStructureMigrationTask());
return gatewayMigrationTasks;
}
Aggregations