Skip to content

Commit

Permalink
autowire ObjectMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorgantaylor committed Sep 24, 2024
1 parent dcda1f3 commit f45e063
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,18 @@ public class PipelineInputsOutputsService {

private final PipelineInputsRepository pipelineInputsRepository;
private final PipelineOutputsRepository pipelineOutputsRepository;
private final ObjectMapper objectMapper = new ObjectMapper();
private final ObjectMapper objectMapper;

@Autowired
public PipelineInputsOutputsService(
GcsService gcsService,
PipelineInputsRepository pipelineInputsRepository,
PipelineOutputsRepository pipelineOutputsRepository) {
PipelineOutputsRepository pipelineOutputsRepository,
ObjectMapper objectMapper) {
this.gcsService = gcsService;
this.pipelineInputsRepository = pipelineInputsRepository;
this.pipelineOutputsRepository = pipelineOutputsRepository;
this.objectMapper = objectMapper;
}

/**
Expand Down

0 comments on commit f45e063

Please sign in to comment.