diff --git a/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/IntegrationTest.groovy b/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/GroovySourceLoaderTest.groovy similarity index 82% rename from camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/IntegrationTest.groovy rename to camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/GroovySourceLoaderTest.groovy index 5e5119ace..60163af51 100644 --- a/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/IntegrationTest.groovy +++ b/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/GroovySourceLoaderTest.groovy @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.k.loader.groovy.dsl +package org.apache.camel.k.loader.groovy import org.apache.camel.Predicate import org.apache.camel.Processor @@ -22,8 +22,13 @@ import org.apache.camel.RuntimeCamelException import org.apache.camel.component.jackson.JacksonDataFormat import org.apache.camel.component.log.LogComponent import org.apache.camel.component.seda.SedaComponent +import org.apache.camel.k.Sources +import org.apache.camel.k.listener.RoutesConfigurer import org.apache.camel.k.loader.groovy.support.TestRuntime import org.apache.camel.language.bean.BeanLanguage +import org.apache.camel.model.FromDefinition +import org.apache.camel.model.ModelCamelContext +import org.apache.camel.model.ToDefinition import org.apache.camel.model.rest.GetVerbDefinition import org.apache.camel.model.rest.PostVerbDefinition import org.apache.camel.processor.FatalFallbackErrorHandler @@ -36,10 +41,50 @@ import spock.lang.Specification import javax.sql.DataSource -class IntegrationTest extends Specification { +class GroovySourceLoaderTest extends Specification { @AutoCleanup def runtime = new TestRuntime() + def "load routes"() { + given: + def source = Sources.fromURI("classpath:routes.groovy") + + when: + def loader = RoutesConfigurer.load(runtime, source) + + then: + loader instanceof GroovySourceLoader + + with(runtime.getCamelContext(ModelCamelContext.class).routeDefinitions) { + it.size() == 1 + + it[0].outputs[0] instanceof ToDefinition + it[0].input.endpointUri == 'timer:tick' + } + } + + def "load routes with endpoint dsl"() { + given: + def source = Sources.fromURI("classpath:routes-with-endpoint-dsl.groovy") + + when: + def loader = RoutesConfigurer.load(runtime, source) + + then: + loader instanceof GroovySourceLoader + + with(runtime.getCamelContext(ModelCamelContext.class).routeDefinitions) { + it.size() == 1 + + with(it[0].input, FromDefinition) { + it.endpointUri == 'timer://tick?period=1s' + } + with(it[0].outputs[0], ToDefinition) { + it.endpointUri == 'log://info' + } + } + } + def "load integration with rest"() { when: runtime.loadRoutes('classpath:routes-with-rest.groovy') @@ -183,4 +228,3 @@ class IntegrationTest extends Specification { 1 == 1 } } - diff --git a/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/LoaderTest.groovy b/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/LoaderTest.groovy deleted file mode 100644 index e11a5e240..000000000 --- a/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/LoaderTest.groovy +++ /dev/null @@ -1,71 +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.k.loader.groovy - - -import org.apache.camel.k.Sources -import org.apache.camel.k.listener.RoutesConfigurer -import org.apache.camel.k.loader.groovy.support.TestRuntime -import org.apache.camel.model.FromDefinition -import org.apache.camel.model.ModelCamelContext -import org.apache.camel.model.ToDefinition -import spock.lang.Specification - -class LoaderTest extends Specification { - - def "load routes"() { - given: - def runtime = new TestRuntime() - def source = Sources.fromURI("classpath:routes.groovy") - - when: - def loader = RoutesConfigurer.load(runtime, source) - - then: - loader instanceof GroovySourceLoader - - with(runtime.getCamelContext(ModelCamelContext.class).routeDefinitions) { - it.size() == 1 - - it[0].outputs[0] instanceof ToDefinition - it[0].input.endpointUri == 'timer:tick' - } - } - - def "load routes with endpoint dsl"() { - given: - def runtime = new TestRuntime() - def source = Sources.fromURI("classpath:routes-with-endpoint-dsl.groovy") - - when: - def loader = RoutesConfigurer.load(runtime, source) - - then: - loader instanceof GroovySourceLoader - - with(runtime.getCamelContext(ModelCamelContext.class).routeDefinitions) { - it.size() == 1 - - with(it[0].input, FromDefinition) { - it.endpointUri == 'timer://tick?period=1s' - } - with(it[0].outputs[0], ToDefinition) { - it.endpointUri == 'log://info' - } - } - } -} diff --git a/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/extension/ExpressionClauseExtensionTest.groovy b/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/extension/ExpressionClauseExtensionTest.groovy similarity index 98% rename from camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/extension/ExpressionClauseExtensionTest.groovy rename to camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/extension/ExpressionClauseExtensionTest.groovy index 255ae9086..b76f41603 100644 --- a/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/extension/ExpressionClauseExtensionTest.groovy +++ b/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/extension/ExpressionClauseExtensionTest.groovy @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.k.loader.groovy.dsl.extension +package org.apache.camel.k.loader.groovy.extension import org.apache.camel.impl.DefaultCamelContext diff --git a/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/extension/LogExtensionTest.groovy b/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/extension/LogExtensionTest.groovy similarity index 96% rename from camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/extension/LogExtensionTest.groovy rename to camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/extension/LogExtensionTest.groovy index a5a4b5eba..3fa458048 100644 --- a/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/dsl/extension/LogExtensionTest.groovy +++ b/camel-k-loader-groovy/src/test/groovy/org/apache/camel/k/loader/groovy/extension/LogExtensionTest.groovy @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.k.loader.groovy.dsl.extension +package org.apache.camel.k.loader.groovy.extension import org.apache.camel.component.log.LogComponent import org.apache.camel.impl.DefaultCamelContext diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/DefinitionsTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/DefinitionsTest.groovy index 6db3a3f34..40dfb0349 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/DefinitionsTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/DefinitionsTest.groovy @@ -17,6 +17,7 @@ package org.apache.camel.k.loader.yaml import org.apache.camel.impl.DefaultCamelContext +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ChoiceDefinition import org.apache.camel.model.FilterDefinition import org.apache.camel.model.SplitDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesTest.groovy index 1f6ace9bd..f1cb5aea3 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesTest.groovy @@ -18,6 +18,7 @@ package org.apache.camel.k.loader.yaml import org.apache.camel.component.mock.MockEndpoint import org.apache.camel.k.loader.yaml.support.MyFailingProcessor +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.processor.aggregate.UseLatestAggregationStrategy import org.apache.camel.support.processor.idempotent.MemoryIdempotentRepository diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesWithPlaceholdersTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesWithPlaceholdersTest.groovy index 1e7f2ead9..751b92870 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesWithPlaceholdersTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesWithPlaceholdersTest.groovy @@ -17,6 +17,7 @@ package org.apache.camel.k.loader.yaml import org.apache.camel.component.direct.DirectEndpoint +import org.apache.camel.k.loader.yaml.support.TestSupport class RoutesWithPlaceholdersTest extends TestSupport { def 'route'() { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/AggregateTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/AggregateTest.groovy index 289f9464d..16cd6dc8c 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/AggregateTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/AggregateTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.AggregateDefinition import org.apache.camel.model.language.SimpleExpression diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/BeanTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/BeanTest.groovy index 30f1a19b0..073b8915e 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/BeanTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/BeanTest.groovy @@ -17,7 +17,7 @@ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.BeanDefinition class BeanTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ChoiceTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ChoiceTest.groovy index 474acddb2..cf09d1b2a 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ChoiceTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ChoiceTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.k.loader.yaml.spi.StepParserException import org.apache.camel.model.ChoiceDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/CircuitBreakerTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/CircuitBreakerTest.groovy index 5922f3436..fb39bfa26 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/CircuitBreakerTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/CircuitBreakerTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.CircuitBreakerDefinition import org.apache.camel.model.ToDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ClaimCheckTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ClaimCheckTest.groovy index a43133707..2584885d8 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ClaimCheckTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ClaimCheckTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ClaimCheckDefinition class ClaimCheckTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ConvertBodyTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ConvertBodyTest.groovy index a5cfc8ba4..9183e7c34 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ConvertBodyTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ConvertBodyTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ConvertBodyDefinition class ConvertBodyTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DelayTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DelayTest.groovy index 6670f4b0c..68d74b1ae 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DelayTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DelayTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.DelayDefinition class DelayTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DoTryTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DoTryTest.groovy index fcd9c5938..16da4d549 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DoTryTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DoTryTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.TryDefinition class DoTryTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DynamicRouterTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DynamicRouterTest.groovy index 623e80955..2f583219e 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DynamicRouterTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/DynamicRouterTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.DynamicRouterDefinition class DynamicRouterTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/EnrichTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/EnrichTest.groovy index c6f87b2a8..8c68bab1d 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/EnrichTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/EnrichTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.EnrichDefinition class EnrichTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ErrorHandlerTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ErrorHandlerTest.groovy index 51f5ed452..fc4168287 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ErrorHandlerTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ErrorHandlerTest.groovy @@ -20,7 +20,7 @@ import org.apache.camel.builder.DeadLetterChannelBuilder import org.apache.camel.builder.DefaultErrorHandlerBuilder import org.apache.camel.builder.ErrorHandlerBuilderRef import org.apache.camel.builder.NoErrorHandlerBuilder -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.RouteDefinition class ErrorHandlerTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/FilterTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/FilterTest.groovy index 6e78d6383..0612b3acd 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/FilterTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/FilterTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.FilterDefinition class FilterTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/FromTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/FromTest.groovy index 49a9f86b2..168c12405 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/FromTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/FromTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.k.loader.yaml.spi.StepParserException import org.apache.camel.model.FromDefinition import org.apache.camel.model.RouteDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/IdempotentConsumerTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/IdempotentConsumerTest.groovy index 277f2c3d8..645cf8a2e 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/IdempotentConsumerTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/IdempotentConsumerTest.groovy @@ -16,9 +16,8 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.IdempotentConsumerDefinition -import org.apache.camel.model.SplitDefinition class IdempotentConsumerTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LoadBalanceTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LoadBalanceTest.groovy index b5843d3de..1ea6db37d 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LoadBalanceTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LoadBalanceTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.LoadBalanceDefinition import org.apache.camel.model.loadbalancer.CustomLoadBalancerDefinition import org.apache.camel.model.loadbalancer.FailoverLoadBalancerDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LogTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LogTest.groovy index eeb1e9f4d..b85fb5a3e 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LogTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LogTest.groovy @@ -17,7 +17,7 @@ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.LogDefinition class LogTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LoopTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LoopTest.groovy index dcae2268a..08fc660ed 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LoopTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/LoopTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.LoopDefinition class LoopTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/MarshalTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/MarshalTest.groovy index fa2a16009..7b736f267 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/MarshalTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/MarshalTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.MarshalDefinition class MarshalTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/MulticastTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/MulticastTest.groovy index ec18c037f..17b54a109 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/MulticastTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/MulticastTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.MulticastDefinition class MulticastTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/OnExceptionTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/OnExceptionTest.groovy index 4f6091652..9cef2da39 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/OnExceptionTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/OnExceptionTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.OnExceptionDefinition import org.apache.camel.model.ToDefinition import org.apache.camel.model.language.ConstantExpression diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/PipelineTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/PipelineTest.groovy index 68a11ddca..fecfa3244 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/PipelineTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/PipelineTest.groovy @@ -17,7 +17,7 @@ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.k.loader.yaml.spi.StepParserException import org.apache.camel.model.PipelineDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/PollEnrichTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/PollEnrichTest.groovy index 1e2b3dcd2..441fc5e94 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/PollEnrichTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/PollEnrichTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.PollEnrichDefinition class PollEnrichTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ProcessTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ProcessTest.groovy index ad8b3f942..13fec097c 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ProcessTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ProcessTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ProcessDefinition class ProcessTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RecipientListTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RecipientListTest.groovy index a42b6da47..fc172125f 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RecipientListTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RecipientListTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.RecipientListDefinition import org.apache.camel.model.language.ConstantExpression diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemoveHeaderTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemoveHeaderTest.groovy index 4e56e749e..04ad2f026 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemoveHeaderTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemoveHeaderTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.RemoveHeaderDefinition class RemoveHeaderTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemoveHeadersTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemoveHeadersTest.groovy index 7bedad6fa..02497307b 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemoveHeadersTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemoveHeadersTest.groovy @@ -16,10 +16,10 @@ */ package org.apache.camel.k.loader.yaml.parser - +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.RemoveHeadersDefinition -class RemoveHeadersTest extends org.apache.camel.k.loader.yaml.TestSupport { +class RemoveHeadersTest extends TestSupport { def "definition"() { when: diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemovePropertiesTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemovePropertiesTest.groovy index 15193d537..ee114404f 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemovePropertiesTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemovePropertiesTest.groovy @@ -16,10 +16,10 @@ */ package org.apache.camel.k.loader.yaml.parser - +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.RemovePropertiesDefinition -class RemovePropertiesTest extends org.apache.camel.k.loader.yaml.TestSupport { +class RemovePropertiesTest extends TestSupport { def "definition"() { given: diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemovePropertyTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemovePropertyTest.groovy index 6687f446f..0a28793b4 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemovePropertyTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RemovePropertyTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.RemovePropertyDefinition class RemovePropertyTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ResequenceTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ResequenceTest.groovy index 6f8d867cc..cbecf6362 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ResequenceTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ResequenceTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ResequenceDefinition import org.apache.camel.model.config.StreamResequencerConfig import org.apache.camel.model.language.SimpleExpression diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RestTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RestTest.groovy index e175c5a2d..05ac26aa9 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RestTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RestTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.k.loader.yaml.spi.StepParserException import org.apache.camel.model.RouteDefinition import org.apache.camel.model.rest.GetVerbDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RollbackTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RollbackTest.groovy index 71dc515a5..87c3243b2 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RollbackTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RollbackTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.RollbackDefinition class RollbackTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RoutingSlipTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RoutingSlipTest.groovy index 332a88ce2..92e0c88c7 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RoutingSlipTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/RoutingSlipTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.RoutingSlipDefinition import org.apache.camel.model.language.SimpleExpression diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SagaTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SagaTest.groovy index 7a08b9f75..017a21e3d 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SagaTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SagaTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.SagaDefinition class SagaTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SampleTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SampleTest.groovy index 643c21cf9..309acaffd 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SampleTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SampleTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.SamplingDefinition class SampleTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ScriptTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ScriptTest.groovy index 2dfdcfb18..7430eab2b 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ScriptTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ScriptTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ScriptDefinition class ScriptTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ServiceCallTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ServiceCallTest.groovy index 41ec88a4a..89aee0df7 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ServiceCallTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ServiceCallTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.cloud.ServiceCallDefinition import org.apache.camel.model.cloud.ServiceCallExpressionConfiguration import org.apache.camel.model.language.ExpressionDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetBodyTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetBodyTest.groovy index a8bcb1f79..4a8fff02e 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetBodyTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetBodyTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.SetBodyDefinition class SetBodyTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetExchangePatternTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetExchangePatternTest.groovy index 9efb531f4..a48aa68b9 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetExchangePatternTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetExchangePatternTest.groovy @@ -17,7 +17,7 @@ package org.apache.camel.k.loader.yaml.parser import org.apache.camel.ExchangePattern -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.SetExchangePatternDefinition class SetExchangePatternTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetHeaderTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetHeaderTest.groovy index 689e1e293..fe1ba26b5 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetHeaderTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetHeaderTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.SetHeaderDefinition class SetHeaderTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetPropertyTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetPropertyTest.groovy index 66851e379..364c702e4 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetPropertyTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SetPropertyTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.SetPropertyDefinition class SetPropertyTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SortTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SortTest.groovy index c3b5345b6..cb1e4312d 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SortTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SortTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.SortDefinition class SortTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SplitTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SplitTest.groovy index 2e12fd4b1..806afd15b 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SplitTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/SplitTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.SplitDefinition class SplitTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/StepTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/StepTest.groovy index 17ee0dd04..42f225920 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/StepTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/StepTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.k.loader.yaml.spi.StepParserException import org.apache.camel.model.StepDefinition diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/StopTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/StopTest.groovy index f89d68dbd..411c941f4 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/StopTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/StopTest.groovy @@ -17,7 +17,7 @@ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.StopDefinition class StopTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThreadsTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThreadsTest.groovy index 0657c0ab3..1ba839f50 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThreadsTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThreadsTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ThreadsDefinition class ThreadsTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThrottleTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThrottleTest.groovy index c5eccb85f..187293e6e 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThrottleTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThrottleTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ThrottleDefinition import org.apache.camel.model.language.ConstantExpression diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThrowExceptionTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThrowExceptionTest.groovy index 1d1295c43..6ebcdd86d 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThrowExceptionTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ThrowExceptionTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ThrowExceptionDefinition class ThrowExceptionTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ToDynamicTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ToDynamicTest.groovy index c400f3304..fdb1a6657 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ToDynamicTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ToDynamicTest.groovy @@ -17,7 +17,7 @@ package org.apache.camel.k.loader.yaml.parser import com.fasterxml.jackson.databind.node.TextNode -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ToDynamicDefinition class ToDynamicTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ToTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ToTest.groovy index a60db224c..e30a09e9d 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ToTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ToTest.groovy @@ -17,7 +17,7 @@ package org.apache.camel.k.loader.yaml.parser import com.fasterxml.jackson.databind.node.TextNode -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ToDefinition class ToTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/TransactedTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/TransactedTest.groovy index ed60dfef2..6cc6e2f67 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/TransactedTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/TransactedTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.TransactedDefinition class TransactedTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/UnmarshalTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/UnmarshalTest.groovy index b8159311b..36a4e2050 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/UnmarshalTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/UnmarshalTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.UnmarshalDefinition class UnmarshalTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ValidateTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ValidateTest.groovy index 58f405eef..9cd4eb1fe 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ValidateTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/ValidateTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.ValidateDefinition class ValidateTest extends TestSupport { diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/WireTapTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/WireTapTest.groovy index d08429d15..74072639f 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/WireTapTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/parser/WireTapTest.groovy @@ -16,7 +16,7 @@ */ package org.apache.camel.k.loader.yaml.parser -import org.apache.camel.k.loader.yaml.TestSupport +import org.apache.camel.k.loader.yaml.support.TestSupport import org.apache.camel.model.WireTapDefinition import org.apache.camel.model.language.ConstantExpression import org.apache.camel.model.language.SimpleExpression diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/TestSupport.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/support/TestSupport.groovy similarity index 97% rename from camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/TestSupport.groovy rename to camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/support/TestSupport.groovy index a6ce9d5d3..2781923b1 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/TestSupport.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/support/TestSupport.groovy @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.k.loader.yaml +package org.apache.camel.k.loader.yaml.support import com.fasterxml.jackson.databind.JsonNode import groovy.util.logging.Slf4j @@ -26,6 +26,8 @@ import org.apache.camel.impl.DefaultCamelContext import org.apache.camel.k.Runtime import org.apache.camel.k.Source import org.apache.camel.k.Sources +import org.apache.camel.k.loader.yaml.YamlSourceLoader +import org.apache.camel.k.loader.yaml.YamlStepResolver import org.apache.camel.k.loader.yaml.spi.ProcessorStepParser import org.apache.camel.k.loader.yaml.spi.StartStepParser import org.apache.camel.k.loader.yaml.spi.StepParser diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/main/resources/application.properties index 73989eb47..0d67e0636 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/main/resources/application.properties @@ -18,4 +18,5 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/ExtensionIT.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/CoreIT.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/ExtensionIT.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/CoreIT.java index 5b75cc4aa..0f7c6147a 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/ExtensionIT.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/CoreIT.java @@ -19,5 +19,5 @@ import io.quarkus.test.junit.NativeImageTest; @NativeImageTest -public class ExtensionIT extends ExtensionTest { +public class CoreIT extends CoreTest { } \ No newline at end of file diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/CoreTest.java similarity index 98% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/CoreTest.java index bbf417c85..3ac5bf2d1 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-core/src/test/java/org/apache/camel/k/core/quarkus/deployment/CoreTest.java @@ -31,7 +31,7 @@ import static org.hamcrest.Matchers.is; @QuarkusTest -public class ExtensionTest { +public class CoreTest { @Test public void testServices() { JsonPath p = RestAssured.given() diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/main/resources/application.properties index a775e51df..3f6864acc 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/main/resources/application.properties @@ -18,10 +18,11 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false # # Quarkus :: Camel # -quarkus.camel.main.routes-discovery.enabled = false +quarkus.camel.routes-discovery.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/ExtensionIT.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/CronIT.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/ExtensionIT.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/CronIT.java index 9039b1278..ea435b8b0 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/ExtensionIT.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/CronIT.java @@ -19,5 +19,5 @@ import io.quarkus.test.junit.NativeImageTest; @NativeImageTest -public class ExtensionIT extends ExtensionTest { +public class CronIT extends CronTest { } \ No newline at end of file diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/CronTest.java similarity index 97% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/CronTest.java index 8d0def1ae..ff38d6161 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-cron/src/test/java/org/apache/camel/k/quarkus/cron/deployment/CronTest.java @@ -26,7 +26,7 @@ import static org.hamcrest.Matchers.is; @QuarkusTest -public class ExtensionTest { +public class CronTest { @Test public void cronInterceptorIsRegistered() throws IOException { when() diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/main/resources/application.properties index a775e51df..3f6864acc 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/main/resources/application.properties @@ -18,10 +18,11 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false # # Quarkus :: Camel # -quarkus.camel.main.routes-discovery.enabled = false +quarkus.camel.routes-discovery.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/ExtensionIT.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/KnativeIT.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/ExtensionIT.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/KnativeIT.java index c8ad581ba..e48c4f104 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/ExtensionIT.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/KnativeIT.java @@ -19,5 +19,5 @@ import io.quarkus.test.junit.NativeImageTest; @NativeImageTest -public class ExtensionIT extends ExtensionTest { +public class KnativeIT extends KnativeTest { } \ No newline at end of file diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/KnativeTest.java similarity index 99% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/KnativeTest.java index 9dcb4c291..8c6c2f5c3 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-knative/src/test/java/org/apache/camel/k/quarkus/knative/deployment/KnativeTest.java @@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat; @QuarkusTest -public class ExtensionTest { +public class KnativeTest { @Test public void inspect() throws IOException { JsonPath p = RestAssured.given() diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/main/resources/application.properties index 9af8787ce..3da273ead 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/main/resources/application.properties @@ -18,9 +18,10 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false # # Quarkus :: Camel # -quarkus.camel.main.routes-discovery.enabled = false +quarkus.camel.routes-discovery.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/test/java/org/apache/camel/k/loader/yaml/quarkus/GroovyLoaderTest.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/test/java/org/apache/camel/k/loader/yaml/quarkus/GroovyLoaderTest.java index 0d27c28e1..887ec5379 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-groovy/src/test/java/org/apache/camel/k/loader/yaml/quarkus/GroovyLoaderTest.java @@ -32,12 +32,12 @@ @DisabledOnNativeImage @QuarkusTest -public class ExtensionTest { +public class GroovyLoaderTest { @Test public void testLoadRoutes() throws IOException { String code; - try (InputStream is = ExtensionTest.class.getResourceAsStream("/routes.groovy")) { + try (InputStream is = GroovyLoaderTest.class.getResourceAsStream("/routes.groovy")) { code = IOHelper.loadText(is); } diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/main/resources/application.properties index 9af8787ce..3da273ead 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/main/resources/application.properties @@ -18,9 +18,10 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false # # Quarkus :: Camel # -quarkus.camel.main.routes-discovery.enabled = false +quarkus.camel.routes-discovery.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/test/java/org/apache/camel/k/loader/java/java/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/test/java/org/apache/camel/k/loader/java/java/JavaLoaderTest.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/test/java/org/apache/camel/k/loader/java/java/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/test/java/org/apache/camel/k/loader/java/java/JavaLoaderTest.java index 78f78f38a..34a6e7c43 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/test/java/org/apache/camel/k/loader/java/java/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-java/src/test/java/org/apache/camel/k/loader/java/java/JavaLoaderTest.java @@ -32,12 +32,12 @@ @DisabledOnNativeImage @QuarkusTest -public class ExtensionTest { +public class JavaLoaderTest { @Test public void testLoadRoutes() throws IOException { String code; - try (InputStream is = ExtensionTest.class.getResourceAsStream("/MyRoutes.java")) { + try (InputStream is = JavaLoaderTest.class.getResourceAsStream("/MyRoutes.java")) { code = IOHelper.loadText(is); } diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/main/resources/application.properties index a775e51df..3f6864acc 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/main/resources/application.properties @@ -18,10 +18,11 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false # # Quarkus :: Camel # -quarkus.camel.main.routes-discovery.enabled = false +quarkus.camel.routes-discovery.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/ExtensionIT.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/JavaScriptLoaderIT.java similarity index 93% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/ExtensionIT.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/JavaScriptLoaderIT.java index 4045c2155..263766957 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/ExtensionIT.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/JavaScriptLoaderIT.java @@ -19,5 +19,5 @@ import io.quarkus.test.junit.NativeImageTest; @NativeImageTest -public class ExtensionIT extends ExtensionTest { +public class JavaScriptLoaderIT extends JavaScriptLoaderTest { } \ No newline at end of file diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/JavaScriptLoaderTest.java similarity index 93% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/JavaScriptLoaderTest.java index 9fb402254..eb875726a 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-js/src/test/java/org/apache/camel/k/loader/js/quarkus/JavaScriptLoaderTest.java @@ -30,12 +30,12 @@ import static org.assertj.core.api.Assertions.assertThat; @QuarkusTest -public class ExtensionTest { +public class JavaScriptLoaderTest { @Test public void testLoadRoutes() throws IOException { String code; - try (InputStream is = ExtensionTest.class.getResourceAsStream("/routes.js")) { + try (InputStream is = JavaScriptLoaderTest.class.getResourceAsStream("/routes.js")) { code = IOHelper.loadText(is); } diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/main/resources/application.properties index a775e51df..3f6864acc 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/main/resources/application.properties @@ -18,10 +18,11 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false # # Quarkus :: Camel # -quarkus.camel.main.routes-discovery.enabled = false +quarkus.camel.routes-discovery.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/ExtensionIT.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/XmlLoaderIT.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/ExtensionIT.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/XmlLoaderIT.java index 81146e8f8..8b41787b5 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/ExtensionIT.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/XmlLoaderIT.java @@ -19,5 +19,5 @@ import io.quarkus.test.junit.NativeImageTest; @NativeImageTest -public class ExtensionIT extends ExtensionTest { +public class XmlLoaderIT extends XmlLoaderTest { } \ No newline at end of file diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/XmlLoaderTest.java similarity index 95% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/XmlLoaderTest.java index 12ffd6132..9d40a71d3 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-xml/src/test/java/org/apache/camel/k/loader/xml/quarkus/XmlLoaderTest.java @@ -30,12 +30,12 @@ import static org.assertj.core.api.Assertions.assertThat; @QuarkusTest -public class ExtensionTest { +public class XmlLoaderTest { @Test public void testLoadRoutes() throws IOException { String code; - try (InputStream is = ExtensionTest.class.getResourceAsStream("/routes.xml")) { + try (InputStream is = XmlLoaderTest.class.getResourceAsStream("/routes.xml")) { code = IOHelper.loadText(is); } diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/main/resources/application.properties index a775e51df..3f6864acc 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/main/resources/application.properties @@ -18,10 +18,11 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false # # Quarkus :: Camel # -quarkus.camel.main.routes-discovery.enabled = false +quarkus.camel.routes-discovery.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionIT.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/YamlLoaderIT.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionIT.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/YamlLoaderIT.java index 4ff2701b1..fc418308e 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionIT.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/YamlLoaderIT.java @@ -19,5 +19,5 @@ import io.quarkus.test.junit.NativeImageTest; @NativeImageTest -public class ExtensionIT extends ExtensionTest { +public class YamlLoaderIT extends YamlLoaderTest { } \ No newline at end of file diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/YamlLoaderTest.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/YamlLoaderTest.java index 1d93719ef..0e5b73d7b 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-loader-yaml/src/test/java/org/apache/camel/k/loader/yaml/quarkus/YamlLoaderTest.java @@ -30,12 +30,12 @@ import static org.assertj.core.api.Assertions.assertThat; @QuarkusTest -public class ExtensionTest { +public class YamlLoaderTest { @Test public void testLoadRoutes() throws IOException { String code; - try (InputStream is = ExtensionTest.class.getResourceAsStream("/routes.yaml")) { + try (InputStream is = YamlLoaderTest.class.getResourceAsStream("/routes.yaml")) { code = IOHelper.loadText(is); } diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/main/resources/application.properties index 9af8787ce..3da273ead 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/main/resources/application.properties @@ -18,9 +18,10 @@ # # Quarkus # +quarkus.log.console.enable = false quarkus.banner.enabled = false # # Quarkus :: Camel # -quarkus.camel.main.routes-discovery.enabled = false +quarkus.camel.routes-discovery.enabled = false diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/ExtensionIT.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/PolyglotIT.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/ExtensionIT.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/PolyglotIT.java index 083853a60..f6927b9f6 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/ExtensionIT.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/PolyglotIT.java @@ -19,5 +19,5 @@ import io.quarkus.test.junit.NativeImageTest; @NativeImageTest -public class ExtensionIT extends ExtensionTest { +public class PolyglotIT extends PolyglotTest { } \ No newline at end of file diff --git a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/ExtensionTest.java b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/PolyglotTest.java similarity index 94% rename from camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/ExtensionTest.java rename to camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/PolyglotTest.java index e1bd54f72..6c7d59abf 100644 --- a/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/ExtensionTest.java +++ b/camel-k-quarkus/camel-k-quarkus-itests/camel-k-quarkus-itests-polyglot/src/test/java/org/apache/camel/k/itests/polyglot/quarkus/PolyglotTest.java @@ -31,13 +31,13 @@ import static org.assertj.core.api.Assertions.assertThat; @QuarkusTest -public class ExtensionTest { +public class PolyglotTest { @ParameterizedTest @ValueSource(strings = { "yaml", "xml" }) public void loadRoute(String loaderName) throws IOException { final byte[] code; - try (InputStream is = ExtensionTest.class.getResourceAsStream("/routes." + loaderName)) { + try (InputStream is = PolyglotTest.class.getResourceAsStream("/routes." + loaderName)) { code = is.readAllBytes(); }