Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@ public enum EventType {

ERROR,

HTTP_START,

HTTP_START_STOP,

HTTP_STOP,

LOG_MESSAGE,

VALUE_METRIC;
Expand All @@ -47,12 +43,8 @@ static EventType from(org.cloudfoundry.dropsonde.events.Envelope.EventType drops
return COUNTER_EVENT;
case Error:
return ERROR;
case HttpStart:
return HTTP_START;
case HttpStartStop:
return HTTP_START_STOP;
case HttpStop:
return HTTP_STOP;
case LogMessage:
return LOG_MESSAGE;
case ValueMetric:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ public static Envelope from(org.cloudfoundry.dropsonde.events.Envelope dropsonde
Optional.ofNullable(dropsonde.containerMetric).ifPresent(d -> envelope.containerMetric(ContainerMetric.from(d)));
Optional.ofNullable(dropsonde.counterEvent).ifPresent(d -> envelope.counterEvent(CounterEvent.from(d)));
Optional.ofNullable(dropsonde.error).ifPresent(d -> envelope.error(Error.from(d)));
Optional.ofNullable(dropsonde.httpStart).ifPresent(d -> envelope.httpStart(HttpStart.from(d)));
Optional.ofNullable(dropsonde.httpStartStop).ifPresent(d -> envelope.httpStartStop(HttpStartStop.from(d)));
Optional.ofNullable(dropsonde.httpStop).ifPresent(d -> envelope.httpStop(HttpStop.from(d)));
Optional.ofNullable(dropsonde.logMessage).ifPresent(d -> envelope.logMessage(LogMessage.from(d)));
Optional.ofNullable(dropsonde.valueMetric).ifPresent(d -> envelope.valueMetric(ValueMetric.from(d)));

Expand Down Expand Up @@ -83,24 +81,12 @@ public static Envelope from(org.cloudfoundry.dropsonde.events.Envelope dropsonde
*/
abstract EventType getEventType();

/**
* The enclosed {@link HttpStart}
*/
@Nullable
abstract HttpStart getHttpStart();

/**
* The enclosed {@link HttpStartStop}
*/
@Nullable
abstract HttpStartStop getHttpStartStop();

/**
* The enclosed {@link HttpStop}
*/
@Nullable
abstract HttpStop getHttpStop();

/**
* Index of job (used to uniquely identify source)
*/
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static HttpStartStop from(org.cloudfoundry.dropsonde.events.HttpStartStop
abstract String getRemoteAddress();

/**
* The ID for tracking lifecycle of request. Should match requestId of a {@link HttpStop} event
* The ID for tracking lifecycle of request.
*/
abstract UUID getRequestId();

Expand Down

This file was deleted.

Loading