-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from InseeFr/develop
Merge develop into main: add source open close
- Loading branch information
Showing
11 changed files
with
109 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,4 +43,3 @@ | |
"schedule": ["every weekend"], | ||
"timezone": "Europe/Paris" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/java/fr/insee/survey/datacollectionmanagement/metadata/dto/OpenDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package fr.insee.survey.datacollectionmanagement.metadata.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
public class OpenDto { | ||
private boolean opened; | ||
private boolean forceClose; | ||
private String messageSurveyOffline; | ||
private String messageInfoSurveyOffline; | ||
|
||
} |
21 changes: 0 additions & 21 deletions
21
src/main/java/fr/insee/survey/datacollectionmanagement/metadata/dto/SourceCompleteDto.java
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
...ain/java/fr/insee/survey/datacollectionmanagement/metadata/dto/SourceOnlineStatusDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package fr.insee.survey.datacollectionmanagement.metadata.dto; | ||
|
||
import fr.insee.survey.datacollectionmanagement.metadata.util.PeriodicityEnum; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class SourceOnlineStatusDto { | ||
|
||
@NotBlank | ||
private String id; | ||
private String longWording; | ||
private String shortWording; | ||
private PeriodicityEnum periodicity; | ||
@Schema(description = "Indicates whether or not you need to use the my surveys portal", defaultValue = "false") | ||
private boolean mandatoryMySurveys = false; | ||
@Schema(description = "Indicates if the source should be force closed", defaultValue = "false") | ||
private boolean forceClose = false; | ||
private String messageInfoSurveyOffline = ""; | ||
private String messageSurveyOffline = ""; | ||
private String ownerId; | ||
private String supportId; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters