Skip to content

Commit

Permalink
Merge pull request #139 from InseeFr/devRawDataSave
Browse files Browse the repository at this point in the history
Raw lunatic XML & JSON data saving into database
  • Loading branch information
alexisszmundy authored Dec 18, 2024
2 parents 974f7fc + 56a3c32 commit 1685ab3
Show file tree
Hide file tree
Showing 35 changed files with 815 additions and 222 deletions.
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

0 comments on commit 1685ab3

Please sign in to comment.