diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/AwsStreaming.java b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/AwsStreaming.java new file mode 100644 index 000000000..71be44e55 --- /dev/null +++ b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/AwsStreaming.java @@ -0,0 +1,27 @@ +import org.apache.camel.builder.RouteBuilder; + +public class Aws1Streaming { + + protected RouteBuilder createRouteBuilder() { + return new RouteBuilder() { + public void configure() { + from("direct:listActivities") + .setHeader("CamelAwsStateMachineOperation",5) + .setHeader("CamelAwsStateMachinesMaxResults",5) + .setHeader("CamelAwsStepFunctionsStateMachineActivityName",5) + .setHeader("CamelAwsStepFunctionsStateMachineActivityArn",5) + .setHeader("CamelAwsStateMachineActivitiesMaxResults",5) + .setHeader("CamelAwsStateMachineExecutionArn",5) + .setHeader("CamelAwsStateMachineExecutionName",5) + .setHeader("CamelAwsStateMachineExecutionInput",5) + .setHeader("CamelAwsStateMachineExecutionTraceHeader",5) + .setHeader("CamelAwsStateMachineExecutionHistoryMaxResults",5) + .setHeader("CamelAwsStateMachineExecutionHistoryIncludeExecutionData",5) + .setHeader("CamelAwsStateMachineExecutionHistoryReverseOrder",5) + .setHeader("CamelAwsStateMachineExecutionMaxResults",5) + .to("aws2-step-functions://test?awsSfnClient=#awsSfnClient&operation=listActivities"); + } + }; + } + +} diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/aws-streaming-blueprint.xml b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/aws-streaming-blueprint.xml new file mode 100644 index 000000000..6851e9176 --- /dev/null +++ b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/aws-streaming-blueprint.xml @@ -0,0 +1,48 @@ + + + + + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + + + \ No newline at end of file diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/aws-streaming-spring.xml b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/aws-streaming-spring.xml new file mode 100644 index 000000000..18dd9bbcc --- /dev/null +++ b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/aws-streaming-spring.xml @@ -0,0 +1,52 @@ + + + + + + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + 5 + + + + + diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-aws2-pdf-4.1.0.jar b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-aws2-pdf-4.1.0.jar new file mode 100644 index 000000000..3793136c8 Binary files /dev/null and b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-aws2-pdf-4.1.0.jar differ diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-aws2-sns-4.1.0.jar b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-aws2-sns-4.1.0.jar new file mode 100644 index 000000000..6c21630ec Binary files /dev/null and b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-aws2-sns-4.1.0.jar differ diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-kafka-4.1.0.jar b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-kafka-4.1.0.jar new file mode 100644 index 000000000..7d052daaa Binary files /dev/null and b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-kafka-4.1.0.jar differ diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-management-4.1.0.jar b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-management-4.1.0.jar new file mode 100644 index 000000000..586efc528 Binary files /dev/null and b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-management-4.1.0.jar differ diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-scheduler-4.1.0.jar b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-scheduler-4.1.0.jar new file mode 100644 index 000000000..c6218eaeb Binary files /dev/null and b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-scheduler-4.1.0.jar differ diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-timer-4.1.0.jar b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-timer-4.1.0.jar new file mode 100644 index 000000000..3e9cdb184 Binary files /dev/null and b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/camel-timer-4.1.0.jar differ diff --git a/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/pom.xml b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/pom.xml new file mode 100644 index 000000000..754b6e6a5 --- /dev/null +++ b/rules/rules-reviewed/camel4/camel3/tests/data/xml-41-changes/pom.xml @@ -0,0 +1,175 @@ + + + + + 4.0.0 + + + org.apache.camel.springboot.example + examples + 3.20.1.redhat-00001 + + + camel-example-spring-boot-xml + Camel SB Examples :: XML + An example showing how to work with Camel routes in XML files and Spring Boot + + + Beginner + Spring Boot XML + + UTF-8 + UTF-8 + ${spring-boot-version} + + + + + + com.redhat.camel.springboot.platform + camel-spring-boot-bom + ${camel-spring-boot-version} + pom + import + + + + + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + + + + org.apache.camel + camel-aws2-pdf + + + org.apache.camel + camel-aws2-sns + + + org.apache.camel + camel-kafka + + + org.apache.camel + camel-management + + + org.apache.camel + camel-scheduler + + + org.apache.camel + camel-timer + + + + + org.apache.camel.springboot + camel-spring-boot-xml-starter + + + org.apache.camel.springboot + camel-xml-jaxb-dsl-starter + + + org.apache.camel.springboot + camel-stream-starter + + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.apache.camel + camel-test-spring-junit5 + test + + + org.junit.vintage + junit-vintage-engine + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot-version} + + + + repackage + + + + + + + org.apache.camel + camel-maven-plugin + ${camel-community.version} + + + + + + + + openshift + + + + org.eclipse.jkube + openshift-maven-plugin + ${jkube-maven-plugin-version} + + + + resource + build + + + + + + + + + diff --git a/rules/rules-reviewed/camel4/camel3/tests/xml-41-changes.windup.test.xml b/rules/rules-reviewed/camel4/camel3/tests/xml-41-changes.windup.test.xml new file mode 100644 index 000000000..03ef2281d --- /dev/null +++ b/rules/rules-reviewed/camel4/camel3/tests/xml-41-changes.windup.test.xml @@ -0,0 +1,252 @@ + + + data/xml-41-changes + ../xml-41-changes.windup.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rules/rules-reviewed/camel4/camel3/xml-41-changes.windup.xml b/rules/rules-reviewed/camel4/camel3/xml-41-changes.windup.xml new file mode 100644 index 000000000..7f02583c8 --- /dev/null +++ b/rules/rules-reviewed/camel4/camel3/xml-41-changes.windup.xml @@ -0,0 +1,361 @@ + + + + + Rules for changes between Camel 4.0 and Camel 4.1 + + + + + + + + + + + + + + + + + + + + Dumping routes to JMX no longer includes customId=true in the XML nodes. + + + + + + + + + + + + + + + + The scheduler no longer includes header with the timestamp of when the exchange was fired. This means the exchange by default has no headers, and null body.The option includeMetadata can be set to true on the endpoint or component level, to turn on these additional metadata headers again. + + + + + + + + + + + + + + + + The timer no longer includes header firedTime with the timestamp of when the exchange was fired. This means the exchange by default has no headers, and null body.The firedTime header has been renamed to CamelTimerFireTime. The option includeMetadata can be set to true on the endpoint or component level, to turn on these additional metadata headers again. + + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineOperation message header has been replaced with CamelAwsStepFunctionsOperation + + + + + + + + + + + + + + + + + + + CamelAwsStateMachinesMaxResults message header has been replaced with CamelAwsStepFunctionsStateMachinesMaxResults + + + + + + + + + + + + + + + + + + + CamelAwsStepFunctionsStateMachineActivityName message header has been replaced with CamelAwsStepFunctionsActivityName + + + + + + + + + + + + + + + + + + + CamelAwsStepFunctionsStateMachineActivityArn message header has been replaced with CamelAwsStepFunctionsActivityArn + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineActivitiesMaxResults message header has been replaced with CamelAwsStepFunctionsActivitiesMaxResults + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineExecutionArn message header has been replaced with CamelAwsStepFunctionsExecutionArn + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineExecutionName message header has been replaced with CamelAwsStepFunctionsExecutionName + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineExecutionInput message header has been replaced with CamelAwsStepFunctionsExecutionInput + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineExecutionTraceHeader message header has been replaced with CamelAwsStepFunctionsExecutionTraceHeader + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineExecutionHistoryMaxResults message header has been replaced with CamelAwsStepFunctionsExecutionHistoryMaxResults + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineExecutionHistoryIncludeExecutionData message header has been replaced with CamelAwsStepFunctionsExecutionHistoryIncludeExecutionData + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineExecutionHistoryReverseOrder message header has been replaced with CamelAwsStepFunctionsExecutionHistoryReverseOrder + + + + + + + + + + + + + + + + + + + CamelAwsStateMachineExecutionMaxResults message header has been replaced with CamelAwsStepFunctionsExecutionMaxResults + + + + + + + + + + + + + + + + The queueUrl parameter has been replaced by the queueArn parameter. + + + + + + + + + + + + + + + + The Camel-PDF component has been updated to Apache PDFBox 3.0.0 and the font parameter is now defined through the following enum values: COURIER,COURIER_BOLD,COURIER_OBLIQUE,COURIER_BOLD_OBLIQUE, HELVETICA,HELVETICA_BOLD,HELVETICA_OBLIQUE,HELVETICA_BOLD_OBLIQUE,TIMES_ROMAN,TIMES_BOLD,TIMES_ITALIC,TIMES_BOLD_ITALIC,SYMBOL and ZAPF_DINGBATS. + + + + + + + + + + + + + + + + The default value for sessionTimeoutMs has been updated to 45000 ms, while the default value for consumerRequestTimeoutMs has been updated to 30000. + + + + + + +