This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit bc732bdc725a487a102f1a810569219a80ac57a3 Author: James Netherton <[email protected]> AuthorDate: Thu Jul 31 08:56:01 2025 +0100 Remove redundant custom-log-component tests --- catalog/pom.xml | 13 --- .../foundation/customized-log-component/pom.xml | 109 --------------------- .../log/it/CustomizedLogComponentResource.java | 57 ----------- .../component/log/it/CustomizedLogComponentIT.java | 23 ----- .../log/it/CustomizedLogComponentTest.java | 42 -------- integration-test-groups/foundation/pom.xml | 1 - .../custom-log-component/deployment/pom.xml | 78 --------------- .../quarkus/core/support/deployment/Feature.java | 29 ------ .../core/support/deployment/SupportBuildStep.java | 35 ------- .../custom-log-component/pom.xml | 39 -------- .../custom-log-component/runtime/pom.xml | 64 ------------ .../quarkus/core/support/SupportRecorder.java | 37 ------- integration-tests-support/pom.xml | 1 - integration-tests/foundation-grouped/pom.xml | 17 ---- poms/bom-test/pom.xml | 5 - 15 files changed, 550 deletions(-) diff --git a/catalog/pom.xml b/catalog/pom.xml index acfbd42685..ac6ef8dadf 100644 --- a/catalog/pom.xml +++ b/catalog/pom.xml @@ -1852,19 +1852,6 @@ </exclusion> </exclusions> </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>*</groupId> - <artifactId>*</artifactId> - </exclusion> - </exclusions> - </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-integration-tests-support-custom-main-listener</artifactId> diff --git a/integration-test-groups/foundation/customized-log-component/pom.xml b/integration-test-groups/foundation/customized-log-component/pom.xml deleted file mode 100644 index 33d6652056..0000000000 --- a/integration-test-groups/foundation/customized-log-component/pom.xml +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-build-parent-it</artifactId> - <version>3.26.0-SNAPSHOT</version> - <relativePath>../../../poms/build-parent-it/pom.xml</relativePath> - </parent> - - <artifactId>camel-quarkus-integration-test-customized-log-component</artifactId> - <name>Camel Quarkus :: Integration Tests :: Customize Log component :: Tests</name> - - <dependencies> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component</artifactId> - </dependency> - <dependency> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-resteasy</artifactId> - </dependency> - - <!-- test dependencies --> - <dependency> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-junit5</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>io.rest-assured</groupId> - <artifactId>rest-assured</artifactId> - <scope>test</scope> - </dependency> - </dependencies> - - <profiles> - <profile> - <id>native</id> - <activation> - <property> - <name>native</name> - </property> - </activation> - <properties> - <quarkus.native.enabled>true</quarkus.native.enabled> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-failsafe-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>integration-test</goal> - <goal>verify</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>virtualDependencies</id> - <activation> - <property> - <name>!noVirtualDependencies</name> - </property> - </activation> - <dependencies> - <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory --> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component-deployment</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>*</groupId> - <artifactId>*</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - </profile> - </profiles> - -</project> diff --git a/integration-test-groups/foundation/customized-log-component/src/main/java/org/apache/camel/quarkus/component/customized/log/it/CustomizedLogComponentResource.java b/integration-test-groups/foundation/customized-log-component/src/main/java/org/apache/camel/quarkus/component/customized/log/it/CustomizedLogComponentResource.java deleted file mode 100644 index 30904049d3..0000000000 --- a/integration-test-groups/foundation/customized-log-component/src/main/java/org/apache/camel/quarkus/component/customized/log/it/CustomizedLogComponentResource.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.component.customized.log.it; - -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.inject.Inject; -import jakarta.ws.rs.GET; -import jakarta.ws.rs.Path; -import jakarta.ws.rs.PathParam; -import jakarta.ws.rs.Produces; -import jakarta.ws.rs.core.MediaType; -import org.apache.camel.ProducerTemplate; -import org.apache.camel.component.log.LogComponent; -import org.apache.camel.spi.Registry; -import org.apache.camel.support.processor.DefaultExchangeFormatter; - -@Path("/customized-log-component") -@ApplicationScoped -public class CustomizedLogComponentResource { - @Inject - Registry registry; - - @Inject - ProducerTemplate producerTemplate; - - @Path("/exchange-formatter/{key}") - @GET - @Produces(MediaType.TEXT_PLAIN) - public String exchangeFormatterConfig(@PathParam("key") String key) { - LogComponent component = registry.lookupByNameAndType("log", LogComponent.class); - DefaultExchangeFormatter def = (DefaultExchangeFormatter) component.getExchangeFormatter(); - - switch (key) { - case "show-all": - return String.valueOf(def.isShowAll()); - case "multi-line": - return String.valueOf(def.isMultiline()); - default: - throw new IllegalStateException("Unexpected key " + key); - } - } - -} diff --git a/integration-test-groups/foundation/customized-log-component/src/test/java/org/apache/camel/quarkus/component/log/it/CustomizedLogComponentIT.java b/integration-test-groups/foundation/customized-log-component/src/test/java/org/apache/camel/quarkus/component/log/it/CustomizedLogComponentIT.java deleted file mode 100644 index de3f265321..0000000000 --- a/integration-test-groups/foundation/customized-log-component/src/test/java/org/apache/camel/quarkus/component/log/it/CustomizedLogComponentIT.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.component.log.it; - -import io.quarkus.test.junit.QuarkusIntegrationTest; - -@QuarkusIntegrationTest -public class CustomizedLogComponentIT extends CustomizedLogComponentTest { -} diff --git a/integration-test-groups/foundation/customized-log-component/src/test/java/org/apache/camel/quarkus/component/log/it/CustomizedLogComponentTest.java b/integration-test-groups/foundation/customized-log-component/src/test/java/org/apache/camel/quarkus/component/log/it/CustomizedLogComponentTest.java deleted file mode 100644 index 3b098eaa5b..0000000000 --- a/integration-test-groups/foundation/customized-log-component/src/test/java/org/apache/camel/quarkus/component/log/it/CustomizedLogComponentTest.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.component.log.it; - -import io.quarkus.test.junit.QuarkusTest; -import io.restassured.RestAssured; -import org.hamcrest.Matchers; -import org.junit.jupiter.api.Test; - -@QuarkusTest -public class CustomizedLogComponentTest { - - @Test - public void customLogComponent() { - RestAssured - .get("/customized-log-component/exchange-formatter/show-all") - .then() - .statusCode(200) - .body(Matchers.is("true")); - RestAssured - .get("/customized-log-component/exchange-formatter/multi-line") - .then() - .statusCode(200) - .body(Matchers.is("true")); - - } - -} diff --git a/integration-test-groups/foundation/pom.xml b/integration-test-groups/foundation/pom.xml index 47d64db494..700de877b8 100644 --- a/integration-test-groups/foundation/pom.xml +++ b/integration-test-groups/foundation/pom.xml @@ -41,7 +41,6 @@ <module>core-annotations</module> <module>core-languages</module> <module>core-thread-pools</module> - <module>customized-log-component</module> <module>dataset</module> <module>direct</module> <module>eip</module> diff --git a/integration-tests-support/custom-log-component/deployment/pom.xml b/integration-tests-support/custom-log-component/deployment/pom.xml deleted file mode 100644 index fd67a89373..0000000000 --- a/integration-tests-support/custom-log-component/deployment/pom.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <parent> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component-parent</artifactId> - <version>3.26.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - - <artifactId>camel-quarkus-integration-tests-support-custom-log-component-deployment</artifactId> - <name>Camel Quarkus :: Integration Tests :: Support :: Custom Log Component :: Deployment</name> - <description>A test extension</description> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-bom-test</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> - </dependencyManagement> - - <dependencies> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-core-deployment</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-log-deployment</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component</artifactId> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <annotationProcessorPaths> - <path> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-extension-processor</artifactId> - <version>${quarkus.version}</version> - </path> - </annotationProcessorPaths> - </configuration> - </plugin> - </plugins> - </build> - -</project> diff --git a/integration-tests-support/custom-log-component/deployment/src/main/java/org/apache/camel/quarkus/core/support/deployment/Feature.java b/integration-tests-support/custom-log-component/deployment/src/main/java/org/apache/camel/quarkus/core/support/deployment/Feature.java deleted file mode 100644 index 922fb0d77d..0000000000 --- a/integration-tests-support/custom-log-component/deployment/src/main/java/org/apache/camel/quarkus/core/support/deployment/Feature.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.core.support.deployment; - -import io.quarkus.deployment.annotations.BuildStep; -import io.quarkus.deployment.builditem.FeatureBuildItem; - -public class Feature { - private static final String FEATURE = "camel-core-support"; - - @BuildStep - FeatureBuildItem feature() { - return new FeatureBuildItem(FEATURE); - } -} diff --git a/integration-tests-support/custom-log-component/deployment/src/main/java/org/apache/camel/quarkus/core/support/deployment/SupportBuildStep.java b/integration-tests-support/custom-log-component/deployment/src/main/java/org/apache/camel/quarkus/core/support/deployment/SupportBuildStep.java deleted file mode 100644 index 16e9c7804b..0000000000 --- a/integration-tests-support/custom-log-component/deployment/src/main/java/org/apache/camel/quarkus/core/support/deployment/SupportBuildStep.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.core.support.deployment; - -import io.quarkus.deployment.annotations.BuildStep; -import io.quarkus.deployment.annotations.ExecutionTime; -import io.quarkus.deployment.annotations.Record; -import org.apache.camel.component.log.LogComponent; -import org.apache.camel.quarkus.core.deployment.spi.CamelBeanBuildItem; -import org.apache.camel.quarkus.core.support.SupportRecorder; - -public class SupportBuildStep { - @Record(ExecutionTime.STATIC_INIT) - @BuildStep - CamelBeanBuildItem logComponent(SupportRecorder recorder) { - return new CamelBeanBuildItem( - "log", - LogComponent.class.getName(), - recorder.logComponent()); - } -} diff --git a/integration-tests-support/custom-log-component/pom.xml b/integration-tests-support/custom-log-component/pom.xml deleted file mode 100644 index 10c8b91dda..0000000000 --- a/integration-tests-support/custom-log-component/pom.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support</artifactId> - <version>3.26.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - - <artifactId>camel-quarkus-integration-tests-support-custom-log-component-parent</artifactId> - <packaging>pom</packaging> - - <name>Camel Quarkus :: Integration Tests :: Support :: Custom Log Component</name> - - <modules> - <module>runtime</module> - <module>deployment</module> - </modules> - -</project> diff --git a/integration-tests-support/custom-log-component/runtime/pom.xml b/integration-tests-support/custom-log-component/runtime/pom.xml deleted file mode 100644 index 1b68efda7c..0000000000 --- a/integration-tests-support/custom-log-component/runtime/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <parent> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component-parent</artifactId> - <version>3.26.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - - <artifactId>camel-quarkus-integration-tests-support-custom-log-component</artifactId> - <name>Camel Quarkus :: Integration Tests :: Support :: Custom Log Component :: Runtime</name> - <description>A test extension</description> - - <dependencies> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-log</artifactId> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-extension-maven-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <annotationProcessorPaths> - <path> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-extension-processor</artifactId> - <version>${quarkus.version}</version> - </path> - </annotationProcessorPaths> - </configuration> - </plugin> - </plugins> - </build> -</project> diff --git a/integration-tests-support/custom-log-component/runtime/src/main/java/org/apache/camel/quarkus/core/support/SupportRecorder.java b/integration-tests-support/custom-log-component/runtime/src/main/java/org/apache/camel/quarkus/core/support/SupportRecorder.java deleted file mode 100644 index 06508e5bc2..0000000000 --- a/integration-tests-support/custom-log-component/runtime/src/main/java/org/apache/camel/quarkus/core/support/SupportRecorder.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.core.support; - -import io.quarkus.runtime.RuntimeValue; -import io.quarkus.runtime.annotations.Recorder; -import org.apache.camel.Component; -import org.apache.camel.component.log.LogComponent; -import org.apache.camel.support.processor.DefaultExchangeFormatter; - -@Recorder -public class SupportRecorder { - public RuntimeValue<Component> logComponent() { - DefaultExchangeFormatter def = new DefaultExchangeFormatter(); - def.setShowAll(true); - def.setMultiline(true); - - LogComponent component = new LogComponent(); - component.setExchangeFormatter(def); - - return new RuntimeValue<>(component); - } -} diff --git a/integration-tests-support/pom.xml b/integration-tests-support/pom.xml index e800383b96..a54fb1e280 100644 --- a/integration-tests-support/pom.xml +++ b/integration-tests-support/pom.xml @@ -52,7 +52,6 @@ <module>azure</module> <module>certificate-generator</module> <module>custom-dataformat</module> - <module>custom-log-component</module> <module>custom-type-converter</module> <module>custom-main-listener</module> <module>custom-kamelet-resource</module> diff --git a/integration-tests/foundation-grouped/pom.xml b/integration-tests/foundation-grouped/pom.xml index de60304035..a95c6cc9bd 100644 --- a/integration-tests/foundation-grouped/pom.xml +++ b/integration-tests/foundation-grouped/pom.xml @@ -100,10 +100,6 @@ <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-http</artifactId> </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component</artifactId> - </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-integration-tests-support-custom-type-converter</artifactId> @@ -391,19 +387,6 @@ </exclusion> </exclusions> </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component-deployment</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>*</groupId> - <artifactId>*</artifactId> - </exclusion> - </exclusions> - </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-integration-tests-support-custom-type-converter-deployment</artifactId> diff --git a/poms/bom-test/pom.xml b/poms/bom-test/pom.xml index ab8761adbe..05929456d9 100644 --- a/poms/bom-test/pom.xml +++ b/poms/bom-test/pom.xml @@ -164,11 +164,6 @@ <artifactId>camel-quarkus-integration-tests-support-kafka</artifactId> <version>${camel-quarkus.version}</version> </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-integration-tests-support-custom-log-component</artifactId> - <version>${camel-quarkus.version}</version> - </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-integration-tests-support-custom-main-listener</artifactId>
