-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
functionType for bpmn operations is now a String
- Loading branch information
Showing
23 changed files
with
104 additions
and
120 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
30 changes: 15 additions & 15 deletions
30
src/main/java/it/gov/pagopa/atmlayer/service/model/dto/BpmnUpgradeDto.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 |
---|---|---|
@@ -1,35 +1,35 @@ | ||
package it.gov.pagopa.atmlayer.service.model.dto; | ||
|
||
import it.gov.pagopa.atmlayer.service.model.enumeration.FunctionTypeEnum; | ||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.Pattern; | ||
import jakarta.ws.rs.FormParam; | ||
import jakarta.ws.rs.core.MediaType; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import org.jboss.resteasy.reactive.PartType; | ||
|
||
import java.io.File; | ||
import java.util.UUID; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
public class BpmnUpgradeDto { | ||
|
||
@FormParam("uuid") | ||
@NotNull(message = "uuid is required") | ||
private UUID uuid; | ||
@FormParam("uuid") | ||
@NotNull(message = "uuid is required") | ||
private UUID uuid; | ||
|
||
@FormParam("file") | ||
@PartType(MediaType.APPLICATION_XML) | ||
@NotNull(message = "bpmn file is required") | ||
private File file; | ||
@FormParam("file") | ||
@PartType(MediaType.APPLICATION_XML) | ||
@NotNull(message = "bpmn file is required") | ||
private File file; | ||
|
||
@FormParam("filename") | ||
@NotNull(message = "filename is required") | ||
@Pattern(regexp = "^[a-zA-Z0-9_-]+$", message = "deve essere della forma ${regexp} e non contenere l'estensione del file") | ||
private String filename; | ||
@FormParam("filename") | ||
@NotNull(message = "filename is required") | ||
@Pattern(regexp = "^[a-zA-Z0-9_-]+$", message = "deve essere della forma ${regexp} e non contenere l'estensione del file") | ||
private String filename; | ||
|
||
@FormParam("functionType") | ||
@NotNull(message = "function type is required") | ||
private FunctionTypeEnum functionType; | ||
@FormParam("functionType") | ||
@NotNull(message = "function type is required") | ||
private String functionType; | ||
} |
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
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
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
Oops, something went wrong.