Skip to content

Commit

Permalink
Development: Add missing annotation to BuildAgentDTO
Browse files Browse the repository at this point in the history
  • Loading branch information
krusche committed Nov 29, 2024
1 parent f1caa8a commit f81e35b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
import java.io.Serial;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

// NOTE: this data structure is used in shared code between core and build agent nodes. Changing it requires that the shared data structures in Hazelcast (or potentially Redis)
// in the future are migrated or cleared. Changes should be communicated in release notes as potentially breaking changes.
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public record BuildAgentDTO(String name, String memberAddress, String displayName) implements Serializable {

@Serial
Expand Down

0 comments on commit f81e35b

Please sign in to comment.