Class RestServiceCompositeStage

java.lang.Object
teetime.framework.CompositeStage
kieker.tools.source.RestServiceCompositeStage
All Implemented Interfaces:
kieker.analysis.generic.source.ISourceCompositeStage

public class RestServiceCompositeStage
extends teetime.framework.CompositeStage
implements kieker.analysis.generic.source.ISourceCompositeStage
Multiple TCP input composite stage. This wrapper composite stage allows to configure the RestServiceStage via a configuration object. Configuration parameters are:
port
port where the service is listening on
hostname
virtual host name to expect in URI (optional)
accessHandler
Not all hosts should be allowed to send monitoring data, the access handler limits access to the service
All names are prefixed with kieker.tools.source.RestServiceCompositeStage.
Since:
1.15
  • Field Summary

    Fields inherited from class teetime.framework.CompositeStage

    DEFAULT_PIPE_CAPACITY
  • Constructor Summary

    Constructors 
    Constructor Description
    RestServiceCompositeStage​(java.lang.String hostname, int port, kieker.analysis.generic.source.IAccessHandler accessHandler)
    Create a source composite stage for rest services.
    RestServiceCompositeStage​(kieker.common.configuration.Configuration configuration)
    Deprecated. 
  • Method Summary

    Modifier and Type Method Description
    teetime.framework.OutputPort<kieker.common.record.IMonitoringRecord> getOutputPort()  

    Methods inherited from class teetime.framework.CompositeStage

    connectPorts, connectPorts, createInputPort, createOutputPort

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RestServiceCompositeStage

      @Deprecated public RestServiceCompositeStage​(kieker.common.configuration.Configuration configuration) throws kieker.common.exception.ConfigurationException
      Deprecated.
      Create a source composite stage for rest services.
      Parameters:
      configuration - configuration for the service
      Throws:
      kieker.common.exception.ConfigurationException - on configuration errors
    • RestServiceCompositeStage

      public RestServiceCompositeStage​(java.lang.String hostname, int port, kieker.analysis.generic.source.IAccessHandler accessHandler)
      Create a source composite stage for rest services.
      Parameters:
      hostname - hostname to listen to
      port - port to listen on
      accessHandler - controls access to the rest service
  • Method Details

    • getOutputPort

      public teetime.framework.OutputPort<kieker.common.record.IMonitoringRecord> getOutputPort()
      Specified by:
      getOutputPort in interface kieker.analysis.generic.source.ISourceCompositeStage