From 631e61a2c19b191b0d44a51b83d0da64c6397926 Mon Sep 17 00:00:00 2001 From: samjhecht Date: Tue, 28 Apr 2015 12:51:40 -0700 Subject: [PATCH 1/2] adding version tracking --- .../java/com/metamx/datatypes/mmx/MmxAuctionSummary.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java b/src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java index 4bb380d..f128947 100644 --- a/src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java +++ b/src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java @@ -44,6 +44,7 @@ public class MmxAuctionSummary private final User user; private final List responses; private final Ext ext; + private final String radTechVersion; public MmxAuctionSummary( @JsonProperty("timestamp") String timestamp, @@ -70,6 +71,7 @@ public MmxAuctionSummary( this.user = user; this.responses = responses; this.ext = ext; + this.radTechVersion = MmxAuctionSummary.class.getPackage().getImplementationVersion(); } @JsonProperty @@ -138,6 +140,12 @@ public Ext getExt() return ext; } + @JsonProperty("rad_tech_version") + public String getRadTechVersion() + { + return radTechVersion; + } + public static Builder builder() { return new Builder(); From b7f04717ec9f81560e68f68763c2643054e3e844 Mon Sep 17 00:00:00 2001 From: samjhecht Date: Wed, 29 Apr 2015 13:21:02 -0700 Subject: [PATCH 2/2] messing around --- src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java b/src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java index f128947..2614d8a 100644 --- a/src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java +++ b/src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java @@ -145,7 +145,7 @@ public String getRadTechVersion() { return radTechVersion; } - + public static Builder builder() { return new Builder();