use of com.mulesoft.tools.migration.library.gateway.steps.policy.ipfilter.IpTagMigrationStep in project mule-migration-assistant by mulesoft.
the class IpFilterMigrationTask method getSteps.
@Override
public List<MigrationStep> getSteps() {
IpFilterTagMigrationStep step = new IpFilterTagMigrationStep();
step.setApplicationModel(getApplicationModel());
return Arrays.asList(new IpFilterPomContributionMigrationStep(), step, new BlacklistTagMigrationStep(), new WhitelistTagMigrationStep(), new IpTagMigrationStep());
}
use of com.mulesoft.tools.migration.library.gateway.steps.policy.ipfilter.IpTagMigrationStep in project mule-migration-assistant by mulesoft.
the class IpTagMigrationStepTestCase method convertIpTagWithContent.
@Test
public void convertIpTagWithContent() {
IpTagMigrationStep step = new IpTagMigrationStep();
Element element = getTestElement().addContent(new Text(VALUE_ATTR_VALUE));
step.execute(element, reportMock);
assertIpTag(element);
assertThat(element.getAttributeValue(VALUE_ATTR_NAME), is(VALUE_ATTR_VALUE));
}
use of com.mulesoft.tools.migration.library.gateway.steps.policy.ipfilter.IpTagMigrationStep in project mule-migration-assistant by mulesoft.
the class IpTagMigrationStepTestCase method convertRawIpTag.
@Test
public void convertRawIpTag() {
IpTagMigrationStep step = new IpTagMigrationStep();
Element element = getTestElement();
step.execute(element, reportMock);
assertIpTag(element);
}
Aggregations