aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pnfsimulator/src/main/java/org/onap/pnfsimulator/event/EventData.java13
1 files changed, 2 insertions, 11 deletions
diff --git a/pnfsimulator/src/main/java/org/onap/pnfsimulator/event/EventData.java b/pnfsimulator/src/main/java/org/onap/pnfsimulator/event/EventData.java
index 23b1c21..ff85367 100644
--- a/pnfsimulator/src/main/java/org/onap/pnfsimulator/event/EventData.java
+++ b/pnfsimulator/src/main/java/org/onap/pnfsimulator/event/EventData.java
@@ -24,12 +24,14 @@ import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
+import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;
@Builder
@Getter
@Setter
+@ToString(exclude = "incrementValue")
public class EventData {
@Id
private String id;
@@ -62,15 +64,4 @@ public class EventData {
this.keywords = keywords;
this.incrementValue = incrementValue;
}
-
- @Override
- public String toString() {
- return "EventData{"
- + "id='" + id + '\''
- + ", template='" + template + '\''
- + ", patched='" + patched + '\''
- + ", input='" + input + '\''
- + ", keywords='" + keywords + '\''
- + '}';
- }
}