Skip to content

Commit

Permalink
json serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Feb 3, 2025
1 parent 0f8c761 commit eca1b97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package gov.cms.ab2d.eventclient.events;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import gov.cms.ab2d.eventclient.config.Ab2dEnvironment;
import java.time.OffsetDateTime;

Expand All @@ -9,6 +10,7 @@
* Interface describing a loggable event
*/
@Data
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS)
public abstract class LoggableEvent {
protected LoggableEvent() { }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package gov.cms.ab2d.eventclient.messages;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.*;
import lombok.extern.slf4j.Slf4j;


@Slf4j
@Data
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS)
public abstract class SQSMessages {
protected SQSMessages() { }
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ext {
bfdVersion='3.2.0'
aggregatorVersion='2.0.1'
filtersVersion='2.1.0'
eventClientVersion='3.2.3'
eventClientVersion='3.2.4'
propertiesClientVersion='2.0.0'
contractClientVersion='2.0.0'
snsClientVersion='1.0.1'
Expand Down

0 comments on commit eca1b97

Please sign in to comment.