Skip to content

Commit

Permalink
Fix integration tests camel route suppliers service declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
stataru8 committed Sep 26, 2024
1 parent 3dd12a4 commit 2e1d23a
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-atom-test",
immediate = true,
service = CamelAtomRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelAtomRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@
import org.apache.camel.model.RouteDefinition;
import org.apache.camel.dataformat.avro.AvroDataFormat;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;


@Component(
name = "karaf-camel-avro-test",
immediate = true,
service = CamelAvroRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelAvroRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.apache.camel.model.RouteDefinition;
import org.apache.camel.spi.DataFormat;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

import com.google.zxing.BarcodeFormat;
Expand All @@ -47,7 +48,7 @@
@Component(
name = "karaf-camel-barcode-test",
immediate = true,
service = CamelBarcodeRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelBarcodeRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

import jakarta.validation.constraints.Min;
Expand All @@ -28,7 +29,7 @@
@Component(
name = "karaf-camel-bean-validator-test",
immediate = true,
service = CamelBeanValidatorRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelBeanValidatorRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
import org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-bindy-test",
immediate = true,
service = CamelBindyRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelBindyRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
import org.apache.camel.component.caffeine.CaffeineConstants;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-caffeine-test",
immediate = true,
service = CamelCaffeineRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelCaffeineRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
import org.apache.camel.component.cbor.CBORDataFormat;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-cbor-test",
immediate = true,
service = CamelCborRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelCborRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.apache.camel.model.RouteDefinition;
import org.apache.camel.model.language.SimpleExpression;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

import com.fasterxml.jackson.core.JsonProcessingException;
Expand All @@ -28,7 +29,7 @@
@Component(
name = "karaf-camel-chatscript-test",
immediate = true,
service = CamelChatscriptRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelChatscriptRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-coap-test",
immediate = true,
service = CamelCoapRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelCoapRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@
import org.apache.camel.component.consul.endpoint.ConsulKeyValueActions;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-consul-test",
immediate = true,
service = CamelConsulRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelConsulRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
import org.apache.camel.component.couchdb.CouchDbOperations;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-couchdb-test",
immediate = true,
service = CamelCouchdbRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelCouchdbRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@
import org.apache.camel.component.crypto.DigitalSignatureConstants;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-crypto-test",
immediate = true,
service = CamelCryptoRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelCryptoRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
import org.apache.camel.model.RouteDefinition;
import org.apache.camel.model.dataformat.CsvDataFormat;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-csv-test",
immediate = true,
service = CamelCsvRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelCsvRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-exec-test",
immediate = true,
service = CamelExecRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelExecRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-flatpack-test",
immediate = true,
service = CamelFlatpackRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelFlatpackRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
import org.apache.camel.component.leveldb.serializer.JacksonLevelDBSerializer;
import org.apache.camel.model.RouteDefinition;
import org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
import org.apache.karaf.camel.itests.CamelRouteSupplier;
import org.osgi.service.component.annotations.Component;

@Component(
name = "karaf-camel-leveldb-test",
immediate = true,
service = CamelLeveldbRouteSupplier.class
service = CamelRouteSupplier.class
)
public class CamelLeveldbRouteSupplier extends AbstractCamelSingleFeatureResultMockBasedRouteSupplier {

Expand Down

0 comments on commit 2e1d23a

Please sign in to comment.