Annotation Interface InfraService


@Retention(RUNTIME) @Documented @Target(TYPE) public @interface InfraService
Marks a class as a Service that can be used by Camel JBang infra The marked class is analyzed by the mojo CamelTestInfraGenerateMetadataMojo
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Interface that extends InfrastructureService the interface is used by Camel JBang infra run to retrieve testing information like port, endpoint, username...
    List of names that can be used to run the service
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns a description of this Service.
    Additional and optional Service name, in case of multiple Service implementations For example kafka has 3 implementations kafka - uses apache/kafka image as implementation kafka redpanda - uses redpandadata/redpanda image as implementation kafka strimzi - uses strimzi/kafka as image implementation
  • Element Details

    • service

      Class service
      Interface that extends InfrastructureService the interface is used by Camel JBang infra run to retrieve testing information like port, endpoint, username...
      Returns:
    • description

      String description
      Returns a description of this Service. This is used for documentation and tooling.
      Returns:
      Default:
      ""
    • serviceAlias

      String[] serviceAlias
      List of names that can be used to run the service
      Returns:
    • serviceImplementationAlias

      String[] serviceImplementationAlias
      Additional and optional Service name, in case of multiple Service implementations For example kafka has 3 implementations kafka - uses apache/kafka image as implementation kafka redpanda - uses redpandadata/redpanda image as implementation kafka strimzi - uses strimzi/kafka as image implementation
      Returns:
      Default:
      {}