Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw lunatic XML & JSON data saving into database #139

Merged
merged 14 commits into from
Dec 18, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import fr.insee.genesis.domain.ports.api.ScheduleApiPort;
import fr.insee.genesis.domain.ports.api.SurveyUnitApiPort;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.ResponseEntity;
import org.springframework.security.core.context.SecurityContextHolder;
Expand All @@ -18,7 +17,7 @@ public class HealthCheckController {
@Value("${fr.insee.genesis.version}")
private String projectVersion;

@Autowired

public HealthCheckController(SurveyUnitApiPort surveyUnitApiPort, ScheduleApiPort scheduleApiPort) {
this.surveyUnitApiPort = surveyUnitApiPort;
this.scheduleApiPort = scheduleApiPort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.DeleteMapping;
Expand Down Expand Up @@ -42,7 +41,6 @@ public class ScheduleController {
private final ScheduleApiPort scheduleApiPort;
private final FileUtils fileUtils;

@Autowired
public ScheduleController(ScheduleApiPort scheduleApiPort, FileUtils fileUtils) {
this.scheduleApiPort = scheduleApiPort;
this.fileUtils = fileUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PutMapping;
Expand All @@ -25,7 +24,7 @@ public class UtilsController {
private final SurveyUnitApiPort surveyUnitService;


@Autowired

public UtilsController(SurveyUnitApiPort surveyUnitService,VolumetryLogService volumetryLogService) {
this.surveyUnitService = surveyUnitService;
this.volumetryLogService = volumetryLogService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import fr.insee.genesis.domain.ports.api.SurveyUnitApiPort;
import io.swagger.v3.oas.annotations.Operation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
Expand All @@ -20,7 +19,7 @@ public class CampaignController {

private final SurveyUnitApiPort surveyUnitService;

@Autowired

public CampaignController(SurveyUnitApiPort surveyUnitService) {
this.surveyUnitService = surveyUnitService;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import fr.insee.genesis.domain.ports.api.SurveyUnitApiPort;
import io.swagger.v3.oas.annotations.Operation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
Expand All @@ -20,7 +19,7 @@ public class IdUEController {

private final SurveyUnitApiPort surveyUnitService;

@Autowired

public IdUEController(SurveyUnitApiPort surveyUnitService) {
this.surveyUnitService = surveyUnitService;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import fr.insee.genesis.domain.ports.api.SurveyUnitApiPort;
import io.swagger.v3.oas.annotations.Operation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
Expand All @@ -20,7 +19,7 @@ public class ModeController {

private final SurveyUnitApiPort surveyUnitService;

@Autowired

public ModeController(SurveyUnitApiPort surveyUnitService) {
this.surveyUnitService = surveyUnitService;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import fr.insee.genesis.domain.ports.api.SurveyUnitApiPort;
import io.swagger.v3.oas.annotations.Operation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
Expand All @@ -21,7 +20,7 @@ public class QuestionnaireController {

private final SurveyUnitApiPort surveyUnitService;

@Autowired

public QuestionnaireController(SurveyUnitApiPort surveyUnitService) {
this.surveyUnitService = surveyUnitService;
}
Expand Down
Loading
Loading