package org.bricolages.streaming;

import lombok.Getter;
import lombok.Setter;

import org.bricolages.streaming.preflight.domains.DomainDefaultValues;
import org.bricolages.streaming.s3.ObjectMapper;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
@ConfigurationProperties(prefix = "bricolage")
public class Config {
    @Getter
    private final EventQueue eventQueue = new EventQueue();
    @Getter
    private final LogQueue logQueue = new LogQueue();
    @Getter
    private List<ObjectMapper.Entry> mappings = new ArrayList<>();

    @Setter
    static class EventQueue {
        String url;
        int visibilityTimeout;
        int maxNumberOfMessages;
        int waitTimeSeconds;
    }

    @Setter
    static class LogQueue {
        String url;
    }

    // preflight
    @Getter
    @Setter
    private String srcDs;
    @Getter
    @Setter
    private String destDs;
    @Getter
    @Setter
    private DomainDefaultValues defaults;
}

@@ -77,79 +77,8 @@
 r;%0A%0A
-import org.bricolages.streaming.preflight.domains.DomainDefaultValues;%0A
 impo
@@ -949,72 +949,6 @@
 Ds;%0A
-    @Getter%0A    @Setter%0A    private DomainDefaultValues defaults;%0A
 %7D%0A

Delete useless property (I do not clear why it was)