Skip to content

Commit

Permalink
Updated headers
Browse files Browse the repository at this point in the history
  • Loading branch information
urbim committed Dec 19, 2017
1 parent 2375e02 commit ca17930
Show file tree
Hide file tree
Showing 47 changed files with 67 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
/**
* Servlet, which exposes metrics in JSON and Prometheus format.
*
* @author Urban Malc, Aljaž Blažej
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class KumuluzEEMetricsServlet extends HttpServlet {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@EeExtensionDef(name = "MetricsCommons", group = EeExtensionGroup.METRICS)
@EeComponentDependency(EeComponentType.CDI)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricsExtensionCDI implements Extension {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@ApplicationScoped
public class MetricsInitiator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class ContextImpl implements Timer.Context {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class CounterImpl implements Counter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class ForwardingGauge implements Gauge {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class HistogramImpl implements Histogram {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MeterImpl implements Meter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricAdapter implements Metric {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricFilterAdapter implements MetricFilter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricRegistryImpl extends MetricRegistry {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class SnapshotImpl extends Snapshot {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class TimerImpl implements Timer {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class InstrumentedFilter implements Filter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
import java.io.IOException;

/**
* Servlet response that exposes status.
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class StatusExposingServletResponse extends HttpServletResponseWrapper {
private int httpStatus = 200;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@Interceptor
@Counted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@Interceptor
@GaugeBeanBinding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@Interceptor
@Metered
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@Interceptor
@RegisterMetricsBinding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@Interceptor
@Timed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
import java.util.HashSet;
import java.util.Set;

/**
* Adds additional annotations to Annotated.
*
* @author Urban Malc
* @since 1.0.0
*/
public class AnnotatedDecorator implements Annotated {

private final Annotated decorated;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
import java.util.HashSet;
import java.util.Set;

/**
* Adds annotations to AnnotatedType
*
* @author Urban Malc
* @since 1.0.0
*/
public class AnnotatedTypeDecorator<X> extends AnnotatedDecorator implements AnnotatedType<X> {

private final AnnotatedType<X> decoratedType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@

/**
* Interceptor binding for beans, containing Gauge annotations.
*
* @author Urban Malc
* @since 1.0.0
*/
@InterceptorBinding
@Target({ElementType.TYPE})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@

/**
* Interceptor binding for beans, containing Timed, Metered and Counted annotations.
*
* @author Urban Malc
* @since 1.0.0
*/
@InterceptorBinding
@Retention(RetentionPolicy.RUNTIME)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
/**
* Jackson Module, which contains serializers for MetricRegistry
*
* @author Urban Malc, Aljaž Blažej
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricsModule extends Module {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricsPayload {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class Service {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetadataSerializer extends StdSerializer<Metadata> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricRegistryMetadataSerializer extends StdSerializer<MetricRegistry> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricRegistryMetricSerializer extends StdSerializer<MetricRegistry> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class MetricSerializer extends StdSerializer<Metric> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@Alternative
@ApplicationScoped
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@ApplicationScoped
public class MetricRegistryProducer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class PrometheusBuilder {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class PrometheusMetricWriter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class Tag {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class AnnotationMetadata {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public abstract class ForwardingCounter implements Counter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class ProducerMemberRegistration {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class RequestInfo {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class ServiceConfigInfo {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
*
* @author Aljaž Blažej
* @author Urban Malc
* @since 1.0.0
*/
@ApplicationScoped
public class LogsInitiator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
*
* @author Aljaž Blažej
* @author Urban Malc
* @since 1.0.0
*/
public class LogsSender implements Runnable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class KumuluzEELogstashReporter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
@ApplicationScoped
public class LogstashInitiator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
*
* @author Urban Malc
* @author Aljaž Blažej
* @since 1.0.0
*/
public class LogstashSender implements Runnable {

Expand Down

0 comments on commit ca17930

Please sign in to comment.