From 17d960d45bdbb2d9b4397aa9446e627b0dba793d Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Wed, 15 May 2024 11:59:27 +0200 Subject: [PATCH 01/36] started implementation for profile managment --- .../service/model/dto/ProfileCreationDto.java | 15 ++++++++ .../service/model/entity/Profile.java | 35 +++++++++++++++++++ .../service/model/mapper/ProfileMapper.java | 13 +++++++ .../service/model/model/ProfileDTO.java | 15 ++++++++ .../model/repository/ProfileRepository.java | 9 +++++ .../model/resource/ProfileResource.java | 35 +++++++++++++++++++ .../service/model/service/ProfileService.java | 10 ++++++ .../service/impl/BpmnVersionServiceImpl.java | 2 +- .../service/impl/ProfileServiceImpl.java | 26 ++++++++++++++ 9 files changed, 159 insertions(+), 1 deletion(-) create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/ProfileCreationDto.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/entity/Profile.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapper.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/repository/ProfileRepository.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/ProfileCreationDto.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/ProfileCreationDto.java new file mode 100644 index 00000000..949ede97 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/ProfileCreationDto.java @@ -0,0 +1,15 @@ +package it.gov.pagopa.atmlayer.service.model.dto; + +import jakarta.validation.constraints.NotNull; +import lombok.Data; +import lombok.NoArgsConstructor; + +@NoArgsConstructor +@Data +public class ProfileCreationDto { + @NotNull + private String description; + @NotNull + private Integer profileId; +} + diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/Profile.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/Profile.java new file mode 100644 index 00000000..efb76c17 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/Profile.java @@ -0,0 +1,35 @@ +package it.gov.pagopa.atmlayer.service.model.entity; + +import jakarta.persistence.Column; +import jakarta.persistence.Entity; +import jakarta.persistence.Id; +import jakarta.persistence.Table; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import org.hibernate.annotations.CreationTimestamp; +import org.hibernate.annotations.UpdateTimestamp; + +import java.sql.Timestamp; + +@Entity +@Setter +@Getter +@AllArgsConstructor +@NoArgsConstructor +@Table(name = "profile") +public class Profile { + @Column(name = "description") + private String description; + @Id + @Column(name = "profileId") + private int profileId; + @CreationTimestamp + @Column(name = "created_at") + private Timestamp createdAt; + @UpdateTimestamp + @Column(name = "last_updated_at") + private Timestamp lastUpdatedAt; +} + diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapper.java new file mode 100644 index 00000000..44008427 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapper.java @@ -0,0 +1,13 @@ +package it.gov.pagopa.atmlayer.service.model.mapper; + +import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; +import org.mapstruct.Mapper; + +@Mapper(componentModel = "cdi") +public abstract class ProfileMapper { + public abstract Profile toEntity(ProfileCreationDto profileCreationDto); + + public abstract ProfileDTO toDto(Profile profile); +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java new file mode 100644 index 00000000..b6347cda --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java @@ -0,0 +1,15 @@ +package it.gov.pagopa.atmlayer.service.model.model; + +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.sql.Timestamp; + +@Data +@NoArgsConstructor +public class ProfileDTO { + private String description; + private int profileId; + private Timestamp createdAt; + private Timestamp lastUpdatedAt; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/ProfileRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/ProfileRepository.java new file mode 100644 index 00000000..37d83757 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/ProfileRepository.java @@ -0,0 +1,9 @@ +package it.gov.pagopa.atmlayer.service.model.repository; + +import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import jakarta.enterprise.context.ApplicationScoped; + +@ApplicationScoped +public class ProfileRepository implements PanacheRepositoryBase { +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java new file mode 100644 index 00000000..8b97e7ea --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java @@ -0,0 +1,35 @@ +package it.gov.pagopa.atmlayer.service.model.resource; + +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; +import it.gov.pagopa.atmlayer.service.model.mapper.ProfileMapper; +import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; +import it.gov.pagopa.atmlayer.service.model.service.ProfileService; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.validation.Valid; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; + +@ApplicationScoped +@Path("/profile") +public class ProfileResource { + + @Inject + ProfileService profileService; + @Inject + ProfileMapper profileMapper; + + @POST + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Uni createProfile(ProfileCreationDto profile) { + return this.profileService.createProfile(profile) + .onItem() + .transform(savedProfile -> profileMapper.toDto(savedProfile)); + } +} + diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java new file mode 100644 index 00000000..d87c0670 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java @@ -0,0 +1,10 @@ +package it.gov.pagopa.atmlayer.service.model.service; + +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; + +public interface ProfileService { + Uni createProfile(ProfileCreationDto profile); +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImpl.java index 891ffbd3..29aa02a5 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImpl.java @@ -68,7 +68,7 @@ public Uni save(BpmnVersion bpmnVersion) { return this.findBySHA256(bpmnVersion.getSha256()) .onItem().transform(Unchecked.function(x -> { if (x.isPresent()) { - throw new AtmLayerException("Esiste già un file BPMN con lo stesso contenuto", Response.Status.BAD_REQUEST, BPMN_FILE_WITH_SAME_CONTENT_ALREADY_EXIST); + throw new AtmLayerException(AppErrorCodeEnum.BPMN_FILE_WITH_SAME_CONTENT_ALREADY_EXIST.getErrorMessage(), Response.Status.BAD_REQUEST, BPMN_FILE_WITH_SAME_CONTENT_ALREADY_EXIST); } return x; })) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java new file mode 100644 index 00000000..7b406ef9 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java @@ -0,0 +1,26 @@ +package it.gov.pagopa.atmlayer.service.model.service.impl; + +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import it.gov.pagopa.atmlayer.service.model.mapper.ProfileMapper; +import it.gov.pagopa.atmlayer.service.model.repository.ProfileRepository; +import it.gov.pagopa.atmlayer.service.model.service.ProfileService; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; + +@ApplicationScoped +public class ProfileServiceImpl implements ProfileService { + + @Inject + ProfileMapper profileMapper; + + @Inject + ProfileRepository profileRepository; + + @Override + public Uni createProfile(ProfileCreationDto profileDto) { + Profile newProfile = this.profileMapper.toEntity(profileDto); + return this.profileRepository.persist(newProfile); + }; +} From a54a73658aaf29745f442893ae49ec5a4f641ce2 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Wed, 15 May 2024 14:35:41 +0200 Subject: [PATCH 02/36] user --- .../atmlayer/service/model/dto/UserDTO.java | 18 +++++++ .../atmlayer/service/model/entity/User.java | 32 ++++++++++++ .../model/enumeration/AppErrorCodeEnum.java | 4 +- .../service/model/mapper/UserMapper.java | 17 ++++++ .../model/repository/UserRepository.java | 10 ++++ .../service/model/resource/UserResource.java | 37 +++++++++++++ .../service/model/service/UserService.java | 11 ++++ .../model/service/impl/UserServiceImpl.java | 52 +++++++++++++++++++ 8 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java new file mode 100644 index 00000000..e3018555 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java @@ -0,0 +1,18 @@ +package it.gov.pagopa.atmlayer.service.model.dto; + +import lombok.*; + +import java.sql.Timestamp; + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@Builder +@ToString +@EqualsAndHashCode +public class UserDTO { + private String userId; + private Timestamp createdAt; + private Timestamp lastUpdatedAt; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java new file mode 100644 index 00000000..0113cfe4 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java @@ -0,0 +1,32 @@ +package it.gov.pagopa.atmlayer.service.model.entity; + +import jakarta.persistence.Column; +import jakarta.persistence.Entity; +import jakarta.persistence.Id; +import jakarta.persistence.Table; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import org.hibernate.annotations.CreationTimestamp; +import org.hibernate.annotations.UpdateTimestamp; + +import java.sql.Timestamp; + +@Entity +@Setter +@Getter +@AllArgsConstructor +@NoArgsConstructor +@Table(name = "user") +public class User { + @Id + @Column(name = "user_id") + private String userId; + @CreationTimestamp + @Column(name = "created_at") + private Timestamp createdAt; + @UpdateTimestamp + @Column(name = "last_updated_at") + private Timestamp lastUpdatedAt; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java index a30845ed..7d5969b1 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java @@ -60,7 +60,9 @@ public enum AppErrorCodeEnum { CONFIGURATION_TRIPLET_NOT_ASSOCIATED("ATMLM_4000049", "La banca/filiale/terminale indicata non ha associazioni per il tipo di funzione indicato. Creare un'associazione prima di sostituirla", CANNOT_REPLACE_ASSOCIATION), WORKFLOW_RESOURCE_INTERNAL_ERROR("ATMLM_4000050", "Nessun file associato alla risorsa aggiuntiva di processo o nessuna storageKey trovata", INTERNAL), BPMN_INTERNAL_ERROR("ATMLM_4000051", "Nessun file associato a BPMN o nessuna storageKey trovata", INTERNAL), - BPMN_FILE_CANNOT_BE_UNDEPLOYED("ATMLM_4000052", "La risorsa di processo indicata non può essere rilasciata", INTERNAL) ; + BPMN_FILE_CANNOT_BE_UNDEPLOYED("ATMLM_4000052", "La risorsa di processo indicata non può essere rilasciata", INTERNAL), + USER_WITH_SAME_ID_ALREADY_EXIST("ATMLM_4000053", "Un profilo utente con lo stesso id esiste già", CONSTRAINT_VIOLATION), + NO_USER_FOUND_FOR_ID("ATMLM_4000054", "Nessun utente trovato per l'id selezionato", NOT_EXISTING_USER_ID); private final String errorCode; private final String errorMessage; private final AppErrorType type; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java new file mode 100644 index 00000000..5ef025e2 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java @@ -0,0 +1,17 @@ +package it.gov.pagopa.atmlayer.service.model.mapper; + +import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; +import it.gov.pagopa.atmlayer.service.model.entity.User; +import org.mapstruct.Mapper; + +@Mapper(componentModel = "cdi") +public abstract class UserMapper { + + public abstract UserDTO toDTO(User user); + + public User toEntityInsertion(String userId) { + User user = new User(); + user.setUserId(userId); + return user; + } +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java new file mode 100644 index 00000000..38fe4d0c --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java @@ -0,0 +1,10 @@ +package it.gov.pagopa.atmlayer.service.model.repository; + +import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase; +import it.gov.pagopa.atmlayer.service.model.entity.User; +import jakarta.enterprise.context.ApplicationScoped; + +@ApplicationScoped +public class UserRepository implements PanacheRepositoryBase { + +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java new file mode 100644 index 00000000..55165e09 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -0,0 +1,37 @@ +package it.gov.pagopa.atmlayer.service.model.resource; + +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; +import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; +import it.gov.pagopa.atmlayer.service.model.service.UserService; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.MediaType; +import lombok.extern.slf4j.Slf4j; +import org.eclipse.microprofile.openapi.annotations.tags.Tag; + +@ApplicationScoped +@Path("/user") +@Tag(name = "User") +@Slf4j +public class UserResource { + + @Inject + UserMapper userMapper; + + @Inject + UserService userService; + + @POST + @Path("/insert/userId/{userId}") + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Uni insert(@PathParam("userId") String userId) { + User user = userMapper.toEntityInsertion(userId); + return this.userService.insertUser(user) + .onItem() + .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toDTO(insertedUser))); + } +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java new file mode 100644 index 00000000..eb1d3b45 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java @@ -0,0 +1,11 @@ +package it.gov.pagopa.atmlayer.service.model.service; + +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.entity.User; + +public interface UserService { + + Uni insertUser(User user); + + Uni findById(String userId); +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java new file mode 100644 index 00000000..6e45b361 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java @@ -0,0 +1,52 @@ +package it.gov.pagopa.atmlayer.service.model.service.impl; + +import io.quarkus.hibernate.reactive.panache.common.WithSession; +import io.quarkus.hibernate.reactive.panache.common.WithTransaction; +import io.smallrye.mutiny.Uni; +import io.smallrye.mutiny.unchecked.Unchecked; +import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; +import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; +import it.gov.pagopa.atmlayer.service.model.service.UserService; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.core.Response; +import lombok.extern.slf4j.Slf4j; + +@ApplicationScoped +@Slf4j +public class UserServiceImpl implements UserService { + + @Inject + UserRepository userRepository; + + @Override + @WithTransaction + public Uni insertUser(User user) { + String userId = user.getUserId(); + log.info("Inserting user with userId : {}", userId); + return this.userRepository.findById(user.getUserId()) + .onItem() + .transformToUni(Unchecked.function(x -> { + if (x != null) { + log.error("userId {} already exists", userId); + throw new AtmLayerException(Response.Status.BAD_REQUEST, AppErrorCodeEnum.USER_WITH_SAME_ID_ALREADY_EXIST); + } + return userRepository.persist(user); + })); + } + + @Override + @WithSession + public Uni findById(String userId) { + return this.userRepository.findById(userId) + .onItem() + .ifNull() + .switchTo(() -> { + throw new AtmLayerException(Response.Status.NOT_FOUND, AppErrorCodeEnum.NO_USER_FOUND_FOR_ID); + }) + .onItem() + .transformToUni(Unchecked.function(x -> Uni.createFrom().item(x))); + } +} From 1ef15000d21a9380867e761cf1d433516d6004dc Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Wed, 15 May 2024 15:29:18 +0200 Subject: [PATCH 03/36] delete user and getAll users --- .../atmlayer/service/model/entity/User.java | 2 +- .../service/model/mapper/UserMapper.java | 6 ++++ .../service/model/resource/UserResource.java | 28 ++++++++++++++++++- .../service/model/service/UserService.java | 6 ++++ .../model/service/impl/UserServiceImpl.java | 17 +++++++++++ 5 files changed, 57 insertions(+), 2 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java index 0113cfe4..ee1a9b4d 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java @@ -18,7 +18,7 @@ @Getter @AllArgsConstructor @NoArgsConstructor -@Table(name = "user") +@Table(name = "users") public class User { @Id @Column(name = "user_id") diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java index 5ef025e2..b0c768dc 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java @@ -4,6 +4,8 @@ import it.gov.pagopa.atmlayer.service.model.entity.User; import org.mapstruct.Mapper; +import java.util.List; + @Mapper(componentModel = "cdi") public abstract class UserMapper { @@ -14,4 +16,8 @@ public User toEntityInsertion(String userId) { user.setUserId(userId); return user; } + + public List toDTOList(List list) { + return list.stream().map(this::toDTO).toList(); + } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index 55165e09..a742d328 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -1,6 +1,7 @@ package it.gov.pagopa.atmlayer.service.model.resource; import io.smallrye.mutiny.Uni; +import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; @@ -12,6 +13,8 @@ import lombok.extern.slf4j.Slf4j; import org.eclipse.microprofile.openapi.annotations.tags.Tag; +import java.util.List; + @ApplicationScoped @Path("/user") @Tag(name = "User") @@ -26,7 +29,6 @@ public class UserResource { @POST @Path("/insert/userId/{userId}") - @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Uni insert(@PathParam("userId") String userId) { User user = userMapper.toEntityInsertion(userId); @@ -34,4 +36,28 @@ public Uni insert(@PathParam("userId") String userId) { .onItem() .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toDTO(insertedUser))); } + + @DELETE + @Path("/delete/userId/{userId}") + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Uni delete(@PathParam("userId") String userId) { + return this.userService.deleteUser(userId) + .onItem() + .ignore() + .andSwitchTo(Uni.createFrom().voidItem()); + } + + @GET + @Produces(MediaType.APPLICATION_JSON) + public Uni> getAll() { + return this.userService.getAllUsers() + .onItem() + .transform(Unchecked.function(list -> { + if (list.isEmpty()) { + log.info("There is not any user saved in database!"); + } + return userMapper.toDTOList(list); + })); + } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java index eb1d3b45..4bb29db4 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java @@ -3,9 +3,15 @@ import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.entity.User; +import java.util.List; + public interface UserService { Uni insertUser(User user); + Uni deleteUser(String userId); + Uni findById(String userId); + + Uni> getAllUsers(); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java index 6e45b361..dd396adc 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java @@ -14,6 +14,8 @@ import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; +import java.util.List; + @ApplicationScoped @Slf4j public class UserServiceImpl implements UserService { @@ -37,6 +39,21 @@ public Uni insertUser(User user) { })); } + @Override + @WithTransaction + public Uni deleteUser(String userId) { + log.info("Deleting user with userId : {}", userId); + return this.findById(userId) + .onItem() + .transformToUni(x -> this.userRepository.deleteById(userId)); + } + + @Override + @WithSession + public Uni> getAllUsers() { + return this.userRepository.findAll().list(); + } + @Override @WithSession public Uni findById(String userId) { From c243cbf3446d083ea87ce54f9fd927e39e76094b Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Thu, 16 May 2024 10:28:56 +0200 Subject: [PATCH 04/36] implemented CRUD for profile --- .../service/model/dto/ProfileCreationDto.java | 7 ++- .../model/enumeration/AppErrorCodeEnum.java | 4 +- .../model/resource/ProfileResource.java | 31 +++++++-- .../service/model/service/ProfileService.java | 6 ++ .../service/impl/ProfileServiceImpl.java | 63 ++++++++++++++++++- 5 files changed, 101 insertions(+), 10 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/ProfileCreationDto.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/ProfileCreationDto.java index 949ede97..7c21782c 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/ProfileCreationDto.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/ProfileCreationDto.java @@ -1,15 +1,18 @@ package it.gov.pagopa.atmlayer.service.model.dto; +import jakarta.validation.constraints.NotEmpty; import jakarta.validation.constraints.NotNull; import lombok.Data; import lombok.NoArgsConstructor; +import org.hibernate.validator.constraints.Range; @NoArgsConstructor @Data public class ProfileCreationDto { - @NotNull + @NotEmpty private String description; @NotNull - private Integer profileId; + @Range(min = 1) + private int profileId; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java index a30845ed..793afb1a 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java @@ -60,7 +60,9 @@ public enum AppErrorCodeEnum { CONFIGURATION_TRIPLET_NOT_ASSOCIATED("ATMLM_4000049", "La banca/filiale/terminale indicata non ha associazioni per il tipo di funzione indicato. Creare un'associazione prima di sostituirla", CANNOT_REPLACE_ASSOCIATION), WORKFLOW_RESOURCE_INTERNAL_ERROR("ATMLM_4000050", "Nessun file associato alla risorsa aggiuntiva di processo o nessuna storageKey trovata", INTERNAL), BPMN_INTERNAL_ERROR("ATMLM_4000051", "Nessun file associato a BPMN o nessuna storageKey trovata", INTERNAL), - BPMN_FILE_CANNOT_BE_UNDEPLOYED("ATMLM_4000052", "La risorsa di processo indicata non può essere rilasciata", INTERNAL) ; + BPMN_FILE_CANNOT_BE_UNDEPLOYED("ATMLM_4000052", "La risorsa di processo indicata non può essere rilasciata", INTERNAL) , + PROFILE_ALREADY_EXIST("ATMLM_4000053", "Esiste già un profilo con lo stesso id", CONSTRAINT_VIOLATION), + PROFILE_NOT_FOUND("ATMLM_4000054", "Non esiste un profilo con l'id indicatio", CONSTRAINT_VIOLATION); private final String errorCode; private final String errorMessage; private final AppErrorType type; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java index 8b97e7ea..e4ba8ca0 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java @@ -8,10 +8,7 @@ import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; import jakarta.validation.Valid; -import jakarta.ws.rs.Consumes; -import jakarta.ws.rs.POST; -import jakarta.ws.rs.Path; -import jakarta.ws.rs.Produces; +import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; @ApplicationScoped @@ -26,10 +23,34 @@ public class ProfileResource { @POST @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) - public Uni createProfile(ProfileCreationDto profile) { + public Uni createProfile(@Valid ProfileCreationDto profile) { return this.profileService.createProfile(profile) .onItem() .transform(savedProfile -> profileMapper.toDto(savedProfile)); } + + @GET + @Path("/{profileId}") + @Produces(MediaType.APPLICATION_JSON) + public Uni retrieveProfile(@PathParam("profileId") int profileId) { + return this.profileService.retrieveProfile(profileId) + .onItem() + .transform(retrievedProfile -> profileMapper.toDto(retrievedProfile)); + } + + @PUT + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Uni updateProfile(@Valid ProfileCreationDto profile) { + return this.profileService.updateProfile(profile) + .onItem() + .transform(updatedProfile -> profileMapper.toDto(updatedProfile)); + } + + @DELETE + @Path("/{profileId}") + public Uni deleteProfile(@PathParam("profileId") int profileId) { + return this.profileService.deleteProfile(profileId); + } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java index d87c0670..60c28cf8 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java @@ -7,4 +7,10 @@ public interface ProfileService { Uni createProfile(ProfileCreationDto profile); + + Uni retrieveProfile(int profileId); + + Uni updateProfile(ProfileCreationDto profile); + + Uni deleteProfile(int profileId); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java index 7b406ef9..c3b3331f 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java @@ -1,13 +1,19 @@ package it.gov.pagopa.atmlayer.service.model.service.impl; +import io.quarkus.hibernate.reactive.panache.common.WithSession; +import io.quarkus.hibernate.reactive.panache.common.WithTransaction; import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; +import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.ProfileMapper; import it.gov.pagopa.atmlayer.service.model.repository.ProfileRepository; import it.gov.pagopa.atmlayer.service.model.service.ProfileService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; +import jakarta.validation.Valid; +import jakarta.ws.rs.core.Response; @ApplicationScoped public class ProfileServiceImpl implements ProfileService { @@ -18,9 +24,62 @@ public class ProfileServiceImpl implements ProfileService { @Inject ProfileRepository profileRepository; + @WithSession + public Uni checkUnique(int profileId) { + return this.profileRepository.findById(profileId) + .onItem() + .transform(foundedProfile -> { + if (foundedProfile != null) { + throw new AtmLayerException(String.format("Esiste già un profilo con id %S", profileId), Response.Status.BAD_REQUEST, AppErrorCodeEnum.PROFILE_ALREADY_EXIST); + } + return true; + }); + } + + @WithSession + public Uni checkProfileId(int profileId) { + return this.profileRepository.findById(profileId) + .onItem() + .transform(id -> { + if (id == null) { + throw new AtmLayerException(String.format("Non esiste un profilo con id %S", profileId), Response.Status.BAD_REQUEST, AppErrorCodeEnum.PROFILE_NOT_FOUND); + } + return id; + }); + } + @Override + @WithTransaction public Uni createProfile(ProfileCreationDto profileDto) { Profile newProfile = this.profileMapper.toEntity(profileDto); - return this.profileRepository.persist(newProfile); - }; + return checkUnique(profileDto.getProfileId()) + .onItem() + .transformToUni(isUnique -> this.profileRepository.persist(newProfile)); + } + + @Override + @WithSession + public Uni retrieveProfile(int profileId) { + return checkProfileId(profileId); + } + + @Override + @WithTransaction + public Uni updateProfile(ProfileCreationDto profile) { + + return checkProfileId(profile.getProfileId()) + .onItem() + .transformToUni(updateProfile -> { + updateProfile.setDescription(profile.getDescription()); + return this.profileRepository.persist(updateProfile); + }); + } + + @Override + @WithTransaction + public Uni deleteProfile(int profileId) { + return checkProfileId(profileId) + .onItem() + .transformToUni(profileToDelete -> this.profileRepository.delete(profileToDelete)); + } } From 2d00dd1a1e187cdb473d22b87e17617d44e70c9f Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Thu, 16 May 2024 16:34:38 +0200 Subject: [PATCH 05/36] user profile association --- .../model/dto/UserProfileCreationDto.java | 27 --- .../service/model/dto/UserProfileDto.java | 25 --- .../service/model/dto/UserProfilesDTO.java | 19 ++ .../model/dto/UserProfilesInsertionDTO.java | 21 +++ .../service/model/entity/Profile.java | 10 +- .../atmlayer/service/model/entity/User.java | 7 +- .../{UserProfile.java => UserProfiles.java} | 24 ++- .../service/model/entity/UserProfilesPK.java | 28 +++ .../model/enumeration/AppErrorCodeEnum.java | 9 +- .../model/mapper/UserProfileMapper.java | 68 ------- .../model/mapper/UserProfilesMapper.java | 23 +++ .../repository/UserProfileRepository.java | 13 -- .../repository/UserProfilesRepository.java | 23 +++ .../model/resource/UserProfileResource.java | 122 ------------- .../model/resource/UserProfilesResource.java | 43 +++++ .../model/service/UserProfileService.java | 19 -- .../model/service/UserProfilesService.java | 9 + .../service/impl/UserProfileServiceImpl.java | 95 ---------- .../service/impl/UserProfilesServiceImpl.java | 36 ++++ .../model/dto/UserProfileCreationDtoTest.java | 33 ---- .../service/model/dto/UserProfileDtoTest.java | 39 ---- .../service/model/entity/UserProfileTest.java | 40 ----- .../model/mapper/UserProfileMapperTest.java | 137 --------------- .../repository/UserProfileRepositoryTest.java | 35 ---- .../resource/UserProfileResourceTest.java | 166 ------------------ .../impl/UserProfileServiceImplTest.java | 64 ------- 26 files changed, 237 insertions(+), 898 deletions(-) delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileCreationDto.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileDto.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesDTO.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesInsertionDTO.java rename src/main/java/it/gov/pagopa/atmlayer/service/model/entity/{UserProfile.java => UserProfiles.java} (50%) create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfilesPK.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfileMapper.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfileRepository.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfileResource.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfileService.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfileServiceImpl.java create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileCreationDtoTest.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileDtoTest.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfileTest.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfileMapperTest.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfileRepositoryTest.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfileResourceTest.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfileServiceImplTest.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileCreationDto.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileCreationDto.java deleted file mode 100644 index 77facde7..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileCreationDto.java +++ /dev/null @@ -1,27 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.dto; - -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import jakarta.validation.constraints.Email; -import jakarta.validation.constraints.NotNull; -import lombok.Data; -import lombok.NoArgsConstructor; -import org.eclipse.microprofile.openapi.annotations.media.Schema; - -import java.sql.Timestamp; - -@NoArgsConstructor -@Data -public class UserProfileCreationDto { - - @NotNull(message = "is required") - @Email(message = "must be an email address in the correct format") - @Schema(required = true, example = "email@domain.com") - private String userId; - @NotNull(message = "is required") - @Schema(required = true, description = "1 = GUEST, 2 = OPERATOR, 3 = ADMIN") - private Integer profile; - @Schema(hidden = true) - private Timestamp createdAt; - @Schema(hidden = true) - private Timestamp lastUpdatedAt; -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileDto.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileDto.java deleted file mode 100644 index 303ac308..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileDto.java +++ /dev/null @@ -1,25 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.dto; - -import com.fasterxml.jackson.annotation.JsonInclude; -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import lombok.Data; -import lombok.NoArgsConstructor; -import org.eclipse.microprofile.openapi.annotations.media.Schema; - -import java.sql.Timestamp; - -@NoArgsConstructor -@Data -@JsonInclude(JsonInclude.Include.NON_NULL) -public class UserProfileDto { - @Schema(example = "email@domain.com") - private String userId; - private UserProfileEnum profile; - private Boolean visible; - private Boolean editable; - private Boolean admin; - @Schema(example = "2024-02-07T11:38:58.445+00:00") - private Timestamp createdAt; - @Schema(example = "2024-02-07T11:38:58.445+00:00") - private Timestamp lastUpdatedAt; -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesDTO.java new file mode 100644 index 00000000..4268965b --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesDTO.java @@ -0,0 +1,19 @@ +package it.gov.pagopa.atmlayer.service.model.dto; + +import lombok.*; + +import java.sql.Timestamp; + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@Builder +@ToString +@EqualsAndHashCode +public class UserProfilesDTO { + private String userId; + private int profileId; + private Timestamp createdAt; + private Timestamp lastUpdatedAt; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesInsertionDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesInsertionDTO.java new file mode 100644 index 00000000..8908a10d --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesInsertionDTO.java @@ -0,0 +1,21 @@ +package it.gov.pagopa.atmlayer.service.model.dto; + +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; +import lombok.*; +import org.hibernate.validator.constraints.Range; + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@Builder +@ToString +@EqualsAndHashCode +public class UserProfilesInsertionDTO { + @NotBlank + private String userId; + @NotNull + @Range(min=1) + private int profileId; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/Profile.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/Profile.java index efb76c17..207c8e12 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/Profile.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/Profile.java @@ -20,14 +20,18 @@ @NoArgsConstructor @Table(name = "profile") public class Profile { - @Column(name = "description") - private String description; + @Id - @Column(name = "profileId") + @Column(name = "profile_id") private int profileId; + + @Column(name = "description") + private String description; + @CreationTimestamp @Column(name = "created_at") private Timestamp createdAt; + @UpdateTimestamp @Column(name = "last_updated_at") private Timestamp lastUpdatedAt; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java index ee1a9b4d..df122835 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java @@ -1,5 +1,6 @@ package it.gov.pagopa.atmlayer.service.model.entity; +import io.quarkus.hibernate.reactive.panache.PanacheEntityBase; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; @@ -11,6 +12,7 @@ import org.hibernate.annotations.CreationTimestamp; import org.hibernate.annotations.UpdateTimestamp; +import java.io.Serializable; import java.sql.Timestamp; @Entity @@ -19,13 +21,16 @@ @AllArgsConstructor @NoArgsConstructor @Table(name = "users") -public class User { +public class User extends PanacheEntityBase implements Serializable { + @Id @Column(name = "user_id") private String userId; + @CreationTimestamp @Column(name = "created_at") private Timestamp createdAt; + @UpdateTimestamp @Column(name = "last_updated_at") private Timestamp lastUpdatedAt; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfile.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java similarity index 50% rename from src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfile.java rename to src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java index 2ffb949d..df459aa6 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfile.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java @@ -1,5 +1,6 @@ package it.gov.pagopa.atmlayer.service.model.entity; +import io.quarkus.hibernate.reactive.panache.PanacheEntityBase; import jakarta.persistence.*; import lombok.AllArgsConstructor; import lombok.Getter; @@ -8,6 +9,7 @@ import org.hibernate.annotations.CreationTimestamp; import org.hibernate.annotations.UpdateTimestamp; +import java.io.Serializable; import java.sql.Timestamp; @Entity @@ -15,16 +17,24 @@ @Getter @AllArgsConstructor @NoArgsConstructor -@Table(name = "user_profile") -public class UserProfile { - @Id - @Column(name = "user_id") - private String userId; - @Column(name = "profile") - private int profile; +@Table(name = "user_profiles") +public class UserProfiles extends PanacheEntityBase implements Serializable { + + @EmbeddedId + private UserProfilesPK userProfilesPK; + + @ManyToOne + @JoinColumn(name = "user_id", referencedColumnName = "user_id", insertable = false, updatable = false) + private User user; + + @ManyToOne + @JoinColumn(name = "profile_id", referencedColumnName = "profile_id", insertable = false, updatable = false) + private Profile profile; + @CreationTimestamp @Column(name = "created_at") private Timestamp createdAt; + @UpdateTimestamp @Column(name = "last_updated_at") private Timestamp lastUpdatedAt; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfilesPK.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfilesPK.java new file mode 100644 index 00000000..bfb5da33 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfilesPK.java @@ -0,0 +1,28 @@ +package it.gov.pagopa.atmlayer.service.model.entity; + +import jakarta.persistence.Column; +import jakarta.persistence.Embeddable; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; +import lombok.*; +import org.hibernate.validator.constraints.Range; + +import java.io.Serializable; + +@Embeddable +@Getter +@Setter +@AllArgsConstructor +@NoArgsConstructor +@ToString +public class UserProfilesPK implements Serializable { + + @NotBlank + @Column(name = "user_id") + private String userId; + + @NotNull + @Range(min = 1) + @Column(name = "profile_id") + private int profileId; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java index 2da4d77c..6322dc5d 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java @@ -61,10 +61,11 @@ public enum AppErrorCodeEnum { WORKFLOW_RESOURCE_INTERNAL_ERROR("ATMLM_4000050", "Nessun file associato alla risorsa aggiuntiva di processo o nessuna storageKey trovata", INTERNAL), BPMN_INTERNAL_ERROR("ATMLM_4000051", "Nessun file associato a BPMN o nessuna storageKey trovata", INTERNAL), BPMN_FILE_CANNOT_BE_UNDEPLOYED("ATMLM_4000052", "La risorsa di processo indicata non può essere rilasciata", INTERNAL), - USER_WITH_SAME_ID_ALREADY_EXIST("ATMLM_4000053", "Un profilo utente con lo stesso id esiste già", CONSTRAINT_VIOLATION), - NO_USER_FOUND_FOR_ID("ATMLM_4000054", "Nessun utente trovato per l'id selezionato", NOT_EXISTING_USER_ID), - PROFILE_ALREADY_EXIST("ATMLM_4000055", "Esiste già un profilo con lo stesso id", CONSTRAINT_VIOLATION), - PROFILE_NOT_FOUND("ATMLM_4000056", "Non esiste un profilo con l'id indicatio", CONSTRAINT_VIOLATION); + USER_WITH_SAME_ID_ALREADY_EXIST("ATMLM_4000053", "Un utente con lo stesso id esiste già", CONSTRAINT_VIOLATION), + USER_PROFILE_ALREADY_EXIST("ATMLM_4000054", "Esiste già un utente associato a quel profilo", CONSTRAINT_VIOLATION), + NO_USER_FOUND_FOR_ID("ATMLM_4000055", "Nessun utente trovato per l'id selezionato", NOT_EXISTING_USER_ID), + PROFILE_ALREADY_EXIST("ATMLM_4000056", "Esiste già un profilo con lo stesso id", CONSTRAINT_VIOLATION), + PROFILE_NOT_FOUND("ATMLM_4000057", "Non esiste un profilo con l'id indicato", CONSTRAINT_VIOLATION); private final String errorCode; private final String errorMessage; private final AppErrorType type; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfileMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfileMapper.java deleted file mode 100644 index 08fd7474..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfileMapper.java +++ /dev/null @@ -1,68 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.mapper; - -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileAllDto; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileCreationDto; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileDto; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfile; -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import org.mapstruct.Mapper; -import org.mapstruct.Mapping; -import org.mapstruct.NullValuePropertyMappingStrategy; - -import java.util.List; - -@Mapper(componentModel = "cdi", nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE) -public abstract class UserProfileMapper { - - @Mapping(source = "userProfile.userId", target = "userId") - @Mapping(expression = "java(getEnumValue(userProfile.getProfile()))", target = "profile") - @Mapping(source = "userProfile.createdAt", target = "createdAt") - @Mapping(source = "userProfile.lastUpdatedAt", target = "lastUpdatedAt") - public abstract UserProfileDto toUserProfileDto(UserProfile userProfile); - - @Mapping(source = "userProfile.userId", target = "userId") - @Mapping(expression = "java(getEnumValue(userProfile.getProfile()))", target = "profile") - @Mapping(source = "userProfile.createdAt", target = "createdAt") - @Mapping(source = "userProfile.lastUpdatedAt", target = "lastUpdatedAt") - public abstract UserProfileAllDto toUserProfileAllDto(UserProfile userProfile); - - @Mapping(source = "userProfile.userId", target = "userId") - @Mapping(source = "userProfile.profile", target = "profile") - @Mapping(source = "userProfile.createdAt", target = "createdAt") - @Mapping(source = "userProfile.lastUpdatedAt", target = "lastUpdatedAt") - public abstract UserProfile toUserProfile(UserProfileCreationDto userProfile); - - UserProfileEnum getEnumValue(int source) { - return UserProfileEnum.valueOf(source); - } - - public UserProfileDto toUserProfileDtoWithProfileMapping(UserProfile userProfile) { - UserProfileDto userProfileDTO = this.toUserProfileDto(userProfile); - switch(UserProfileEnum.valueOf(userProfile.getProfile())){ - case GUEST -> { - userProfileDTO.setVisible(true); - userProfileDTO.setEditable(false); - userProfileDTO.setAdmin(false); - } - case OPERATOR -> { - userProfileDTO.setVisible(true); - userProfileDTO.setEditable(true); - userProfileDTO.setAdmin(false); - } - case ADMIN -> { - userProfileDTO.setVisible(true); - userProfileDTO.setEditable(true); - userProfileDTO.setAdmin(true); - } - } - return userProfileDTO; - } - - public List toDtoList(List list){ - return list.stream().map( x -> this.toUserProfileDto(x)).toList(); - } - - public List toDtoAllList(List list){ - return list.stream().map( x -> this.toUserProfileAllDto(x)).toList(); - } -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java new file mode 100644 index 00000000..ff67cbed --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java @@ -0,0 +1,23 @@ +package it.gov.pagopa.atmlayer.service.model.mapper; + +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; +import org.mapstruct.Mapper; +import org.mapstruct.Mapping; + +@Mapper(componentModel = "cdi") +public abstract class UserProfilesMapper { + + @Mapping(source = "userProfilesPK.userId", target = "userId") + @Mapping(source = "userProfilesPK.profileId", target = "profileId") + public abstract UserProfilesDTO toDTO(UserProfiles userProfiles); + + public UserProfiles toEntityInsertion(UserProfilesInsertionDTO userProfilesInsertionDTO) { + UserProfiles userProfiles = new UserProfiles(); + UserProfilesPK userProfilesPK = new UserProfilesPK(userProfilesInsertionDTO.getUserId(), userProfilesInsertionDTO.getProfileId()); + userProfiles.setUserProfilesPK(userProfilesPK); + return userProfiles; + } +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfileRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfileRepository.java deleted file mode 100644 index 73e3a2ad..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfileRepository.java +++ /dev/null @@ -1,13 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.repository; - -import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase; -import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfile; -import jakarta.enterprise.context.ApplicationScoped; - -@ApplicationScoped -public class UserProfileRepository implements PanacheRepositoryBase { - public Uni findUserId(String userId) { - return find("userId", userId).firstResult(); - } -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java new file mode 100644 index 00000000..9554315c --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java @@ -0,0 +1,23 @@ +package it.gov.pagopa.atmlayer.service.model.repository; + +import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase; +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; +import jakarta.enterprise.context.ApplicationScoped; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@ApplicationScoped +public class UserProfilesRepository implements PanacheRepositoryBase { + + /*public Uni> findByUserIdAndProfileId(String) { + Map params = new HashMap<>(); + params.put("userId", userId); + params.put("profileId", profileId); + return list("select u from UserProfiles u where u.userProfilesPK.userId = :userId and u.profileId = :profileId", params); + }*/ + +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfileResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfileResource.java deleted file mode 100644 index 79066c04..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfileResource.java +++ /dev/null @@ -1,122 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.resource; - -import io.smallrye.common.annotation.NonBlocking; -import io.smallrye.mutiny.Uni; -import io.smallrye.mutiny.unchecked.Unchecked; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileAllDto; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileCreationDto; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileDto; -import it.gov.pagopa.atmlayer.service.model.mapper.UserProfileMapper; -import it.gov.pagopa.atmlayer.service.model.service.UserProfileService; -import it.gov.pagopa.atmlayer.service.model.validators.UserProfileValidator; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.inject.Inject; -import jakarta.validation.Valid; -import jakarta.validation.constraints.NotNull; -import jakarta.ws.rs.*; -import jakarta.ws.rs.core.MediaType; -import lombok.extern.slf4j.Slf4j; -import org.eclipse.microprofile.openapi.annotations.Operation; -import org.eclipse.microprofile.openapi.annotations.media.Content; -import org.eclipse.microprofile.openapi.annotations.media.Schema; -import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; -import org.eclipse.microprofile.openapi.annotations.responses.APIResponse; -import org.eclipse.microprofile.openapi.annotations.responses.APIResponseSchema; -import org.eclipse.microprofile.openapi.annotations.responses.APIResponses; -import org.eclipse.microprofile.openapi.annotations.tags.Tag; - -import java.util.List; - -@ApplicationScoped -@Path("/users") -@Tag(name = "USERS", description = "USERS operations") -@Slf4j -public class UserProfileResource { - - @Inject - UserProfileService userProfileService; - @Inject - UserProfileMapper userProfileMapper; - @Inject - UserProfileValidator userProfileValidator; - - @GET - @Path("/search") - @Produces(MediaType.APPLICATION_JSON) - @APIResponseSchema(value = UserProfileDto.class) - @APIResponses(value = { - @APIResponse(responseCode = "200", description = "Successfully retrieved"), - @APIResponse(responseCode = "404", description = "Not found") - }) - public Uni findByUserId(@NotNull @QueryParam("userId") String userId) { - return this.userProfileService.findByUserId(userId) - .onItem() - .transformToUni(Unchecked.function( x -> { - UserProfileDto userProfileDto = this.userProfileMapper.toUserProfileDtoWithProfileMapping(x); - return Uni.createFrom().item(userProfileDto); - })); - } - - @GET - @Produces(MediaType.APPLICATION_JSON) - @APIResponses(value = { - @APIResponse(responseCode = "200", description = "Successfully retrieved"), - @APIResponse(responseCode = "404", description = "Not found") - }) - public Uni> getUsers(){ - return this.userProfileService.getUsers() - .onItem() - .transform(Unchecked.function(list -> { - if (list.isEmpty()) { - log.info("No User profiles saved in database"); - } - return userProfileMapper.toDtoAllList(list); - })); - } - - @POST - @Consumes(MediaType.APPLICATION_JSON) - @Produces(MediaType.APPLICATION_JSON) - @NonBlocking - @APIResponses(value = { - @APIResponse(responseCode = "200", description = "Successfully created"), - @APIResponse(responseCode = "400", description = "User already exist") - }) - public Uni createUser( - @RequestBody(required = true, content = { - @Content(schema = @Schema(implementation = UserProfileCreationDto.class)) - }) @Valid UserProfileCreationDto user){ - return this.userProfileValidator.validateExistenceProfileType(user.getProfile()) - .onItem() - .transformToUni((x) -> this.userProfileService.createUser(user) - .onItem() - .transformToUni(Unchecked.function(u -> Uni.createFrom().item(this.userProfileMapper.toUserProfileAllDto(u))))); - } - - @DELETE - @Path("/search") - @Operation() - @APIResponses(value = { - @APIResponse(responseCode = "204", description = "Successfully deleted"), - @APIResponse(responseCode = "404", description = "Not found") - }) - public Uni deleteUser(@NotNull @QueryParam("userId") String userId) { - return this.userProfileService.deleteUser(userId); - } - - @PUT - @Consumes(MediaType.APPLICATION_JSON) - @Produces(MediaType.APPLICATION_JSON) - @APIResponses(value = { - @APIResponse(responseCode = "200", description = "Successfully updated"), - @APIResponse(responseCode = "404", description = "Not found") - }) - public Uni updateUser( - @RequestBody(required = true) @Valid UserProfileCreationDto user) { - return this.userProfileValidator.validateExistenceProfileType(user.getProfile()) - .onItem() - .transformToUni((x) -> this.userProfileService.updateUser(user) - .onItem() - .transformToUni(Unchecked.function(u -> Uni.createFrom().item(this.userProfileMapper.toUserProfileAllDto(u))))); - } -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java new file mode 100644 index 00000000..f5b52bae --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java @@ -0,0 +1,43 @@ +package it.gov.pagopa.atmlayer.service.model.resource; + +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; +import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.validation.Valid; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; +import lombok.extern.slf4j.Slf4j; +import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; +import org.eclipse.microprofile.openapi.annotations.tags.Tag; + +@ApplicationScoped +@Path("/user_profiles") +@Tag(name = "User Profiles") +@Slf4j +public class UserProfilesResource { + + @Inject + UserProfilesMapper userProfilesMapper; + + @Inject + UserProfilesService userProfilesService; + + @POST + @Path("/insert") + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Uni insert(@RequestBody(required = true) @Valid UserProfilesInsertionDTO userProfilesInsertionDTO) { + UserProfiles userProfiles = userProfilesMapper.toEntityInsertion(userProfilesInsertionDTO); + return this.userProfilesService.insertUserProfiles(userProfiles) + .onItem() + .transformToUni(insertedUserProfile -> Uni.createFrom().item(userProfilesMapper.toDTO(insertedUserProfile))); + } +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfileService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfileService.java deleted file mode 100644 index bfc02d5a..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfileService.java +++ /dev/null @@ -1,19 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.service; - -import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileCreationDto; -import it.gov.pagopa.atmlayer.service.model.entity.ResourceEntity; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfile; - -import java.util.List; -import java.util.Optional; -import java.util.UUID; - -public interface UserProfileService { - - Uni createUser(UserProfileCreationDto userProfile); - Uni findByUserId(String userId); - Uni> getUsers(); - Uni deleteUser(String userId); - Uni updateUser(UserProfileCreationDto userProfile); -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java new file mode 100644 index 00000000..1568e892 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java @@ -0,0 +1,9 @@ +package it.gov.pagopa.atmlayer.service.model.service; + +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; + +public interface UserProfilesService { + + Uni insertUserProfiles(UserProfiles userProfiles); +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfileServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfileServiceImpl.java deleted file mode 100644 index 8604c6ef..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfileServiceImpl.java +++ /dev/null @@ -1,95 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.service.impl; - -import io.quarkus.hibernate.reactive.panache.common.WithSession; -import io.quarkus.hibernate.reactive.panache.common.WithTransaction; -import io.smallrye.mutiny.Uni; -import io.smallrye.mutiny.unchecked.Unchecked; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileCreationDto; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfile; -import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; -import it.gov.pagopa.atmlayer.service.model.mapper.UserProfileMapper; -import it.gov.pagopa.atmlayer.service.model.repository.UserProfileRepository; -import it.gov.pagopa.atmlayer.service.model.service.UserProfileService; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.inject.Inject; -import jakarta.ws.rs.core.Response; -import lombok.extern.slf4j.Slf4j; - -import java.sql.Timestamp; -import java.util.List; - -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.NO_USER_PROFILE_FOUND_FOR_ID; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.USER_PROFILE_WITH_SAME_ID_ALREADY_EXIST; - -@ApplicationScoped -@Slf4j -public class UserProfileServiceImpl implements UserProfileService { - @Inject - UserProfileRepository userProfileRepository; - - @Inject - UserProfileMapper userProfileMapper; - - @Override - @WithSession - @WithTransaction - public Uni createUser(UserProfileCreationDto userProfile) { - log.info("Create user {}", userProfile.getUserId()); - UserProfile localUserProfile = this.userProfileMapper.toUserProfile(userProfile); - return this.userProfileRepository.findUserId(localUserProfile.getUserId()) - .onItem().transformToUni(Unchecked.function(x -> { - if(x != null){ - throw new AtmLayerException("Esiste già un utente con lo stesso Id", - Response.Status.BAD_REQUEST, - USER_PROFILE_WITH_SAME_ID_ALREADY_EXIST); - } - return this.userProfileRepository.persist(localUserProfile); - } - )); - } - - @Override - @WithSession - public Uni findByUserId(String userId) { - return this.userProfileRepository.findUserId(userId) - .onItem().transformToUni(Unchecked.function(x -> { - if(x == null){ - throw new AtmLayerException(String.format("Un utente con l'Id %s non esiste", userId), - Response.Status.NOT_FOUND, - NO_USER_PROFILE_FOUND_FOR_ID); - } - return Uni.createFrom().item(x); - } - )); - } - - @Override - @WithSession - public Uni> getUsers() { - return this.userProfileRepository.findAll().list(); - } - - @Override - @WithSession - @WithTransaction - public Uni deleteUser(String userId) { - log.info("Delete user {} from database", userId); - return this.findByUserId(userId) - .onItem().transformToUni(Unchecked.function(x -> userProfileRepository.delete(x) - )); - } - - @Override - @WithSession - @WithTransaction - public Uni updateUser(UserProfileCreationDto userProfile) { - log.info("Update user {}", userProfile.getUserId()); - return this.findByUserId(userProfile.getUserId()) - .onItem().transformToUni(Unchecked.function(x -> { - x.setProfile(userProfile.getProfile()); - x.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); - return userProfileRepository.persist(x); - } - )); - } -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java new file mode 100644 index 00000000..da8a8dde --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -0,0 +1,36 @@ +package it.gov.pagopa.atmlayer.service.model.service.impl; + +import io.quarkus.hibernate.reactive.panache.common.WithTransaction; +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; +import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; +import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.core.Response; +import lombok.extern.slf4j.Slf4j; + +@ApplicationScoped +@Slf4j +public class UserProfilesServiceImpl implements UserProfilesService { + + @Inject + UserProfilesRepository userProfilesRepository; + + @Override + @WithTransaction + public Uni insertUserProfiles(UserProfiles userProfiles) { + log.info("Inserting userProfiles with userId : {} and profileId : {}", userProfiles.getUserProfilesPK().getUserId(), userProfiles.getUserProfilesPK().getProfileId()); + return this.userProfilesRepository.findById(userProfiles.getUserProfilesPK()) + .onItem() + .transformToUni(existingUserProfile -> { + if (existingUserProfile != null) { + log.error("UserProfile for userId {} and profileId {} already exists", userProfiles.getUserProfilesPK().getUserId(), userProfiles.getUserProfilesPK().getProfileId()); + throw new AtmLayerException(Response.Status.BAD_REQUEST, AppErrorCodeEnum.USER_PROFILE_ALREADY_EXIST); + } + return userProfilesRepository.persist(userProfiles); + }); + } +} diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileCreationDtoTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileCreationDtoTest.java deleted file mode 100644 index cd4e0d81..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileCreationDtoTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.dto; - -import io.quarkus.test.junit.QuarkusTest; -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import org.junit.jupiter.api.Test; - -import java.sql.Timestamp; - -import static org.junit.jupiter.api.Assertions.*; - -@QuarkusTest -class UserProfileCreationDtoTest { - - @Test - void testConstructor(){ - UserProfileCreationDto dto = new UserProfileCreationDto(); - dto.setUserId("email@domain.com"); - dto.setProfile(3); - //dto.setCreatedAt(new Timestamp(System.currentTimeMillis())); - //dto.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); - assertEquals("email@domain.com", dto.getUserId()); - assertEquals(UserProfileEnum.ADMIN.getValue(), dto.getProfile()); - } - - @Test - void testEquals() { - UserProfileCreationDto dto1 = new UserProfileCreationDto(); - UserProfileCreationDto dto2 = new UserProfileCreationDto(); - assertEquals(dto1, dto2); - int expectedHashCodeResult = dto1.hashCode(); - assertEquals(expectedHashCodeResult, dto2.hashCode()); - } -} \ No newline at end of file diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileDtoTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileDtoTest.java deleted file mode 100644 index 9673a73c..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileDtoTest.java +++ /dev/null @@ -1,39 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.dto; - -import io.quarkus.test.junit.QuarkusTest; -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import org.junit.jupiter.api.Test; - -import java.sql.Timestamp; - -import static org.junit.jupiter.api.Assertions.*; - -@QuarkusTest -class UserProfileDtoTest { - - @Test - void testConstructor() { - UserProfileDto dto = new UserProfileDto(); - dto.setUserId("user@domain.com"); - dto.setProfile(UserProfileEnum.GUEST); - dto.setVisible(true); - dto.setAdmin(false); - dto.setEditable(false); - dto.setCreatedAt(new Timestamp(System.currentTimeMillis())); - dto.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); - assertEquals("user@domain.com", dto.getUserId()); - assertEquals(UserProfileEnum.GUEST, dto.getProfile()); - assertEquals(true, dto.getVisible()); - assertEquals(false, dto.getAdmin()); - assertEquals(false, dto.getEditable()); - } - - @Test - void testEquals(){ - UserProfileDto dto1 = new UserProfileDto(); - UserProfileDto dto2 = new UserProfileDto(); - assertEquals(dto1, dto2); - int expectedHashCodeResult = dto1.hashCode(); - assertEquals(expectedHashCodeResult, dto2.hashCode()); - } -} \ No newline at end of file diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfileTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfileTest.java deleted file mode 100644 index 8815113a..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfileTest.java +++ /dev/null @@ -1,40 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.entity; - -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import org.junit.jupiter.api.Test; - -import java.sql.Timestamp; - -import static org.junit.jupiter.api.Assertions.*; - -class UserProfileTest { - - @Test - void testSetGetUserId() { - UserProfile user = new UserProfile(); - user.setUserId("user@domain.com"); - assertEquals("user@domain.com", user.getUserId()); - assertEquals("user@domain.com", user.getUserId()); - } - - @Test - void testSetGetProfile() { - UserProfile user = new UserProfile(); - user.setProfile(1); - assertEquals(UserProfileEnum.GUEST.getValue(), user.getProfile()); - } - - @Test - void testSetGetCreatedAt(){ - UserProfile user = new UserProfile(); - user.setCreatedAt(new Timestamp(System.currentTimeMillis())); - assertEquals(new Timestamp(System.currentTimeMillis()), user.getCreatedAt()); - } - - @Test - void testSetGetLastUpdatedAt(){ - UserProfile user = new UserProfile(); - user.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); - assertEquals(new Timestamp(System.currentTimeMillis()), user.getLastUpdatedAt()); - } -} \ No newline at end of file diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfileMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfileMapperTest.java deleted file mode 100644 index 44e8c84a..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfileMapperTest.java +++ /dev/null @@ -1,137 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.mapper; - -import io.quarkus.test.junit.QuarkusTest; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileAllDto; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileCreationDto; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileDto; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfile; -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; - -import java.sql.Timestamp; -import java.util.ArrayList; -import java.util.List; - -import static org.junit.jupiter.api.Assertions.*; -import static org.mockito.Mockito.*; - -@QuarkusTest -class UserProfileMapperTest { - private UserProfileMapper userProfileMapper; - - @BeforeEach - public void setUp() { - userProfileMapper = new UserProfileMapperImpl(); - } - - @Test - void testToUserProfileDto() { - UserProfile userProfile = mock(UserProfile.class); - Timestamp create = new Timestamp(System.currentTimeMillis()); - Timestamp update = new Timestamp(System.currentTimeMillis()); - - when(userProfile.getUserId()).thenReturn("email@domain.com"); - when(userProfile.getProfile()).thenReturn(UserProfileEnum.GUEST.getValue()); - when(userProfile.getCreatedAt()).thenReturn(create); - when(userProfile.getLastUpdatedAt()).thenReturn(update); - UserProfileDto userProfileDto = userProfileMapper.toUserProfileDto(userProfile); - - assertNotNull(userProfileDto); - assertEquals("email@domain.com", userProfileDto.getUserId()); - assertEquals(UserProfileEnum.GUEST, userProfileDto.getProfile()); - assertEquals(create, userProfileDto.getCreatedAt()); - assertEquals(update, userProfileDto.getLastUpdatedAt()); - } - - @Test - void testToUserProfileDtoAll() { - UserProfile userProfile = mock(UserProfile.class); - Timestamp create = new Timestamp(System.currentTimeMillis()); - Timestamp update = new Timestamp(System.currentTimeMillis()); - - when(userProfile.getUserId()).thenReturn("email@domain.com"); - when(userProfile.getProfile()).thenReturn(UserProfileEnum.GUEST.getValue()); - when(userProfile.getCreatedAt()).thenReturn(create); - when(userProfile.getLastUpdatedAt()).thenReturn(update); - UserProfileAllDto userProfileDto = userProfileMapper.toUserProfileAllDto(userProfile); - - assertNotNull(userProfileDto); - assertEquals("email@domain.com", userProfileDto.getUserId()); - assertEquals(UserProfileEnum.GUEST, userProfileDto.getProfile()); - assertEquals(create, userProfileDto.getCreatedAt()); - assertEquals(update, userProfileDto.getLastUpdatedAt()); - } - - @Test - void testToUserProfile() { - UserProfileCreationDto userProfileDto = mock(UserProfileCreationDto.class); - - Timestamp create = new Timestamp(System.currentTimeMillis()); - Timestamp update = new Timestamp(System.currentTimeMillis()); - - when(userProfileDto.getUserId()).thenReturn("email@domain.com"); - when(userProfileDto.getProfile()).thenReturn(UserProfileEnum.GUEST.getValue()); - when(userProfileDto.getCreatedAt()).thenReturn(create); - when(userProfileDto.getLastUpdatedAt()).thenReturn(update); - - UserProfile userProfile = userProfileMapper.toUserProfile(userProfileDto); - - assertNotNull(userProfile); - assertEquals("email@domain.com", userProfile.getUserId()); - assertEquals(UserProfileEnum.GUEST.getValue(), userProfile.getProfile()); - assertEquals(create, userProfile.getCreatedAt()); - assertEquals(update, userProfile.getLastUpdatedAt()); - } - - @Test - void testGetEnumValue() { - assertEquals(UserProfileEnum.valueOf(1), userProfileMapper.getEnumValue(1)); - assertEquals(UserProfileEnum.valueOf(2), userProfileMapper.getEnumValue(2)); - assertEquals(UserProfileEnum.valueOf(3), userProfileMapper.getEnumValue(3)); - } - - @Test - void testToUserProfileDtoWithProfileMapping() { - UserProfile userProfile = new UserProfile(); - UserProfileDto userProfileDto; - - userProfile.setProfile(UserProfileEnum.ADMIN.getValue()); - userProfileDto = userProfileMapper.toUserProfileDtoWithProfileMapping(userProfile); - assertEquals(true, userProfileDto.getAdmin()); - assertEquals(true, userProfileDto.getEditable()); - assertEquals(true, userProfileDto.getVisible()); - - userProfile.setProfile(UserProfileEnum.OPERATOR.getValue()); - userProfileDto = userProfileMapper.toUserProfileDtoWithProfileMapping(userProfile); - assertEquals(false, userProfileDto.getAdmin()); - assertEquals(true, userProfileDto.getEditable()); - assertEquals(true, userProfileDto.getVisible()); - - userProfile.setProfile(UserProfileEnum.GUEST.getValue()); - userProfileDto = userProfileMapper.toUserProfileDtoWithProfileMapping(userProfile); - assertEquals(false, userProfileDto.getAdmin()); - assertEquals(false, userProfileDto.getEditable()); - assertEquals(true, userProfileDto.getVisible()); - } - - @Test - void testToDtoList() { - UserProfile userProfile = mock(UserProfile.class); - List list = new ArrayList<>(); - list.add(userProfile); - List listDto = userProfileMapper.toDtoList(list); - assertNotNull(listDto); - assertEquals(list.size(), listDto.size()); - } - - @Test - void testToDtoAllList() { - UserProfile userProfile = mock(UserProfile.class); - List list = new ArrayList<>(); - list.add(userProfile); - List listDto = userProfileMapper.toDtoAllList(list); - assertNotNull(listDto); - assertEquals(list.size(), listDto.size()); - } -} \ No newline at end of file diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfileRepositoryTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfileRepositoryTest.java deleted file mode 100644 index 6bf58f43..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfileRepositoryTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.repository; - -import io.quarkus.test.junit.QuarkusTest; -import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfile; -import org.junit.jupiter.api.Test; -import org.mockito.Mockito; - -import java.util.Collections; -import java.util.List; - -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.equalTo; -import static org.hamcrest.Matchers.is; - -@QuarkusTest -class UserProfileRepositoryTest { - - @Test - void testFindUserId() { - - UserProfileRepository repository = Mockito.mock(UserProfileRepository.class); - UserProfile userProfile = new UserProfile(); - userProfile.setUserId("email@domain.com"); - userProfile.setProfile(1); - List mockResult = Collections.singletonList(userProfile); - - Mockito.when(repository.findUserId("email@domain.com")) - .thenReturn(Uni.createFrom().item(mockResult.get(0))); - - UserProfile result = repository.findUserId("email@domain.com").await().indefinitely(); - - assertThat(result.getUserId(), is(equalTo("email@domain.com"))); - } -} \ No newline at end of file diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfileResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfileResourceTest.java deleted file mode 100644 index 2e31e0e0..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfileResourceTest.java +++ /dev/null @@ -1,166 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.resource; - -import io.quarkus.test.InjectMock; -import io.quarkus.test.junit.QuarkusTest; -import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileAllDto; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileCreationDto; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileDto; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfile; -import it.gov.pagopa.atmlayer.service.model.mapper.UserProfileMapper; -import it.gov.pagopa.atmlayer.service.model.service.UserProfileService; -import it.gov.pagopa.atmlayer.service.model.validators.UserProfileValidator; -import jakarta.ws.rs.core.MediaType; -import org.junit.jupiter.api.Test; - -import java.sql.Timestamp; -import java.util.ArrayList; -import java.util.List; - -import static io.restassured.RestAssured.given; -import static org.junit.jupiter.api.Assertions.*; -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.Mockito.*; - -@QuarkusTest -class UserProfileResourceTest { - - @InjectMock - UserProfileService userProfileService; - @InjectMock - UserProfileMapper userProfileMapper; - @InjectMock - UserProfileValidator userProfileValidator; - - @Test - void testFindByUserId() { - String userId = "email@domain.com"; - - UserProfile userProfile = new UserProfile(); - - when(userProfileService.findByUserId(any(String.class))).thenReturn( - Uni.createFrom().item(userProfile)); - UserProfileDto userDto = new UserProfileDto(); - when(userProfileMapper.toUserProfileDtoWithProfileMapping(any(UserProfile.class))).thenReturn(userDto); - - given() - .queryParam("userId", userId) - .when() - .get("/api/v1/model/users/search") - .then() - .statusCode(200); - - verify(userProfileService, times(1)).findByUserId(any(String.class)); - verify(userProfileMapper, times(1)).toUserProfileDtoWithProfileMapping(userProfile); - } - - @Test - void testGetAllUsersEmptyList() { - List list = new ArrayList<>(); - - when(userProfileService.getUsers()).thenReturn(Uni.createFrom().item(list)); - - given() - .when().get("/api/v1/model/users") - .then() - .statusCode(200); - - verify(userProfileService, times(1)).getUsers(); - } - - @Test - void testGetAllUsersList() { - List userProfileList = new ArrayList<>(); - UserProfile userProfile = new UserProfile(); - userProfileList.add(userProfile); - - List userProfileDtoList = new ArrayList<>(); - UserProfileAllDto userProfileDto = new UserProfileAllDto(); - userProfileDtoList.add(userProfileDto); - when(userProfileService.getUsers()).thenReturn(Uni.createFrom().item(userProfileList)); - when(userProfileMapper.toDtoAllList(any(ArrayList.class))).thenReturn(userProfileDtoList); - ArrayList result = given() - .when().get("/api/v1/model/users") - .then() - .statusCode(200) - .extract() - .body() - .as(ArrayList.class); - assertEquals(1, result.size()); - verify(userProfileService, times(1)).getUsers(); - verify(userProfileMapper, times(1)).toDtoAllList(userProfileList); - } - - @Test - void testCreateUser() { - UserProfile userProfile = new UserProfile(); - UserProfileAllDto userProfileDto = new UserProfileAllDto(); - UserProfileCreationDto userProfileCreationDto = new UserProfileCreationDto(); - userProfileCreationDto.setUserId("email@domain.com"); - userProfileCreationDto.setProfile(1); - userProfileCreationDto.setCreatedAt(new Timestamp(System.currentTimeMillis())); - userProfileCreationDto.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); - - when(userProfileMapper.toUserProfile(any(UserProfileCreationDto.class))) - .thenReturn(userProfile); - when(userProfileService.createUser(any(UserProfileCreationDto.class))) - .thenReturn(Uni.createFrom().item(userProfile)); - when(userProfileMapper.toUserProfileAllDto(any(UserProfile.class))) - .thenReturn(userProfileDto); - when(userProfileValidator.validateExistenceProfileType(1)) - .thenReturn(Uni.createFrom().voidItem()); - - UserProfileAllDto result = given() - .contentType(MediaType.APPLICATION_JSON) - .body(userProfileCreationDto) - .when().post("/api/v1/model/users") - .then() - .statusCode(200) - .extract().as(UserProfileAllDto.class); - - assertEquals(userProfileDto, result); - - } - - @Test - void testUpdateUser() { - UserProfile userProfile = new UserProfile(); - UserProfileAllDto userProfileDto = new UserProfileAllDto(); - UserProfileCreationDto userProfileCreationDto = new UserProfileCreationDto(); - userProfileCreationDto.setUserId("email@domain.com"); - userProfileCreationDto.setProfile(2); - userProfileCreationDto.setCreatedAt(new Timestamp(System.currentTimeMillis())); - userProfileCreationDto.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); - - when(userProfileService.updateUser(any(UserProfileCreationDto.class))) - .thenReturn(Uni.createFrom().item(userProfile)); - when(userProfileMapper.toUserProfileAllDto(any(UserProfile.class))).thenReturn(userProfileDto); - when(userProfileValidator.validateExistenceProfileType(1)) - .thenReturn(Uni.createFrom().voidItem()); - - UserProfileAllDto result = given() - .contentType(MediaType.APPLICATION_JSON) - .body(userProfileCreationDto) - .when().put("/api/v1/model/users") - .then() - .statusCode(200) - .extract().as(UserProfileAllDto.class); - - assertEquals(userProfileDto, result); - } - - @Test - void testDeleteUser() { - String userId = "email@domain.com"; - - when(userProfileService.deleteUser(any(String.class))) - .thenReturn(Uni.createFrom().voidItem()); - - given() - .contentType(MediaType.APPLICATION_JSON) - .queryParam("userId", userId) - .when().delete("/api/v1/model/users/search") - .then() - .statusCode(204); - } -} \ No newline at end of file diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfileServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfileServiceImplTest.java deleted file mode 100644 index 17336c9b..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfileServiceImplTest.java +++ /dev/null @@ -1,64 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.service.impl; - -import io.quarkus.test.InjectMock; -import io.quarkus.test.junit.QuarkusTest; -import io.smallrye.mutiny.Uni; -import io.smallrye.mutiny.helpers.test.UniAssertSubscriber; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfileCreationDto; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfile; -import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; -import it.gov.pagopa.atmlayer.service.model.mapper.UserProfileMapper; -import it.gov.pagopa.atmlayer.service.model.repository.UserProfileRepository; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.mockito.InjectMocks; -import org.mockito.Mock; -import org.mockito.MockitoAnnotations; - -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.Mockito.when; - -@QuarkusTest -class UserProfileServiceImplTest { - - @InjectMocks - UserProfileServiceImpl userProfileService; - @Mock - UserProfileRepository userProfileRepository; - - @InjectMock - UserProfileMapper userProfileMapper; - - @BeforeEach - public void setUp() { - MockitoAnnotations.openMocks(this); - } - - @Test - void testCreateUserAlreadyExist() { - String userId = "email@domain.com"; - - UserProfile userProfile = new UserProfile(); - userProfile.setUserId(userId); - UserProfileCreationDto userProfileDto = new UserProfileCreationDto(); - userProfileDto.setUserId(userId); - - when(userProfileMapper.toUserProfile(any(UserProfileCreationDto.class))).thenReturn(userProfile); - when(userProfileRepository.findUserId(any(String.class))).thenReturn(Uni.createFrom().item(userProfile)); - when(userProfileService.findByUserId(any(String.class))).thenReturn(Uni.createFrom().item(userProfile)); - userProfileService.createUser(userProfileDto) - .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class, "Esiste già un utente con lo stesso Id"); - } - - @Test - void testDeleteUserNotExist() { - String userId = "email@domain.com"; - UserProfile userProfile = new UserProfile(); - - when(userProfileRepository.findUserId(any(String.class))).thenReturn(Uni.createFrom().nullItem()); - userProfileService.deleteUser(userId) - .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class, "Un utente con l'Id email@domain.com non esiste"); - } -} \ No newline at end of file From c8f955751b9845f77b9625bd09950fb625a41d48 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Fri, 17 May 2024 12:55:37 +0200 Subject: [PATCH 06/36] get user profiles --- .../model/enumeration/AppErrorCodeEnum.java | 7 ++--- .../service/model/mapper/ProfileMapper.java | 6 +++++ .../repository/UserProfilesRepository.java | 12 --------- .../model/resource/ProfileResource.java | 18 +++++++++++++ .../model/resource/UserProfilesResource.java | 26 ++++++++++++++++--- .../service/model/service/ProfileService.java | 4 +++ .../model/service/UserProfilesService.java | 5 ++++ .../service/impl/ProfileServiceImpl.java | 8 ++++++ .../service/impl/UserProfilesServiceImpl.java | 12 +++++++++ 9 files changed, 79 insertions(+), 19 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java index 6322dc5d..fb390068 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java @@ -63,9 +63,10 @@ public enum AppErrorCodeEnum { BPMN_FILE_CANNOT_BE_UNDEPLOYED("ATMLM_4000052", "La risorsa di processo indicata non può essere rilasciata", INTERNAL), USER_WITH_SAME_ID_ALREADY_EXIST("ATMLM_4000053", "Un utente con lo stesso id esiste già", CONSTRAINT_VIOLATION), USER_PROFILE_ALREADY_EXIST("ATMLM_4000054", "Esiste già un utente associato a quel profilo", CONSTRAINT_VIOLATION), - NO_USER_FOUND_FOR_ID("ATMLM_4000055", "Nessun utente trovato per l'id selezionato", NOT_EXISTING_USER_ID), - PROFILE_ALREADY_EXIST("ATMLM_4000056", "Esiste già un profilo con lo stesso id", CONSTRAINT_VIOLATION), - PROFILE_NOT_FOUND("ATMLM_4000057", "Non esiste un profilo con l'id indicato", CONSTRAINT_VIOLATION); + NO_USER_PROFILE_FOUND("ATMLM_4000055", "Nessun user profile trovato", CONSTRAINT_VIOLATION), + NO_USER_FOUND_FOR_ID("ATMLM_4000056", "Nessun utente trovato per l'id selezionato", NOT_EXISTING_USER_ID), + PROFILE_ALREADY_EXIST("ATMLM_4000057", "Esiste già un profilo con lo stesso id", CONSTRAINT_VIOLATION), + PROFILE_NOT_FOUND("ATMLM_4000058", "Non esiste un profilo con l'id indicato", CONSTRAINT_VIOLATION); private final String errorCode; private final String errorMessage; private final AppErrorType type; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapper.java index 44008427..523d9f39 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapper.java @@ -5,9 +5,15 @@ import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; import org.mapstruct.Mapper; +import java.util.List; + @Mapper(componentModel = "cdi") public abstract class ProfileMapper { public abstract Profile toEntity(ProfileCreationDto profileCreationDto); public abstract ProfileDTO toDto(Profile profile); + + public List toDTOList(List list) { + return list.stream().map(this::toDto).toList(); + } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java index 9554315c..3d8f1129 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java @@ -1,23 +1,11 @@ package it.gov.pagopa.atmlayer.service.model.repository; import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase; -import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import jakarta.enterprise.context.ApplicationScoped; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - @ApplicationScoped public class UserProfilesRepository implements PanacheRepositoryBase { - /*public Uni> findByUserIdAndProfileId(String) { - Map params = new HashMap<>(); - params.put("userId", userId); - params.put("profileId", profileId); - return list("select u from UserProfiles u where u.userProfilesPK.userId = :userId and u.profileId = :profileId", params); - }*/ - } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java index e4ba8ca0..1b9bd6a9 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java @@ -1,6 +1,7 @@ package it.gov.pagopa.atmlayer.service.model.resource; import io.smallrye.mutiny.Uni; +import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; import it.gov.pagopa.atmlayer.service.model.mapper.ProfileMapper; import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; @@ -10,8 +11,12 @@ import jakarta.validation.Valid; import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; +import lombok.extern.slf4j.Slf4j; + +import java.util.List; @ApplicationScoped +@Slf4j @Path("/profile") public class ProfileResource { @@ -52,5 +57,18 @@ public Uni updateProfile(@Valid ProfileCreationDto profile) { public Uni deleteProfile(@PathParam("profileId") int profileId) { return this.profileService.deleteProfile(profileId); } + + @GET + @Produces(MediaType.APPLICATION_JSON) + public Uni> getAll() { + return this.profileService.getAll() + .onItem() + .transform(Unchecked.function(list -> { + if (list.isEmpty()) { + log.info("No Profiles saved in database"); + } + return profileMapper.toDTOList(list); + })); + } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java index f5b52bae..8021eeca 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java @@ -1,19 +1,21 @@ package it.gov.pagopa.atmlayer.service.model.resource; import io.smallrye.mutiny.Uni; +import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; +import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; +import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; import jakarta.validation.Valid; -import jakarta.ws.rs.Consumes; -import jakarta.ws.rs.POST; -import jakarta.ws.rs.Path; -import jakarta.ws.rs.Produces; +import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; import org.eclipse.microprofile.openapi.annotations.tags.Tag; @@ -40,4 +42,20 @@ public Uni insert(@RequestBody(required = true) @Valid UserProf .onItem() .transformToUni(insertedUserProfile -> Uni.createFrom().item(userProfilesMapper.toDTO(insertedUserProfile))); } + + @GET + @Path("/userId/{userId}/profileId/{profileId}") + @Produces(MediaType.APPLICATION_JSON) + public Uni getById(@PathParam("userId") String userId, + @PathParam("profileId") int profileId) { + UserProfilesPK userProfilesPK = new UserProfilesPK(userId, profileId); + return this.userProfilesService.findById(userProfilesPK) + .onItem() + .transform(Unchecked.function(x -> { + if (x.isEmpty()) { + throw new AtmLayerException(Response.Status.NOT_FOUND, AppErrorCodeEnum.NO_USER_PROFILE_FOUND); + } + return userProfilesMapper.toDTO(x.get()); + })); + } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java index 60c28cf8..e41365cd 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java @@ -5,6 +5,8 @@ import it.gov.pagopa.atmlayer.service.model.entity.Profile; import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; +import java.util.List; + public interface ProfileService { Uni createProfile(ProfileCreationDto profile); @@ -13,4 +15,6 @@ public interface ProfileService { Uni updateProfile(ProfileCreationDto profile); Uni deleteProfile(int profileId); + + Uni> getAll(); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java index 1568e892..fb19428f 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java @@ -2,8 +2,13 @@ import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; + +import java.util.Optional; public interface UserProfilesService { Uni insertUserProfiles(UserProfiles userProfiles); + + Uni> findById(UserProfilesPK userProfilesPK); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java index c3b3331f..1f872f6b 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java @@ -15,6 +15,8 @@ import jakarta.validation.Valid; import jakarta.ws.rs.core.Response; +import java.util.List; + @ApplicationScoped public class ProfileServiceImpl implements ProfileService { @@ -82,4 +84,10 @@ public Uni deleteProfile(int profileId) { .onItem() .transformToUni(profileToDelete -> this.profileRepository.delete(profileToDelete)); } + + @Override + @WithSession + public Uni> getAll() { + return this.profileRepository.findAll().list(); + } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java index da8a8dde..eb97a9de 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -1,8 +1,10 @@ package it.gov.pagopa.atmlayer.service.model.service.impl; +import io.quarkus.hibernate.reactive.panache.common.WithSession; import io.quarkus.hibernate.reactive.panache.common.WithTransaction; import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; @@ -12,6 +14,8 @@ import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; +import java.util.Optional; + @ApplicationScoped @Slf4j public class UserProfilesServiceImpl implements UserProfilesService { @@ -33,4 +37,12 @@ public Uni insertUserProfiles(UserProfiles userProfiles) { return userProfilesRepository.persist(userProfiles); }); } + + @Override + @WithSession + public Uni> findById(UserProfilesPK userProfilesPK) { + return userProfilesRepository.findById(userProfilesPK) + .onItem() + .transformToUni(userProfile -> Uni.createFrom().item(Optional.ofNullable(userProfile))); + } } From 73dbc09a61b7b1418d13420cdf592ebf1c3a0d51 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Fri, 17 May 2024 15:44:01 +0200 Subject: [PATCH 07/36] one to many association --- .../pagopa/atmlayer/service/model/dto/UserDTO.java | 3 +++ .../pagopa/atmlayer/service/model/entity/User.java | 11 +++++++---- .../atmlayer/service/model/resource/UserResource.java | 9 +++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java index e3018555..50b22cf2 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java @@ -1,8 +1,10 @@ package it.gov.pagopa.atmlayer.service.model.dto; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import lombok.*; import java.sql.Timestamp; +import java.util.List; @Getter @Setter @@ -15,4 +17,5 @@ public class UserDTO { private String userId; private Timestamp createdAt; private Timestamp lastUpdatedAt; + private List userProfiles; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java index df122835..d70ce59d 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java @@ -1,10 +1,8 @@ package it.gov.pagopa.atmlayer.service.model.entity; +import com.fasterxml.jackson.annotation.JsonIgnore; import io.quarkus.hibernate.reactive.panache.PanacheEntityBase; -import jakarta.persistence.Column; -import jakarta.persistence.Entity; -import jakarta.persistence.Id; -import jakarta.persistence.Table; +import jakarta.persistence.*; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; @@ -14,6 +12,7 @@ import java.io.Serializable; import java.sql.Timestamp; +import java.util.List; @Entity @Setter @@ -34,4 +33,8 @@ public class User extends PanacheEntityBase implements Serializable { @UpdateTimestamp @Column(name = "last_updated_at") private Timestamp lastUpdatedAt; + + @JsonIgnore + @OneToMany(mappedBy = "user", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER) + private List userProfiles; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index a742d328..cb222974 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -48,6 +48,15 @@ public Uni delete(@PathParam("userId") String userId) { .andSwitchTo(Uni.createFrom().voidItem()); } + @GET + @Path("/{userId}") + @Produces(MediaType.APPLICATION_JSON) + public Uni getById(@PathParam("userId") String userId) { + return this.userService.findById(userId) + .onItem() + .transform(foundUser -> userMapper.toDTO(foundUser)); + } + @GET @Produces(MediaType.APPLICATION_JSON) public Uni> getAll() { From dc8dec83cc7e0bfc26c56cd6c7230effe2dc5bd6 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Tue, 21 May 2024 16:40:03 +0200 Subject: [PATCH 08/36] inserting a list of profileIds for a user --- .../model/dto/UserProfilesInsertionDTO.java | 7 +++++-- .../model/mapper/UserProfilesMapper.java | 17 ++++++++++++----- .../model/resource/UserProfilesResource.java | 12 ++++++++---- .../model/service/UserProfilesService.java | 3 ++- .../service/impl/UserProfilesServiceImpl.java | 19 +++++++++++++++---- 5 files changed, 42 insertions(+), 16 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesInsertionDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesInsertionDTO.java index 8908a10d..547cad35 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesInsertionDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfilesInsertionDTO.java @@ -2,9 +2,12 @@ import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; +import jakarta.validation.constraints.Size; import lombok.*; import org.hibernate.validator.constraints.Range; +import java.util.List; + @Getter @Setter @NoArgsConstructor @@ -16,6 +19,6 @@ public class UserProfilesInsertionDTO { @NotBlank private String userId; @NotNull - @Range(min=1) - private int profileId; + @Size(min = 1) + private List<@Range(min=1) Integer> profileIds; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java index ff67cbed..1da80c18 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java @@ -7,6 +7,9 @@ import org.mapstruct.Mapper; import org.mapstruct.Mapping; +import java.util.ArrayList; +import java.util.List; + @Mapper(componentModel = "cdi") public abstract class UserProfilesMapper { @@ -14,10 +17,14 @@ public abstract class UserProfilesMapper { @Mapping(source = "userProfilesPK.profileId", target = "profileId") public abstract UserProfilesDTO toDTO(UserProfiles userProfiles); - public UserProfiles toEntityInsertion(UserProfilesInsertionDTO userProfilesInsertionDTO) { - UserProfiles userProfiles = new UserProfiles(); - UserProfilesPK userProfilesPK = new UserProfilesPK(userProfilesInsertionDTO.getUserId(), userProfilesInsertionDTO.getProfileId()); - userProfiles.setUserProfilesPK(userProfilesPK); - return userProfiles; + public List toEntityInsertion(UserProfilesInsertionDTO userProfilesInsertionDTO) { + List userProfilesList = new ArrayList<>(); + for (Integer profileId : userProfilesInsertionDTO.getProfileIds()) { + UserProfiles userProfiles = new UserProfiles(); + UserProfilesPK userProfilesPK = new UserProfilesPK(userProfilesInsertionDTO.getUserId(), profileId); + userProfiles.setUserProfilesPK(userProfilesPK); + userProfilesList.add(userProfiles); + } + return userProfilesList; } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java index 8021eeca..2684ce59 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java @@ -20,6 +20,8 @@ import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; import org.eclipse.microprofile.openapi.annotations.tags.Tag; +import java.util.List; + @ApplicationScoped @Path("/user_profiles") @Tag(name = "User Profiles") @@ -36,11 +38,13 @@ public class UserProfilesResource { @Path("/insert") @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) - public Uni insert(@RequestBody(required = true) @Valid UserProfilesInsertionDTO userProfilesInsertionDTO) { - UserProfiles userProfiles = userProfilesMapper.toEntityInsertion(userProfilesInsertionDTO); - return this.userProfilesService.insertUserProfiles(userProfiles) + public Uni> insert(@RequestBody(required = true) @Valid UserProfilesInsertionDTO userProfilesInsertionDTO) { + List userProfilesList = userProfilesMapper.toEntityInsertion(userProfilesInsertionDTO); + return this.userProfilesService.insertUserProfiles(userProfilesList) .onItem() - .transformToUni(insertedUserProfile -> Uni.createFrom().item(userProfilesMapper.toDTO(insertedUserProfile))); + .transform(insertedUserProfiles -> insertedUserProfiles.stream() + .map(userProfilesMapper::toDTO) + .toList()); } @GET diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java index fb19428f..a55689b3 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java @@ -4,11 +4,12 @@ import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; +import java.util.List; import java.util.Optional; public interface UserProfilesService { - Uni insertUserProfiles(UserProfiles userProfiles); + Uni> insertUserProfiles(List userProfilesList); Uni> findById(UserProfilesPK userProfilesPK); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java index eb97a9de..ab391f5c 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -14,6 +14,7 @@ import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; +import java.util.List; import java.util.Optional; @ApplicationScoped @@ -24,12 +25,22 @@ public class UserProfilesServiceImpl implements UserProfilesService { UserProfilesRepository userProfilesRepository; @Override + public Uni> insertUserProfiles(List userProfilesList) { + List> insertUnis = userProfilesList.stream() + .map(this::insertSingleUserProfile) + .toList(); + + return Uni.join().all(insertUnis) + .usingConcurrencyOf(1) + .andCollectFailures() + .onItem() + .transform(list -> list); + } + @WithTransaction - public Uni insertUserProfiles(UserProfiles userProfiles) { - log.info("Inserting userProfiles with userId : {} and profileId : {}", userProfiles.getUserProfilesPK().getUserId(), userProfiles.getUserProfilesPK().getProfileId()); + protected Uni insertSingleUserProfile(UserProfiles userProfiles) { return this.userProfilesRepository.findById(userProfiles.getUserProfilesPK()) - .onItem() - .transformToUni(existingUserProfile -> { + .onItem().transformToUni(existingUserProfile -> { if (existingUserProfile != null) { log.error("UserProfile for userId {} and profileId {} already exists", userProfiles.getUserProfilesPK().getUserId(), userProfiles.getUserProfilesPK().getProfileId()); throw new AtmLayerException(Response.Status.BAD_REQUEST, AppErrorCodeEnum.USER_PROFILE_ALREADY_EXIST); From 1d05282c53adb7f1fcdde018bccbe602cdb07553 Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Tue, 21 May 2024 16:48:35 +0200 Subject: [PATCH 09/36] updated retirive of user by id with only profiles associatated to it and added delete of association --- .../model/dto/UserWithProfilesDTO.java | 22 ++++++++ .../atmlayer/service/model/entity/User.java | 2 +- .../model/enumeration/AppErrorCodeEnum.java | 4 +- .../service/model/mapper/UserMapper.java | 40 +++++++++++++- .../model/resource/UserProfilesResource.java | 13 +++++ .../service/model/resource/UserResource.java | 13 ++++- .../model/service/UserProfilesService.java | 2 + .../service/impl/UserProfilesServiceImpl.java | 55 ++++++++++++++++++- 8 files changed, 143 insertions(+), 8 deletions(-) create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserWithProfilesDTO.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserWithProfilesDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserWithProfilesDTO.java new file mode 100644 index 00000000..a2370a81 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserWithProfilesDTO.java @@ -0,0 +1,22 @@ +package it.gov.pagopa.atmlayer.service.model.dto; + +import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; +import lombok.*; + +import java.sql.Timestamp; +import java.util.List; + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@Builder +@ToString +@EqualsAndHashCode + +public class UserWithProfilesDTO { + private String userId; + private Timestamp createdAt; + private Timestamp lastUpdatedAt; + private List profiles; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java index d70ce59d..1aa17c27 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java @@ -35,6 +35,6 @@ public class User extends PanacheEntityBase implements Serializable { private Timestamp lastUpdatedAt; @JsonIgnore - @OneToMany(mappedBy = "user", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER) + @OneToMany(mappedBy = "user", orphanRemoval = true, fetch = FetchType.EAGER) private List userProfiles; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java index fb390068..0e95c9b6 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java @@ -66,7 +66,9 @@ public enum AppErrorCodeEnum { NO_USER_PROFILE_FOUND("ATMLM_4000055", "Nessun user profile trovato", CONSTRAINT_VIOLATION), NO_USER_FOUND_FOR_ID("ATMLM_4000056", "Nessun utente trovato per l'id selezionato", NOT_EXISTING_USER_ID), PROFILE_ALREADY_EXIST("ATMLM_4000057", "Esiste già un profilo con lo stesso id", CONSTRAINT_VIOLATION), - PROFILE_NOT_FOUND("ATMLM_4000058", "Non esiste un profilo con l'id indicato", CONSTRAINT_VIOLATION); + PROFILE_NOT_FOUND("ATMLM_4000058", "Non esiste un profilo con l'id indicato", CONSTRAINT_VIOLATION), + PROFILE_OR_USER_NOT_FOUND("ATMLM_4000059","Utente o profilo non trovato", CONSTRAINT_VIOLATION), + NO_ASSOCIATION_FOUND("ATMLM_4000060","Nessuna associazione trovata", CONSTRAINT_VIOLATION); private final String errorCode; private final String errorMessage; private final AppErrorType type; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java index b0c768dc..6b3ba886 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java @@ -1,13 +1,23 @@ package it.gov.pagopa.atmlayer.service.model.mapper; import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; +import jakarta.inject.Inject; +import org.mapstruct.IterableMapping; import org.mapstruct.Mapper; +import org.mapstruct.Mapping; +import org.mapstruct.Named; import java.util.List; +import java.util.stream.Collectors; @Mapper(componentModel = "cdi") public abstract class UserMapper { + @Inject + ProfileMapper profileMapper; public abstract UserDTO toDTO(User user); @@ -17,7 +27,33 @@ public User toEntityInsertion(String userId) { return user; } - public List toDTOList(List list) { - return list.stream().map(this::toDTO).toList(); + @IterableMapping(qualifiedByName = "toProfilesDTO") + public abstract List toDTOList(List list); + + @Mapping(source = "userProfiles", target = "profiles", qualifiedByName = "toProfileDTOList") + @Named("toProfilesDTO") + public UserWithProfilesDTO toProfilesDTO(User user) { + if (user == null) { + return null; + } + + UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); + userWithProfilesDTO.setUserId(user.getUserId()); + userWithProfilesDTO.setCreatedAt(user.getCreatedAt()); + userWithProfilesDTO.setLastUpdatedAt(user.getLastUpdatedAt()); + userWithProfilesDTO.setProfiles(toProfileDTOList(user.getUserProfiles())); + + return userWithProfilesDTO; } + + @Named("toProfileDTOList") + List toProfileDTOList(List userProfiles) { + if (userProfiles == null) { + return null; + } + return userProfiles.stream() + .map(up -> profileMapper.toDto(up.getProfile())) + .collect(Collectors.toList()); + } + } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java index 2684ce59..3d52a79c 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java @@ -62,4 +62,17 @@ public Uni getById(@PathParam("userId") String userId, return userProfilesMapper.toDTO(x.get()); })); } + + @DELETE + @Path("/userId/{userId}/profileId/{profileId}") + public Uni deleteUserProfiles( + @PathParam("userId") String userId, + @PathParam("profileId") int profileId + ) { + UserProfilesPK userProfilesPK = new UserProfilesPK(userId, profileId); + return this.userProfilesService.deleteUserProfiles(userProfilesPK); + } + + + } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index cb222974..1911d0e5 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -3,8 +3,11 @@ import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; +/*import it.gov.pagopa.atmlayer.service.model.mapper.UserWithProfilesMapper; +import it.gov.pagopa.atmlayer.service.model.mapper.UserWithProfilesMapperQualifier;*/ import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -24,6 +27,10 @@ public class UserResource { @Inject UserMapper userMapper; + /* @Inject + @UserWithProfilesMapperQualifier + UserWithProfilesMapper userWithProfilesMapper; */ + @Inject UserService userService; @@ -51,15 +58,15 @@ public Uni delete(@PathParam("userId") String userId) { @GET @Path("/{userId}") @Produces(MediaType.APPLICATION_JSON) - public Uni getById(@PathParam("userId") String userId) { + public Uni getByIdWithProfiles(@PathParam("userId") String userId) { return this.userService.findById(userId) .onItem() - .transform(foundUser -> userMapper.toDTO(foundUser)); + .transform(foundUser -> userMapper.toProfilesDTO(foundUser)); } @GET @Produces(MediaType.APPLICATION_JSON) - public Uni> getAll() { + public Uni> getAll() { return this.userService.getAllUsers() .onItem() .transform(Unchecked.function(list -> { diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java index a55689b3..c8e054ef 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java @@ -12,4 +12,6 @@ public interface UserProfilesService { Uni> insertUserProfiles(List userProfilesList); Uni> findById(UserProfilesPK userProfilesPK); + + Uni deleteUserProfiles(UserProfilesPK userProfilesIDs); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java index ab391f5c..a6a2f369 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -3,11 +3,14 @@ import io.quarkus.hibernate.reactive.panache.common.WithSession; import io.quarkus.hibernate.reactive.panache.common.WithTransaction; import io.smallrye.mutiny.Uni; +import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.repository.ProfileRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; +import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -24,6 +27,36 @@ public class UserProfilesServiceImpl implements UserProfilesService { @Inject UserProfilesRepository userProfilesRepository; + @Inject + ProfileRepository profileRepository; + + @Inject + UserRepository userRepository; + + @WithSession + public Uni checkProfile(int profileId) { + return this.profileRepository.findById(profileId) + .onItem() + .transformToUni(Unchecked.function(profileFound -> { + if (profileFound == null) { + throw new AtmLayerException(String.format("Non esiste un profilo con id %S", profileId), Response.Status.BAD_REQUEST, AppErrorCodeEnum.PROFILE_NOT_FOUND); + } + return Uni.createFrom().voidItem(); + })); + } + + @WithSession + public Uni checkUser(String userId) { + return this.userRepository.findById(userId) + .onItem() + .transformToUni(Unchecked.function(userFound -> { + if (userFound == null) { + throw new AtmLayerException(String.format("Non esiste un utente con id %S", userId), Response.Status.BAD_REQUEST, AppErrorCodeEnum.NO_USER_FOUND_FOR_ID); + } + return Uni.createFrom().voidItem(); + })); + } + @Override public Uni> insertUserProfiles(List userProfilesList) { List> insertUnis = userProfilesList.stream() @@ -45,7 +78,12 @@ protected Uni insertSingleUserProfile(UserProfiles userProfiles) { log.error("UserProfile for userId {} and profileId {} already exists", userProfiles.getUserProfilesPK().getUserId(), userProfiles.getUserProfilesPK().getProfileId()); throw new AtmLayerException(Response.Status.BAD_REQUEST, AppErrorCodeEnum.USER_PROFILE_ALREADY_EXIST); } - return userProfilesRepository.persist(userProfiles); + return checkProfile(userProfiles.getUserProfilesPK().getProfileId()) + .onItem() + .transformToUni(isProfileVoid -> + checkUser(userProfiles.getUserProfilesPK().getUserId()) + .onItem() + .transformToUni(isUserVoid -> userProfilesRepository.persist(userProfiles))); }); } @@ -56,4 +94,19 @@ public Uni> findById(UserProfilesPK userProfilesPK) { .onItem() .transformToUni(userProfile -> Uni.createFrom().item(Optional.ofNullable(userProfile))); } + + @Override + @WithTransaction + public Uni deleteUserProfiles(UserProfilesPK userProfilesIDs) { + return this.userProfilesRepository.findById(userProfilesIDs) + .onItem() + .transformToUni(existingUserProfile -> { + if (existingUserProfile == null) { + log.error("UserProfile for userId {} and profileId {} doesn't exist", userProfilesIDs.getUserId(), userProfilesIDs.getProfileId()); + throw new AtmLayerException(Response.Status.BAD_REQUEST, AppErrorCodeEnum.NO_ASSOCIATION_FOUND); + } + log.info("associazione trovata {}", existingUserProfile); + return userProfilesRepository.delete(existingUserProfile); + }); + } } From 4b9e223b72d3f410b81a630146fc190894026882 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Thu, 23 May 2024 17:23:18 +0200 Subject: [PATCH 10/36] junit tests for User --- .../service/model/resource/UserResource.java | 4 - .../model/resource/UserResourceTest.java | 114 ++++++++++++++++++ .../service/impl/UserServiceImplTest.java | 79 ++++++++++++ 3 files changed, 193 insertions(+), 4 deletions(-) create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index 1911d0e5..19cb7c5d 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -27,10 +27,6 @@ public class UserResource { @Inject UserMapper userMapper; - /* @Inject - @UserWithProfilesMapperQualifier - UserWithProfilesMapper userWithProfilesMapper; */ - @Inject UserService userService; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java new file mode 100644 index 00000000..88d28580 --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -0,0 +1,114 @@ +package it.gov.pagopa.atmlayer.service.model.resource; + +import io.quarkus.test.InjectMock; +import io.quarkus.test.junit.QuarkusTest; +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; +import it.gov.pagopa.atmlayer.service.model.service.UserService; +import jakarta.ws.rs.core.MediaType; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.List; + +import static io.restassured.RestAssured.given; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.Mockito.*; + +@QuarkusTest +class UserResourceTest { + + @InjectMock + UserMapper userMapper; + + @InjectMock + UserService userService; + + @Test + void testInsert() { + String userId = "testUserId"; + User user = new User(); + UserDTO userDTO = new UserDTO(); + + when(userMapper.toEntityInsertion(userId)).thenReturn(user); + when(userService.insertUser(user)).thenReturn(Uni.createFrom().item(user)); + when(userMapper.toDTO(user)).thenReturn(userDTO); + + UserDTO result = given() + .contentType(MediaType.APPLICATION_JSON) + .pathParam("userId", userId) + .when().post("api/v1/model/user/insert/userId/{userId}") + .then() + .statusCode(200) + .extract().as(UserDTO.class); + + assertEquals(userDTO, result); + } + + @Test + void testDelete() { + String userId = "testUserId"; + + when(userService.deleteUser(userId)).thenReturn(Uni.createFrom().item(true)); + + given() + .pathParam("userId", userId) + .when().delete("/api/v1/model/user/delete/userId/{userId}") + .then() + .statusCode(204); + + verify(userService, times(1)).deleteUser(userId); + } + + @Test + void testGetAll() { + List users = new ArrayList<>(); + User user = new User(); + users.add(user); + List dtoList = new ArrayList<>(); + UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); + dtoList.add(userWithProfilesDTO); + + when(userService.getAllUsers()).thenReturn(Uni.createFrom().item(users)); + when(userMapper.toDTOList(any(List.class))).thenReturn(dtoList); + + ArrayList result = given() + .when().get("/api/v1/model/user") + .then() + .statusCode(200) + .extract() + .body() + .as(ArrayList.class); + + assertEquals(1, result.size()); + verify(userService, times(1)).getAllUsers(); + verify(userMapper, times(1)).toDTOList(users); + } + + @Test + void testGetByIdWithProfiles() { + String userId = "testUserId"; + User user = new User(); + UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); + + when(userService.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userMapper.toProfilesDTO(any(User.class))).thenReturn(userWithProfilesDTO); + + UserWithProfilesDTO result = given() + .pathParam("userId", userId) + .when() + .get("/api/v1/model/user/{userId}") + .then() + .statusCode(200) + .extract() + .as(UserWithProfilesDTO.class); + + assertEquals(userWithProfilesDTO, result); + verify(userService, times(1)).findById(any(String.class)); + verify(userMapper, times(1)).toProfilesDTO(user); + } + +} diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java new file mode 100644 index 00000000..1fffd372 --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -0,0 +1,79 @@ +package it.gov.pagopa.atmlayer.service.model.service.impl; + +import io.quarkus.test.junit.QuarkusTest; +import io.smallrye.mutiny.Uni; +import io.smallrye.mutiny.helpers.test.UniAssertSubscriber; +import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.MockitoAnnotations; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.*; + +@QuarkusTest +class UserServiceImplTest { + + @Mock + UserRepository userRepository; + + @InjectMocks + UserServiceImpl userService; + + @BeforeEach + void setup() { + MockitoAnnotations.openMocks(this); + } + + @Test + void testInsertUserOK() { + String userId = "testUserId"; + User user = new User(); + user.setUserId(userId); + + when(userRepository.findById(userId)).thenReturn(Uni.createFrom().nullItem()); + when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); + + userService.insertUser(user) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(user); + + verify(userRepository, times(1)).findById(userId); + verify(userRepository, times(1)).persist(user); + } + + @Test + void testInsertUserExceptionCase() { + String userId = "testUserId"; + User user = new User(); + user.setUserId(userId); + + when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(new User())); + + userService.insertUser(user) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailed() + .assertFailedWith(AtmLayerException.class, "Un utente con lo stesso id esiste già"); + + verify(userRepository, never()).persist(any(User.class)); + } + + @Test + void testDeleteOK() { + String userId = "testUserId"; + User user = new User(); + + when(userRepository.findById(userId)).thenReturn(Uni.createFrom().item(user)); + when(userRepository.deleteById(userId)).thenReturn(Uni.createFrom().item(true)); + + userService.deleteUser(userId) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(true); + } +} From 46e8f77e4230ced7528df379f351911730f3a382 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Fri, 24 May 2024 17:36:37 +0200 Subject: [PATCH 11/36] junit tests for UserProfiles --- .../resource/UserProfilesResourceTest.java | 87 +++++++++++++++++++ .../service/impl/UserServiceImplTest.java | 53 +++++++++++ 2 files changed, 140 insertions(+) create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java new file mode 100644 index 00000000..9e43693c --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java @@ -0,0 +1,87 @@ +package it.gov.pagopa.atmlayer.service.model.resource; + +import io.quarkus.test.InjectMock; +import io.quarkus.test.junit.QuarkusTest; +import io.restassured.common.mapper.TypeRef; +import io.restassured.http.ContentType; +import io.restassured.specification.RequestSpecification; +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; +import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; +import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.List; + + +import static io.restassured.RestAssured.given; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyList; +import static org.mockito.Mockito.*; + +@QuarkusTest +class UserProfilesResourceTest { + + @InjectMock + UserProfilesMapper userProfilesMapper; + + @InjectMock + UserProfilesService userProfilesService; + + @Test + void testInsert() { + List userProfilesList = new ArrayList<>(); + UserProfiles userProfiles = new UserProfiles(); + userProfilesList.add(userProfiles); + UserProfilesDTO userProfilesDTO = new UserProfilesDTO(); + List userProfilesDTOList = new ArrayList<>(); + userProfilesDTOList.add(userProfilesDTO); + String myJson = """ + { + "userId": "1", + "profileIds": [1, 2, 3] + } + """; + + when(userProfilesMapper.toEntityInsertion(any(UserProfilesInsertionDTO.class))).thenReturn(userProfilesList); + when(userProfilesService.insertUserProfiles(anyList())).thenReturn(Uni.createFrom().item(userProfilesList)); + when(userProfilesMapper.toDTO(any(UserProfiles.class))).thenReturn(userProfilesDTO); + + List result = given() + .contentType(ContentType.JSON) + .body(myJson) + .when() + .post("/api/v1/model/user_profiles/insert") + .then() + .statusCode(200) + .extract() + .as(new TypeRef<>() { + }); + + assertEquals(userProfilesDTOList, result); + } + + @Test + void testDelete() { + String userId = "1"; + int profileId = 1; + + when(userProfilesService.deleteUserProfiles(any(UserProfilesPK.class))).thenReturn(Uni.createFrom().voidItem()); + + given() + .pathParam("userId", userId) + .pathParam("profileId", profileId) + .when() + .delete("/api/v1/model/user_profiles/userId/{userId}/profileId/{profileId}") + .then() + .statusCode(204); + + verify(userProfilesService, times(1)).deleteUserProfiles(any(UserProfilesPK.class)); + } + +} diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index 1fffd372..3099dff3 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -1,5 +1,6 @@ package it.gov.pagopa.atmlayer.service.model.service.impl; +import io.quarkus.hibernate.reactive.panache.PanacheQuery; import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.helpers.test.UniAssertSubscriber; @@ -12,6 +13,9 @@ import org.mockito.Mock; import org.mockito.MockitoAnnotations; +import java.util.ArrayList; +import java.util.List; + import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @@ -63,6 +67,54 @@ void testInsertUserExceptionCase() { verify(userRepository, never()).persist(any(User.class)); } + @Test + void testFindById() { + String userId = "existentId"; + User user = new User(); + user.setUserId(userId); + + when(userRepository.findById(userId)).thenReturn(Uni.createFrom().item(user)); + + userService.findById(userId) + .subscribe() + .withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(user); + + verify(userRepository).findById(userId); + } + + @Test + void testFindByIdExceptionCase() { + String userId = "nonExistentId"; + + when(userRepository.findById(userId)).thenReturn(Uni.createFrom().nullItem()); + + userService.findById(userId) + .subscribe() + .withSubscriber(UniAssertSubscriber.create()) + .assertFailed() + .assertFailedWith(AtmLayerException.class, "Nessun utente trovato per l'id selezionato"); + } + + @Test + void testGetAllUsers() { + List userList = new ArrayList<>(); + User user = new User(); + userList.add(user); + + PanacheQuery panacheQuery = mock(PanacheQuery.class); + + when(userRepository.findAll()).thenReturn(panacheQuery); + when(panacheQuery.list()).thenReturn(Uni.createFrom().item(userList)); + + Uni> result = userService.getAllUsers(); + + result.subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(userList); + } + @Test void testDeleteOK() { String userId = "testUserId"; @@ -76,4 +128,5 @@ void testDeleteOK() { .assertCompleted() .assertItem(true); } + } From 6fe6045f4207a93e0d9ebef1e6f1eec59c43dbb7 Mon Sep 17 00:00:00 2001 From: Giacomo Brancazi Date: Mon, 27 May 2024 17:22:21 +0200 Subject: [PATCH 12/36] revisioning --- .../model/configurations/CorsFilter.java | 1 - .../atmlayer/service/model/dto/FileS3Dto.java | 8 +- .../atmlayer/service/model/dto/UserDTO.java | 21 - .../model/entity/BpmnBankConfigPK.java | 6 +- .../service/model/enumeration/StatusEnum.java | 1 - .../service/model/mapper/UserMapper.java | 3 - .../service/model/model/ProfileDTO.java | 2 + .../model/WorkflowResourceFrontEndDTO.java | 8 +- .../repository/BpmnBankConfigRepository.java | 1 - .../repository/BpmnVersionRepository.java | 6 +- .../repository/ResourceEntityRepository.java | 2 - .../service/model/resource/BpmnResource.java | 31 +- .../model/resource/UserProfilesResource.java | 14 +- .../service/model/resource/UserResource.java | 7 +- .../resource/WorkflowResourceResource.java | 18 +- .../model/service/BpmnFileStorageService.java | 1 - .../service/model/service/ProfileService.java | 1 - .../model/service/UserProfilesService.java | 3 +- .../service/WorkflowResourceService.java | 1 - .../impl/BpmnFileStorageServiceImpl.java | 1 - .../service/impl/ProfileServiceImpl.java | 4 +- .../service/impl/UserProfilesServiceImpl.java | 6 +- .../impl/WorkflowResourceServiceImpl.java | 26 +- .../service/model/utils/BpmnUtils.java | 7 +- .../model/resource/UserResourceTest.java | 1 - .../integration-test/output/result.html | 28365 --- .../integration-test/output/result.json | 138020 --------------- 27 files changed, 24 insertions(+), 166541 deletions(-) delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/configurations/CorsFilter.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/configurations/CorsFilter.java index 744537f6..7a76ec66 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/configurations/CorsFilter.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/configurations/CorsFilter.java @@ -4,7 +4,6 @@ import jakarta.ws.rs.container.ContainerResponseContext; import jakarta.ws.rs.container.ContainerResponseFilter; import jakarta.ws.rs.ext.Provider; -import org.eclipse.microprofile.config.inject.ConfigProperty; import java.io.IOException; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/FileS3Dto.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/FileS3Dto.java index 3c0023fa..3b44f512 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/FileS3Dto.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/FileS3Dto.java @@ -1,12 +1,6 @@ package it.gov.pagopa.atmlayer.service.model.dto; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.EqualsAndHashCode; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; +import lombok.*; @Getter @Setter diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java deleted file mode 100644 index 50b22cf2..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserDTO.java +++ /dev/null @@ -1,21 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.dto; - -import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; -import lombok.*; - -import java.sql.Timestamp; -import java.util.List; - -@Getter -@Setter -@NoArgsConstructor -@AllArgsConstructor -@Builder -@ToString -@EqualsAndHashCode -public class UserDTO { - private String userId; - private Timestamp createdAt; - private Timestamp lastUpdatedAt; - private List userProfiles; -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/BpmnBankConfigPK.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/BpmnBankConfigPK.java index ca8bcd18..5cef1140 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/BpmnBankConfigPK.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/BpmnBankConfigPK.java @@ -3,11 +3,7 @@ import jakarta.persistence.Column; import jakarta.persistence.Embeddable; import jakarta.validation.constraints.NotNull; -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; +import lombok.*; import java.io.Serializable; import java.util.UUID; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/StatusEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/StatusEnum.java index 1e0ffbea..f684d073 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/StatusEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/StatusEnum.java @@ -3,7 +3,6 @@ import com.fasterxml.jackson.annotation.JsonValue; import lombok.AllArgsConstructor; import lombok.Getter; -import lombok.ToString; import java.util.Arrays; import java.util.HashSet; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java index 6b3ba886..8580537d 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java @@ -1,6 +1,5 @@ package it.gov.pagopa.atmlayer.service.model.mapper; -import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; @@ -19,8 +18,6 @@ public abstract class UserMapper { @Inject ProfileMapper profileMapper; - public abstract UserDTO toDTO(User user); - public User toEntityInsertion(String userId) { User user = new User(); user.setUserId(userId); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java index b6347cda..e81f969e 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java @@ -1,5 +1,6 @@ package it.gov.pagopa.atmlayer.service.model.model; +import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; import lombok.NoArgsConstructor; @@ -10,6 +11,7 @@ public class ProfileDTO { private String description; private int profileId; + @JsonIgnore private Timestamp createdAt; private Timestamp lastUpdatedAt; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/model/WorkflowResourceFrontEndDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/model/WorkflowResourceFrontEndDTO.java index 173d3873..97c1d689 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/model/WorkflowResourceFrontEndDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/model/WorkflowResourceFrontEndDTO.java @@ -3,13 +3,7 @@ import it.gov.pagopa.atmlayer.service.model.enumeration.DeployableResourceType; import it.gov.pagopa.atmlayer.service.model.enumeration.S3ResourceTypeEnum; import it.gov.pagopa.atmlayer.service.model.enumeration.StatusEnum; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.EqualsAndHashCode; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; +import lombok.*; import org.eclipse.microprofile.openapi.annotations.media.Schema; import java.sql.Timestamp; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/BpmnBankConfigRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/BpmnBankConfigRepository.java index 084cb1f0..1fc91055 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/BpmnBankConfigRepository.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/BpmnBankConfigRepository.java @@ -6,7 +6,6 @@ import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.entity.BpmnBankConfig; import it.gov.pagopa.atmlayer.service.model.entity.BpmnBankConfigPK; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersion; import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersionPK; import it.gov.pagopa.atmlayer.service.model.enumeration.UtilityValues; import it.gov.pagopa.atmlayer.service.model.model.PageInfo; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/BpmnVersionRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/BpmnVersionRepository.java index 26e417ff..9c7d5192 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/BpmnVersionRepository.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/BpmnVersionRepository.java @@ -11,11 +11,7 @@ import it.gov.pagopa.atmlayer.service.model.model.PageInfo; import jakarta.enterprise.context.ApplicationScoped; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.UUID; +import java.util.*; import java.util.stream.Collectors; @ApplicationScoped diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/ResourceEntityRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/ResourceEntityRepository.java index 9c72b5be..875edb5e 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/ResourceEntityRepository.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/ResourceEntityRepository.java @@ -4,9 +4,7 @@ import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase; import io.quarkus.panache.common.Page; import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersion; import it.gov.pagopa.atmlayer.service.model.entity.ResourceEntity; -import it.gov.pagopa.atmlayer.service.model.entity.ResourceFile; import it.gov.pagopa.atmlayer.service.model.model.PageInfo; import jakarta.enterprise.context.ApplicationScoped; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResource.java index f86e81bc..f0f0e658 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResource.java @@ -7,12 +7,7 @@ import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.unchecked.Unchecked; import io.vertx.core.buffer.Buffer; -import it.gov.pagopa.atmlayer.service.model.dto.BankConfigDeleteDto; -import it.gov.pagopa.atmlayer.service.model.dto.BankConfigTripletDto; -import it.gov.pagopa.atmlayer.service.model.dto.BpmnAssociationDto; -import it.gov.pagopa.atmlayer.service.model.dto.BpmnCreationDto; -import it.gov.pagopa.atmlayer.service.model.dto.BpmnUpgradeDto; -import it.gov.pagopa.atmlayer.service.model.dto.FileS3Dto; +import it.gov.pagopa.atmlayer.service.model.dto.*; import it.gov.pagopa.atmlayer.service.model.entity.BpmnBankConfig; import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersion; import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersionPK; @@ -23,11 +18,7 @@ import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.BpmnConfigMapper; import it.gov.pagopa.atmlayer.service.model.mapper.BpmnVersionMapper; -import it.gov.pagopa.atmlayer.service.model.model.BpmnBankConfigDTO; -import it.gov.pagopa.atmlayer.service.model.model.BpmnDTO; -import it.gov.pagopa.atmlayer.service.model.model.BpmnFrontEndDTO; -import it.gov.pagopa.atmlayer.service.model.model.BpmnProcessDTO; -import it.gov.pagopa.atmlayer.service.model.model.PageInfo; +import it.gov.pagopa.atmlayer.service.model.model.*; import it.gov.pagopa.atmlayer.service.model.service.BpmnFileStorageService; import it.gov.pagopa.atmlayer.service.model.service.BpmnVersionService; import it.gov.pagopa.atmlayer.service.model.service.impl.BpmnBankConfigService; @@ -37,16 +28,7 @@ import jakarta.inject.Inject; import jakarta.validation.Valid; import jakarta.validation.constraints.NotEmpty; -import jakarta.ws.rs.Consumes; -import jakarta.ws.rs.DELETE; -import jakarta.ws.rs.DefaultValue; -import jakarta.ws.rs.GET; -import jakarta.ws.rs.POST; -import jakarta.ws.rs.PUT; -import jakarta.ws.rs.Path; -import jakarta.ws.rs.PathParam; -import jakarta.ws.rs.Produces; -import jakarta.ws.rs.QueryParam; +import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; @@ -56,15 +38,10 @@ import org.eclipse.microprofile.openapi.annotations.parameters.Parameter; import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; import org.eclipse.microprofile.openapi.annotations.tags.Tag; -import org.jboss.resteasy.reactive.RestMulti; import java.io.IOException; import java.security.NoSuchAlgorithmException; -import java.util.Collection; -import java.util.List; -import java.util.Objects; -import java.util.Set; -import java.util.UUID; +import java.util.*; import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.BPMN_FILE_DOES_NOT_EXIST; import static it.gov.pagopa.atmlayer.service.model.utils.BpmnUtils.getAcquirerConfigs; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java index 3d52a79c..71c7c739 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java @@ -1,13 +1,10 @@ package it.gov.pagopa.atmlayer.service.model.resource; import io.smallrye.mutiny.Uni; -import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; -import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; -import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; import jakarta.enterprise.context.ApplicationScoped; @@ -15,7 +12,6 @@ import jakarta.validation.Valid; import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; -import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; import org.eclipse.microprofile.openapi.annotations.tags.Tag; @@ -52,15 +48,9 @@ public Uni> insert(@RequestBody(required = true) @Valid Us @Produces(MediaType.APPLICATION_JSON) public Uni getById(@PathParam("userId") String userId, @PathParam("profileId") int profileId) { - UserProfilesPK userProfilesPK = new UserProfilesPK(userId, profileId); - return this.userProfilesService.findById(userProfilesPK) + return this.userProfilesService.findById(userId, profileId) .onItem() - .transform(Unchecked.function(x -> { - if (x.isEmpty()) { - throw new AtmLayerException(Response.Status.NOT_FOUND, AppErrorCodeEnum.NO_USER_PROFILE_FOUND); - } - return userProfilesMapper.toDTO(x.get()); - })); + .transform(user -> userProfilesMapper.toDTO(user)); } @DELETE diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index 19cb7c5d..02794a78 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -2,12 +2,9 @@ import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.unchecked.Unchecked; -import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; -/*import it.gov.pagopa.atmlayer.service.model.mapper.UserWithProfilesMapper; -import it.gov.pagopa.atmlayer.service.model.mapper.UserWithProfilesMapperQualifier;*/ import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -33,11 +30,11 @@ public class UserResource { @POST @Path("/insert/userId/{userId}") @Produces(MediaType.APPLICATION_JSON) - public Uni insert(@PathParam("userId") String userId) { + public Uni insert(@PathParam("userId") String userId) { User user = userMapper.toEntityInsertion(userId); return this.userService.insertUser(user) .onItem() - .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toDTO(insertedUser))); + .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toProfilesDTO(insertedUser))); } @DELETE diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResource.java index 9adf15ca..bc5e2cfa 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResource.java @@ -8,10 +8,7 @@ import io.vertx.core.buffer.Buffer; import it.gov.pagopa.atmlayer.service.model.dto.FileS3Dto; import it.gov.pagopa.atmlayer.service.model.dto.WorkflowResourceCreationDto; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersionPK; -import it.gov.pagopa.atmlayer.service.model.entity.ResourceFile; import it.gov.pagopa.atmlayer.service.model.entity.WorkflowResource; -import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; import it.gov.pagopa.atmlayer.service.model.enumeration.DeployableResourceType; import it.gov.pagopa.atmlayer.service.model.enumeration.StatusEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; @@ -25,21 +22,10 @@ import jakarta.inject.Inject; import jakarta.validation.Valid; import jakarta.validation.constraints.NotNull; -import jakarta.ws.rs.Consumes; -import jakarta.ws.rs.DELETE; -import jakarta.ws.rs.DefaultValue; -import jakarta.ws.rs.FormParam; -import jakarta.ws.rs.GET; -import jakarta.ws.rs.POST; -import jakarta.ws.rs.PUT; -import jakarta.ws.rs.Path; -import jakarta.ws.rs.PathParam; -import jakarta.ws.rs.Produces; -import jakarta.ws.rs.QueryParam; +import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang3.StringUtils; import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; import org.eclipse.microprofile.openapi.annotations.media.Schema; import org.eclipse.microprofile.openapi.annotations.parameters.Parameter; @@ -50,10 +36,8 @@ import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.util.List; -import java.util.Objects; import java.util.UUID; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.BPMN_FILE_DOES_NOT_EXIST; import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_FILE_DOES_NOT_EXIST; @ApplicationScoped diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/BpmnFileStorageService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/BpmnFileStorageService.java index 6ead5da9..594f7d36 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/BpmnFileStorageService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/BpmnFileStorageService.java @@ -9,7 +9,6 @@ import java.io.File; import java.net.URL; -import java.util.List; public interface BpmnFileStorageService { Uni uploadFile(BpmnVersion bpmn, File file, String filename); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java index e41365cd..28e963e8 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/ProfileService.java @@ -3,7 +3,6 @@ import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; import it.gov.pagopa.atmlayer.service.model.entity.Profile; -import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; import java.util.List; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java index c8e054ef..d0415d4e 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java @@ -5,13 +5,12 @@ import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import java.util.List; -import java.util.Optional; public interface UserProfilesService { Uni> insertUserProfiles(List userProfilesList); - Uni> findById(UserProfilesPK userProfilesPK); + Uni findById(String userId, int profileId); Uni deleteUserProfiles(UserProfilesPK userProfilesIDs); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/WorkflowResourceService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/WorkflowResourceService.java index a65fad84..7b21dfa7 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/WorkflowResourceService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/WorkflowResourceService.java @@ -3,7 +3,6 @@ import io.smallrye.mutiny.Multi; import io.smallrye.mutiny.Uni; import io.vertx.core.buffer.Buffer; -import it.gov.pagopa.atmlayer.service.model.dto.FileS3Dto; import it.gov.pagopa.atmlayer.service.model.entity.WorkflowResource; import it.gov.pagopa.atmlayer.service.model.enumeration.DeployableResourceType; import it.gov.pagopa.atmlayer.service.model.enumeration.StatusEnum; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnFileStorageServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnFileStorageServiceImpl.java index fc4d8a7f..c197155b 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnFileStorageServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnFileStorageServiceImpl.java @@ -28,7 +28,6 @@ import java.net.URL; import java.util.Base64; import java.util.HashMap; -import java.util.List; import java.util.Map; import java.util.Optional; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java index 1f872f6b..3b386bf3 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImpl.java @@ -12,7 +12,6 @@ import it.gov.pagopa.atmlayer.service.model.service.ProfileService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; -import jakarta.validation.Valid; import jakarta.ws.rs.core.Response; import java.util.List; @@ -53,8 +52,9 @@ public Uni checkProfileId(int profileId) { @Override @WithTransaction public Uni createProfile(ProfileCreationDto profileDto) { + Profile newProfile = this.profileMapper.toEntity(profileDto); - return checkUnique(profileDto.getProfileId()) + return checkUnique(newProfile.getProfileId()) .onItem() .transformToUni(isUnique -> this.profileRepository.persist(newProfile)); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java index a6a2f369..5c6cc5bc 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -18,7 +18,6 @@ import lombok.extern.slf4j.Slf4j; import java.util.List; -import java.util.Optional; @ApplicationScoped @Slf4j @@ -89,10 +88,11 @@ protected Uni insertSingleUserProfile(UserProfiles userProfiles) { @Override @WithSession - public Uni> findById(UserProfilesPK userProfilesPK) { + public Uni findById(String userId, int profileId) { + UserProfilesPK userProfilesPK = new UserProfilesPK(userId, profileId); return userProfilesRepository.findById(userProfilesPK) .onItem() - .transformToUni(userProfile -> Uni.createFrom().item(Optional.ofNullable(userProfile))); + .transformToUni(userProfile -> Uni.createFrom().item(userProfile)); } @Override diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/WorkflowResourceServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/WorkflowResourceServiceImpl.java index fe16c6ce..03bd4e47 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/WorkflowResourceServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/WorkflowResourceServiceImpl.java @@ -12,8 +12,6 @@ import it.gov.pagopa.atmlayer.service.model.dto.DeployResponseDto; import it.gov.pagopa.atmlayer.service.model.dto.DeployedBPMNProcessDefinitionDto; import it.gov.pagopa.atmlayer.service.model.dto.DeployedDMNDecisionDefinitionDto; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersion; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersionPK; import it.gov.pagopa.atmlayer.service.model.entity.ResourceFile; import it.gov.pagopa.atmlayer.service.model.entity.WorkflowResource; import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; @@ -24,7 +22,6 @@ import it.gov.pagopa.atmlayer.service.model.model.PageInfo; import it.gov.pagopa.atmlayer.service.model.repository.ResourceFileRepository; import it.gov.pagopa.atmlayer.service.model.repository.WorkflowResourceRepository; -import it.gov.pagopa.atmlayer.service.model.service.ObjectStoreService; import it.gov.pagopa.atmlayer.service.model.service.WorkflowResourceService; import it.gov.pagopa.atmlayer.service.model.service.WorkflowResourceStorageService; import jakarta.enterprise.context.ApplicationScoped; @@ -38,28 +35,9 @@ import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.sql.Timestamp; -import java.util.Base64; -import java.util.Collections; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import java.util.UUID; +import java.util.*; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.ATMLM_500; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.BPMN_FILE_DOES_NOT_EXIST; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.DEPLOYED_FILE_WAS_NOT_RETRIEVED; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.DEPLOY_ERROR; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.OBJECT_STORE_SAVE_FILE_ERROR; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_FILE_DOES_NOT_EXIST; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_RESOURCE_CANNOT_BE_ROLLED_BACK; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_RESOURCE_CANNOT_BE_UPDATED; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_RESOURCE_FILE_WITH_SAME_CAMUNDA_DEFINITION_KEY_ALREADY_EXISTS; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_RESOURCE_FILE_WITH_SAME_CONTENT_ALREADY_EXIST; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_RESOURCE_NOT_DEPLOYED_CANNOT_ROLLBACK; -import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_RESOURCE_WITH_SAME_SHA256_ALREADY_EXISTS; +import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.*; import static it.gov.pagopa.atmlayer.service.model.utils.FileUtilities.calculateSha256; import static it.gov.pagopa.atmlayer.service.model.utils.FileUtilities.extractIdValue; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/utils/BpmnUtils.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/utils/BpmnUtils.java index e9468f61..b3db92e4 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/utils/BpmnUtils.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/utils/BpmnUtils.java @@ -13,12 +13,7 @@ import jakarta.ws.rs.core.Response; import org.apache.commons.lang3.StringUtils; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; +import java.util.*; import java.util.stream.Collectors; import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.DUPLICATE_ASSOCIATION_CONFIGS; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index 88d28580..191fdce2 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -3,7 +3,6 @@ import io.quarkus.test.InjectMock; import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.dto.UserDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; diff --git a/src/test/resources/integration-test/output/result.html b/src/test/resources/integration-test/output/result.html index ecd3aaee..e69de29b 100644 --- a/src/test/resources/integration-test/output/result.html +++ b/src/test/resources/integration-test/output/result.html @@ -1,28365 +0,0 @@ - - - - - Newman Summary Report - - - - - - - - - -
-
- - - -
-
-
- -
-
-
-
-

Newman Run Dashboard

-
Wednesday, 08 May 2024 09:51:55
-
-
-
-
-
- -
-
Total Iterations
-

1

-
-
-
-
-
-
-
- -
-
Total Assertions
-

158

-
-
-
-
-
-
-
- -
-
Total Failed Tests
-

0

-
-
-
-
-
-
-
- -
-
Total Skipped Tests
-

0

-
-
-
-
-
-
-
-
-
-
-
-
File Information
- Collection: Integration_test_model_completa_15feb
- - -
-
-
-
-
-
-
-
-
Timings and Data
- Total run duration: 22s
- Total data received: 15.81MB
- Average response time: 25ms
-
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Summary ItemTotalFailed
Requests1380
Prerequest Scripts1770
Test Scripts2340
Assertions1580
Skipped Tests0-
-
-
-
-
-
-
-
-
-
-
- - -
-

There are no failed tests



-
-
- -
- - -
-

There are no skipped tests



-
-
-
- - - -
- - -
- -
-
1 Iteration available to view
- - -
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/bpmn
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 668ms
- Mean size per request: 875B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token8e198caf-b963-44bb-b2dc-0a03a3a2f68c
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2741
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"voluptatem_1715161894396\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"demo_0611_1","functionType":"MENU"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length875
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"aa4b9db1-4ffc-4947-815b-8c8d7e38a94c","modelVersion":1,"deployedFileName":"demo_0611_1.bpmn","definitionKey":"voluptatem_1715161894396","functionType":"MENU","status":"CREATED","sha256":"206ae3784e07bd252ed893a06cea5b2c682a538ba5c475a067ac60151fcd990e","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"327d9c66-bd7c-4b79-8f3c-193874d7f110","resourceType":"BPMN","storageKey":"BPMN/files/UUID/aa4b9db1-4ffc-4947-815b-8c8d7e38a94c/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:34.994+00:00","lastUpdatedAt":"2024-05-08T09:51:34.994+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"deploymentId":null,"createdAt":"2024-05-08T09:51:34.980+00:00","lastUpdatedAt":"2024-05-08T09:51:34.981+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 204 - No Content
- Mean time per request: 52ms
- Mean size per request: 0B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token79d40a95-79f7-4f17-8b2b-15da84b0afcf
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
No Response Body for this request
-
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 204100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 404 - Not Found
- Mean time per request: 18ms
- Mean size per request: 196B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token1e9cab9e-0115-455e-b04c-2ea940d5829d
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length196
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000002","message":"BPMN con Id BpmnVersionPK(bpmnId=7b0ee690-12d2-4b59-a461-0472331c4840, modelVersion=1) non esiste","statusCode":404}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 404100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/bpmn
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 34ms
- Mean size per request: 874B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token98affb82-471c-48f1-b186-c6b78dcffffd
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2740
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"inventore_1715161896056\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"demo_0611_1","functionType":"MENU"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length874
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":1,"deployedFileName":"demo_0611_1.bpmn","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"CREATED","sha256":"b51724c02b54ef5594cd75a6de82b8662832d9472a200a909d7088c217804d25","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"3015f74a-83f1-440f-834f-3b7509e93796","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:36.089+00:00","lastUpdatedAt":"2024-05-08T09:51:36.089+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"deploymentId":null,"createdAt":"2024-05-08T09:51:36.088+00:00","lastUpdatedAt":"2024-05-08T09:51:36.088+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/bpmn
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 18ms
- Mean size per request: 144B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token18f435d4-b2c2-4ea3-8adc-0b0b3652a9d4
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2744
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"inventore_1715161896056\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>","filename":"demo_0611_1_fail","functionType":"MENU"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length144
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000012","message":"Esiste già un BPMN con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 32ms
- Mean size per request: 224B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokend881d6e1-c2d4-478e-a89a-d3ab49fc48a4
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length73
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-            "acquirerId":"1234",
-            "branchId":"1",
-            "terminalId":"1"
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length224
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000002","message":"La chiave BPMN a cui si fa riferimento non esiste: BpmnVersionPK(bpmnId=6a0e1873-c6a2-4889-903e-47c33d4491f6, modelVersion=1)","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
errorCode is ATMLM_4000002100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 13ms
- Mean size per request: 208B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token5ac96242-4068-42f6-a77a-54b1c484f8d1
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length73
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-            "acquirerId":"1234",
-            "branchId":"1",
-            "terminalId":"1"
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length208
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_DEPLOYED_STATUS","errorCode":"ATMLM_4000003","message":"Il file di processo non è in stato DEPLOYED: BpmnVersionPK(bpmnId=677ecb58-74ed-4640-8324-e82fd616c4c5, modelVersion=1)","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
errorCode is ATMLM_4000003100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 110ms
- Mean size per request: 962B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokendff5b243-648d-4fc9-8442-31d79193fb97
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length962
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"DEPLOYED","sha256":"b51724c02b54ef5594cd75a6de82b8662832d9472a200a909d7088c217804d25","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"3015f74a-83f1-440f-834f-3b7509e93796","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:36.089+00:00","lastUpdatedAt":"2024-05-08T09:51:36.089+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:36.088+00:00","lastUpdatedAt":"2024-05-08T09:51:36.404+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 193ms
- Mean size per request: 1.08KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokena65810ad-4fdd-489d-8fda-131af80fb0b0
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length496
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-          "defaultTemplateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-          "defaultTemplateVersion": "1",
-          "branchesConfigs": [
-            {
-              "branchId": "1",
-              "branchDefaultTemplateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-              "branchDefaultTemplateVersion": "1",
-              "terminals": [
-                {
-                  "templateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-                  "templateVersion": "1",
-                  "terminalIds": [
-                    "1",
-                    "2"
-                  ]
-                }
-              ]
-            }
-          ]
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length1107
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
[{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"ALL","terminalId":"ALL","functionType":"MENU","createdAt":"2024-05-08T09:51:36.615+00:00","lastUpdatedAt":"2024-05-08T09:51:36.615+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"ALL","functionType":"MENU","createdAt":"2024-05-08T09:51:36.617+00:00","lastUpdatedAt":"2024-05-08T09:51:36.617+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"1","functionType":"MENU","createdAt":"2024-05-08T09:51:36.618+00:00","lastUpdatedAt":"2024-05-08T09:51:36.618+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"2","functionType":"MENU","createdAt":"2024-05-08T09:51:36.620+00:00","lastUpdatedAt":"2024-05-08T09:51:36.620+00:00","createdBy":null,"lastUpdatedBy":null}]
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 20ms
- Mean size per request: 213B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token4ad42dff-a5e3-4b35-853b-9dc03576fc86
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length71
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-            "acquirerId":5678,
-            "branchId":"1",
-            "terminalId":"1"
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length213
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CANNOT_REPLACE_ASSOCIATION","errorCode":"ATMLM_4000049","message":"AcquirerId:5678 BranchId:1 TerminalId:1 non ha associazioni con tipo funzione MENU. Crea invece una nuova associazione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
errorCode is ATMLM_4000049100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 16ms
- Mean size per request: 274B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token7d402ad8-d7a6-4902-b8d1-c46752dafdb6
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length73
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-            "acquirerId":"5678",
-            "branchId":"1",
-            "terminalId":"1"
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length274
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"5678","branchId":"1","terminalId":"1","functionType":"MENU","createdAt":"2024-05-08T09:51:36.746+00:00","lastUpdatedAt":"2024-05-08T09:51:36.746+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 13ms
- Mean size per request: 209B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token51d35d0a-eecb-4732-81a8-3c83e1153377
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length71
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-            "acquirerId":5678,
-            "branchId":"1",
-            "terminalId":"1"
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length209
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CANNOT_ASSOCIATE","errorCode":"ATMLM_4000047","message":"La banca/filiale/terminale indicata è già associata al processo con ID: 677ecb58-74ed-4640-8324-e82fd616c4c5 , versione: 1","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
errorCode is ATMLM_4000047100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 29ms
- Mean size per request: 1.41KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokene0614c4c-9d9d-47ee-bb97-77b88794c2c7
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length1444
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"page":0,"limit":10,"itemsFound":5,"totalPages":1,"results":[{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"1","functionType":"MENU","createdAt":"2024-05-08T09:51:36.618+00:00","lastUpdatedAt":"2024-05-08T09:51:36.618+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"2","functionType":"MENU","createdAt":"2024-05-08T09:51:36.620+00:00","lastUpdatedAt":"2024-05-08T09:51:36.620+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"ALL","functionType":"MENU","createdAt":"2024-05-08T09:51:36.617+00:00","lastUpdatedAt":"2024-05-08T09:51:36.617+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"ALL","terminalId":"ALL","functionType":"MENU","createdAt":"2024-05-08T09:51:36.615+00:00","lastUpdatedAt":"2024-05-08T09:51:36.615+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"5678","branchId":"1","terminalId":"1","functionType":"MENU","createdAt":"2024-05-08T09:51:36.746+00:00","lastUpdatedAt":"2024-05-08T09:51:36.746+00:00","createdBy":null,"lastUpdatedBy":null}]}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Four bpmnBankConfigs found100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 13ms
- Mean size per request: 962B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token2a3b5427-6330-4ed4-8fd4-f862e4d69fab
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length962
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"DEPLOYED","sha256":"b51724c02b54ef5594cd75a6de82b8662832d9472a200a909d7088c217804d25","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"3015f74a-83f1-440f-834f-3b7509e93796","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:36.089+00:00","lastUpdatedAt":"2024-05-08T09:51:36.089+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:36.088+00:00","lastUpdatedAt":"2024-05-08T09:51:36.404+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 15ms
- Mean size per request: 962B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token54294e95-b642-4876-94dd-6f6c23e22645
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length962
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"DEPLOYED","sha256":"b51724c02b54ef5594cd75a6de82b8662832d9472a200a909d7088c217804d25","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"3015f74a-83f1-440f-834f-3b7509e93796","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:36.089+00:00","lastUpdatedAt":"2024-05-08T09:51:36.089+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:36.088+00:00","lastUpdatedAt":"2024-05-08T09:51:36.404+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 16ms
- Mean size per request: 962B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token50ac7337-baa2-4a87-a08d-bf6f3a64a50e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length962
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"DEPLOYED","sha256":"b51724c02b54ef5594cd75a6de82b8662832d9472a200a909d7088c217804d25","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"3015f74a-83f1-440f-834f-3b7509e93796","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:36.089+00:00","lastUpdatedAt":"2024-05-08T09:51:36.089+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:36.088+00:00","lastUpdatedAt":"2024-05-08T09:51:36.404+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 11ms
- Mean size per request: 143B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token6feccdfa-7c56-47c5-ae63-f28d6ee109f9
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length143
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_REFERENCED_ENTITY","errorCode":"ATMLM_4000008","message":"Nessun BPMN eseguibile trovato per la selezione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 14ms
- Mean size per request: 155B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token947d2f38-4908-48e1-bba6-62c7789e017a
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length155
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CANNOT_DISABLE","errorCode":"ATMLM_4000038","message":"Il BPMN di riferimento non può essere disabilitato perchè è associato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/bpmn
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 32ms
- Mean size per request: 868B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token9d9a4c8c-a929-4834-ae02-2b4a7bf42681
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2734
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"vel_1715161897795\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"demo_0611_1","functionType":"MENU"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length868
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd","modelVersion":1,"deployedFileName":"demo_0611_1.bpmn","definitionKey":"vel_1715161897795","functionType":"MENU","status":"CREATED","sha256":"22b4b726d14bd7e592ec513fb4285048f610a03d3727413b2785e833a9eba323","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"a51513bd-212f-4d72-a227-b88a25ea83f4","resourceType":"BPMN","storageKey":"BPMN/files/UUID/f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:37.825+00:00","lastUpdatedAt":"2024-05-08T09:51:37.825+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"deploymentId":null,"createdAt":"2024-05-08T09:51:37.823+00:00","lastUpdatedAt":"2024-05-08T09:51:37.823+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 20ms
- Mean size per request: 235B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenf4f5b1c4-b4f1-4a36-9350-adbb43148cc3
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length496
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-          "defaultTemplateId": "f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd",
-          "defaultTemplateVersion": "1",
-          "branchesConfigs": [
-            {
-              "branchId": "1",
-              "branchDefaultTemplateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-              "branchDefaultTemplateVersion": "1",
-              "terminals": [
-                {
-                  "templateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-                  "templateVersion": "1",
-                  "terminalIds": [
-                    "1",
-                    "2"
-                  ]
-                }
-              ]
-            }
-          ]
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length235
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_DEPLOYED_STATUS","errorCode":"ATMLM_4000003","message":"Uno o alcuni dei file BPMN a cui si fa riferimento non sono rilascati: [BpmnVersionPK(bpmnId=f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd, modelVersion=1)]","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 32ms
- Mean size per request: 956B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token1a27f45d-ffe6-4d2f-b7f9-52088cde9a2f
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length956
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"vel_1715161897795","functionType":"MENU","status":"DEPLOYED","sha256":"22b4b726d14bd7e592ec513fb4285048f610a03d3727413b2785e833a9eba323","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"a51513bd-212f-4d72-a227-b88a25ea83f4","resourceType":"BPMN","storageKey":"BPMN/files/UUID/f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:37.825+00:00","lastUpdatedAt":"2024-05-08T09:51:37.825+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:37.823+00:00","lastUpdatedAt":"2024-05-08T09:51:37.928+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 27ms
- Mean size per request: 274B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokene0b2c714-faa8-410d-824e-78dc13d6a1ba
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length71
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-            "acquirerId":5678,
-            "branchId":"1",
-            "terminalId":"1"
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length274
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd","bpmnModelVersion":1,"acquirerId":"5678","branchId":"1","terminalId":"1","functionType":"MENU","createdAt":"2024-05-08T09:51:37.977+00:00","lastUpdatedAt":"2024-05-08T09:51:37.977+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 204 - No Content
- Mean time per request: 11ms
- Mean size per request: 0B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokenf6e3dc98-eb27-4673-94e8-f4ff47478307
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
No Response Body for this request
-
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 204100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 25ms
- Mean size per request: 1.08KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenf0c74a7d-d730-465b-abe1-1f00022ae10a
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length496
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-          "defaultTemplateId": "f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd",
-          "defaultTemplateVersion": "1",
-          "branchesConfigs": [
-            {
-              "branchId": "1",
-              "branchDefaultTemplateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-              "branchDefaultTemplateVersion": "1",
-              "terminals": [
-                {
-                  "templateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-                  "templateVersion": "1",
-                  "terminalIds": [
-                    "1",
-                    "2"
-                  ]
-                }
-              ]
-            }
-          ]
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length1107
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
[{"bpmnId":"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd","bpmnModelVersion":1,"acquirerId":"1234","branchId":"ALL","terminalId":"ALL","functionType":"MENU","createdAt":"2024-05-08T09:51:38.055+00:00","lastUpdatedAt":"2024-05-08T09:51:38.055+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"ALL","functionType":"MENU","createdAt":"2024-05-08T09:51:38.056+00:00","lastUpdatedAt":"2024-05-08T09:51:38.056+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"1","functionType":"MENU","createdAt":"2024-05-08T09:51:38.057+00:00","lastUpdatedAt":"2024-05-08T09:51:38.057+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"2","functionType":"MENU","createdAt":"2024-05-08T09:51:38.058+00:00","lastUpdatedAt":"2024-05-08T09:51:38.058+00:00","createdBy":null,"lastUpdatedBy":null}]
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 122ms
- Mean size per request: 1.05KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token7563dcaf-900d-4236-9547-03f0fbcc3985
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length1071
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"page":0,"limit":10,"itemsFound":1,"totalPages":1,"results":[{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"DEPLOYED","sha256":"b51724c02b54ef5594cd75a6de82b8662832d9472a200a909d7088c217804d25","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceId":"3015f74a-83f1-440f-834f-3b7509e93796","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","resourceCreatedAt":"2024-05-08T09:51:36.089+00:00","resourceLastUpdatedAt":"2024-05-08T09:51:36.089+00:00","resourceCreatedBy":null,"resourceLastUpdatedBy":"2024-05-08T09:51:36.089Z","resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:36.088+00:00","lastUpdatedAt":"2024-05-08T09:51:36.404+00:00","createdBy":null,"lastUpdatedBy":null}]}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
One BPMN meets the criteria100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 6ms
- Mean size per request: 183B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token6c39045f-239b-48fa-baf0-1e106f988ae2
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length183
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"INVALID_ARGUMENT","errorCode":"ATMLM_4000046","message":"AcquirerId deve essere specificato per BranchId, e BranchId deve essere specificato per TerminalId","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 8ms
- Mean size per request: 183B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token88aece81-f5bc-46d7-8a60-9ed0609f52ab
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length183
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"INVALID_ARGUMENT","errorCode":"ATMLM_4000046","message":"AcquirerId deve essere specificato per BranchId, e BranchId deve essere specificato per TerminalId","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 14ms
- Mean size per request: 956B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token906c48d4-b17f-4aee-aebd-0036fb8bf74e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length956
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"vel_1715161897795","functionType":"MENU","status":"DEPLOYED","sha256":"22b4b726d14bd7e592ec513fb4285048f610a03d3727413b2785e833a9eba323","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"a51513bd-212f-4d72-a227-b88a25ea83f4","resourceType":"BPMN","storageKey":"BPMN/files/UUID/f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:37.825+00:00","lastUpdatedAt":"2024-05-08T09:51:37.825+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:37.823+00:00","lastUpdatedAt":"2024-05-08T09:51:37.928+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/bpmn/upgrade
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 73ms
- Mean size per request: 847B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token7996f758-f2d8-4996-b496-69f237ce4398
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2869
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"uuid":"677ecb58-74ed-4640-8324-e82fd616c4c5","file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"inventore_1715161896056\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>","filename":"yv","functionType":"MENU"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length847
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":2,"deployedFileName":"yv.bpmn","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"CREATED","sha256":"97141f053370729dfd8d5c1f5b3da8134b62ec401f7fce8dbc61af5d3affb6e2","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"17087bc0-1bb1-4167-a3f4-2b9763d9029a","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/2/yv.bpmn","fileName":"yv","extension":"bpmn","createdAt":"2024-05-08T09:51:38.428+00:00","lastUpdatedAt":"2024-05-08T09:51:38.428+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"deploymentId":null,"createdAt":"2024-05-08T09:51:38.426+00:00","lastUpdatedAt":"2024-05-08T09:51:38.426+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
right version100
Total300
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 30ms
- Mean size per request: 944B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token9d382246-b2dc-4268-8f4c-c499e54aa62e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length944
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":2,"deployedFileName":"DEPLOYED_NAME","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"DEPLOYED","sha256":"97141f053370729dfd8d5c1f5b3da8134b62ec401f7fce8dbc61af5d3affb6e2","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"17087bc0-1bb1-4167-a3f4-2b9763d9029a","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/2/yv.bpmn","fileName":"yv","extension":"bpmn","createdAt":"2024-05-08T09:51:38.428+00:00","lastUpdatedAt":"2024-05-08T09:51:38.428+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:38.426+00:00","lastUpdatedAt":"2024-05-08T09:51:38.480+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 28ms
- Mean size per request: 1.08KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token44dadca3-25a4-467e-a834-3a771d5c585b
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length496
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-          "defaultTemplateId": "f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd",
-          "defaultTemplateVersion": "1",
-          "branchesConfigs": [
-            {
-              "branchId": "1",
-              "branchDefaultTemplateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-              "branchDefaultTemplateVersion": "2",
-              "terminals": [
-                {
-                  "templateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-                  "templateVersion": "1",
-                  "terminalIds": [
-                    "1",
-                    "2"
-                  ]
-                }
-              ]
-            }
-          ]
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length1107
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
[{"bpmnId":"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd","bpmnModelVersion":1,"acquirerId":"1234","branchId":"ALL","terminalId":"ALL","functionType":"MENU","createdAt":"2024-05-08T09:51:38.527+00:00","lastUpdatedAt":"2024-05-08T09:51:38.527+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":2,"acquirerId":"1234","branchId":"1","terminalId":"ALL","functionType":"MENU","createdAt":"2024-05-08T09:51:38.528+00:00","lastUpdatedAt":"2024-05-08T09:51:38.528+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"1","functionType":"MENU","createdAt":"2024-05-08T09:51:38.529+00:00","lastUpdatedAt":"2024-05-08T09:51:38.529+00:00","createdBy":null,"lastUpdatedBy":null},{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","bpmnModelVersion":1,"acquirerId":"1234","branchId":"1","terminalId":"2","functionType":"MENU","createdAt":"2024-05-08T09:51:38.530+00:00","lastUpdatedAt":"2024-05-08T09:51:38.530+00:00","createdBy":null,"lastUpdatedBy":null}]
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 6ms
- Mean size per request: 123B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokend12b7a36-f785-479d-a672-3faf9ff1769a
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length496
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-          "defaultTemplateId": "f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd",
-          "defaultTemplateVersion": "1",
-          "branchesConfigs": [
-            {
-              "branchId": "1",
-              "branchDefaultTemplateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-              "branchDefaultTemplateVersion": "2",
-              "terminals": [
-                {
-                  "templateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-                  "templateVersion": "1",
-                  "terminalIds": [
-                    "1",
-                    "1"
-                  ]
-                }
-              ]
-            }
-          ]
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length123
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"INVALID_ARGUMENT","errorCode":"ATMLM_4000040","message":"Triplette duplicate nel corpo di input","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 11ms
- Mean size per request: 962B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokena561e297-12f8-4619-af9f-d4bd53f36543
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length962
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"DEPLOYED","sha256":"b51724c02b54ef5594cd75a6de82b8662832d9472a200a909d7088c217804d25","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"3015f74a-83f1-440f-834f-3b7509e93796","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:36.089+00:00","lastUpdatedAt":"2024-05-08T09:51:36.089+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:36.088+00:00","lastUpdatedAt":"2024-05-08T09:51:36.404+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
right version100
Total300
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 12ms
- Mean size per request: 944B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token77418066-b83d-41a6-adf6-75c9b1182e2e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length944
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"677ecb58-74ed-4640-8324-e82fd616c4c5","modelVersion":2,"deployedFileName":"DEPLOYED_NAME","definitionKey":"inventore_1715161896056","functionType":"MENU","status":"DEPLOYED","sha256":"97141f053370729dfd8d5c1f5b3da8134b62ec401f7fce8dbc61af5d3affb6e2","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"17087bc0-1bb1-4167-a3f4-2b9763d9029a","resourceType":"BPMN","storageKey":"BPMN/files/UUID/677ecb58-74ed-4640-8324-e82fd616c4c5/VERSION/2/yv.bpmn","fileName":"yv","extension":"bpmn","createdAt":"2024-05-08T09:51:38.428+00:00","lastUpdatedAt":"2024-05-08T09:51:38.428+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:38.426+00:00","lastUpdatedAt":"2024-05-08T09:51:38.480+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
right version100
Total300
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 13ms
- Mean size per request: 956B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenddd461b4-b553-47c4-9c4c-4c46399d5e5a
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length956
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"vel_1715161897795","functionType":"MENU","status":"DEPLOYED","sha256":"22b4b726d14bd7e592ec513fb4285048f610a03d3727413b2785e833a9eba323","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"a51513bd-212f-4d72-a227-b88a25ea83f4","resourceType":"BPMN","storageKey":"BPMN/files/UUID/f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:37.825+00:00","lastUpdatedAt":"2024-05-08T09:51:37.825+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:37.823+00:00","lastUpdatedAt":"2024-05-08T09:51:37.928+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
right version100
Total300
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/bpmn
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 29ms
- Mean size per request: 884B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokene1cffedf-b5c3-49ac-b993-3567ae3200bc
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2750
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"ipsa_1715161899467\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"demo_0611_1","functionType":"SPONTANEOUS_PAYMENT"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length884
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"a6406eae-c8dc-474d-a8e1-243b0e8cfe2f","modelVersion":1,"deployedFileName":"demo_0611_1.bpmn","definitionKey":"ipsa_1715161899467","functionType":"SPONTANEOUS_PAYMENT","status":"CREATED","sha256":"127f0f6e71590737063ea4d3d1606fdd8aa76989502fbb34dc2c7e688510bbb6","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"26b25165-0b18-4013-a08f-ef0bfd50745c","resourceType":"BPMN","storageKey":"BPMN/files/UUID/a6406eae-c8dc-474d-a8e1-243b0e8cfe2f/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:39.496+00:00","lastUpdatedAt":"2024-05-08T09:51:39.496+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"deploymentId":null,"createdAt":"2024-05-08T09:51:39.494+00:00","lastUpdatedAt":"2024-05-08T09:51:39.494+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 32ms
- Mean size per request: 972B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token0a911c6e-bc46-4062-8fd7-a88851b0c445
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length972
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"bpmnId":"a6406eae-c8dc-474d-a8e1-243b0e8cfe2f","modelVersion":1,"deployedFileName":"DEPLOYED_NAME","definitionKey":"ipsa_1715161899467","functionType":"SPONTANEOUS_PAYMENT","status":"DEPLOYED","sha256":"127f0f6e71590737063ea4d3d1606fdd8aa76989502fbb34dc2c7e688510bbb6","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"26b25165-0b18-4013-a08f-ef0bfd50745c","resourceType":"BPMN","storageKey":"BPMN/files/UUID/a6406eae-c8dc-474d-a8e1-243b0e8cfe2f/VERSION/1/demo_0611_1.bpmn","fileName":"demo_0611_1","extension":"bpmn","createdAt":"2024-05-08T09:51:39.496+00:00","lastUpdatedAt":"2024-05-08T09:51:39.496+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:39.494+00:00","lastUpdatedAt":"2024-05-08T09:51:39.558+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 18ms
- Mean size per request: 250B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/json
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token86823f5c-7a06-4ff7-b535-5ce3469409bd
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length496
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{
-          "defaultTemplateId": "a6406eae-c8dc-474d-a8e1-243b0e8cfe2f",
-          "defaultTemplateVersion": "1",
-          "branchesConfigs": [
-            {
-              "branchId": "1",
-              "branchDefaultTemplateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-              "branchDefaultTemplateVersion": "2",
-              "terminals": [
-                {
-                  "templateId": "677ecb58-74ed-4640-8324-e82fd616c4c5",
-                  "templateVersion": "1",
-                  "terminalIds": [
-                    "1",
-                    "2"
-                  ]
-                }
-              ]
-            }
-          ]
-        }
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length250
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"INVALID_FUNCTION_TYPE","errorCode":"ATMLM_4000005","message":"Uno o alcuni dei file BPMN a cui si fa riferimento non hanno tipo di funzione MENU: [BpmnVersionPK(bpmnId=a6406eae-c8dc-474d-a8e1-243b0e8cfe2f, modelVersion=1)]","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 204 - No Content
- Mean time per request: 9ms
- Mean size per request: 0B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token54796982-217f-41d6-94c0-f3c010bc93cd
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
No Response Body for this request
-
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 204100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 10ms
- Mean size per request: 335B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokena3bea57e-b5ee-496b-8488-2f4317e10f20
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length335
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000048","message":"Impossibile cancellare la configurazione BpmnBankConfigPK(bpmnId=677ecb58-74ed-4640-8324-e82fd616c4c5, bpmnModelVersion=1, acquirerId=1234, branchId=1, terminalId=1): non esiste oppure si è verificato un errore durante la cancellazione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
errorCode is ATMLM_4000048100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 50ms
- Mean size per request: 865B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token3382574b-e5f1-4188-8d4a-f3e38b053bd6
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length3048
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n","filename":"demo_0611_1","resourceType":"DMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length865
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"1431eae2-8e63-452d-999b-d53a21339af2","deployedFileName":"demo_0611_1.DMN","definitionKey":"sit_1715161900440","status":"CREATED","sha256":"67a1b2a6efbe78eef2c4d42b1d18fceedfc2281ce1bae17f39f92d6f044cf43c","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"6ed97287-210c-4b02-9541-d44b1c4444b0","resourceType":"DMN","storageKey":"WORKFLOW_RESOURCE/DMN/files/UUID/1431eae2-8e63-452d-999b-d53a21339af2/demo_0611_1.dmn","fileName":"demo_0611_1","extension":"dmn","createdAt":"2024-05-08T09:51:40.484+00:00","lastUpdatedAt":"2024-05-08T09:51:40.484+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"DMN","deploymentId":null,"createdAt":"2024-05-08T09:51:40.482+00:00","lastUpdatedAt":"2024-05-08T09:51:40.482+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 8ms
- Mean size per request: 865B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokena8d5ef2e-bb7e-44da-90ac-cc9b4073e412
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length865
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"1431eae2-8e63-452d-999b-d53a21339af2","deployedFileName":"demo_0611_1.DMN","definitionKey":"sit_1715161900440","status":"CREATED","sha256":"67a1b2a6efbe78eef2c4d42b1d18fceedfc2281ce1bae17f39f92d6f044cf43c","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"6ed97287-210c-4b02-9541-d44b1c4444b0","resourceType":"DMN","storageKey":"WORKFLOW_RESOURCE/DMN/files/UUID/1431eae2-8e63-452d-999b-d53a21339af2/demo_0611_1.dmn","fileName":"demo_0611_1","extension":"dmn","createdAt":"2024-05-08T09:51:40.484+00:00","lastUpdatedAt":"2024-05-08T09:51:40.484+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"DMN","deploymentId":null,"createdAt":"2024-05-08T09:51:40.482+00:00","lastUpdatedAt":"2024-05-08T09:51:40.482+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 18ms
- Mean size per request: 172B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token96ed0ecc-b669-4166-babd-41e50451c98c
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length3048
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n","filename":"demo_0611_1","resourceType":"DMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length172
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000022","message":"Esiste già una risorsa aggiuntiva per processo con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 13ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokend85c2767-f591-49f8-8e6a-03634ba71fae
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length391
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"","filename":"demo_0611_1","resourceType":"DMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokendfcded83-6028-4944-9f5e-001988cd2505
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length3049
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n","filename":"demo_0611_1","resourceType":"FORM"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 13ms
- Mean size per request: 172B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token1cba9184-8275-4b17-8403-458592fb74a3
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length3051
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente V2\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n","filename":"demo_0611_1","resourceType":"DMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length172
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000022","message":"Esiste già una risorsa aggiuntiva per processo con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 30ms
- Mean size per request: 871B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token7a390ffe-1b19-4aa9-9a5c-3410d073f00f
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2738
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"molestiae_1715161902975\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"demo_bpmn","resourceType":"BPMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length871
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"7ae5d1ed-8e1c-4f3d-865a-f36d207e291c","deployedFileName":"demo_bpmn.BPMN","definitionKey":"molestiae_1715161902975","status":"CREATED","sha256":"f1706fec5702bd55c40d0f685201f4e12ab846a8d41c8b915dd5488fee06a8cb","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"e6d95c0b-24b8-4fce-9602-f8601cd23513","resourceType":"BPMN","storageKey":"WORKFLOW_RESOURCE/BPMN/files/UUID/7ae5d1ed-8e1c-4f3d-865a-f36d207e291c/demo_bpmn.bpmn","fileName":"demo_bpmn","extension":"bpmn","createdAt":"2024-05-08T09:51:43.009+00:00","lastUpdatedAt":"2024-05-08T09:51:43.010+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"BPMN","deploymentId":null,"createdAt":"2024-05-08T09:51:43.008+00:00","lastUpdatedAt":"2024-05-08T09:51:43.008+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 9ms
- Mean size per request: 871B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token04e23fc3-2fd9-47fa-b9d4-846e51119afc
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length871
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"7ae5d1ed-8e1c-4f3d-865a-f36d207e291c","deployedFileName":"demo_bpmn.BPMN","definitionKey":"molestiae_1715161902975","status":"CREATED","sha256":"f1706fec5702bd55c40d0f685201f4e12ab846a8d41c8b915dd5488fee06a8cb","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"e6d95c0b-24b8-4fce-9602-f8601cd23513","resourceType":"BPMN","storageKey":"WORKFLOW_RESOURCE/BPMN/files/UUID/7ae5d1ed-8e1c-4f3d-865a-f36d207e291c/demo_bpmn.bpmn","fileName":"demo_bpmn","extension":"bpmn","createdAt":"2024-05-08T09:51:43.009+00:00","lastUpdatedAt":"2024-05-08T09:51:43.010+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"BPMN","deploymentId":null,"createdAt":"2024-05-08T09:51:43.008+00:00","lastUpdatedAt":"2024-05-08T09:51:43.008+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 7ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenf436b897-5dfa-4496-8963-211ccd9769dd
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length390
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"","filename":"demo_bpmn","resourceType":"BPMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 7ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token242ec40d-b184-4bc9-aac3-c2ff6f66b36e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length390
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"","filename":"demo_bpmn","resourceType":"BPMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 7ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token85627a3e-a494-4f9a-9652-408ec1b4ec3b
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2737
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"molestiae_1715161902975\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"demo_bpmn","resourceType":"DMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 12ms
- Mean size per request: 172B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token9c71aa24-ed26-45df-8169-2ad7364fca05
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2738
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"molestiae_1715161902975\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"demo_bpmn","resourceType":"BPMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length172
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000022","message":"Esiste già una risorsa aggiuntiva per processo con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 35ms
- Mean size per request: 874B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenfd33f119-88da-415a-bbc5-dc3ab468aaca
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length1111
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platform\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}","filename":"demo_0611_1","resourceType":"FORM"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length874
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"71074dc3-f7e0-4c0f-bb29-698d2b41191c","deployedFileName":"demo_0611_1.FORM","definitionKey":"veniam_1715161904705","status":"CREATED","sha256":"662d5cfa9fa43f3b5bb49ab7d15553d5bc6b1b1946c283e6101fd456d9f019ba","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"9698b894-92e5-4f8b-8da2-09245098c912","resourceType":"FORM","storageKey":"WORKFLOW_RESOURCE/FORM/files/UUID/71074dc3-f7e0-4c0f-bb29-698d2b41191c/demo_0611_1.json","fileName":"demo_0611_1","extension":"json","createdAt":"2024-05-08T09:51:44.740+00:00","lastUpdatedAt":"2024-05-08T09:51:44.740+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"FORM","deploymentId":null,"createdAt":"2024-05-08T09:51:44.738+00:00","lastUpdatedAt":"2024-05-08T09:51:44.738+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 9ms
- Mean size per request: 874B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token9c92c1b3-7db2-4218-9c91-5ad575a82e5c
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length874
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"71074dc3-f7e0-4c0f-bb29-698d2b41191c","deployedFileName":"demo_0611_1.FORM","definitionKey":"veniam_1715161904705","status":"CREATED","sha256":"662d5cfa9fa43f3b5bb49ab7d15553d5bc6b1b1946c283e6101fd456d9f019ba","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"9698b894-92e5-4f8b-8da2-09245098c912","resourceType":"FORM","storageKey":"WORKFLOW_RESOURCE/FORM/files/UUID/71074dc3-f7e0-4c0f-bb29-698d2b41191c/demo_0611_1.json","fileName":"demo_0611_1","extension":"json","createdAt":"2024-05-08T09:51:44.740+00:00","lastUpdatedAt":"2024-05-08T09:51:44.740+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"FORM","deploymentId":null,"createdAt":"2024-05-08T09:51:44.738+00:00","lastUpdatedAt":"2024-05-08T09:51:44.738+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 11ms
- Mean size per request: 172B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenc2e8c88b-4277-40fb-8822-78dd0c81f178
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length1111
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platform\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}","filename":"demo_0611_1","resourceType":"FORM"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length172
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000022","message":"Esiste già una risorsa aggiuntiva per processo con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 6ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token01ec4840-ffe2-48f4-97cb-54efef6c1341
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length392
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"","filename":"demo_0611_1","resourceType":"FORM"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 8ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token6093d9ca-d740-4df6-a4d7-983074587e60
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length1111
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platform\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}","filename":"demo_0611_1","resourceType":"BPMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 12ms
- Mean size per request: 172B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenfce486f2-c5b1-4af8-aac6-e51eb0f03e0e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length1111
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platform\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}","filename":"demo_0611_1","resourceType":"FORM"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length172
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000022","message":"Esiste già una risorsa aggiuntiva per processo con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 22ms
- Mean size per request: 985B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token991d8c8b-57c4-4cec-b1bf-9ce86715d1c9
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length985
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"page":0,"limit":10,"itemsFound":1,"totalPages":1,"results":[{"workflowResourceId":"71074dc3-f7e0-4c0f-bb29-698d2b41191c","deployedFileName":"demo_0611_1.FORM","definitionKey":"veniam_1715161904705","status":"CREATED","sha256":"662d5cfa9fa43f3b5bb49ab7d15553d5bc6b1b1946c283e6101fd456d9f019ba","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceId":"9698b894-92e5-4f8b-8da2-09245098c912","resourceS3Type":"FORM","storageKey":"WORKFLOW_RESOURCE/FORM/files/UUID/71074dc3-f7e0-4c0f-bb29-698d2b41191c/demo_0611_1.json","fileName":"demo_0611_1","extension":"json","resourceCreatedAt":"2024-05-08T09:51:44.740+00:00","resourceLastUpdatedAt":"2024-05-08T09:51:44.740+00:00","resourceCreatedBy":null,"resourceLastUpdatedBy":"2024-05-08T09:51:44.740Z","resource":null,"resourceType":"FORM","deploymentId":null,"createdAt":"2024-05-08T09:51:44.738+00:00","lastUpdatedAt":"2024-05-08T09:51:44.738+00:00","createdBy":null,"lastUpdatedBy":null}]}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
One file meets the criteria100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 35ms
- Mean size per request: 956B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokendcbad815-b332-434a-b366-ced0f443549a
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length956
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"1431eae2-8e63-452d-999b-d53a21339af2","deployedFileName":"Decision 1","definitionKey":"sit_1715161900440","status":"DEPLOYED","sha256":"67a1b2a6efbe78eef2c4d42b1d18fceedfc2281ce1bae17f39f92d6f044cf43c","enabled":true,"definitionVersionCamunda":1,"camundaDefinitionId":"Decision_11a8wyt:1:6d1948e9-7ee8-11ee-b31a-0242ac110004","description":null,"resourceFile":{"id":"6ed97287-210c-4b02-9541-d44b1c4444b0","resourceType":"DMN","storageKey":"WORKFLOW_RESOURCE/DMN/files/UUID/1431eae2-8e63-452d-999b-d53a21339af2/demo_0611_1.dmn","fileName":"demo_0611_1","extension":"dmn","createdAt":"2024-05-08T09:51:40.484+00:00","lastUpdatedAt":"2024-05-08T09:51:40.484+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"diagram_2.dmn","resourceType":"DMN","deploymentId":"6d0bb455-7ee8-11ee-b31a-0242ac110004","createdAt":"2024-05-08T09:51:40.482+00:00","lastUpdatedAt":"2024-05-08T09:51:46.517+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 28ms
- Mean size per request: 961B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token1219f515-7b02-4a4f-9a48-403fe9655b97
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length961
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"7ae5d1ed-8e1c-4f3d-865a-f36d207e291c","deployedFileName":"DEPLOYED_NAME","definitionKey":"molestiae_1715161902975","status":"DEPLOYED","sha256":"f1706fec5702bd55c40d0f685201f4e12ab846a8d41c8b915dd5488fee06a8cb","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"e6d95c0b-24b8-4fce-9602-f8601cd23513","resourceType":"BPMN","storageKey":"WORKFLOW_RESOURCE/BPMN/files/UUID/7ae5d1ed-8e1c-4f3d-865a-f36d207e291c/demo_bpmn.bpmn","fileName":"demo_bpmn","extension":"bpmn","createdAt":"2024-05-08T09:51:43.009+00:00","lastUpdatedAt":"2024-05-08T09:51:43.010+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","resourceType":"BPMN","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:43.008+00:00","lastUpdatedAt":"2024-05-08T09:51:46.566+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 28ms
- Mean size per request: 899B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenbcc16c0e-6e10-492b-ba9c-03835aa2d3e0
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length899
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"71074dc3-f7e0-4c0f-bb29-698d2b41191c","deployedFileName":"form_1","definitionKey":"veniam_1715161904705","status":"DEPLOYED","sha256":"662d5cfa9fa43f3b5bb49ab7d15553d5bc6b1b1946c283e6101fd456d9f019ba","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"9698b894-92e5-4f8b-8da2-09245098c912","resourceType":"FORM","storageKey":"WORKFLOW_RESOURCE/FORM/files/UUID/71074dc3-f7e0-4c0f-bb29-698d2b41191c/demo_0611_1.json","fileName":"demo_0611_1","extension":"json","createdAt":"2024-05-08T09:51:44.740+00:00","lastUpdatedAt":"2024-05-08T09:51:44.740+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"FORM","deploymentId":"88ed28b5-839a-11ee-a647-0242ac110004","createdAt":"2024-05-08T09:51:44.738+00:00","lastUpdatedAt":"2024-05-08T09:51:46.620+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 8ms
- Mean size per request: 222B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenf89d7143-aa21-43b7-af5c-6fb8c40dd82f
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length222
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000023","message":"Una o alcune risorse aggiuntive per processo a cui si fa riferimento con Id f3e56858-f665-45c8-9921-e6d2c1de83ff non esiste","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 222B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token9c591e64-50c7-4d48-a88c-a07510851edc
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length222
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000023","message":"Una o alcune risorse aggiuntive per processo a cui si fa riferimento con Id 579c49ac-0e1f-45f8-bbe2-1ce26ada6653 non esiste","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 222B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token32741704-40e0-4682-9df0-64c920fb723a
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length222
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000023","message":"Una o alcune risorse aggiuntive per processo a cui si fa riferimento con Id 8067c953-903b-4048-9d50-fd9453d82d74 non esiste","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 12ms
- Mean size per request: 172B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token927d6a74-dfbc-49ad-912b-0c9fdec4fa23
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length3054
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente V2\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n","filename":"test_16_11fail","resourceType":"DMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length172
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000022","message":"Esiste già una risorsa aggiuntiva per processo con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 6ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token02e3e7f9-1b78-4fdf-91bd-6b0908ac73c1
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length3052
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n","filename":"test_16_11fail","resourceType":"FORM"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 12ms
- Mean size per request: 172B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokene9f84859-32ea-4e13-94e2-c6756c59f99e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2743
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"molestiae_1715161902975\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"test_16_11fail","resourceType":"BPMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length172
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000022","message":"Esiste già una risorsa aggiuntiva per processo con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 7ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token63ff67e8-8b2f-4ee0-8628-4c893107f3e6
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2742
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"molestiae_1715161902975\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n","filename":"test_16_11fail","resourceType":"DMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 11ms
- Mean size per request: 172B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token0846f734-a3be-490d-a104-e9afaedd84a8
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length1115
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platforms\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}","filename":"test_16_11fail","resourceType":"FORM"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length172
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000022","message":"Esiste già una risorsa aggiuntiva per processo con la stessa chiave di definizione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 7ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token364f525a-daf2-4008-a2a6-3065d2d8efe0
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length1111
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platform\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}","filename":"test_16_fail","resourceType":"DMN"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: GET
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/workflow-resource
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 14ms
- Mean size per request: 2.75KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token0f948f00-cebb-4da1-9f06-9fa5f71f9f52
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length2820
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
[{"workflowResourceId":"1431eae2-8e63-452d-999b-d53a21339af2","deployedFileName":"Decision 1","definitionKey":"sit_1715161900440","status":"DEPLOYED","sha256":"67a1b2a6efbe78eef2c4d42b1d18fceedfc2281ce1bae17f39f92d6f044cf43c","enabled":true,"definitionVersionCamunda":1,"camundaDefinitionId":"Decision_11a8wyt:1:6d1948e9-7ee8-11ee-b31a-0242ac110004","description":null,"resourceFile":{"id":"6ed97287-210c-4b02-9541-d44b1c4444b0","resourceType":"DMN","storageKey":"WORKFLOW_RESOURCE/DMN/files/UUID/1431eae2-8e63-452d-999b-d53a21339af2/demo_0611_1.dmn","fileName":"demo_0611_1","extension":"dmn","createdAt":"2024-05-08T09:51:40.484+00:00","lastUpdatedAt":"2024-05-08T09:51:40.484+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"diagram_2.dmn","resourceType":"DMN","deploymentId":"6d0bb455-7ee8-11ee-b31a-0242ac110004","createdAt":"2024-05-08T09:51:40.482+00:00","lastUpdatedAt":"2024-05-08T09:51:46.517+00:00","createdBy":null,"lastUpdatedBy":null},{"workflowResourceId":"7ae5d1ed-8e1c-4f3d-865a-f36d207e291c","deployedFileName":"DEPLOYED_NAME","definitionKey":"molestiae_1715161902975","status":"DEPLOYED","sha256":"f1706fec5702bd55c40d0f685201f4e12ab846a8d41c8b915dd5488fee06a8cb","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"e6d95c0b-24b8-4fce-9602-f8601cd23513","resourceType":"BPMN","storageKey":"WORKFLOW_RESOURCE/BPMN/files/UUID/7ae5d1ed-8e1c-4f3d-865a-f36d207e291c/demo_bpmn.bpmn","fileName":"demo_bpmn","extension":"bpmn","createdAt":"2024-05-08T09:51:43.009+00:00","lastUpdatedAt":"2024-05-08T09:51:43.010+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","resourceType":"BPMN","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:43.008+00:00","lastUpdatedAt":"2024-05-08T09:51:46.566+00:00","createdBy":null,"lastUpdatedBy":null},{"workflowResourceId":"71074dc3-f7e0-4c0f-bb29-698d2b41191c","deployedFileName":"form_1","definitionKey":"veniam_1715161904705","status":"DEPLOYED","sha256":"662d5cfa9fa43f3b5bb49ab7d15553d5bc6b1b1946c283e6101fd456d9f019ba","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"9698b894-92e5-4f8b-8da2-09245098c912","resourceType":"FORM","storageKey":"WORKFLOW_RESOURCE/FORM/files/UUID/71074dc3-f7e0-4c0f-bb29-698d2b41191c/demo_0611_1.json","fileName":"demo_0611_1","extension":"json","createdAt":"2024-05-08T09:51:44.740+00:00","lastUpdatedAt":"2024-05-08T09:51:44.740+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"FORM","deploymentId":"88ed28b5-839a-11ee-a647-0242ac110004","createdAt":"2024-05-08T09:51:44.738+00:00","lastUpdatedAt":"2024-05-08T09:51:46.620+00:00","createdBy":null,"lastUpdatedBy":null}]
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 38ms
- Mean size per request: 655B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token61e8197a-82eb-4dd9-9c87-1cbda33804f9
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length595
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<!DOCTYPE html>\n<html>\n<body>\n<h1>soluta_1715161907734</h1>\n<p>My first paragraph.</p>\n\n</body>\n</html>","filename":"non.html","resourceType":"HTML","path":""}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length655
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"3965bc34-7987-440e-8ed4-52913b34001c","sha256":"bcaf1c2443ceab2b97db07c8d1505d325f69014c5f7a4a1dd32950f6554c1990","enabled":true,"noDeployableResourceType":"HTML","createdAt":"2024-05-08T09:51:47.768+00:00","lastUpdatedAt":"2024-05-08T09:51:47.768+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"c032b676-2281-42d1-81b6-8b83d42a1c20","resourceType":"HTML","storageKey":"RESOURCE/files/HTML/non.html","fileName":"non","extension":"html","createdAt":"2024-05-08T09:51:47.769+00:00","lastUpdatedAt":"2024-05-08T09:51:47.769+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 7ms
- Mean size per request: 655B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token45cc6319-6e03-4296-b100-543df14d5b40
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length655
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"3965bc34-7987-440e-8ed4-52913b34001c","sha256":"bcaf1c2443ceab2b97db07c8d1505d325f69014c5f7a4a1dd32950f6554c1990","enabled":true,"noDeployableResourceType":"HTML","createdAt":"2024-05-08T09:51:47.768+00:00","lastUpdatedAt":"2024-05-08T09:51:47.768+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"c032b676-2281-42d1-81b6-8b83d42a1c20","resourceType":"HTML","storageKey":"RESOURCE/files/HTML/non.html","fileName":"non","extension":"html","createdAt":"2024-05-08T09:51:47.769+00:00","lastUpdatedAt":"2024-05-08T09:51:47.769+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 11ms
- Mean size per request: 136B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokena12fcf3c-669b-409e-9a7c-f978d45549cb
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length597
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<!DOCTYPE html>\n<html>\n<body>\n<h1>soluta_1715161907734</h1>\n<p>My first paragraph.</p>\n\n</body>\n</html>","filename":"nihil.html","resourceType":"HTML","path":""}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length136
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000019","message":"Esiste già una risorsa con lo stesso contenuto","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 26ms
- Mean size per request: 680B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token3ba4d099-6ee6-4372-8fac-4427e90f022e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length610
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<!DOCTYPE html>\n<html>\n<body>\n<h1>nisi_1715161909348</h1>\n<p>My first paragraph.</p>\n\n</body>\n</html>","filename":"doloremque.html","resourceType":"HTML","path":"enim/alias"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length680
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"24be8ee6-b7e3-4761-8ff9-8ae01f3171c5","sha256":"1807f092aed864715d3d89ce561594c4ea900134bf52d96482a4fa914c962c85","enabled":true,"noDeployableResourceType":"HTML","createdAt":"2024-05-08T09:51:49.372+00:00","lastUpdatedAt":"2024-05-08T09:51:49.372+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"1568f565-b24a-4dc3-bc15-e61825f17dcc","resourceType":"HTML","storageKey":"RESOURCE/files/HTML/enim/alias/doloremque.html","fileName":"doloremque","extension":"html","createdAt":"2024-05-08T09:51:49.373+00:00","lastUpdatedAt":"2024-05-08T09:51:49.373+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 136B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokende497b68-7a1f-4da1-8e6e-863e9c5690ca
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length610
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<!DOCTYPE html>\n<html>\n<body>\n<h1>nisi_1715161909348</h1>\n<p>My first paragraph.</p>\n\n</body>\n</html>","filename":"doloremque.html","resourceType":"HTML","path":"enim/alias"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length136
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000019","message":"Esiste già una risorsa con lo stesso contenuto","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 35ms
- Mean size per request: 658B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token7f47fbcc-2e92-4a88-990a-d1b19ee4a227
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length510
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"sunt_1715161910187","filename":"sit.txt","resourceType":"OTHER","path":""}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length658
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"36ace6c1-fc47-4c03-9b02-a5b385b04ce9","sha256":"24c06453608f0f148f2fce12e0fac27575fb9bec7d340cf16d47e25ae2106b43","enabled":true,"noDeployableResourceType":"OTHER","createdAt":"2024-05-08T09:51:50.221+00:00","lastUpdatedAt":"2024-05-08T09:51:50.221+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"b25b5070-83f2-4e50-93fc-0da1eb31593f","resourceType":"OTHER","storageKey":"RESOURCE/files/OTHER/sit.txt","fileName":"sit","extension":"other","createdAt":"2024-05-08T09:51:50.222+00:00","lastUpdatedAt":"2024-05-08T09:51:50.222+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 7ms
- Mean size per request: 658B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token1a7b5859-a16f-4b84-b4ee-e114af526473
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length658
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"36ace6c1-fc47-4c03-9b02-a5b385b04ce9","sha256":"24c06453608f0f148f2fce12e0fac27575fb9bec7d340cf16d47e25ae2106b43","enabled":true,"noDeployableResourceType":"OTHER","createdAt":"2024-05-08T09:51:50.221+00:00","lastUpdatedAt":"2024-05-08T09:51:50.221+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"b25b5070-83f2-4e50-93fc-0da1eb31593f","resourceType":"OTHER","storageKey":"RESOURCE/files/OTHER/sit.txt","fileName":"sit","extension":"other","createdAt":"2024-05-08T09:51:50.222+00:00","lastUpdatedAt":"2024-05-08T09:51:50.222+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 11ms
- Mean size per request: 136B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenf6f2605e-194e-4f3f-8abb-b7a5c2c1604c
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length518
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"sunt_1715161910187","filename":"accusamus.other","resourceType":"OTHER","path":""}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length136
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000019","message":"Esiste già una risorsa con lo stesso contenuto","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 25ms
- Mean size per request: 679B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenb1da89e9-fd45-4d58-90fb-190b7a55e5ab
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length526
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"vero_1715161911844","filename":"dolores.txt","resourceType":"OTHER","path":"dolorum/quas"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length679
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"5e057372-44a9-4f63-bd09-afaf7d8b3e02","sha256":"aec65670676be05fe175d9a4838af4421e293dfe09a1be6f4c4e64a3d04d7b4f","enabled":true,"noDeployableResourceType":"OTHER","createdAt":"2024-05-08T09:51:51.868+00:00","lastUpdatedAt":"2024-05-08T09:51:51.868+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"c65a4cf8-6b0b-4eed-b010-c340f94f2e94","resourceType":"OTHER","storageKey":"RESOURCE/files/OTHER/dolorum/quas/dolores.txt","fileName":"dolores","extension":"other","createdAt":"2024-05-08T09:51:51.870+00:00","lastUpdatedAt":"2024-05-08T09:51:51.870+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: POST
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 10ms
- Mean size per request: 136B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token0329a31b-8a5d-4f32-a666-759258505803
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length521
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"vero_1715161911844","filename":"et.html","resourceType":"HTML","path":"dolorum/quas"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length136
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000019","message":"Esiste già una risorsa con lo stesso contenuto","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400200
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
Request Information
- Request Method: GET
- Request URL: http://host.testcontainers.internal:8086/api/v1/model/resources
-
-
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 13ms
- Mean size per request: 2.61KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token81dd1db3-c1f3-4449-9d0d-31d84f6a6acc
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length2677
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
[{"resourceId":"3965bc34-7987-440e-8ed4-52913b34001c","sha256":"bcaf1c2443ceab2b97db07c8d1505d325f69014c5f7a4a1dd32950f6554c1990","enabled":true,"noDeployableResourceType":"HTML","createdAt":"2024-05-08T09:51:47.768+00:00","lastUpdatedAt":"2024-05-08T09:51:47.768+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"c032b676-2281-42d1-81b6-8b83d42a1c20","resourceType":"HTML","storageKey":"RESOURCE/files/HTML/non.html","fileName":"non","extension":"html","createdAt":"2024-05-08T09:51:47.769+00:00","lastUpdatedAt":"2024-05-08T09:51:47.769+00:00","createdBy":null,"lastUpdatedBy":null},"description":null},{"resourceId":"24be8ee6-b7e3-4761-8ff9-8ae01f3171c5","sha256":"1807f092aed864715d3d89ce561594c4ea900134bf52d96482a4fa914c962c85","enabled":true,"noDeployableResourceType":"HTML","createdAt":"2024-05-08T09:51:49.372+00:00","lastUpdatedAt":"2024-05-08T09:51:49.372+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"1568f565-b24a-4dc3-bc15-e61825f17dcc","resourceType":"HTML","storageKey":"RESOURCE/files/HTML/enim/alias/doloremque.html","fileName":"doloremque","extension":"html","createdAt":"2024-05-08T09:51:49.373+00:00","lastUpdatedAt":"2024-05-08T09:51:49.373+00:00","createdBy":null,"lastUpdatedBy":null},"description":null},{"resourceId":"36ace6c1-fc47-4c03-9b02-a5b385b04ce9","sha256":"24c06453608f0f148f2fce12e0fac27575fb9bec7d340cf16d47e25ae2106b43","enabled":true,"noDeployableResourceType":"OTHER","createdAt":"2024-05-08T09:51:50.221+00:00","lastUpdatedAt":"2024-05-08T09:51:50.221+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"b25b5070-83f2-4e50-93fc-0da1eb31593f","resourceType":"OTHER","storageKey":"RESOURCE/files/OTHER/sit.txt","fileName":"sit","extension":"other","createdAt":"2024-05-08T09:51:50.222+00:00","lastUpdatedAt":"2024-05-08T09:51:50.222+00:00","createdBy":null,"lastUpdatedBy":null},"description":null},{"resourceId":"5e057372-44a9-4f63-bd09-afaf7d8b3e02","sha256":"aec65670676be05fe175d9a4838af4421e293dfe09a1be6f4c4e64a3d04d7b4f","enabled":true,"noDeployableResourceType":"OTHER","createdAt":"2024-05-08T09:51:51.868+00:00","lastUpdatedAt":"2024-05-08T09:51:51.868+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"c65a4cf8-6b0b-4eed-b010-c340f94f2e94","resourceType":"OTHER","storageKey":"RESOURCE/files/OTHER/dolorum/quas/dolores.txt","fileName":"dolores","extension":"other","createdAt":"2024-05-08T09:51:51.870+00:00","lastUpdatedAt":"2024-05-08T09:51:51.870+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}]
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 15ms
- Mean size per request: 768B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token6692690c-5f58-4e01-bd9b-d853cc0b2161
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length768
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"page":0,"limit":10,"itemsFound":1,"totalPages":1,"results":[{"resourceId":"24be8ee6-b7e3-4761-8ff9-8ae01f3171c5","sha256":"1807f092aed864715d3d89ce561594c4ea900134bf52d96482a4fa914c962c85","enabled":true,"noDeployableResourceType":"HTML","createdAt":"2024-05-08T09:51:49.372+00:00","lastUpdatedAt":"2024-05-08T09:51:49.372+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFileId":"1568f565-b24a-4dc3-bc15-e61825f17dcc","resourceType":"HTML","storageKey":"RESOURCE/files/HTML/enim/alias/doloremque.html","fileName":"doloremque","extension":"html","resourceFileCreatedAt":"2024-05-08T09:51:49.373+00:00","resourceFileLastUpdatedAt":"2024-05-08T09:51:49.373+00:00","resourceFileCreatedBy":null,"resourceFileLastUpdatedBy":null}]}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
One file meets filters100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 189B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token992e37ec-ed25-49f5-b3f9-022ce6add04b
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length159
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":""}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length189
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000029","message":"La risorsa con Id 8067c953-903b-4048-9d50-fd9453d82d74 non esiste: impossibile aggiornarla","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 116B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token6e400f1c-1f51-49e0-9092-1d682ab20066
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length260
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<!DOCTYPE html>\n<html>\n<body>\n<h1>nisi_1715161909348</h1>\n<p>My first paragraph.</p>\n\n</body>\n</html>"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length116
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000019","message":"La risorsa è già presente","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 8ms
- Mean size per request: 189B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenbc2c1c36-46a3-4a10-878b-8d8168edb1a2
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length159
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":""}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length189
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000029","message":"La risorsa con Id 8067c953-903b-4048-9d50-fd9453d82d74 non esiste: impossibile aggiornarla","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 116B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token2403621d-5bc6-4b44-8c75-2afd6692097c
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length177
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"vero_1715161911844"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length116
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000019","message":"La risorsa è già presente","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 21ms
- Mean size per request: 680B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token3fe953cd-73c3-4131-9ae7-f3543e398c83
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length260
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<!DOCTYPE html>\n<html>\n<body>\n<h1>quia_1715161913638</h1>\n<p>My first paragraph.</p>\n\n</body>\n</html>"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length680
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"24be8ee6-b7e3-4761-8ff9-8ae01f3171c5","sha256":"b183b2450cc1275ca6cc9a3f7bcdae524e56e800ae2da07505661a13a8656246","enabled":true,"noDeployableResourceType":"HTML","createdAt":"2024-05-08T09:51:49.372+00:00","lastUpdatedAt":"2024-05-08T09:51:53.658+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"1568f565-b24a-4dc3-bc15-e61825f17dcc","resourceType":"HTML","storageKey":"RESOURCE/files/HTML/enim/alias/doloremque.html","fileName":"doloremque","extension":"html","createdAt":"2024-05-08T09:51:49.373+00:00","lastUpdatedAt":"2024-05-08T09:51:53.660+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
right id200
Total400
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 7ms
- Mean size per request: 680B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token6d419c3f-2580-4e67-97dd-1119d28ef655
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length680
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"24be8ee6-b7e3-4761-8ff9-8ae01f3171c5","sha256":"b183b2450cc1275ca6cc9a3f7bcdae524e56e800ae2da07505661a13a8656246","enabled":true,"noDeployableResourceType":"HTML","createdAt":"2024-05-08T09:51:49.372+00:00","lastUpdatedAt":"2024-05-08T09:51:53.658+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"1568f565-b24a-4dc3-bc15-e61825f17dcc","resourceType":"HTML","storageKey":"RESOURCE/files/HTML/enim/alias/doloremque.html","fileName":"doloremque","extension":"html","createdAt":"2024-05-08T09:51:49.373+00:00","lastUpdatedAt":"2024-05-08T09:51:53.660+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 21ms
- Mean size per request: 679B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token22a8d6d2-94cc-48b2-8f1e-24347a65b68e
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length178
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"quasi_1715161914483"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length679
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"5e057372-44a9-4f63-bd09-afaf7d8b3e02","sha256":"ba572717f17eca0e815f7a4e62a3b5f4e972bb60db56163db52ce2313c11a4c4","enabled":true,"noDeployableResourceType":"OTHER","createdAt":"2024-05-08T09:51:51.868+00:00","lastUpdatedAt":"2024-05-08T09:51:54.504+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"c65a4cf8-6b0b-4eed-b010-c340f94f2e94","resourceType":"OTHER","storageKey":"RESOURCE/files/OTHER/dolorum/quas/dolores.txt","fileName":"dolores","extension":"other","createdAt":"2024-05-08T09:51:51.870+00:00","lastUpdatedAt":"2024-05-08T09:51:54.506+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200200
right id200
Total400
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 7ms
- Mean size per request: 679B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokenec525269-7550-4dd8-a45d-546fab756c52
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length679
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"resourceId":"5e057372-44a9-4f63-bd09-afaf7d8b3e02","sha256":"ba572717f17eca0e815f7a4e62a3b5f4e972bb60db56163db52ce2313c11a4c4","enabled":true,"noDeployableResourceType":"OTHER","createdAt":"2024-05-08T09:51:51.868+00:00","lastUpdatedAt":"2024-05-08T09:51:54.504+00:00","createdBy":null,"lastUpdatedBy":null,"cdnUrl":"http://cdn.example.com/","resourceFile":{"id":"c65a4cf8-6b0b-4eed-b010-c340f94f2e94","resourceType":"OTHER","storageKey":"RESOURCE/files/OTHER/dolorum/quas/dolores.txt","fileName":"dolores","extension":"other","createdAt":"2024-05-08T09:51:51.870+00:00","lastUpdatedAt":"2024-05-08T09:51:54.506+00:00","createdBy":null,"lastUpdatedBy":null},"description":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 12ms
- Mean size per request: 134B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token2ee164e8-e3c9-49fc-9721-48fb98314d74
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2816
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length134
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000032","message":"Risorsa aggiuntiva per processo già presente","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenb33c3145-d83a-4941-935b-9b02117c627a
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length878
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platform\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 11ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenb379e73d-50ca-45ac-9036-208dda8fa5b9
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length159
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":""}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 26ms
- Mean size per request: 972B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenad6f1adb-9d41-48aa-9bdd-3eeb9135ed11
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2819
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente V2\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length972
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"1431eae2-8e63-452d-999b-d53a21339af2","deployedFileName":"Decision 1","definitionKey":"sit_1715161900440","status":"UPDATED_BUT_NOT_DEPLOYED","sha256":"06b6fc9627a87ed8f3351636ba956b6bdd0a20c731f9fa9ff50b9e20575e7b18","enabled":true,"definitionVersionCamunda":1,"camundaDefinitionId":"Decision_11a8wyt:1:6d1948e9-7ee8-11ee-b31a-0242ac110004","description":null,"resourceFile":{"id":"6ed97287-210c-4b02-9541-d44b1c4444b0","resourceType":"DMN","storageKey":"WORKFLOW_RESOURCE/DMN/files/UUID/1431eae2-8e63-452d-999b-d53a21339af2/demo_0611_1.dmn","fileName":"demo_0611_1","extension":"dmn","createdAt":"2024-05-08T09:51:40.484+00:00","lastUpdatedAt":"2024-05-08T09:51:54.709+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"diagram_2.dmn","resourceType":"DMN","deploymentId":"6d0bb455-7ee8-11ee-b31a-0242ac110004","createdAt":"2024-05-08T09:51:40.482+00:00","lastUpdatedAt":"2024-05-08T09:51:54.711+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
right definition key100
Total300
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 8ms
- Mean size per request: 972B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token2a426d84-5ab6-4df9-bc25-58dac02363ce
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length972
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"1431eae2-8e63-452d-999b-d53a21339af2","deployedFileName":"Decision 1","definitionKey":"sit_1715161900440","status":"UPDATED_BUT_NOT_DEPLOYED","sha256":"06b6fc9627a87ed8f3351636ba956b6bdd0a20c731f9fa9ff50b9e20575e7b18","enabled":true,"definitionVersionCamunda":1,"camundaDefinitionId":"Decision_11a8wyt:1:6d1948e9-7ee8-11ee-b31a-0242ac110004","description":null,"resourceFile":{"id":"6ed97287-210c-4b02-9541-d44b1c4444b0","resourceType":"DMN","storageKey":"WORKFLOW_RESOURCE/DMN/files/UUID/1431eae2-8e63-452d-999b-d53a21339af2/demo_0611_1.dmn","fileName":"demo_0611_1","extension":"dmn","createdAt":"2024-05-08T09:51:40.484+00:00","lastUpdatedAt":"2024-05-08T09:51:54.709+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"diagram_2.dmn","resourceType":"DMN","deploymentId":"6d0bb455-7ee8-11ee-b31a-0242ac110004","createdAt":"2024-05-08T09:51:40.482+00:00","lastUpdatedAt":"2024-05-08T09:51:54.711+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 13ms
- Mean size per request: 134B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token86fa4855-a544-4268-9e0d-7699db088de3
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2507
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"molestiae_1715161902975\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length134
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000032","message":"Risorsa aggiuntiva per processo già presente","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 10ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token9ed4c813-38d9-4ad7-8037-406b07a879d5
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2816
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 10ms
- Mean size per request: 255B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token5cd074d7-f67a-4c2c-9662-67104612535d
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2504
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"veniam_1715161904705\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length255
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_UPDATABLE","errorCode":"ATMLM_4000030","message":"La chiave di definizione nella tua risorsa aggiuntiva per processo: veniam_1715161904705 non corrisponde alla risorsa aggiuntiva per processo che stai tentando di aggiornare","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 25ms
- Mean size per request: 977B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenc86523e3-afce-4d3c-bdc1-f918b684028f
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2506
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0hfksvi\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.16.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.20.0\">\n  <bpmn:process id=\"molestiae_1715161902975\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n    <bpmn:startEvent id=\"StartEvent_1\">\n      <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>\n    </bpmn:startEvent>\n    <bpmn:task id=\"Activity_0hsnyv1\" name=\"Esempio 2\">\n      <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>\n      <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>\n    </bpmn:task>\n    <bpmn:sequenceFlow id=\"Flow_0rtxipq\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_0hsnyv1\" />\n    <bpmn:endEvent id=\"Event_0gcfha5\">\n      <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>\n    </bpmn:endEvent>\n    <bpmn:sequenceFlow id=\"Flow_0d1f1hn\" sourceRef=\"Activity_0hsnyv1\" targetRef=\"Event_0gcfha5\" />\n  </bpmn:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"demo_0611_1\">\n      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n        <dc:Bounds x=\"179\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_0hsnyv1_di\" bpmnElement=\"Activity_0hsnyv1\">\n        <dc:Bounds x=\"270\" y=\"77\" width=\"100\" height=\"80\" />\n        <bpmndi:BPMNLabel />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0gcfha5_di\" bpmnElement=\"Event_0gcfha5\">\n        <dc:Bounds x=\"432\" y=\"99\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNEdge id=\"Flow_0rtxipq_di\" bpmnElement=\"Flow_0rtxipq\">\n        <di:waypoint x=\"215\" y=\"117\" />\n        <di:waypoint x=\"270\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_0d1f1hn_di\" bpmnElement=\"Flow_0d1f1hn\">\n        <di:waypoint x=\"370\" y=\"117\" />\n        <di:waypoint x=\"432\" y=\"117\" />\n      </bpmndi:BPMNEdge>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn:definitions>"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length977
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"7ae5d1ed-8e1c-4f3d-865a-f36d207e291c","deployedFileName":"DEPLOYED_NAME","definitionKey":"molestiae_1715161902975","status":"UPDATED_BUT_NOT_DEPLOYED","sha256":"eb88bedafa0618a4b827257d69ecf14a9b2dbc310fc11c000f749fea460be8b9","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"e6d95c0b-24b8-4fce-9602-f8601cd23513","resourceType":"BPMN","storageKey":"WORKFLOW_RESOURCE/BPMN/files/UUID/7ae5d1ed-8e1c-4f3d-865a-f36d207e291c/demo_bpmn.bpmn","fileName":"demo_bpmn","extension":"bpmn","createdAt":"2024-05-08T09:51:43.009+00:00","lastUpdatedAt":"2024-05-08T09:51:54.910+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","resourceType":"BPMN","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:43.008+00:00","lastUpdatedAt":"2024-05-08T09:51:54.912+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
right definition key100
Total300
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 6ms
- Mean size per request: 977B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokene1e3e347-08e7-4871-be51-601c779baf93
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length977
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"7ae5d1ed-8e1c-4f3d-865a-f36d207e291c","deployedFileName":"DEPLOYED_NAME","definitionKey":"molestiae_1715161902975","status":"UPDATED_BUT_NOT_DEPLOYED","sha256":"eb88bedafa0618a4b827257d69ecf14a9b2dbc310fc11c000f749fea460be8b9","enabled":true,"definitionVersionCamunda":2,"camundaDefinitionId":"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5","description":null,"resourceFile":{"id":"e6d95c0b-24b8-4fce-9602-f8601cd23513","resourceType":"BPMN","storageKey":"WORKFLOW_RESOURCE/BPMN/files/UUID/7ae5d1ed-8e1c-4f3d-865a-f36d207e291c/demo_bpmn.bpmn","fileName":"demo_bpmn","extension":"bpmn","createdAt":"2024-05-08T09:51:43.009+00:00","lastUpdatedAt":"2024-05-08T09:51:54.910+00:00","createdBy":null,"lastUpdatedBy":null},"resource":"DEMO_11_06.bpmn","resourceType":"BPMN","deploymentId":"ffb8aa67-7708-11ee-b684-b266d188abc5","createdAt":"2024-05-08T09:51:43.008+00:00","lastUpdatedAt":"2024-05-08T09:51:54.912+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 134B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokence63f4ae-9dd1-41e5-999e-c8cd9e7d8eff
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length878
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platform\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length134
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"CONSTRAINT_VIOLATION","errorCode":"ATMLM_4000032","message":"Risorsa aggiuntiva per processo già presente","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenc6530cf3-4318-4c28-ac81-acccda61c237
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length2816
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\" xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" xmlns:camunda=\"http://camunda.org/schema/1.0/dmn\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"Definitions_0h2c0fp\" name=\"DRD\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.15.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.19.0\">\n  <decision id=\"sit_1715161900440\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n    <decisionTable id=\"DecisionTable_13hb3fb\" hitPolicy=\"FIRST\">\n      <input id=\"InputClause_009uoi3\" label=\"Codice Atto\" camunda:inputVariable=\"codiceAtto\">\n        <inputExpression id=\"LiteralExpression_1snm131\" typeRef=\"string\" expressionLanguage=\"feel\" />\n        <inputValues id=\"UnaryTests_0jpbt5b\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <input id=\"InputClause_0m4r5ka\" label=\"Codice Ente\" camunda:inputVariable=\"codiceEnte\">\n        <inputExpression id=\"LiteralExpression_1dlwe9t\" typeRef=\"string\" expressionLanguage=\"feel\">\n          <text></text>\n        </inputExpression>\n        <inputValues id=\"UnaryTests_16h6p1u\">\n          <text>\"\"</text>\n        </inputValues>\n      </input>\n      <output id=\"OutputClause_0dpaann\" label=\"result\" name=\"result\" typeRef=\"boolean\" biodi:width=\"192\" />\n      <rule id=\"DecisionRule_0pi97az\">\n        <description>codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] </description>\n        <inputEntry id=\"UnaryTests_02vq5sr\">\n          <text>matches(?, \"^\\d{8,18}$\")</text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_0jr62v1\">\n          <text>matches(?, \"^\\d{11,13}$\")</text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1bpw6k9\">\n          <text>true</text>\n        </outputEntry>\n      </rule>\n      <rule id=\"DecisionRule_16kj2mn\">\n        <inputEntry id=\"UnaryTests_1nlln3s\">\n          <text></text>\n        </inputEntry>\n        <inputEntry id=\"UnaryTests_1cijw88\">\n          <text></text>\n        </inputEntry>\n        <outputEntry id=\"LiteralExpression_1nsxm2l\">\n          <text>false</text>\n        </outputEntry>\n      </rule>\n    </decisionTable>\n  </decision>\n  <dmndi:DMNDI>\n    <dmndi:DMNDiagram>\n      <dmndi:DMNShape id=\"DMNShape_07gqxj7\" dmnElementRef=\"ValidazioneAttoEnte\">\n        <dc:Bounds height=\"80\" width=\"180\" x=\"160\" y=\"80\" />\n      </dmndi:DMNShape>\n    </dmndi:DMNDiagram>\n  </dmndi:DMNDI>\n</definitions>\n"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 201B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokenede52efb-1161-4a6a-988e-04266d98af7a
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length159
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":""}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length201
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_VALID_FILE","errorCode":"ATMLM_4000014","message":"Impossibile estrarre la definitionKey: il file caricato è malformato o è stato selezionato il tipo di file sbagliato","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 24ms
- Mean size per request: 915B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Content-Typemultipart/form-data
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokena4de80ea-da31-4994-939f-bef7f967ffb4
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length879
-
-
-
-
-
-
-
-
-
-
-
-
Request Body
-
-
{"file":"{\n  \"components\": [\n    {\n      \"label\": \"Number\",\n      \"type\": \"number\",\n      \"layout\": {\n        \"row\": \"Row_00m0vu6\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0lkf78b\",\n      \"key\": \"number_b2b7qe\"\n    },\n    {\n      \"subtype\": \"date\",\n      \"dateLabel\": \"Date\",\n      \"label\": \"Date time\",\n      \"type\": \"datetime\",\n      \"layout\": {\n        \"row\": \"Row_0hcja9h\",\n        \"columns\": null\n      },\n      \"id\": \"Field_0kn2898\",\n      \"key\": \"datetime_f4rwi\"\n    }\n  ],\n  \"type\": \"default\",\n  \"id\": \"veniam_1715161904705\",\n  \"exporter\": {\n    \"name\": \"Camunda Modeler\",\n    \"version\": \"5.16.0\"\n  },\n  \"executionPlatform\": \"Camunda Platforms\",\n  \"executionPlatformVersion\": \"7.20.0\",\n  \"schemaVersion\": 11\n}"}
-
- -
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length915
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"71074dc3-f7e0-4c0f-bb29-698d2b41191c","deployedFileName":"form_1","definitionKey":"veniam_1715161904705","status":"UPDATED_BUT_NOT_DEPLOYED","sha256":"f3a35ddb41fbeba323b97af9ec562c2c76361b57860d7c06f486374391996598","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"9698b894-92e5-4f8b-8da2-09245098c912","resourceType":"FORM","storageKey":"WORKFLOW_RESOURCE/FORM/files/UUID/71074dc3-f7e0-4c0f-bb29-698d2b41191c/demo_0611_1.json","fileName":"demo_0611_1","extension":"json","createdAt":"2024-05-08T09:51:44.740+00:00","lastUpdatedAt":"2024-05-08T09:51:55.101+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"FORM","deploymentId":"88ed28b5-839a-11ee-a647-0242ac110004","createdAt":"2024-05-08T09:51:44.738+00:00","lastUpdatedAt":"2024-05-08T09:51:55.102+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
right definition key100
Total300
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 8ms
- Mean size per request: 915B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token2c96b46c-7395-4c54-a51d-7b7c8fa200d9
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length915
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"workflowResourceId":"71074dc3-f7e0-4c0f-bb29-698d2b41191c","deployedFileName":"form_1","definitionKey":"veniam_1715161904705","status":"UPDATED_BUT_NOT_DEPLOYED","sha256":"f3a35ddb41fbeba323b97af9ec562c2c76361b57860d7c06f486374391996598","enabled":true,"definitionVersionCamunda":null,"camundaDefinitionId":null,"description":null,"resourceFile":{"id":"9698b894-92e5-4f8b-8da2-09245098c912","resourceType":"FORM","storageKey":"WORKFLOW_RESOURCE/FORM/files/UUID/71074dc3-f7e0-4c0f-bb29-698d2b41191c/demo_0611_1.json","fileName":"demo_0611_1","extension":"json","createdAt":"2024-05-08T09:51:44.740+00:00","lastUpdatedAt":"2024-05-08T09:51:55.101+00:00","createdBy":null,"lastUpdatedBy":null},"resource":null,"resourceType":"FORM","deploymentId":"88ed28b5-839a-11ee-a647-0242ac110004","createdAt":"2024-05-08T09:51:44.738+00:00","lastUpdatedAt":"2024-05-08T09:51:55.102+00:00","createdBy":null,"lastUpdatedBy":null}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
right id100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 43ms
- Mean size per request: 2.29KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token17b7b7ab-5de9-458d-8e83-1da766b60bbb
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/octet-stream
transfer-encodingchunked
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
<?xml version="1.0" encoding="UTF-8"?>
-        <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0hfksvi" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.16.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.20.0">
-          <bpmn:process id="inventore_1715161896056" isExecutable="true" camunda:historyTimeToLive="180">
-            <bpmn:startEvent id="StartEvent_1">
-              <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>
-            </bpmn:startEvent>
-            <bpmn:task id="Activity_0hsnyv1" name="Esempio 2">
-              <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>
-              <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>
-            </bpmn:task>
-            <bpmn:sequenceFlow id="Flow_0rtxipq" sourceRef="StartEvent_1" targetRef="Activity_0hsnyv1" />
-            <bpmn:endEvent id="Event_0gcfha5">
-              <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>
-            </bpmn:endEvent>
-            <bpmn:sequenceFlow id="Flow_0d1f1hn" sourceRef="Activity_0hsnyv1" targetRef="Event_0gcfha5" />
-          </bpmn:process>
-          <bpmndi:BPMNDiagram id="BPMNDiagram_1">
-            <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="demo_0611_1">
-              <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
-                <dc:Bounds x="179" y="99" width="36" height="36" />
-              </bpmndi:BPMNShape>
-              <bpmndi:BPMNShape id="Activity_0hsnyv1_di" bpmnElement="Activity_0hsnyv1">
-                <dc:Bounds x="270" y="77" width="100" height="80" />
-                <bpmndi:BPMNLabel />
-              </bpmndi:BPMNShape>
-              <bpmndi:BPMNShape id="Event_0gcfha5_di" bpmnElement="Event_0gcfha5">
-                <dc:Bounds x="432" y="99" width="36" height="36" />
-              </bpmndi:BPMNShape>
-              <bpmndi:BPMNEdge id="Flow_0rtxipq_di" bpmnElement="Flow_0rtxipq">
-                <di:waypoint x="215" y="117" />
-                <di:waypoint x="270" y="117" />
-              </bpmndi:BPMNEdge>
-              <bpmndi:BPMNEdge id="Flow_0d1f1hn_di" bpmnElement="Flow_0d1f1hn">
-                <di:waypoint x="370" y="117" />
-                <di:waypoint x="432" y="117" />
-              </bpmndi:BPMNEdge>
-            </bpmndi:BPMNPlane>
-          </bpmndi:BPMNDiagram>
-        </bpmn:definitions>
-        
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 16ms
- Mean size per request: 3.08KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/json
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Token9bc0d123-dddd-401f-8465-b0416dbc3a23
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length3150
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"fileContent":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGJwbW46ZGVmaW5pdGlvbnMgeG1sbnM6YnBtbj0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvQlBNTi8yMDEwMDUyNC9NT0RFTCIgeG1sbnM6YnBtbmRpPSJodHRwOi8vd3d3Lm9tZy5vcmcvc3BlYy9CUE1OLzIwMTAwNTI0L0RJIiB4bWxuczpkYz0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvREQvMjAxMDA1MjQvREMiIHhtbG5zOmNhbXVuZGE9Imh0dHA6Ly9jYW11bmRhLm9yZy9zY2hlbWEvMS4wL2JwbW4iIHhtbG5zOmRpPSJodHRwOi8vd3d3Lm9tZy5vcmcvc3BlYy9ERC8yMDEwMDUyNC9ESSIgeG1sbnM6bW9kZWxlcj0iaHR0cDovL2NhbXVuZGEub3JnL3NjaGVtYS9tb2RlbGVyLzEuMCIgaWQ9IkRlZmluaXRpb25zXzBoZmtzdmkiIHRhcmdldE5hbWVzcGFjZT0iaHR0cDovL2JwbW4uaW8vc2NoZW1hL2JwbW4iIGV4cG9ydGVyPSJDYW11bmRhIE1vZGVsZXIiIGV4cG9ydGVyVmVyc2lvbj0iNS4xNi4wIiBtb2RlbGVyOmV4ZWN1dGlvblBsYXRmb3JtPSJDYW11bmRhIFBsYXRmb3JtIiBtb2RlbGVyOmV4ZWN1dGlvblBsYXRmb3JtVmVyc2lvbj0iNy4yMC4wIj4KICA8YnBtbjpwcm9jZXNzIGlkPSJpbnZlbnRvcmVfMTcxNTE2MTg5NjA1NiIgaXNFeGVjdXRhYmxlPSJ0cnVlIiBjYW11bmRhOmhpc3RvcnlUaW1lVG9MaXZlPSIxODAiPgogICAgPGJwbW46c3RhcnRFdmVudCBpZD0iU3RhcnRFdmVudF8xIj4KICAgICAgPGJwbW46b3V0Z29pbmc+Rmxvd18wcnR4aXBxPC9icG1uOm91dGdvaW5nPgogICAgPC9icG1uOnN0YXJ0RXZlbnQ+CiAgICA8YnBtbjp0YXNrIGlkPSJBY3Rpdml0eV8waHNueXYxIiBuYW1lPSJFc2VtcGlvIDIiPgogICAgICA8YnBtbjppbmNvbWluZz5GbG93XzBydHhpcHE8L2JwbW46aW5jb21pbmc+CiAgICAgIDxicG1uOm91dGdvaW5nPkZsb3dfMGQxZjFobjwvYnBtbjpvdXRnb2luZz4KICAgIDwvYnBtbjp0YXNrPgogICAgPGJwbW46c2VxdWVuY2VGbG93IGlkPSJGbG93XzBydHhpcHEiIHNvdXJjZVJlZj0iU3RhcnRFdmVudF8xIiB0YXJnZXRSZWY9IkFjdGl2aXR5XzBoc255djEiIC8+CiAgICA8YnBtbjplbmRFdmVudCBpZD0iRXZlbnRfMGdjZmhhNSI+CiAgICAgIDxicG1uOmluY29taW5nPkZsb3dfMGQxZjFobjwvYnBtbjppbmNvbWluZz4KICAgIDwvYnBtbjplbmRFdmVudD4KICAgIDxicG1uOnNlcXVlbmNlRmxvdyBpZD0iRmxvd18wZDFmMWhuIiBzb3VyY2VSZWY9IkFjdGl2aXR5XzBoc255djEiIHRhcmdldFJlZj0iRXZlbnRfMGdjZmhhNSIgLz4KICA8L2JwbW46cHJvY2Vzcz4KICA8YnBtbmRpOkJQTU5EaWFncmFtIGlkPSJCUE1ORGlhZ3JhbV8xIj4KICAgIDxicG1uZGk6QlBNTlBsYW5lIGlkPSJCUE1OUGxhbmVfMSIgYnBtbkVsZW1lbnQ9ImRlbW9fMDYxMV8xIj4KICAgICAgPGJwbW5kaTpCUE1OU2hhcGUgaWQ9Il9CUE1OU2hhcGVfU3RhcnRFdmVudF8yIiBicG1uRWxlbWVudD0iU3RhcnRFdmVudF8xIj4KICAgICAgICA8ZGM6Qm91bmRzIHg9IjE3OSIgeT0iOTkiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiIgLz4KICAgICAgPC9icG1uZGk6QlBNTlNoYXBlPgogICAgICA8YnBtbmRpOkJQTU5TaGFwZSBpZD0iQWN0aXZpdHlfMGhzbnl2MV9kaSIgYnBtbkVsZW1lbnQ9IkFjdGl2aXR5XzBoc255djEiPgogICAgICAgIDxkYzpCb3VuZHMgeD0iMjcwIiB5PSI3NyIgd2lkdGg9IjEwMCIgaGVpZ2h0PSI4MCIgLz4KICAgICAgICA8YnBtbmRpOkJQTU5MYWJlbCAvPgogICAgICA8L2JwbW5kaTpCUE1OU2hhcGU+CiAgICAgIDxicG1uZGk6QlBNTlNoYXBlIGlkPSJFdmVudF8wZ2NmaGE1X2RpIiBicG1uRWxlbWVudD0iRXZlbnRfMGdjZmhhNSI+CiAgICAgICAgPGRjOkJvdW5kcyB4PSI0MzIiIHk9Ijk5IiB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIC8+CiAgICAgIDwvYnBtbmRpOkJQTU5TaGFwZT4KICAgICAgPGJwbW5kaTpCUE1ORWRnZSBpZD0iRmxvd18wcnR4aXBxX2RpIiBicG1uRWxlbWVudD0iRmxvd18wcnR4aXBxIj4KICAgICAgICA8ZGk6d2F5cG9pbnQgeD0iMjE1IiB5PSIxMTciIC8+CiAgICAgICAgPGRpOndheXBvaW50IHg9IjI3MCIgeT0iMTE3IiAvPgogICAgICA8L2JwbW5kaTpCUE1ORWRnZT4KICAgICAgPGJwbW5kaTpCUE1ORWRnZSBpZD0iRmxvd18wZDFmMWhuX2RpIiBicG1uRWxlbWVudD0iRmxvd18wZDFmMWhuIj4KICAgICAgICA8ZGk6d2F5cG9pbnQgeD0iMzcwIiB5PSIxMTciIC8+CiAgICAgICAgPGRpOndheXBvaW50IHg9IjQzMiIgeT0iMTE3IiAvPgogICAgICA8L2JwbW5kaTpCUE1ORWRnZT4KICAgIDwvYnBtbmRpOkJQTU5QbGFuZT4KICA8L2JwbW5kaTpCUE1ORGlhZ3JhbT4KPC9icG1uOmRlZmluaXRpb25zPgo="}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 15ms
- Mean size per request: 2.29KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Acceptapplication/octet-stream
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Cache-Controlno-cache
Postman-Tokencc93925e-7ad0-4ab0-841c-71477626929b
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - -
Header NameHeader Value
Content-Typeapplication/octet-stream
transfer-encodingchunked
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
<?xml version="1.0" encoding="UTF-8"?>
-        <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0hfksvi" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.16.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.20.0">
-          <bpmn:process id="molestiae_1715161902975" isExecutable="true" camunda:historyTimeToLive="180">
-            <bpmn:startEvent id="StartEvent_1">
-              <bpmn:outgoing>Flow_0rtxipq</bpmn:outgoing>
-            </bpmn:startEvent>
-            <bpmn:task id="Activity_0hsnyv1" name="Esempio 2">
-              <bpmn:incoming>Flow_0rtxipq</bpmn:incoming>
-              <bpmn:outgoing>Flow_0d1f1hn</bpmn:outgoing>
-            </bpmn:task>
-            <bpmn:sequenceFlow id="Flow_0rtxipq" sourceRef="StartEvent_1" targetRef="Activity_0hsnyv1" />
-            <bpmn:endEvent id="Event_0gcfha5">
-              <bpmn:incoming>Flow_0d1f1hn</bpmn:incoming>
-            </bpmn:endEvent>
-            <bpmn:sequenceFlow id="Flow_0d1f1hn" sourceRef="Activity_0hsnyv1" targetRef="Event_0gcfha5" />
-          </bpmn:process>
-          <bpmndi:BPMNDiagram id="BPMNDiagram_1">
-            <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="demo_0611_1">
-              <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
-                <dc:Bounds x="179" y="99" width="36" height="36" />
-              </bpmndi:BPMNShape>
-              <bpmndi:BPMNShape id="Activity_0hsnyv1_di" bpmnElement="Activity_0hsnyv1">
-                <dc:Bounds x="270" y="77" width="100" height="80" />
-                <bpmndi:BPMNLabel />
-              </bpmndi:BPMNShape>
-              <bpmndi:BPMNShape id="Event_0gcfha5_di" bpmnElement="Event_0gcfha5">
-                <dc:Bounds x="432" y="99" width="36" height="36" />
-              </bpmndi:BPMNShape>
-              <bpmndi:BPMNEdge id="Flow_0rtxipq_di" bpmnElement="Flow_0rtxipq">
-                <di:waypoint x="215" y="117" />
-                <di:waypoint x="270" y="117" />
-              </bpmndi:BPMNEdge>
-              <bpmndi:BPMNEdge id="Flow_0d1f1hn_di" bpmnElement="Flow_0d1f1hn">
-                <di:waypoint x="370" y="117" />
-                <di:waypoint x="432" y="117" />
-              </bpmndi:BPMNEdge>
-            </bpmndi:BPMNPlane>
-          </bpmndi:BPMNDiagram>
-        </bpmn:definitions>
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 200 - OK
- Mean time per request: 15ms
- Mean size per request: 3.08KB
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokena751d83f-a228-4f13-8e88-8a3b72be4ba2
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length3150
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json;charset=UTF-8
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"fileContent":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGJwbW46ZGVmaW5pdGlvbnMgeG1sbnM6YnBtbj0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvQlBNTi8yMDEwMDUyNC9NT0RFTCIgeG1sbnM6YnBtbmRpPSJodHRwOi8vd3d3Lm9tZy5vcmcvc3BlYy9CUE1OLzIwMTAwNTI0L0RJIiB4bWxuczpkYz0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvREQvMjAxMDA1MjQvREMiIHhtbG5zOmNhbXVuZGE9Imh0dHA6Ly9jYW11bmRhLm9yZy9zY2hlbWEvMS4wL2JwbW4iIHhtbG5zOmRpPSJodHRwOi8vd3d3Lm9tZy5vcmcvc3BlYy9ERC8yMDEwMDUyNC9ESSIgeG1sbnM6bW9kZWxlcj0iaHR0cDovL2NhbXVuZGEub3JnL3NjaGVtYS9tb2RlbGVyLzEuMCIgaWQ9IkRlZmluaXRpb25zXzBoZmtzdmkiIHRhcmdldE5hbWVzcGFjZT0iaHR0cDovL2JwbW4uaW8vc2NoZW1hL2JwbW4iIGV4cG9ydGVyPSJDYW11bmRhIE1vZGVsZXIiIGV4cG9ydGVyVmVyc2lvbj0iNS4xNi4wIiBtb2RlbGVyOmV4ZWN1dGlvblBsYXRmb3JtPSJDYW11bmRhIFBsYXRmb3JtIiBtb2RlbGVyOmV4ZWN1dGlvblBsYXRmb3JtVmVyc2lvbj0iNy4yMC4wIj4KICA8YnBtbjpwcm9jZXNzIGlkPSJtb2xlc3RpYWVfMTcxNTE2MTkwMjk3NSIgaXNFeGVjdXRhYmxlPSJ0cnVlIiBjYW11bmRhOmhpc3RvcnlUaW1lVG9MaXZlPSIxODAiPgogICAgPGJwbW46c3RhcnRFdmVudCBpZD0iU3RhcnRFdmVudF8xIj4KICAgICAgPGJwbW46b3V0Z29pbmc+Rmxvd18wcnR4aXBxPC9icG1uOm91dGdvaW5nPgogICAgPC9icG1uOnN0YXJ0RXZlbnQ+CiAgICA8YnBtbjp0YXNrIGlkPSJBY3Rpdml0eV8waHNueXYxIiBuYW1lPSJFc2VtcGlvIDIiPgogICAgICA8YnBtbjppbmNvbWluZz5GbG93XzBydHhpcHE8L2JwbW46aW5jb21pbmc+CiAgICAgIDxicG1uOm91dGdvaW5nPkZsb3dfMGQxZjFobjwvYnBtbjpvdXRnb2luZz4KICAgIDwvYnBtbjp0YXNrPgogICAgPGJwbW46c2VxdWVuY2VGbG93IGlkPSJGbG93XzBydHhpcHEiIHNvdXJjZVJlZj0iU3RhcnRFdmVudF8xIiB0YXJnZXRSZWY9IkFjdGl2aXR5XzBoc255djEiIC8+CiAgICA8YnBtbjplbmRFdmVudCBpZD0iRXZlbnRfMGdjZmhhNSI+CiAgICAgIDxicG1uOmluY29taW5nPkZsb3dfMGQxZjFobjwvYnBtbjppbmNvbWluZz4KICAgIDwvYnBtbjplbmRFdmVudD4KICAgIDxicG1uOnNlcXVlbmNlRmxvdyBpZD0iRmxvd18wZDFmMWhuIiBzb3VyY2VSZWY9IkFjdGl2aXR5XzBoc255djEiIHRhcmdldFJlZj0iRXZlbnRfMGdjZmhhNSIgLz4KICA8L2JwbW46cHJvY2Vzcz4KICA8YnBtbmRpOkJQTU5EaWFncmFtIGlkPSJCUE1ORGlhZ3JhbV8xIj4KICAgIDxicG1uZGk6QlBNTlBsYW5lIGlkPSJCUE1OUGxhbmVfMSIgYnBtbkVsZW1lbnQ9ImRlbW9fMDYxMV8xIj4KICAgICAgPGJwbW5kaTpCUE1OU2hhcGUgaWQ9Il9CUE1OU2hhcGVfU3RhcnRFdmVudF8yIiBicG1uRWxlbWVudD0iU3RhcnRFdmVudF8xIj4KICAgICAgICA8ZGM6Qm91bmRzIHg9IjE3OSIgeT0iOTkiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiIgLz4KICAgICAgPC9icG1uZGk6QlBNTlNoYXBlPgogICAgICA8YnBtbmRpOkJQTU5TaGFwZSBpZD0iQWN0aXZpdHlfMGhzbnl2MV9kaSIgYnBtbkVsZW1lbnQ9IkFjdGl2aXR5XzBoc255djEiPgogICAgICAgIDxkYzpCb3VuZHMgeD0iMjcwIiB5PSI3NyIgd2lkdGg9IjEwMCIgaGVpZ2h0PSI4MCIgLz4KICAgICAgICA8YnBtbmRpOkJQTU5MYWJlbCAvPgogICAgICA8L2JwbW5kaTpCUE1OU2hhcGU+CiAgICAgIDxicG1uZGk6QlBNTlNoYXBlIGlkPSJFdmVudF8wZ2NmaGE1X2RpIiBicG1uRWxlbWVudD0iRXZlbnRfMGdjZmhhNSI+CiAgICAgICAgPGRjOkJvdW5kcyB4PSI0MzIiIHk9Ijk5IiB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIC8+CiAgICAgIDwvYnBtbmRpOkJQTU5TaGFwZT4KICAgICAgPGJwbW5kaTpCUE1ORWRnZSBpZD0iRmxvd18wcnR4aXBxX2RpIiBicG1uRWxlbWVudD0iRmxvd18wcnR4aXBxIj4KICAgICAgICA8ZGk6d2F5cG9pbnQgeD0iMjE1IiB5PSIxMTciIC8+CiAgICAgICAgPGRpOndheXBvaW50IHg9IjI3MCIgeT0iMTE3IiAvPgogICAgICA8L2JwbW5kaTpCUE1ORWRnZT4KICAgICAgPGJwbW5kaTpCUE1ORWRnZSBpZD0iRmxvd18wZDFmMWhuX2RpIiBicG1uRWxlbWVudD0iRmxvd18wZDFmMWhuIj4KICAgICAgICA8ZGk6d2F5cG9pbnQgeD0iMzcwIiB5PSIxMTciIC8+CiAgICAgICAgPGRpOndheXBvaW50IHg9IjQzMiIgeT0iMTE3IiAvPgogICAgICA8L2JwbW5kaTpCUE1ORWRnZT4KICAgIDwvYnBtbmRpOkJQTU5QbGFuZT4KICA8L2JwbW5kaTpCUE1ORGlhZ3JhbT4KPC9icG1uOmRlZmluaXRpb25zPg=="}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 200100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 204 - No Content
- Mean time per request: 12ms
- Mean size per request: 0B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token6fd0e0f5-b108-4a8a-b267-70988ca15a12
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
No Response Body for this request
-
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 204100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 9ms
- Mean size per request: 164B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token7e1bbd4f-ea69-49ef-b2ba-9ebc1b41d2c1
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length164
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000029","message":"La risorsa con Id 5e057372-44a9-4f63-bd09-afaf7d8b3e02 non esiste","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
errorCode is ATMLM_4000029100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 204 - No Content
- Mean time per request: 9ms
- Mean size per request: 0B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokenf2b7e3f6-2b5b-4372-a671-a768d9c925b8
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
No Response Body for this request
-
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 204100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 6ms
- Mean size per request: 212B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token5ede552b-2c59-457e-8c3f-25f11b2a6597
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
Content-Length0
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length212
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000023","message":"La risorsa aggiuntiva per processo a cui si fa riferimento con Id 1431eae2-8e63-452d-999b-d53a21339af2 non esiste","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
errorCode is ATMLM_4000023100
Total200
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 204 - No Content
- Mean time per request: 11ms
- Mean size per request: 0B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Tokencdbb4f43-d795-404b-ad65-2006e83a9ebe
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
No Response Body for this request
-
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 204100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
Response Information
- Response Code: 400 - Bad Request
- Mean time per request: 26ms
- Mean size per request: 246B
-
-
Test Pass Percentage
-
-
-
-
100 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
x-api-keyTfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc
User-AgentPostmanRuntime/7.37.1
Accept*/*
Cache-Controlno-cache
Postman-Token852a11b7-224f-449f-80a6-6b642d4f019b
Hosthost.testcontainers.internal:8086
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
-
-
-
-
-
-
-
-
-
-
-
-
Response Headers
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Header NameHeader Value
content-length246
Access-Control-Allow-Headers*
Access-Control-Allow-MethodsGET,POST,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin*
Content-Typeapplication/json; application/octet-stream
-
-
-
-
-
-
-
-
-
-
-
-
Response Body
-
-
{"type":"NOT_EXISTING_REFERENCED_ENTITY","errorCode":"ATMLM_4000029","message":"Impossibile eliminare la risorsa con Id 24be8ee6-b7e3-4761-8ff9-8ae01f3171c5: non esiste oppure si è verificato un errore durante la cancellazione","statusCode":400}
-
- -
-
-
-
-
-
-
-
-
Test Information
-
- - - - - - - - - - - - - - - - - - -
NamePassedFailedSkipped
Status code is 400100
Total100
-
-
-
-
-
-
-
Test Failure
-
- - - - -
Test NameAssertion Error
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/test/resources/integration-test/output/result.json b/src/test/resources/integration-test/output/result.json index 21124968..e69de29b 100644 --- a/src/test/resources/integration-test/output/result.json +++ b/src/test/resources/integration-test/output/result.json @@ -1,138020 +0,0 @@ -{ - "collection": { - "_": { - "postman_id": "674f897d-a11f-45e9-abdb-666877d67f18", - "exporter_id": "29456304" - }, - "item": [ - { - "id": "cf77071b-b285-4a1a-aa58-bfaaaec1f5d4", - "name": "Salva Modello BPMN 1 di tipo MENU", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1cb834c3-e937-4346-b764-a9781a08ce26", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8609dbd0-d053-471a-bc80-3399293f933e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_1_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "f0dfd659-bbc2-412c-a283-04e32469a878" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f2f74a8e-9bf7-491c-84b4-cbf615241fe9", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "cc6b78d6-d31a-44de-a66a-ce15eb07c306" - } - } - ] - }, - { - "id": "bbd4d6eb-01ae-4c1e-ba59-cbe8cdebb5fb", - "name": "Disabilita BPMN 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "26fdaa22-0da3-4a09-b837-e562b57729fb", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "8d652a86-6201-4c9e-863b-fe204a95f187" - } - } - ] - }, - { - "id": "9d7f9cf2-4b2c-4d54-af57-f1abc53e3c86", - "name": "Fallisci nel disabilitare BPMN inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "08eb729f-e0a2-478c-8f1b-1fbe21d31f04", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 404\", function () {\r", - " pm.response.to.have.status(404);\r", - "});" - ], - "_lastExecutionId": "7f2bb2bb-cc51-4c7b-8aa5-ba4d15167259" - } - }, - { - "listen": "prerequest", - "script": { - "id": "a02fe2ce-2916-492c-8f18-cdcedc1a44ff", - "type": "text/javascript", - "exec": [ - "var uuid = require(\"uuid\");\r", - "var myUUID = uuid.v4();\r", - "pm.collectionVariables.set(\"not_found_uuid\", myUUID);" - ], - "_lastExecutionId": "40163970-3257-4d14-890f-000550dcf25c" - } - } - ] - }, - { - "id": "332ed6b4-c762-40d1-bc3e-7d2f4dc07494", - "name": "Salva Modello BPMN 1 dopo disable", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d2a1f4d3-0bcf-43a9-b51e-05ff0901a176", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ac7dfff1-f4d4-4bf5-b4b3-03ca688df905", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_1_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "ecdbaca4-8b7a-4529-b4be-5162af14bb23" - } - }, - { - "listen": "prerequest", - "script": { - "id": "938cf448-b4a7-4663-8ef0-a3b6e985580a", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "b8e963fd-893f-47f0-9a97-0d46b0d4e702" - } - } - ] - }, - { - "id": "e5140f3a-51a5-4987-8426-7a55870075a8", - "name": "Fallisci nel salvare un file BPMN_2 diverso, ma con stessa chiave", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1_fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8a326018-1599-41d2-a5d2-ecf1e803f30c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "0823a938-8d22-42d4-b524-6887936ce43c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "5f24803d-42c5-4c6c-be7f-bb0d8d474daf" - } - }, - { - "listen": "prerequest", - "script": { - "id": "1a1df5c6-963c-44ac-99ad-94b347b793eb", - "type": "text/javascript", - "exec": [ - "", - "pm.collectionVariables.set(\"bpmn_2\",", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"bpmn_1_definition_key\")+pm.collectionVariables.get(\"bpmn2_part2\"));" - ], - "_lastExecutionId": "41975b27-c511-4aaa-9a5d-81bac4c52141" - } - } - ] - }, - { - "id": "23e5ae66-c9f6-44b1-aa23-d9070ba42e1c", - "name": "Fallisci nell'associare un file inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "6a0e1873-c6a2-4889-903e-47c33d4491f6", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"1234\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "80a9bf6a-7632-4ed6-bdda-6ee648b4c722", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000002\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000002\");\r", - "})\r", - "" - ], - "_lastExecutionId": "1010c1ed-c65d-4109-bc50-07d12a2c756d" - } - } - ] - }, - { - "id": "0d044127-da7c-4ce7-ae79-4c5908fdc435", - "name": "Fallisci nell'associare un file non deployato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"1234\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "649f2fe6-748d-49c0-9b2a-7694c01cbbc8", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000003\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000003\");\r", - "})\r", - "" - ], - "_lastExecutionId": "47873143-9522-4ccf-944a-ea79ff5b0df3" - } - } - ] - }, - { - "id": "0b8a3f45-3369-4610-b475-bdb980fd333c", - "name": "DEPLOY MODELLO VALIDO BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "40cf8807-480d-44de-82e3-a21701f3fe6e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9d9b991a-5bf5-4e3a-94de-66dede4af94c", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "37eff1ea-f61a-4383-b4ad-fa5a48d83b3d", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "006f0f24-c1c1-4dd8-9474-3f7f85c861df" - } - } - ] - }, - { - "id": "38daa82d-d7f2-4b14-ad1b-e08f633dcefc", - "name": "ASSOCIA il MODELLO BPMN_1 alla banca con acquirerId 1234", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_1_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1ed89b21-b899-45d9-a540-bcaca073f849", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "2b6b96ae-8369-4c1a-8d1b-de90f3a195e3", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "b6d1410a-dbbe-4631-9c7f-095283ff8144" - } - } - ] - }, - { - "id": "60bd50de-6d49-4734-96f3-1ff08327cc64", - "name": "Fallisci nel modificare tripletta non ancora associata", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":{{acquirer_id_2}},\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "3152b954-568b-49ff-b9b3-f2905543aaed", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000049\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000049\");\r", - "})" - ], - "_lastExecutionId": "5b15e856-1af9-4c2b-b6bc-4bd555856887" - } - } - ] - }, - { - "id": "a3e96d79-f59a-4f68-ae49-253114f7f77b", - "name": "Aggiungi nuova tripletta alle configurazioni", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"{{acquirer_id_2}}\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "bc8080ed-1dfa-48d0-a6f8-47ce2cfcc4e3", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "" - ], - "_lastExecutionId": "842ff798-6267-445a-bd80-3cdc043f353d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "9c60e659-5013-406b-806a-777b7ebb0bb3", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "e5c09517-6dd1-4cc6-a3c1-efd77f5abd2e" - } - } - ] - }, - { - "id": "75a74b6c-0318-4bca-8da0-4903e5dbae6f", - "name": "Fallisci nell'aggiungere tripletta già associata", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":{{acquirer_id_2}},\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "95842b91-737c-4eb4-ad32-324e3c93e7a1", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000047\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000047\");\r", - "})\r", - "" - ], - "_lastExecutionId": "55b9bdcb-4cce-4347-bed2-f7084576be0f" - } - } - ] - }, - { - "id": "35689014-d899-4b4b-8be6-2c6502694b33", - "name": "cerca associazioni BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - } - ], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "6f486f6e-6251-4641-b51b-71eb2489989b", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "70f7c959-7bfd-4060-9afe-9a8d7efc1e3b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var data = pm.response.json();", - "pm.test(\"Four bpmnBankConfigs found\", function (){", - " pm.expect(data.results.length).to.equal(5);", - "})" - ], - "_lastExecutionId": "ea478a67-9324-479b-8944-55a9fae7476a" - } - } - ] - }, - { - "id": "dccc0564-24a2-4d9b-b87b-9e31d9050480", - "name": "PER BANCA , BRANCH E TERMINALE censiti nelle conf, restituisci il modello BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "1", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "88b451ab-c13c-4b1b-9c70-6b580ca47a6f", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e4f754da-69ac-411c-a042-6d15a379ca25", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var res = jsonData.bpmnId", - "pm.test(\"right id\", function () {", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});" - ], - "_lastExecutionId": "f89fe6df-020b-42b2-af58-834fce678e0f" - } - } - ] - }, - { - "id": "3e35b036-a838-4178-b290-4177b3f5492b", - "name": "PER BANCA e BRANCH CENSITI e TERMINALE NON CENSITO in conf, restituisci il modello BPMN_1 come default BRANCH", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "3", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7163976c-3680-4b1d-81a2-439a8a3c3568", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8cd1b929-5c32-41ba-a8ee-9b160f21c4da", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var res = jsonData.bpmnId", - "pm.test(\"right id\", function () {", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});" - ], - "_lastExecutionId": "be9d47b9-397d-4bd8-8383-cb2e699159f9" - } - } - ] - }, - { - "id": "430fcb50-fb43-439c-b545-cfc2be2c1b1c", - "name": "PER BANCA CENSITA E BRANCH e TERMINALE NON CENSITI in conf, restituisci il modello BPMN_1 come default BANCA", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "2", - "key": "branchId" - }, - { - "type": "any", - "value": "3", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "778ac75b-bf86-415f-b254-dc611315486d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "d6d0a28b-3733-4b04-9eaa-3538c2cc395d", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var res = jsonData.bpmnId", - "pm.test(\"right id\", function () {", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});" - ], - "_lastExecutionId": "99777dba-3526-48ed-ac6d-d44cecd910bc" - } - } - ] - }, - { - "id": "f88ef132-c00a-495f-8a63-124241bf6237", - "name": "PER BANCA NON CENSITA, RESTITUISCI Errore 400", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_invalid}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "1", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "92eff1a3-b6d8-43e7-9840-04102bc7b1f0", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "b9617434-3123-41ef-bc67-8d7b2490525e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "775ec222-9942-45fb-b4b5-7e6f4b497360" - } - } - ] - }, - { - "id": "5cba3fb0-a6c1-45c7-a26e-98382c9cb030", - "name": "Fallisci nel disabilitare un BPMN associato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "eb38b0eb-6008-4453-b610-1ef8b709d58d", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});" - ], - "_lastExecutionId": "264f6239-e71d-478a-9a9a-4fd42776e45b" - } - } - ] - }, - { - "id": "c3533148-2c10-4367-9431-3a2b4bd2ccbb", - "name": "Salva Modello BPMN_3 di tipo MENU", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_3}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d39e88fe-1e3d-40f3-805a-8dd6db2a936e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "9e6d73c6-06c6-4406-8c0d-f00d1d9ef1c2", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_3_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "7133b9c7-388c-4a8b-9716-d32b9cb2328d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "25b59c3c-e1c1-42e8-b931-aa5c93a92ddf", - "type": "text/javascript", - "exec": [ - "", - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_3\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_3_definition_key\",id);", - "", - " ", - "});" - ], - "_lastExecutionId": "ec1fb1c9-6982-40cd-a450-c41ea37104c1" - } - } - ] - }, - { - "id": "b8c8a8a4-b8bc-4e1c-9e7c-ea31a7886652", - "name": "prova ad associare il modello BPMN_3 alla banca come default BANCA, ma fallisci perchè processo non ancora deployato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_3_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2ebd503b-24cc-4114-bb3f-49fd4e9ad887", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "39f5ff98-9ece-423b-acae-17facf374c11", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "4c915de1-0b28-460f-895a-70f42cecb3e5" - } - } - ] - }, - { - "id": "2b02a6dd-4cf6-4e0d-bfd6-19c77cb289ee", - "name": "DEPLOY MODELLO VALIDO BPMN_3", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_3_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0c0d95d7-c4b0-459f-b3c0-91720c437595", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "c80a957e-2ff7-43a3-98ff-c85cf619a950", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "8168187b-7a97-46de-897b-d67563f3492e" - } - } - ] - }, - { - "id": "2d550e7c-b8b3-448d-be13-002cc877e805", - "name": "Modifica tripletta esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_3_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":{{acquirer_id_2}},\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "663432b7-4b46-4847-8d11-cf581523d3fd", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "0c847939-8608-490d-8db0-a3bb0df9fc9c" - } - } - ] - }, - { - "id": "8202df8b-975e-44d9-a7cb-b6ead1daccde", - "name": "Elimina singola configurazione", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "acquirerId", - "value": "{{acquirer_id_2}}" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "{{bpmn_3_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "19dab2b5-62fa-4c62-be99-00f589d03d19", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "bcaf115e-4f89-4ac1-8db8-31d22ede2906" - } - } - ] - }, - { - "id": "41e1b15b-9bee-4143-aeba-1632024315b1", - "name": "prova ad associare il modello BPMN_3 alla banca come default BANCA, e concludi con SUCCESSO", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_3_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1a390298-2457-43a7-a9a9-d8490ec4932a", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "74c195bf-024a-49d9-a4b2-6ef9a2830d95", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "a71f0191-af8e-4623-8c6b-2164811a098d" - } - } - ] - }, - { - "id": "971c2a13-759a-4737-b522-d21fd2517ea0", - "name": "filtra per functionType, acquirerId e bpmnId", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "bpmnId", - "value": "{{bpmn_1_id}}" - }, - { - "key": "functionType", - "value": "MENU" - }, - { - "key": "acquirerId", - "value": "{{acquirer_id_1}}" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8b13cd95-dec7-4c9e-ac9e-9b7a4a2e3706", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "b35205d5-1bbd-464b-be39-2540bef737ec", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var data=pm.response.json();", - "pm.test(\"One BPMN meets the criteria\", function(){", - " pm.expect(data.results.length).to.equal(1);", - "})" - ], - "_lastExecutionId": "5261fe0e-4d84-4c2d-ba58-0d4bf8579bb3" - } - } - ] - }, - { - "id": "a0501b9a-2339-4b28-bfc5-4cb10732dd40", - "name": "Fallisci nel filtrare per tripletta invalida (terminale senza branch)", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "acquirerId", - "value": "{{acquirer_id_1}}" - }, - { - "key": "terminalId", - "value": "terminal1" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "08b5c4ab-3e1d-452e-912b-d59e7367a984", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "4fb6d38f-1a2e-4886-a69e-5d5363b6c7cd", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "d867836d-e59b-449f-9d72-8ba26a8e26ea" - } - } - ] - }, - { - "id": "ea036380-e549-4c4c-bed6-0998149ca04d", - "name": "Fallisci nel filtrare per tripletta invalida (branch senza acquirer)", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "terminalId", - "value": "terminal" - }, - { - "key": "branchId", - "value": "branch" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a4e20a8d-2ae0-4bbb-9d00-6c70cc0c26d3", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "aa168b65-919d-41b6-95ba-0d5c69d71456", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "31d7ae5d-834d-4a28-b091-3b10ea1ba13a" - } - } - ] - }, - { - "id": "fc2049f4-0bc5-4923-bff4-529a9f787cf2", - "name": "ORA per CONFIGURAZIONE con Branch non censito, RESTITUISCI BPMN_3", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "2", - "key": "branchId" - }, - { - "type": "any", - "value": "2", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2e69bb6a-a669-4727-b332-7f7dd33bb3f2", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "bb81abe2-f750-43e9-9d33-c3290c91d8c0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var res = jsonData.bpmnId", - "pm.test(\"right id\", function () {", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"bpmn_3_id\"));", - "});" - ], - "_lastExecutionId": "285eeca0-3297-48c8-b9c7-90cfe870c482" - } - } - ] - }, - { - "id": "2d09513e-7cf8-421a-be64-367c5d65c9ed", - "name": "UPGRADE del modello BPMN_1 alla versione 2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "upgrade" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "uuid", - "value": "{{bpmn_1_id}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_1_v2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "yv", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4f5fa087-250d-4db9-b3f9-966593b9f277", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "upgrade" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "uuid", - "value": "541e0b66-d2C3-CDF2-9D02-Af5fedD44EE0", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "yv", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"B97A356D-ceca-8fa9-A51f-7786D7f1fe4d\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"status\": \"CREATED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"4dcff2bC-8a67-Ae9D-0E14-bB5426840EFA\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"FE732fAc-2870-4aAb-5D0A-A6f36eEddA5C\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "id": "476b2384-c097-4a2d-b360-31f2282e6df4", - "type": "text/javascript", - "exec": [ - "", - "pm.collectionVariables.set(\"bpmn_1_v2\",", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"bpmn_1_definition_key\")+pm.collectionVariables.get(\"bpmn2_part2\"));", - "pm.collectionVariables.set(\"bpmn_1_v2_definition_key\",pm.collectionVariables.get(\"bpmn_1_definition_key\"));" - ], - "_lastExecutionId": "8edc4a15-ad2b-4e1e-b0dd-e2c8b13ade4d" - } - }, - { - "listen": "test", - "script": { - "id": "6c7926a9-83c4-4cff-b4b4-aa628ab7c1d5", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.bpmnId", - "var version = jsonData.modelVersion", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});", - "pm.test(\"right version\", function () {", - " pm.expect(version).to.equal(2);", - "});" - ], - "_lastExecutionId": "83bbd573-aea8-4c1d-a4c7-80de4058eaa7" - } - } - ] - }, - { - "id": "6397b228-23f3-402f-a496-f5c44e925c39", - "name": "DEPLOY MODELLO VALIDO BPMN_1 v2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "2", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "bd5c796d-84d5-4a13-aba5-e12ab4900a75", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "69f47c33-c6bd-4e7e-847f-7bed41ccb6dc", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "93fdd0ab-338c-40fe-ac93-e1520a62d527" - } - } - ] - }, - { - "id": "5edf9c23-24f9-4ee3-8bb8-b42d3106bc99", - "name": "prova ad associare il modello BPMN_1_v2 alla banca come default per branch 1, e concludi con SUCCESSO", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_3_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a325c670-ba26-447b-b022-14039c13b818", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "3872f2d3-2eb8-49d9-9524-6e81f075fdda", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "33e5fc13-f8fd-472e-9e10-5bbce3cfbffc" - } - } - ] - }, - { - "id": "576d32c7-b117-4b44-89c8-de305f98395c", - "name": "fallisci nel creare delle associazioni inviando delle triplette duplicate nel body", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_3_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"1\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "b8e9fbae-ef45-46f9-9aeb-acdc74af5f53", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "066fd1dd-4cd3-4234-a2f3-c67932e4946e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "135ce23b-8d13-4702-9b4a-c1c143ff3ef4" - } - } - ] - }, - { - "id": "ac4a0578-95e4-4cc8-a00e-814ef34fce7b", - "name": "ORA i terminali censiti nella conf restituiscono il BPMN_1_v1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "1", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "400d12c6-2abb-49b3-b5c7-f0e4da5ecb5d", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "b61ece92-e92d-4a10-87cb-96fbc362158e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.bpmnId", - "var vers = jsonData.modelVersion", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});", - "pm.test(\"right version\", function () {", - " pm.expect(vers).to.equal(1);", - "});" - ], - "_lastExecutionId": "10c2ed66-28fd-497a-8872-b941455f1f00" - } - } - ] - }, - { - "id": "cfe50537-7339-4c7c-b0a6-0832c55d0b22", - "name": "mentre i terminali non censiti ma nel branch 1 restituiscono il BPMN_1_v2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "3", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ac2ac965-da06-4458-be0a-2047abb0a6f6", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "c212bcc9-2f8f-4902-88b6-6776c7d2e273", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.bpmnId", - "var vers = jsonData.modelVersion", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});", - "pm.test(\"right version\", function () {", - " pm.expect(vers).to.equal(2);", - "});" - ], - "_lastExecutionId": "ebbf1c79-0758-4b2d-9e4a-67eb0820ba3c" - } - } - ] - }, - { - "id": "348b9233-2593-4d5f-a6b7-f794471bda7b", - "name": "mentre gli altri branch restituiscono il default della banca, il bpmn_3", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "2", - "key": "branchId" - }, - { - "type": "any", - "value": "1", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1a999072-0a06-4da1-a440-a6d1eb02f623", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "3a6708ce-07e5-49b5-aad5-dbbadc6e4ded", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.bpmnId", - "var vers = jsonData.modelVersion", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"bpmn_3_id\"));", - "});", - "pm.test(\"right version\", function () {", - " pm.expect(vers).to.equal(1);", - "});" - ], - "_lastExecutionId": "738d475b-2399-4b74-a602-0bf8e318c859" - } - } - ] - }, - { - "id": "fe716945-0bf4-4dc0-8d63-d16b4487d1c6", - "name": "Salva Modello BPMN 4 di tipo Spontaneous Payment", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_4}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "SPONTANEOUS_PAYMENT", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "f43e7194-7cc8-45d3-81f2-ba6a5353be20", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f6bc8cd8-c2f8-49fd-a786-07a496cc724a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_4_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "d39e8fae-9846-4de8-9b33-d73dc8a0d621" - } - }, - { - "listen": "prerequest", - "script": { - "id": "ffdaf199-a9e2-4578-8197-67968a03c66e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_4\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_4_definition_key\",id);", - "", - " ", - "});" - ], - "_lastExecutionId": "f1fdf4d1-1253-483b-91cb-88b5a91b287e" - } - } - ] - }, - { - "id": "9e13f346-5d36-417b-88a3-df86c7449e1d", - "name": "DEPLOY MODELLO VALIDO BPMN_4", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_4_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "6d37ee59-d309-4e9a-8b30-db82ae496ba9", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "1827e890-d695-4ddd-a694-f5c2010ffcbc", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "227bed24-a0ed-4620-8f93-0e38634307dd" - } - } - ] - }, - { - "id": "e7bc5cb1-fce7-42d7-b2ff-9f8ded68cfbf", - "name": "prova ad associare il modello BPMN_4 alla banca come default per banca, ma fallisci perchè diverso functionType", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_4_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2ae3bc31-85dd-4d2d-90cf-acf4f52ef59c", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "af099930-4b77-435b-afe8-0269f7566d06", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "c1d2c8b5-8c39-4b67-a0c0-4859118cee33" - } - } - ] - }, - { - "id": "c27cfd76-a074-41a4-9930-535314b83bc3", - "name": "Elimina singola configurazione", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "acquirerId", - "value": "{{acquirer_id_1}}" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "17a9592a-e6b7-4b3a-bda2-43e47b0ed5d6", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "e1970f83-13f9-4219-80ed-d0447f6f82de" - } - } - ] - }, - { - "id": "9546e58c-1fd7-4bbf-bc8d-248fafc24bd6", - "name": "Fallisci nell'eliminare associazione inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "acquirerId", - "value": "{{acquirer_id_1}}" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "e8d2ee6d-2c1b-4fd2-96e1-69b5eb91ec7a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000048\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000048\");\r", - "})" - ], - "_lastExecutionId": "c0924056-3305-419f-8746-c93ea9401c05" - } - } - ] - }, - { - "id": "bfbfcca1-b143-4f82-afb8-e61af4bbee5b", - "name": "Salva Workflow Resource di tipo DMN 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4710e932-a6b0-41fa-a271-e7339805208c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8feb951f-c5ee-43e9-bfc5-712cb17d0ead", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"dmn_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "8c3eef82-7dc5-42f5-b57e-10b587a22c06" - } - }, - { - "listen": "prerequest", - "script": { - "id": "53013cd2-9c1d-47b0-ae98-03983310b475", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"dmn_1\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2\"));", - " pm.collectionVariables.set(\"dmn_1_definition_key\",id); ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "a1fee4b0-d44c-4241-b014-a73ded4302cc" - } - } - ] - }, - { - "id": "d81be42a-99d4-4f53-bd09-18afb8ce3a13", - "name": "Get DMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "d05f6592-5f93-4c10-b319-daea2c4f09b0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"dmn_1_id\"));\r", - "});" - ], - "_lastExecutionId": "41c85b82-4c76-4f3b-8c3b-3e8a6522eda6" - } - } - ] - }, - { - "id": "0ba6ee50-6b88-4828-9cdc-a60b4d17e76d", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "f5d4548c-f332-4e6d-bcb5-2d4b86b224fb", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7719add5-884e-488c-b2b6-3957f93cc602", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "", - "" - ], - "_lastExecutionId": "3bad1d03-a840-4a60-82af-b5661c4af314" - } - }, - { - "listen": "prerequest", - "script": { - "id": "e4d7a8c4-0d0e-41ce-8e55-79295a645551", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"dmn_1_definition_key\");", - " pm.collectionVariables.set(\"dmn_1_duplicate\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "f6020a92-36f3-4223-aade-9eab3976fbbe" - } - } - ] - }, - { - "id": "c0654ab4-88ab-4fcb-8df5-3ecb055965a0", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 file assente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d4da6635-fda6-4dfa-aa5f-dbebc288bf7e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "5a9ea545-b818-47d2-ae74-8f9b3756b9b9", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "badec8ac-c24b-41d2-8b78-974e79f9fc13" - } - }, - { - "listen": "prerequest", - "script": { - "id": "1bebe7a2-b0ed-44e2-8902-95c154cccb8d", - "type": "text/javascript", - "exec": [ - "", - "", - "", - "" - ], - "_lastExecutionId": "40dfadb6-df51-47a2-8c76-63a40a5151cc" - } - } - ] - }, - { - "id": "fe78de96-acf7-4872-bb35-94ccb7b8e5b9", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con tipo sbagliato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "6c9347d0-155b-4ea7-9ef0-7146f9b9ee59", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "58c46020-ac17-4448-913b-35f4722f73e7", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "0e0603a1-0ce8-420c-bff0-98fbe343252f" - } - }, - { - "listen": "prerequest", - "script": { - "id": "5f566ac5-0ef0-46e4-90cb-b2ec14bb414d", - "type": "text/javascript", - "exec": [ - "", - "", - "", - "" - ], - "_lastExecutionId": "94e95f99-a71a-4b00-bd1f-5568bd85920a" - } - } - ] - }, - { - "id": "63099384-b01f-4e33-9407-22cb1d54b56a", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1_duplicate}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a091e93f-413e-4ca4-9de7-85d58f59c47a", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "09c4d647-507c-4b25-935f-4becde137437", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "", - "" - ], - "_lastExecutionId": "f81cbc7d-6e57-4b6f-aa8c-49d2b51aa85d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "59d42b0c-93d3-4c6e-9ce4-05b60259a136", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"dmn_1_definition_key\");", - " pm.collectionVariables.set(\"dmn_1_duplicate\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2_v2\"));", - " pm.collectionVariables.set(\"dmn_1_definition_key\",id); ", - "", - "});", - "", - "", - "" - ], - "_lastExecutionId": "7aeae473-5543-49fd-9c44-abafba112bef" - } - } - ] - }, - { - "id": "c222bfce-5f41-468b-844e-7595abf55df6", - "name": "Salva Workflow Resource di tipo BPMN 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7247a120-b5f3-445d-a5ce-1952532a15a5", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "id": "27f0f481-8917-433c-9b55-83bda51ecb3e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " console.log(\"workflow_bpmn1_part1:\", pm.collectionVariables.get(\"workflow_bpmn1_part1\"));", - " console.log(\"id:\", id);", - " console.log(\"workflow_bpmn1_part2:\", pm.collectionVariables.get(\"workflow_bpmn1_part2\"));", - " pm.collectionVariables.set(\"workflow_bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"workflow_bpmn_1_definition_key\",id);", - "", - "});", - "" - ], - "_lastExecutionId": "f0bfc14b-835c-4ef6-9778-99b4d3944c4c" - } - }, - { - "listen": "test", - "script": { - "id": "f51603bb-ff0e-45d4-97a6-10a254195278", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"workflow_bpmn_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "ef962028-bd8b-48d8-9b6b-21a6b81a43bd" - } - } - ] - }, - { - "id": "b7ebf64c-1aee-4d3e-8773-6891fd65fda9", - "name": "Get Workflow Resource BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "50ea1b7e-fcf1-4647-a5ee-8ef04d1734a7", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"workflow_bpmn_1_id\"));\r", - "});" - ], - "_lastExecutionId": "7b5e1283-4870-4167-aad4-20eaf1ca90be" - } - } - ] - }, - { - "id": "778d8178-aaff-4f06-b6a6-80463edb2a85", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflowbpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ae10f734-b8d0-4f8b-8350-26d849251fd6", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "19e1fd9a-a13b-4afb-b763-7b662b154c73", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "79ff4e62-f991-4553-98ba-b2a858dc752e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "4d2fb321-d368-4828-8178-8d1294ac1dc4", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "48e25493-22b2-47c9-ac72-0437db3b989f" - } - } - ] - }, - { - "id": "b2c3f92c-13e5-4c30-8fca-d3e6439eecd4", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con file assente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "c58f4482-60ac-49c9-a860-e02d202879e1", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e2c76baa-2eac-4c69-9ec0-220f1e60aff5", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "var jsonData = JSON.parse(responseBody);" - ], - "_lastExecutionId": "a638b8eb-8d0b-446a-90a1-f77d83c65a9f" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7647fa17-7c02-47fd-9e34-c3971c2761ef", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "0955807d-e32e-4f3d-8228-f3888b4dff48" - } - } - ] - }, - { - "id": "4cb8b90e-8599-4aac-9d91-309395599bc8", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con tipo sbagliato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "3b2f3464-1507-4f76-b385-4b6fbb09bb15", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "c06ebb0f-2d9b-4353-8447-2a46c4ef73c4", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "216b8ca3-79dd-4221-b79f-4f5d7e6d75e9" - } - }, - { - "listen": "prerequest", - "script": { - "id": "bed65a45-9736-4621-96d0-d982721f48b5", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "041230ed-fb0d-486e-a1ab-90f1e610aa03" - } - } - ] - }, - { - "id": "bc78d489-6451-4393-a344-b5a8fe15f009", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1e2688eb-8fe5-4a1e-b647-5eb2d303154c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e5beeb50-ab96-4232-a948-d76a8507a812", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "eb446940-3bff-4f48-92e2-217b34304a8e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "3ea8847d-a3ae-4c66-8327-fd313a2d91d3", - "type": "text/javascript", - "exec": [ - "window = {};\r", - "\r", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {\r", - " if (error || response.code !== 200) {\r", - " pm.expect.fail('Could not load external library');\r", - " }\r", - "\r", - " eval(response.text());\r", - "\r", - " // This is where you can set the locale. See faker.js docs for all available locales.\r", - " window.faker.locale=\"it\";\r", - " var id = pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\");\r", - " pm.collectionVariables.set(\"workflow_bpmn_1_duplicate\",\r", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2_v2\"));\r", - " pm.collectionVariables.set(\"workflow_bpmn_1_definition_key\",id); \r", - "\r", - "});" - ], - "_lastExecutionId": "dca4b04a-c184-4d11-a317-586d9d61ac74" - } - } - ] - }, - { - "id": "8d660da3-1b66-4dcf-b9eb-07272b6c2ef5", - "name": "Salva Workflow Resource di tipo FORM 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9d6f8a4a-11ff-45e8-b236-0440e736387c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a33b2291-5d28-4ba8-b62f-60bec091173c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"form_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "df8b04bc-8c1d-48f0-9baa-3192b152206f" - } - }, - { - "listen": "prerequest", - "script": { - "id": "d21cae7d-554a-4a4e-99cc-e92a4f3601a0", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"form_1\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2\"));", - " pm.collectionVariables.set(\"form_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "4bfca270-7ae6-435e-9883-b988aa9c6ae4" - } - } - ] - }, - { - "id": "9e64824c-96e8-4071-b533-b396e82c7ee4", - "name": "Get FORM_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "89168742-59ba-405d-b635-e42a351cfd20", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"form_1_id\"));\r", - "});" - ], - "_lastExecutionId": "a83a9942-f699-403e-8d84-d74062e0cfa0" - } - } - ] - }, - { - "id": "132eb366-ade7-425e-87c5-8cdc5bb96501", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4eb4bc84-c81c-4f18-8163-5ca056c98783", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8c3619e4-b699-4b20-8891-ae0b7e877a5b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "b2d5b70f-63db-438d-a2ac-b1898c85a874" - } - }, - { - "listen": "prerequest", - "script": { - "id": "d4af270c-77e4-45e9-91c0-e7ef3fbc648e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"form_1_definition_key\");", - " pm.collectionVariables.set(\"form_1_duplicate\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "7f58d0bf-c709-49f1-840a-cf1936624407" - } - } - ] - }, - { - "id": "b2e462b7-4d1b-495c-bd1c-7014585c5a8f", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 file assente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ae8f8c1b-1028-4717-9cf7-6ba5173201ac", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "61eb80d9-7870-4e33-abc3-831aadd06ff9", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "40e58287-f751-42d0-b5c2-fb066526732e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7aa1e053-a354-4ce1-8bfe-ae0fd78a8379", - "type": "text/javascript", - "exec": [ - "", - "", - "", - "" - ], - "_lastExecutionId": "2001161f-a09a-49b4-915e-9ff5f52e0117" - } - } - ] - }, - { - "id": "2d69d1f3-7b93-4572-89a5-91e68c11e05e", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con tipo sbagliato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "57467799-df50-45c8-8d75-61f3026b93a6", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "0565a5fe-52ed-4b3c-9cca-a1d560660329", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "3af55fd0-bd0b-4e35-aaac-690bfc4a295e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "d1f20567-65e5-4aaa-84aa-0681b651b5ba", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "b9a7816d-6472-45c1-bb61-0be3bfbd25d5" - } - } - ] - }, - { - "id": "2abc8942-7f98-45b6-8d13-9081dd20b471", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "12f181fb-d8da-4883-8b71-79d9c69922e0", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "62205453-1e57-456f-9851-85e44a634313", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "339fdbf5-a046-4dd7-89fd-0182cc5270c0" - } - }, - { - "listen": "prerequest", - "script": { - "id": "1b416373-b59e-4a5c-ab99-7a5fa35ef1d9", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"form_1_definition_key\");", - " pm.collectionVariables.set(\"form_1_duplicate\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2_v2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "0432b173-95fa-4928-9e6d-f1350ed82869" - } - } - ] - }, - { - "id": "03c4c14b-d63e-4afa-b3b0-af0ae44019e7", - "name": "Filtra workflow resource per resourceType, fileName e id", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "resourceType", - "value": "FORM" - }, - { - "key": "fileName", - "value": "demo" - }, - { - "key": "workflowResourceId", - "value": "{{form_1_id}}" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8318fecc-6fae-4a11-96d5-39d7093a8b58", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "269a5816-4ceb-49ff-8115-269bd481ed26", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var data = pm.response.json();", - "pm.test(\"One file meets the criteria\", function(){", - " pm.expect(data.results.length).to.equal(1);", - "})", - "" - ], - "_lastExecutionId": "6deafa7a-b5e0-4b88-816f-860a883ccad4" - } - }, - { - "listen": "prerequest", - "script": { - "id": "c7e5c927-2373-4d0e-8676-dc51d4aec300", - "type": "text/javascript", - "exec": [ - "", - "", - "", - "" - ], - "_lastExecutionId": "97637dfa-0ce4-4c60-9114-e109ff50b62a" - } - } - ] - }, - { - "id": "2f222209-8ae2-45ef-9dd3-f9b98a36ede9", - "name": "DEPLOY WORKFLOW RESOURCE VALIDO DMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "c7d8da3d-775a-4c84-a38b-08766b049886", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "30fdac0b-1a4a-40ed-aa93-7c9b69d1c269", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7eadb734-4271-4bb0-8e45-8ee087dcaa6f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "4ed58e66-e9a1-4a3e-a6ef-3f516f253e68" - } - } - ] - }, - { - "id": "cac7f067-ca78-4178-9549-6214cf6aec51", - "name": "DEPLOY WORKFLOW RESOURCE VALIDO BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "cdd49f38-9187-4806-99a8-528c79618590", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "5bf3ad2a-2b28-4996-b57e-5fa2f822cdb9", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7bdc65cb-f6e5-46cc-b7a8-4563685185af", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "1356aace-2982-4fcf-b723-e65aa07905ef" - } - } - ] - }, - { - "id": "2789a025-5f3e-4a58-88dc-c7988379c752", - "name": "DEPLOY WORKFLOW RESOURCE VALIDO FORM_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2c87cd7c-b698-4a62-a0d4-35ededbe43ba", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7ecd4b53-891e-4e5f-853c-a5ba562983ca", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8bf5c94e-313e-41e9-a00f-f9a0b3dc8b52", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "a6183e6f-590a-437f-8d04-d7739a940d6d" - } - } - ] - }, - { - "id": "19b396af-5026-4674-adac-27a5ff26eb49", - "name": "Fallisci nel DEPLOY WORKFLOW RESOURCE non trovato DMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "618c68d9-0189-44d3-ab96-032e53f6c6da", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "b2ac5020-b665-492a-9e85-f4f068b899cf", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "d0dd0477-f39e-4526-bf44-9a3c3217cae5", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "a1da6adc-4688-4620-880f-c822a91535ff" - } - }, - { - "listen": "prerequest", - "script": { - "id": "241e4390-ca28-4d12-949e-ec0e06c7f01a", - "type": "text/javascript", - "exec": [ - "var uuid = require(\"uuid\");\r", - "var myUUID = uuid.v4();\r", - "pm.collectionVariables.set(\"not_found_uuid\", myUUID);" - ], - "_lastExecutionId": "df5e555e-3d41-4b9f-a3ea-fa65987da947" - } - } - ] - }, - { - "id": "60d24779-5150-4965-b3c5-208424c2eb84", - "name": "Fallisci nel DEPLOY WORKFLOW RESOURCE non trovato BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ab392c50-c214-45d1-a995-01ee66749c7c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9bcc0386-9e09-4e1b-9211-10efc31ea16b", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "4b4e21d6-fa47-419d-8fba-de6e6a134865", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "bbaba8ab-9d27-43eb-905b-474942f5a1fa" - } - }, - { - "listen": "prerequest", - "script": { - "id": "369a8d53-cc64-4854-ad1f-108ac86e35b5", - "type": "text/javascript", - "exec": [ - "var uuid = require(\"uuid\");\r", - "var myUUID = uuid.v4();\r", - "pm.collectionVariables.set(\"not_found_uuid\", myUUID);" - ], - "_lastExecutionId": "d22fa52d-775a-4752-8b50-b0b256de1934" - } - } - ] - }, - { - "id": "a01783e0-1743-4f02-bfb2-6e0f3d06d528", - "name": "Fallisci nel DEPLOY WORKFLOW RESOURCE non trovato FORM_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d2d726cd-d12d-4ba8-9959-493beffb3e30", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "cf214327-6dbb-4814-8290-6b38c07edde4", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "56f9489f-8229-4369-a85b-3db3c3df0577", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "267dd1c4-34be-41e1-9341-810207f5a814" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f77dad82-cb53-4ad0-9e00-63514adcda2d", - "type": "text/javascript", - "exec": [ - "var uuid = require(\"uuid\");\r", - "var myUUID = uuid.v4();\r", - "pm.collectionVariables.set(\"not_found_uuid\", myUUID);" - ], - "_lastExecutionId": "31b45909-6264-472d-9fd6-b00a89c32879" - } - } - ] - }, - { - "id": "343fc4a3-3fd1-4103-a77d-0a904b0e3a2e", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 diverso, ma con stessa chiave", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "20589862-63c5-4106-baf4-694b27eef5b6", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "60eac8ce-3691-44b2-a85c-b384e25db46c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "486714d1-e65a-4ade-98d6-bdab3a2517d1" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f0627c38-ac8c-4bb5-9f4a-36940c040fac", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"dmn_2\",", - "pm.collectionVariables.get(\"dmn1_part1\")+pm.collectionVariables.get(\"dmn_1_definition_key\")+pm.collectionVariables.get(\"dmn1_part2_v2\"));" - ], - "_lastExecutionId": "744af129-0b11-49f0-a514-9610da5d6c09" - } - } - ] - }, - { - "id": "a717cab7-0cae-4ced-bf77-555af0052d0e", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con tipo diverso da DMN", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1a4f61af-fda8-436c-be8e-796f01d82001", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f57934ce-37d2-42ac-936c-b519b0dc4a62", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "c3c40fb6-166e-48c3-8137-345b37656eab" - } - }, - { - "listen": "prerequest", - "script": { - "id": "31cfcbcb-bb6e-4cab-8f7a-bb0e9b716e75", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "bf8fa358-479e-40c3-8751-3a863e10fd59" - } - } - ] - }, - { - "id": "2f2f3b6e-8a3f-4e7f-a076-8cbd7f52b819", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 diverso, ma con stessa chiave", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0d2993d9-9dca-45e2-9719-053995b1680a", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7e380869-71ae-42c4-b567-beac306eca52", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "047af38a-7af7-41e0-bcaa-ef29f71032a8" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f0598264-f607-4119-a70f-b24b28706728", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"workflow_bpmn_2\",", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\")+pm.collectionVariables.get(\"bpmn1_part2\"));" - ], - "_lastExecutionId": "3bc2665f-21be-4ff5-b7c4-88294224dd68" - } - } - ] - }, - { - "id": "d56a49db-815e-43d0-ba15-834f2b9ba26b", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con tipo diverso da BPMN", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ce7069db-50ee-48d1-818e-71128f26f6e4", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "678ec299-7e51-4952-8ff8-02f3c47737aa", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "92c9a64b-396e-4716-b437-2910505d9501" - } - }, - { - "listen": "prerequest", - "script": { - "id": "6a1fc907-710d-4378-abbd-262e36dcf165", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "ddc2751b-0ff4-4358-b4f1-2846940bfdf1" - } - } - ] - }, - { - "id": "c10a37be-de03-45fd-bb3f-062f06d36ef1", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 diverso, ma con stessa chiave", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "f54b6fa7-f759-4e81-b72d-52a381cc3658", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a6b8a576-4c90-442f-8390-ebe6cece4de9", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "6a3ea503-d776-44f9-b961-6c7e8d3f3632" - } - }, - { - "listen": "prerequest", - "script": { - "id": "14a5cefb-b3c8-43d1-b6b6-f109ecd802b3", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"form_2\",", - "pm.collectionVariables.get(\"form1_part1\")+pm.collectionVariables.get(\"form_1_definition_key\")+pm.collectionVariables.get(\"form1_part2_v2\"));" - ], - "_lastExecutionId": "c08ec04b-6682-4163-ac2f-816de26e788c" - } - } - ] - }, - { - "id": "eb9fa1c3-ea71-45f0-b2d4-b40ab6d16c24", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con tipo diverso da FORM", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "76757225-73ab-4445-98e2-ac215fd9ebf0", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "cef2737c-22d2-4b20-a053-e9908c57c136", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "7f4b21bc-a522-417a-935d-5a76952aa234" - } - }, - { - "listen": "prerequest", - "script": { - "id": "a319380a-d1e6-42aa-86a6-f02465078121", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "f30fd1bf-e16d-4f21-97ee-b068ba3c775c" - } - } - ] - }, - { - "id": "4ba1819e-7d84-4331-841a-56e462b719db", - "name": "Get ALL Workflow Resource", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "056e1ce0-bd8a-4cfe-8f8f-78e9eee57dd2", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "4b2c6466-90f0-4240-8545-36c08ad220b1" - } - } - ] - }, - { - "id": "2e251bd3-0e7d-4e0d-9b77-bdafd5b1dde7", - "name": "Salva Resource di tipo HTML 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7e7d8567-91c3-49e5-93f3-098da4fb5d33", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a7e29272-453d-4162-9fa3-6832795ad72f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"html_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "889fde54-7413-4290-ad2a-f3da4cbc41fe" - } - }, - { - "listen": "prerequest", - "script": { - "id": "cbf5a481-5906-4b60-85e9-e8f8ca4f16a2", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - " pm.collectionVariables.set(\"html_1_content\",content);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "26f90a1c-913f-4691-bb2d-98f20a9db509" - } - } - ] - }, - { - "id": "37f83a37-b1c5-4ffa-837c-67a95b26d634", - "name": "Get HTML_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "cef2429a-0165-49f3-8dce-00f1be338096", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.resourceId;\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"html_1_id\"));\r", - "});" - ], - "_lastExecutionId": "36ae8c77-0ce2-44c8-a35b-5e38cb7d5c3b" - } - } - ] - }, - { - "id": "58127d98-2311-408e-bb00-d7e2f3e53503", - "name": "Fallisci nel Salvare Resource di tipo HTML 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "29893858-f7d0-4983-b577-6455bc62a745", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "5f7a965f-e25e-45c8-a287-06cb0b2c9317", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "25b54d58-79f2-4c08-9aad-328ca96087fe" - } - }, - { - "listen": "prerequest", - "script": { - "id": "dbc5753e-a76f-4938-8059-8c9f60b416a6", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"html_1_content\");", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "8bd164d9-1573-41cf-8d7d-e26c175a4753" - } - } - ] - }, - { - "id": "9c9020ce-015e-4d75-9ac5-150964e22b65", - "name": "Salva Resource di tipo HTML 1 con PATH", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "{{html_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9b10eca5-cb24-4a92-b0d9-1ec0ee6523fe", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ffc29039-c56b-4861-af45-cf48346a0446", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"html_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "5d01c1a8-6751-46aa-9955-86dc102df22b" - } - }, - { - "listen": "prerequest", - "script": { - "id": "402b2f36-45eb-4e66-8bf2-e453f5e1d6cf", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " var path = window.faker.lorem.word(10)+\"/\"+window.faker.lorem.word(10);", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - " pm.collectionVariables.set(\"html_path\", path);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "8c9b0c92-b9eb-481b-91ac-5dee93c72b39" - } - } - ] - }, - { - "id": "cfc89e78-bd7d-4d68-9c86-9f833cc61211", - "name": "Fallisci nel Salvare Resource di tipo HTML 1 con stesso contenuto e stesso path", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "{{html_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8b4aed61-b8d3-4039-b636-75c441260de7", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e4224850-1fb0-4b95-8dff-760b751bc38a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "92ff5703-82f2-4a30-990e-16efc4215c92" - } - }, - { - "listen": "prerequest", - "script": { - "id": "ebe5f500-c959-48a7-82f5-759210ae10b5", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "45ebc542-b7e1-463e-b0fb-3ebf87d11f80" - } - } - ] - }, - { - "id": "0bd9a856-3144-474c-80cf-c1e5267751e6", - "name": "Salva Resource di tipo OTHER 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "047f1023-1054-4e58-8f56-994118c2d3e2", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "838324c6-e2ee-484b-baf6-19cd5b1862b1", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"other_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "f77fcd1b-1e31-4645-9bbd-061d7aaeb4b7" - } - }, - { - "listen": "prerequest", - "script": { - "id": "65641a18-9c30-48a9-bc58-9cb16bb084cc", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".txt\";", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - " pm.collectionVariables.set(\"other_1_content\",content);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "105a791d-d351-4599-b20f-a35f7c5a9434" - } - } - ] - }, - { - "id": "cc0db4b4-e5f7-4fc2-b902-0134094f5e37", - "name": "Get OTHER_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "e9bdb97e-1f69-43f4-9d33-e48e17b99ea2", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.resourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"other_1_id\"));\r", - "});" - ], - "_lastExecutionId": "1433d762-1a9a-4724-903e-d156ddc70d27" - } - } - ] - }, - { - "id": "5b8948de-ff18-48cd-8044-f475c4686eed", - "name": "Fallisci nel Salvare Resource di tipo OTHER 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d6ebeebd-2168-470a-a7a1-2f625b83046d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7d543a9b-86af-41c3-9fd1-76dc5bf43ddb", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "71db1576-c7d0-484e-bffc-0b62fa562801" - } - }, - { - "listen": "prerequest", - "script": { - "id": "2747739d-9d5e-43c6-a33a-36ae0461650d", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"other_1_content\");", - " var fileName = window.faker.lorem.word(10)+\".other\";", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "15e7cb4f-9f48-4ff4-a07a-a3bc81fb9dd8" - } - } - ] - }, - { - "id": "649aff97-3c43-42c5-b6e6-fd9c4b1894a0", - "name": "Salva Resource di tipo OTHER 1 con PATH", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "{{other_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0bbb077f-d284-427d-a457-cf32504ddd7e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "0f059467-ae5f-4c08-ad3d-ee161f952243", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"other_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "4dc6c851-0056-47e0-8e2e-ef063d677343" - } - }, - { - "listen": "prerequest", - "script": { - "id": "94e50797-b803-436e-b654-38c3f088c418", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".txt\";", - " var path = window.faker.lorem.word(10)+\"/\"+window.faker.lorem.word(10);", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - " pm.collectionVariables.set(\"other_path\", path);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "d0803abf-b017-419a-8189-542b37376efa" - } - } - ] - }, - { - "id": "34d883db-fe08-4cea-ae3b-7e004b9c706c", - "name": "Fallisci nel Salvare Resource di tipo OTHER 1 con stesso contenuto e stesso path", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "{{other_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "77845b69-7b95-44c3-9be8-26d50b8eb89c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "cc22c862-a51f-4ea2-aa73-7f2e3bb195c0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "66d05a33-5bf6-4bde-8907-7491116c2cef" - } - }, - { - "listen": "prerequest", - "script": { - "id": "bd745e03-65b2-43e2-8881-be1df64bb734", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"same_content\");", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"other_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "2b010385-1491-4bcf-a3e6-6086c3ad85ee" - } - } - ] - }, - { - "id": "865d075d-5ad0-4fd0-a036-4648bfd7c812", - "name": "Get ALL Resources", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "04daf113-e87e-44b0-9a22-11a8eab3d6a5", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "05826512-61a1-47e9-8822-8ca476b28a7a" - } - } - ] - }, - { - "id": "0727c01e-a5b3-48d6-9dcc-f04b4b632d46", - "name": "Filtra risorse per resourceType e resourceId", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "resourceId", - "value": "{{html_1_id}}" - }, - { - "disabled": true, - "key": "sha256", - "value": "00e25cc0038502feb24e37e5f" - }, - { - "key": "noDeployableResourceType", - "value": "HTML" - }, - { - "disabled": true, - "key": "fileName", - "value": "architecto.html" - }, - { - "disabled": true, - "key": "storageKey", - "value": "RESOURCE/files/OTHER" - }, - { - "disabled": true, - "key": "extension", - "value": "other" - } - ], - "variable": [] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "0d14966e-dbef-45f4-8810-3dfa2b7bfa4a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var data = pm.response.json();\r", - "pm.test(\"One file meets filters\", function () {\r", - " pm.expect(data.results.length).to.equal(1);\r", - "});\r", - "" - ], - "_lastExecutionId": "4e76903d-39e3-452c-9043-69cce85f315f" - } - } - ] - }, - { - "id": "5b5a479d-627f-43e8-8020-7cf7445701be", - "name": "Fallisci nell'Update Resource di tipo HTML 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{html_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0651d7df-a836-45fc-8158-c465efad8509", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8f2449dd-d5fd-404d-8fe9-9847123932c3", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "313167a2-66bc-4862-a72e-adc829860796" - } - }, - { - "listen": "prerequest", - "script": { - "id": "e9bfcbfc-ced6-49de-93fe-4f621b5c8d06", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "84f77ddb-4180-49fe-8cbe-168aa638b548" - } - } - ] - }, - { - "id": "83932ec0-0b5c-423f-b2b7-622d5789a3e4", - "name": "Fallisci nell'Update Resource di tipo HTML 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{html_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "aa9f0dce-036b-4afb-aa41-8425ec4c2bee", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "6cf2404a-8bf3-4cf0-a1a3-02240d411aa0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "e11f9777-71fa-44d8-834b-f5ac3f658644" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f6e88010-4bd4-4a7d-ba6f-c6a334bb24ca", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "6f53bb11-2610-42f9-9a1e-3c51309e3f3c" - } - } - ] - }, - { - "id": "7f068229-db48-4d70-a3b6-e460f1c57cb8", - "name": "Fallisci nell'Update Resource di tipo OTHER 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{other_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "fd561aeb-6fba-46f5-8139-2cfb02cb9a07", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ba5b74e2-3ed2-483d-bbdd-4517cce17b8f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "fbb2a8f7-47cb-4361-9400-1f461b63b3cf" - } - }, - { - "listen": "prerequest", - "script": { - "id": "095b5172-8795-4f25-8e31-7084730eee5f", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "9b87fc88-2c96-4c5a-8c7c-b973ea103b52" - } - } - ] - }, - { - "id": "d6461bec-50ed-4179-bfda-4d1a4f8be940", - "name": "Fallisci nell'Update Resource di tipo OTHER 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{other_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8083a74c-6ad1-44c3-b1d8-245542ff55e4", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8dd20c16-ae31-4e01-b25a-344ae59183de", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "fd2c5ef3-3cd8-4d28-a09e-2b4236452115" - } - }, - { - "listen": "prerequest", - "script": { - "id": "0fadcd4e-a85d-4cf6-895a-424dd537b473", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "2a27b0a1-d110-4e67-9741-eed1afd9a020" - } - } - ] - }, - { - "id": "5e18e522-fd58-4bbb-8a60-6a96d8945a65", - "name": "Update Resource di tipo HTML 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{html_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2231b336-c1e7-4c5c-9079-4d3f9e981127", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "4670462c-a846-46ae-bea2-f5dac3141825", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.resourceId", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"html_1_id\"));", - "});" - ], - "_lastExecutionId": "5c28f129-d832-44a4-bb85-53f861312ba9" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7e15919f-190a-4c55-9975-c291c0e7b00e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"html_1_v2\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"dmn_1_v2_definition_key\",pm.collectionVariables.get(\"dmn_1_definition_key\"));", - "});" - ], - "_lastExecutionId": "4cbc1d43-3406-41b0-9dfd-7b3e82bfe59a" - } - } - ] - }, - { - "id": "a512c1e4-4239-4c8a-ba98-61c4f859a502", - "name": "Get HTML_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "a826b3cd-807c-48bf-bf77-c5a1f28d7e64", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.resourceId;\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"html_1_id\"));\r", - "});" - ], - "_lastExecutionId": "1e5b8e70-3ede-4d95-9a8f-d6d6dd5457e7" - } - } - ] - }, - { - "id": "a02bcc77-9add-473c-a1c6-bd9b6cfea21f", - "name": "Update Resource di tipo OTHER 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{other_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "43a4150a-60f9-4840-8b78-9e6b1355140d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "fe07a58b-ac2a-4bdb-9013-0747087cd290", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.resourceId", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"other_1_id\"));", - "});" - ], - "_lastExecutionId": "9548a213-ac0c-4878-93be-f0298be660b6" - } - }, - { - "listen": "prerequest", - "script": { - "id": "247655ee-b6e7-4c1c-9ff3-528c53175437", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"other_1_v2\", content);", - "});" - ], - "_lastExecutionId": "0a03f6bf-cb05-420e-908e-1169e146bc25" - } - } - ] - }, - { - "id": "eb460a46-7b59-4e33-814e-80a509d74e1a", - "name": "Get OTHER_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "2ceaf21e-1c32-45c3-a0a2-754328273610", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.resourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"other_1_id\"));\r", - "});" - ], - "_lastExecutionId": "cbd17502-d5ad-4944-a91c-49d989daf2b1" - } - } - ] - }, - { - "id": "12f96b9f-9361-4550-a5ed-b88519f39d28", - "name": "Fallisci nell'Update del Workflow Resource di tipo DMN 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "75dd20de-7205-4b96-a976-ab0acffbd997", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a42f3b25-5345-498c-8515-287622ac8b5c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "0d1e7005-582b-4c4b-95f2-530d0a4a54d1" - } - }, - { - "listen": "prerequest", - "script": { - "id": "c5b2afd9-ed8d-450c-9f52-18918105596b", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "f1077e6c-8be8-4874-b4c0-1c498edc4160" - } - } - ] - }, - { - "id": "4a91face-a877-40ba-8182-f82a1c2b0058", - "name": "Fallisci nell'Update del Workflow Resource di tipo DMN 1 con tipo diverso", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{form_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a64fc1c4-ac47-402c-8fcb-1f0cad74e8dd", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f6d375e2-35a7-4897-9e61-da6c68763010", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "ed28e125-a12f-493e-a969-2fb1fe02042c" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7237d871-ff44-4bb9-b8e0-fb16667a4f14", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "50f60991-356d-4d99-b116-94ceb7e552f4" - } - } - ] - }, - { - "id": "fd6fe03c-912a-4fd7-ae44-6e3ba506b048", - "name": "Fallisci nell'Update del Workflow Resource di tipo DMN 1 con chiave diversa", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "312c0ca7-2006-4518-a594-8078438b7651", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "c3c201b1-fe8d-4e0b-83f4-65e191798077", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "e3366d7a-0790-4c01-9c15-95c65cec0d27" - } - }, - { - "listen": "prerequest", - "script": { - "id": "64596395-292b-4f50-b73d-238e9973986f", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"dmn_1_v2_fail\",\r", - "pm.collectionVariables.get(\"dmn1_part1\")+pm.collectionVariables.get(\"form_1_definition_key\")+pm.collectionVariables.get(\"dmn1_part2_v2\"));" - ], - "_lastExecutionId": "1c14ce76-637a-4826-8ea5-5594de3505b0" - } - } - ] - }, - { - "id": "6dea604b-7176-45d8-89b7-631206232efc", - "name": "Update Workflow Resource di tipo DMN 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "146507ab-bc04-4eee-903c-f12781746631", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f35b02c2-0c0d-497d-95c2-1ccdd09dcd3b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.workflowResourceId;", - "var definitionKey = jsonData.definitionKey;", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"dmn_1_id\"));", - "});", - "pm.test(\"right definition key\", function () {", - " pm.expect(definitionKey).to.equal(pm.collectionVariables.get(\"dmn_1_definition_key\"));", - "})" - ], - "_lastExecutionId": "4258ea13-7bce-4bf0-9aa0-6ab4f719bd86" - } - }, - { - "listen": "prerequest", - "script": { - "id": "c44e2ec1-3a25-4332-abfc-b815af593da6", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"dmn_1_v2\",", - "pm.collectionVariables.get(\"dmn1_part1\")+pm.collectionVariables.get(\"dmn_1_definition_key\")+pm.collectionVariables.get(\"dmn1_part2_v2\"));", - "pm.collectionVariables.set(\"dmn_1_v2_definition_key\",pm.collectionVariables.get(\"dmn_1_definition_key\"));" - ], - "_lastExecutionId": "e0a3fccc-5976-4e02-a5da-6e02a8ee28a1" - } - } - ] - }, - { - "id": "915e685b-7f9d-4003-8722-61157983e684", - "name": "Get DMN_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "7f6625d8-f1de-4c76-97ea-cdd8470da5aa", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"dmn_1_id\"));\r", - "});" - ], - "_lastExecutionId": "f345deee-02f0-40e1-acc3-5dc183436f39" - } - } - ] - }, - { - "id": "2e57cceb-de84-4d1a-ae3a-19687d067f42", - "name": "Fallisci nell'Update del Workflow Resource di tipo BPMN 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "03b48eed-2966-489d-991b-b9ee2aa70f69", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "76099228-65be-4673-bcb4-480cf532a3da", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "1af0b366-440b-4b42-bac5-60ef69d63cc2" - } - }, - { - "listen": "prerequest", - "script": { - "id": "4a1bd784-80bc-4a47-8f34-2859633ce59b", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "7fe3ed41-2312-4b58-bf19-136f6508139a" - } - } - ] - }, - { - "id": "b2c581c9-07bb-43d7-a741-861a3d4770d2", - "name": "Fallisci nell'Update del Workflow Resource di tipo BPMN 1 con tipo diverso", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "243cde9a-e2f4-4550-b391-d0750383bfec", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ea25ca90-be1e-4bbc-bcfe-5312ec65b093", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "eb4f9acd-1500-457c-a6a1-dcd7dc9e6e07" - } - }, - { - "listen": "prerequest", - "script": { - "id": "59f27644-1af3-4b96-bf86-89412ef10200", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "3460bf46-0afc-4025-9349-1feb00626c68" - } - } - ] - }, - { - "id": "1fcda2a0-6d8d-4698-8414-18655e228293", - "name": "Fallisci nell'Update del Workflow Resource di tipo BPMN 1 con chiave diversa", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{workflow_bpmn_1_v2_fail}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "526d36a6-c9b8-4411-bd71-65454c9e5c45", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e54198ae-c404-4a99-a4b3-1edefd3f4b99", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "34f80128-0928-4279-8b54-e73fdd93cc46" - } - }, - { - "listen": "prerequest", - "script": { - "id": "bf2ba620-478b-4f3b-8665-e3df1874a029", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"workflow_bpmn_1_v2_fail\",\r", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"form_1_definition_key\")+pm.collectionVariables.get(\"bpmn1_part2\"));" - ], - "_lastExecutionId": "c4b09ccd-e47b-4ac6-bb34-2df025287982" - } - } - ] - }, - { - "id": "e9e83395-0636-48dd-80bb-a51dd33af72c", - "name": "Update Workflow Resource di tipo BPMN 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{workflow_bpmn_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ff7dd58a-cebe-4645-bb79-1de8f74aa96d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "97508391-1849-4135-a8a3-ca63d7f7d032", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.workflowResourceId;", - "var definitionKey = jsonData.definitionKey;", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"workflow_bpmn_1_id\"));", - "});", - "pm.test(\"right definition key\", function () {", - " pm.expect(definitionKey).to.equal(pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\"));", - "})" - ], - "_lastExecutionId": "85291d87-09de-4237-9579-323e252614a7" - } - }, - { - "listen": "prerequest", - "script": { - "id": "99cb4c0f-108c-4380-a5a0-09f5af17908c", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"workflow_bpmn_1_v2\",", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\")+pm.collectionVariables.get(\"bpmn2_part2\"));", - "pm.collectionVariables.set(\"workflow_bpmn_1_v2_definition_key\",pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\"));" - ], - "_lastExecutionId": "f2518a62-5da5-46c3-9fb0-76a0ab32668e" - } - } - ] - }, - { - "id": "dd1dedb7-bf59-47e0-9191-d69a22e2a017", - "name": "Get BPMN_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "0b272246-48e4-4350-bf6a-f8c52a53e3b7", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"workflow_bpmn_1_id\"));\r", - "});" - ], - "_lastExecutionId": "f13652c5-5eb9-4492-be87-31b7b42dc0ea" - } - } - ] - }, - { - "id": "a3415a7f-690b-486b-9185-b8b41518ea48", - "name": "Fallisci nell'Update del Workflow Resource di tipo FORM 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{form_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "dbcbe95a-5195-4a7f-93ca-4016fcc7f26c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "393266b6-9455-4cce-9ad0-9114d072d2c3", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "5ce53aa8-a2ec-496b-9aa8-07e902b98652" - } - }, - { - "listen": "prerequest", - "script": { - "id": "ac9a39a8-71a5-477d-8dda-36b3e5ac634f", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "718d177c-0565-406c-b3b6-c13a84993523" - } - } - ] - }, - { - "id": "5112794c-3d6c-446a-8dbe-eca7e7ff68d2", - "name": "Fallisci nell'Update del Workflow Resource di tipo FORM 1 con tipo diverso", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4663ba61-e008-4d20-8627-c56213cab827", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "af38a92e-bcb3-43c6-995d-aa7223b16ab4", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "f9b7f8d7-b0fd-4362-a0dc-e8c6b16e2231" - } - }, - { - "listen": "prerequest", - "script": { - "id": "11cf8955-4aa0-4cd5-835e-125bcc952ae7", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "918cb2b5-573a-4679-937b-34a1707a3bb3" - } - } - ] - }, - { - "id": "53d924a6-f3b8-4c1b-ae36-02acb886d44c", - "name": "Fallisci nell'Update del Workflow Resource di tipo FORM 1 con chiave diversa", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{form_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "c39bd8d5-e311-40ed-8a44-2f3487a73ebb", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "fc814292-e272-413e-9c55-7b1e1f001126", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "79c17947-7928-4281-992a-893e5127ef80" - } - }, - { - "listen": "prerequest", - "script": { - "id": "4d1e7b00-6ad7-42b6-b34c-a6c1b1281fd9", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"form_1_v2_fail\",\r", - "pm.collectionVariables.get(\"form1_part1\")+pm.collectionVariables.get(\"dmn_1_definition_key\")+pm.collectionVariables.get(\"form1_part2_v2\"));" - ], - "_lastExecutionId": "ff37b2f9-f400-42df-bdb6-dd8bab5890e4" - } - } - ] - }, - { - "id": "e8a4f172-4c41-416a-bb2b-3fdb4f4acc8a", - "name": "Update Workflow Resource di tipo FORM 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{form_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4f565a55-36a0-4fa6-8f3a-42ad3fbb1abb", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e16c5852-106a-42f8-a98d-0abfbb16fa3a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.workflowResourceId;", - "var definitionKey = jsonData.definitionKey;", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"form_1_id\"));", - "});", - "pm.test(\"right definition key\", function () {", - " pm.expect(definitionKey).to.equal(pm.collectionVariables.get(\"form_1_definition_key\"));", - "})" - ], - "_lastExecutionId": "95f4bdae-e081-484e-9600-7ee5ca17cc7d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "e01870c0-ff30-4a23-9dd2-b6005631c1f6", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"form_1_v2\",", - "pm.collectionVariables.get(\"form1_part1\")+pm.collectionVariables.get(\"form_1_definition_key\")+pm.collectionVariables.get(\"form1_part2_v2\"));", - "pm.collectionVariables.set(\"form_1_v2_definition_key\",pm.collectionVariables.get(\"form_1_definition_key\"));" - ], - "_lastExecutionId": "c5eb7edc-697a-4643-922a-a76e7ee9569f" - } - } - ] - }, - { - "id": "44d5765a-e413-4a78-a944-45873a5ca69c", - "name": "Get FORM_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "fc2a4953-07fe-4e56-972e-b51299b7c46b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"form_1_id\"));\r", - "});" - ], - "_lastExecutionId": "4a92d9da-5bef-46a1-9816-b7f8c606c990" - } - } - ] - }, - { - "id": "2f9db32b-fe81-4c05-970b-bb591572c8f7", - "name": "Download BPMN", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "download", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "prerequest", - "script": { - "id": "c39ea9f1-135e-4ab9-b350-717fdb2d41a6", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "e3b43463-bed8-48c0-a285-c07681b429dc" - } - }, - { - "listen": "test", - "script": { - "id": "f5dffe56-422b-4b50-8a9e-f5db6f60adc6", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "cb2dd024-a3a5-44d3-ab20-77d1538a0020" - } - } - ] - }, - { - "id": "9e468203-999b-435f-8794-66cdcbd35774", - "name": "Download BPMN FrontEnd", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "downloadFrontEnd", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "d275c88b-8ef1-4796-ac91-ed8ef386980f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "0078d91f-5cd6-44fe-85f4-36d48397a4c8" - } - } - ] - }, - { - "id": "1e91a7c0-bf61-49a5-9ad4-a527409461fd", - "name": "Download Workflow Resource", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "download", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/octet-stream" - } - ], - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "c35cf3b2-7f0c-4954-b190-f74ca10fa21b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "a45b18c5-f9ea-4b95-b1e4-27ef95991b77" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": {} - } - }, - { - "id": "645c8afc-171c-4d0f-b297-f7617aaebbcd", - "name": "Download Workflow Resource FrontEnd", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "downloadFrontEnd", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "05453f79-80f7-4618-b0ee-7294c40ba38b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "bcbc078a-1012-402a-ad9c-9dc892af6632" - } - } - ] - }, - { - "id": "8fbfe983-2ef2-4dbe-8e04-39dcb12e148c", - "name": "Disabilita risorsa esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - "disable", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "2bd9298b-3ca0-4978-b5a2-0db120e6a50b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "49ae4878-0f48-4db5-9687-94b419136c72" - } - } - ] - }, - { - "id": "85514c22-db21-473f-bc23-3b9e7f9377f3", - "name": "Fallisci nel disabilitare risorsa inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - "disable", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "3f86c942-1e84-470f-ba79-c0e67f3a2b04", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000029\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000029\");\r", - "})" - ], - "_lastExecutionId": "50d22233-f884-41b6-a9ec-8e937a4b2e20" - } - } - ] - }, - { - "id": "a1f9d2bd-fb46-478d-a471-654d7cec20f1", - "name": "Disabilita Workflow Resource esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "disable", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "0f01a948-7909-43b8-94e0-78c3c4aa0ab1", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "213c6637-242e-42c7-b84b-06b632e4e72b" - } - } - ] - }, - { - "id": "73d6b852-cf9d-43a3-800c-f38663ec5f42", - "name": "Fallisci nel disabilitare Workflow Resource inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "disable", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "9622af73-ca3e-45e4-92c0-e718c04d834a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000023\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000023\");\r", - "})" - ], - "_lastExecutionId": "75d23ade-930c-41a3-9aa2-24ff738fd4b9" - } - } - ] - }, - { - "id": "7d184d35-e8b5-439a-9f37-dfa0de918cfc", - "name": "Elimina risorsa esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "7cb56217-4d0b-407b-ae89-72991f68f2ef", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "14343b6b-f847-49a1-b53a-51282713fd84" - } - } - ] - }, - { - "id": "4f2f9514-92d2-4053-a86f-f32b150f0fe5", - "name": "Fallisci nell'eliminare risorsa non esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "cbcf8f23-c137-4b8d-b440-cf2bce51f704", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.expect(data.errorCode).to.equal(\"ATMLM_4000029\");" - ], - "_lastExecutionId": "d9404d30-e086-44b3-860a-6c84bc7cc2b0" - } - } - ] - } - ], - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "id": "822245d9-b944-4b3b-9f6c-1617b2673128", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "6bcf79ee-167c-43bc-9c72-0690bb7664bd" - } - }, - { - "listen": "test", - "script": { - "id": "606359fe-b946-4843-845b-a8d38c196f9b", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "70b89f18-73de-438d-ad15-d3d71f5c70c1" - } - } - ], - "variable": [ - { - "type": "string", - "value": "", - "key": "bpmn_1_id" - }, - { - "type": "string", - "value": "1234", - "key": "acquirer_id_1" - }, - { - "type": "string", - "value": "5678", - "key": "acquirer_id_2" - }, - { - "type": "string", - "value": "999999999", - "key": "acquirer_id_invalid" - }, - { - "type": "string", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "key": "bpmn1_part2" - }, - { - "type": "any", - "value": "", - "key": "bpmn_1" - }, - { - "type": "string", - "value": "", - "key": "bpmn_1_definition_key" - }, - { - "type": "string", - "value": "\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n", - "key": "bpmn2_part2" - }, - { - "type": "any", - "value": "", - "key": "bpmn_2" - }, - { - "type": "string", - "value": "", - "key": "bpmn_3_definition_key" - }, - { - "type": "any", - "value": "", - "key": "bpmn_3" - }, - { - "type": "any", - "value": "", - "key": "bpmn_3_id" - }, - { - "type": "any", - "value": "", - "key": "bpmn_1_v2" - }, - { - "type": "any", - "value": "", - "key": "bpmn_1_v2_definition_key" - }, - { - "type": "any", - "value": "", - "key": "bpmn_4" - }, - { - "type": "any", - "value": "", - "key": "bpmn_4_definition_key" - }, - { - "type": "any", - "value": "", - "key": "bpmn_4_id" - }, - { - "disabled": true, - "type": "any", - "value": "", - "key": "baseUrl" - }, - { - "type": "string", - "value": "", - "key": "dmn_1_id" - }, - { - "type": "string", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "key": "dmn1_part2" - }, - { - "type": "string", - "value": "", - "key": "dmn_1_definition_key" - }, - { - "type": "string", - "value": "", - "key": "dmn_1_" - }, - { - "type": "string", - "value": "", - "key": "form_1" - }, - { - "type": "string", - "value": "", - "key": "form_1_id" - }, - { - "type": "string", - "value": "", - "key": "form_1_definition_key" - }, - { - "type": "string", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"", - "key": "form1_part1" - }, - { - "type": "string", - "value": "\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "key": "form1_part2" - }, - { - "type": "string", - "value": "\" name=\"codice atto e ente validi\" camunda:historyTimeToLive=\"150\">\n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "key": "dmn1_part2_v2" - }, - { - "type": "string", - "value": "", - "key": "dmn_1_v2" - }, - { - "type": "string", - "value": "", - "key": "dmn_1_v2_definition_key" - }, - { - "type": "string", - "value": "", - "key": "dmn_1_v2_id" - }, - { - "type": "string", - "value": "\n

My first paragraph.

\n\n\n", - "key": "html1_part2" - }, - { - "type": "string", - "value": "", - "key": "html_1_id" - }, - { - "type": "string", - "value": "", - "key": "other_1" - }, - { - "type": "string", - "value": "", - "key": "other_1_id" - }, - { - "type": "string", - "value": "\n\n\n

", - "key": "html1_part1" - }, - { - "type": "string", - "value": "", - "key": "html_content" - }, - { - "type": "any", - "value": "", - "key": "html_1" - }, - { - "type": "string", - "value": "", - "key": "html_filename" - }, - { - "type": "string", - "value": "", - "key": "html_path" - }, - { - "type": "string", - "value": "", - "key": "other_filename" - }, - { - "type": "string", - "value": "", - "key": "other_path" - }, - { - "type": "string", - "value": "", - "key": "html_1_v2" - }, - { - "type": "string", - "value": "", - "key": "html_content_v2" - }, - { - "type": "string", - "value": "", - "key": "other_1_v2" - }, - { - "type": "string", - "value": "", - "key": "dmn_2" - }, - { - "type": "string", - "value": "", - "key": "form_2" - }, - { - "type": "string", - "value": "\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platforms\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "key": "form1_part2_v2" - }, - { - "type": "string", - "value": "", - "key": "form_1_v2" - }, - { - "type": "any", - "value": "", - "key": "form_1_v2_definition_key" - }, - { - "type": "string", - "value": "", - "key": "not_found_uuid" - }, - { - "type": "string", - "value": "test", - "key": "same_content" - }, - { - "type": "any", - "value": "", - "key": "dmn_1" - }, - { - "type": "string", - "value": "", - "key": "html_1_content" - }, - { - "type": "string", - "value": "", - "key": "other_1_content" - }, - { - "type": "string", - "value": "", - "key": "dmn_1_duplicate" - }, - { - "type": "string", - "value": "", - "key": "form_1_duplicate" - }, - { - "type": "string", - "value": "", - "key": "dmn_1_v2_fail" - }, - { - "type": "string", - "value": "", - "key": "form_1_v2_fail" - }, - { - "type": "string", - "value": "", - "key": "workflow_bpmn_1" - }, - { - "type": "string", - "value": "\n\n \n \n Flow_04wrgr6\n \n \n Flow_04wrgr6\n Flow_096edrn\n Flow_0q7puws\n \n \n \n \n \n \n 31\n error on stampanteKO.html\n \n \n \n \n 27\n timeout on stampanteKO.html\n \n \n \n \n ${true}\n \n \n ${150}\n \n \n ${false}\n \n \n ${false}\n ${continue}\n \n \n Flow_096edrn\n Flow_05evy1e\n \n \n Flow_05evy1e\n Flow_1r3rpfh\n Flow_1xqfmbo\n \n \n Flow_0q7puws\n Flow_1r3rpfh\n Flow_0iavi1u\n Flow_1qcw6m1\n \n \n \n \n \n \n 31\n error on inputCodiceAttoEnte.html\n \n \n \n \n timeout on inputCodiceAttoEnte.html\n 27\n \n \n ${250}\n \n \n Flow_0iavi1u\n Flow_0te1s6o\n Flow_0cwnlkd\n \n \n \n \n SCAN_BIIL_DATA\n \n \n QRcode\n \n \n ${150}\n \n \n timeout on bill scan\n 54\n \n \n \n \n 44\n \n \n ${count +1 }\n \n \n Flow_01b75gy\n Flow_1944z0s\n Flow_1dga4mu\n \n \n Flow_04szigj\n Flow_04u54zp\n Flow_1rjwaqr\n \n \n Flow_1rjwaqr\n \n \n \n Flow_1xqfmbo\n \n \n \n \n \n client_secret=${client_secret}&client_id=${client_id}&grant_type=client_credentials\n \n \n \n \n application/x-www-form-urlencoded\n 06789\n 64874412\n ATM\n \n \n \n \n 7\n \n \n https://example-rest/user/{id}\n ${response}\n ${statusCode}\n \n \n Flow_0orckpy\n Flow_04u54zp\n Flow_0x3ks2r\n \n \n \n \n ${PRINTER=='OK'}\n \n \n \n ${continue}\n \n \n \n \n #{SCANNER=='OK'}\n \n \n \n \n ${count < 3}\n \n \n \n \n ${validateResult}\n \n \n \n \n Flow_0x3ks2r\n \n \n \n \n \n ${0}\n \n \n Flow_1qcw6m1\n Flow_1944z0s\n \n \n \n Flow_1dga4mu\n Flow_0orckpy\n Flow_1x6urq9\n \n \n Flow_1x6urq9\n Flow_01b75gy\n Flow_0te1s6o\n \n \n ${scanResult =='KO'}\n \n \n Flow_0cwnlkd\n Flow_04szigj\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n", - "key": "workflow_bpmn1_part2" - }, - { - "type": "string", - "value": "\" isExecutable=\"true\" camunda:historyTimeToLive=\"180\">\n \n Flow_04wrgr6\n \n \n Flow_04wrgr6\n Flow_096edrn\n Flow_0q7puws\n \n \n \n \n \n \n 31\n error on stampanteKO.html\n \n \n \n \n 27\n timeout on stampanteKO.html\n \n \n \n \n ${true}\n \n \n ${150}\n \n \n ${false}\n \n \n ${false}\n ${continue}\n \n \n Flow_096edrn\n Flow_05evy1e\n \n \n Flow_05evy1e\n Flow_1r3rpfh\n Flow_1xqfmbo\n \n \n Flow_0q7puws\n Flow_1r3rpfh\n Flow_0iavi1u\n Flow_1qcw6m1\n \n \n \n \n \n \n 31\n error on inputCodiceAttoEnte.html\n \n \n \n \n timeout on inputCodiceAttoEnte.html\n 27\n \n \n ${250}\n \n \n Flow_0iavi1u\n Flow_0te1s6o\n Flow_0cwnlkd\n \n \n \n \n SCAN_BIIL_DATA\n \n \n QRcode\n \n \n ${150}\n \n \n timeout on bill scan\n 54\n \n \n \n \n 44\n \n \n ${count +1 }\n \n \n Flow_01b75gy\n Flow_1944z0s\n Flow_1dga4mu\n \n \n Flow_04szigj\n Flow_04u54zp\n Flow_1rjwaqr\n \n \n Flow_1rjwaqr\n \n \n \n Flow_1xqfmbo\n \n \n \n \n \n client_secret=${client_secret}&client_id=${client_id}&grant_type=client_credentials\n \n \n \n \n application/x-www-form-urlencoded\n 06789\n 64874412\n ATM\n \n \n \n \n 7\n \n \n https://example-rest/user/{id}\n ${response}\n ${statusCode}\n \n \n Flow_0orckpy\n Flow_04u54zp\n Flow_0x3ks2r\n \n \n \n \n ${PRINTER=='OK'}\n \n \n \n ${continue}\n \n \n \n \n #{SCANNER=='OK'}\n \n \n \n \n ${count < 3}\n \n \n \n \n ${validateResult}\n \n \n \n \n Flow_0x3ks2r\n \n \n \n \n \n ${0}\n \n \n Flow_1qcw6m1\n Flow_1944z0s\n \n \n \n Flow_1dga4mu\n Flow_0orckpy\n Flow_1x6urq9\n \n \n Flow_1x6urq9\n Flow_01b75gy\n Flow_0te1s6o\n \n \n ${scanResult =='KO'}\n \n \n Flow_0cwnlkd\n Flow_04szigj\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "key": "workflow_bpmn1_part2v2" - }, - { - "type": "string", - "value": "", - "key": "workflow_bpmn_1_id" - }, - { - "type": "string", - "value": "", - "key": "workflow_bpmn_1_definition_key" - }, - { - "type": "any", - "value": "", - "key": "workflowbpmn_1" - }, - { - "type": "any", - "value": "", - "key": "workflowbpmn_1_definition_key" - }, - { - "type": "any", - "value": "", - "key": "workflowbpmn_1_id" - }, - { - "type": "string", - "value": "", - "key": "workflow_bpmn_1_duplicate" - }, - { - "type": "string", - "value": "", - "key": "workflow_bpmn_2" - }, - { - "type": "string", - "value": "", - "key": "workflow_bpmn_1_v2_fail" - }, - { - "type": "string", - "value": "", - "key": "workflow_bpmn_1_v2" - }, - { - "type": "string", - "value": "", - "key": "workflow_bpmn_1_v2_definition_key" - } - ], - "info": { - "_postman_id": "674f897d-a11f-45e9-abdb-666877d67f18", - "name": "Integration_test_model_completa_15feb", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" - } - }, - "environment": { - "id": "d7e306c2-cfe9-40f4-bde4-035c7d368aad", - "values": [ - { - "type": "any", - "value": "http://host.testcontainers.internal:8086", - "key": "baseUrl" - } - ] - }, - "globals": { - "id": "2d3bacfd-1cc8-46ae-92bc-24b4f3b54957", - "values": [] - }, - "run": { - "stats": { - "iterations": { - "total": 1, - "pending": 0, - "failed": 0 - }, - "items": { - "total": 117, - "pending": 0, - "failed": 0 - }, - "scripts": { - "total": 411, - "pending": 0, - "failed": 0 - }, - "prerequests": { - "total": 117, - "pending": 0, - "failed": 0 - }, - "requests": { - "total": 138, - "pending": 0, - "failed": 0 - }, - "tests": { - "total": 117, - "pending": 0, - "failed": 0 - }, - "assertions": { - "total": 158, - "pending": 0, - "failed": 0 - }, - "testScripts": { - "total": 234, - "pending": 0, - "failed": 0 - }, - "prerequestScripts": { - "total": 177, - "pending": 0, - "failed": 0 - } - }, - "timings": { - "responseAverage": 25.15942028985508, - "responseMin": 6, - "responseMax": 668, - "responseSd": 59.25494492626467, - "dnsAverage": 0, - "dnsMin": 0, - "dnsMax": 0, - "dnsSd": 0, - "firstByteAverage": 0, - "firstByteMin": 0, - "firstByteMax": 0, - "firstByteSd": 0, - "started": 1715161893499, - "completed": 1715161915550 - }, - "executions": [ - { - "cursor": { - "position": 0, - "iteration": 0, - "length": 117, - "cycles": 1, - "empty": false, - "eof": false, - "bof": true, - "cr": false, - "ref": "30de0ce5-262a-4108-84c0-90556669e8e4", - "httpRequestId": "e571155b-4b2b-4535-9eb8-72411d42c669" - }, - "item": { - "id": "cf77071b-b285-4a1a-aa58-bfaaaec1f5d4", - "name": "Salva Modello BPMN 1 di tipo MENU", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1cb834c3-e937-4346-b764-a9781a08ce26", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8609dbd0-d053-471a-bc80-3399293f933e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_1_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "f0dfd659-bbc2-412c-a283-04e32469a878" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f2f74a8e-9bf7-491c-84b4-cbf615241fe9", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "cc6b78d6-d31a-44de-a66a-ce15eb07c306" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "8e198caf-b963-44bb-b2dc-0a03a3a2f68c", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2741", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "5f6e3451-c70c-4021-bca7-a2fe150d18eb", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "875" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 97, - 97, - 52, - 98, - 57, - 100, - 98, - 49, - 45, - 52, - 102, - 102, - 99, - 45, - 52, - 57, - 52, - 55, - 45, - 56, - 49, - 53, - 98, - 45, - 56, - 99, - 56, - 100, - 55, - 101, - 51, - 56, - 97, - 57, - 52, - 99, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 111, - 108, - 117, - 112, - 116, - 97, - 116, - 101, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 52, - 51, - 57, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 48, - 54, - 97, - 101, - 51, - 55, - 56, - 52, - 101, - 48, - 55, - 98, - 100, - 50, - 53, - 50, - 101, - 100, - 56, - 57, - 51, - 97, - 48, - 54, - 99, - 101, - 97, - 53, - 98, - 50, - 99, - 54, - 56, - 50, - 97, - 53, - 51, - 56, - 98, - 97, - 53, - 99, - 52, - 55, - 53, - 97, - 48, - 54, - 55, - 97, - 99, - 54, - 48, - 49, - 53, - 49, - 102, - 99, - 100, - 57, - 57, - 48, - 101, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 50, - 55, - 100, - 57, - 99, - 54, - 54, - 45, - 98, - 100, - 55, - 99, - 45, - 52, - 98, - 55, - 57, - 45, - 56, - 102, - 51, - 99, - 45, - 49, - 57, - 51, - 56, - 55, - 52, - 100, - 55, - 102, - 49, - 49, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 97, - 97, - 52, - 98, - 57, - 100, - 98, - 49, - 45, - 52, - 102, - 102, - 99, - 45, - 52, - 57, - 52, - 55, - 45, - 56, - 49, - 53, - 98, - 45, - 56, - 99, - 56, - 100, - 55, - 101, - 51, - 56, - 97, - 57, - 52, - 99, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 52, - 46, - 57, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 52, - 46, - 57, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 52, - 46, - 57, - 56, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 52, - 46, - 57, - 56, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 668, - "responseSize": 875 - }, - "id": "cf77071b-b285-4a1a-aa58-bfaaaec1f5d4", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "position": 0, - "iteration": 0, - "length": 117, - "cycles": 1, - "empty": false, - "eof": false, - "bof": true, - "cr": false, - "ref": "30de0ce5-262a-4108-84c0-90556669e8e4", - "httpRequestId": "e571155b-4b2b-4535-9eb8-72411d42c669" - }, - "item": { - "id": "cf77071b-b285-4a1a-aa58-bfaaaec1f5d4", - "name": "Salva Modello BPMN 1 di tipo MENU", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1cb834c3-e937-4346-b764-a9781a08ce26", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8609dbd0-d053-471a-bc80-3399293f933e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_1_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "f0dfd659-bbc2-412c-a283-04e32469a878" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f2f74a8e-9bf7-491c-84b4-cbf615241fe9", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "cc6b78d6-d31a-44de-a66a-ce15eb07c306" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "8e198caf-b963-44bb-b2dc-0a03a3a2f68c", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2741", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "5f6e3451-c70c-4021-bca7-a2fe150d18eb", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "875" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 97, - 97, - 52, - 98, - 57, - 100, - 98, - 49, - 45, - 52, - 102, - 102, - 99, - 45, - 52, - 57, - 52, - 55, - 45, - 56, - 49, - 53, - 98, - 45, - 56, - 99, - 56, - 100, - 55, - 101, - 51, - 56, - 97, - 57, - 52, - 99, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 111, - 108, - 117, - 112, - 116, - 97, - 116, - 101, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 52, - 51, - 57, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 48, - 54, - 97, - 101, - 51, - 55, - 56, - 52, - 101, - 48, - 55, - 98, - 100, - 50, - 53, - 50, - 101, - 100, - 56, - 57, - 51, - 97, - 48, - 54, - 99, - 101, - 97, - 53, - 98, - 50, - 99, - 54, - 56, - 50, - 97, - 53, - 51, - 56, - 98, - 97, - 53, - 99, - 52, - 55, - 53, - 97, - 48, - 54, - 55, - 97, - 99, - 54, - 48, - 49, - 53, - 49, - 102, - 99, - 100, - 57, - 57, - 48, - 101, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 50, - 55, - 100, - 57, - 99, - 54, - 54, - 45, - 98, - 100, - 55, - 99, - 45, - 52, - 98, - 55, - 57, - 45, - 56, - 102, - 51, - 99, - 45, - 49, - 57, - 51, - 56, - 55, - 52, - 100, - 55, - 102, - 49, - 49, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 97, - 97, - 52, - 98, - 57, - 100, - 98, - 49, - 45, - 52, - 102, - 102, - 99, - 45, - 52, - 57, - 52, - 55, - 45, - 56, - 49, - 53, - 98, - 45, - 56, - 99, - 56, - 100, - 55, - 101, - 51, - 56, - 97, - 57, - 52, - 99, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 52, - 46, - 57, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 52, - 46, - 57, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 52, - 46, - 57, - 56, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 52, - 46, - 57, - 56, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 668, - "responseSize": 875 - }, - "id": "cf77071b-b285-4a1a-aa58-bfaaaec1f5d4", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f3931c67-6073-4f57-a9ee-ea5c70ec04b7", - "length": 117, - "cycles": 1, - "position": 1, - "iteration": 0, - "httpRequestId": "d4d043f5-a082-4953-bafc-c9e5460fcbaf" - }, - "item": { - "id": "bbd4d6eb-01ae-4c1e-ba59-cbe8cdebb5fb", - "name": "Disabilita BPMN 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "26fdaa22-0da3-4a09-b837-e562b57729fb", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "8d652a86-6201-4c9e-863b-fe204a95f187" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - "aa4b9db1-4ffc-4947-815b-8c8d7e38a94c", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "79d40a95-79f7-4f17-8b2b-15da84b0afcf", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "91858880-e0f9-4836-ade7-757f31071ee9", - "status": "No Content", - "code": 204, - "header": [ - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [] - }, - "cookie": [], - "responseTime": 52, - "responseSize": 0 - }, - "id": "bbd4d6eb-01ae-4c1e-ba59-cbe8cdebb5fb", - "assertions": [ - { - "assertion": "Status code is 204", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "76b68b07-7982-4b72-902d-7e100efd9a99", - "length": 117, - "cycles": 1, - "position": 2, - "iteration": 0, - "httpRequestId": "7f130c2e-3419-4ae5-98b1-7fe08919ef7c" - }, - "item": { - "id": "9d7f9cf2-4b2c-4d54-af57-f1abc53e3c86", - "name": "Fallisci nel disabilitare BPMN inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "08eb729f-e0a2-478c-8f1b-1fbe21d31f04", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 404\", function () {\r", - " pm.response.to.have.status(404);\r", - "});" - ], - "_lastExecutionId": "7f2bb2bb-cc51-4c7b-8aa5-ba4d15167259" - } - }, - { - "listen": "prerequest", - "script": { - "id": "a02fe2ce-2916-492c-8f18-cdcedc1a44ff", - "type": "text/javascript", - "exec": [ - "var uuid = require(\"uuid\");\r", - "var myUUID = uuid.v4();\r", - "pm.collectionVariables.set(\"not_found_uuid\", myUUID);" - ], - "_lastExecutionId": "40163970-3257-4d14-890f-000550dcf25c" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - "7b0ee690-12d2-4b59-a461-0472331c4840", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "1e9cab9e-0115-455e-b04c-2ea940d5829d", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "4ec88f99-1b5b-48ad-9db8-876a7372245b", - "status": "Not Found", - "code": 404, - "header": [ - { - "key": "content-length", - "value": "196" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 48, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 66, - 112, - 109, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 80, - 75, - 40, - 98, - 112, - 109, - 110, - 73, - 100, - 61, - 55, - 98, - 48, - 101, - 101, - 54, - 57, - 48, - 45, - 49, - 50, - 100, - 50, - 45, - 52, - 98, - 53, - 57, - 45, - 97, - 52, - 54, - 49, - 45, - 48, - 52, - 55, - 50, - 51, - 51, - 49, - 99, - 52, - 56, - 52, - 48, - 44, - 32, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 49, - 41, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 52, - 125 - ] - }, - "cookie": [], - "responseTime": 18, - "responseSize": 196 - }, - "id": "9d7f9cf2-4b2c-4d54-af57-f1abc53e3c86", - "assertions": [ - { - "assertion": "Status code is 404", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "b7135799-172e-4bbf-b7cd-0da0cf1472ba", - "length": 117, - "cycles": 1, - "position": 3, - "iteration": 0, - "httpRequestId": "1df97dfc-0654-41e3-9e4e-d637ac9533fd" - }, - "item": { - "id": "332ed6b4-c762-40d1-bc3e-7d2f4dc07494", - "name": "Salva Modello BPMN 1 dopo disable", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d2a1f4d3-0bcf-43a9-b51e-05ff0901a176", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ac7dfff1-f4d4-4bf5-b4b3-03ca688df905", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_1_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "ecdbaca4-8b7a-4529-b4be-5162af14bb23" - } - }, - { - "listen": "prerequest", - "script": { - "id": "938cf448-b4a7-4663-8ef0-a3b6e985580a", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "b8e963fd-893f-47f0-9a97-0d46b0d4e702" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "98affb82-471c-48f1-b186-c6b78dcffffd", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2740", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "7af867ae-df18-4886-8d2a-dfbf740a43fc", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "874" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 53, - 49, - 55, - 50, - 52, - 99, - 48, - 50, - 98, - 53, - 52, - 101, - 102, - 53, - 53, - 57, - 52, - 99, - 100, - 55, - 53, - 97, - 54, - 100, - 101, - 56, - 50, - 98, - 56, - 54, - 54, - 50, - 56, - 51, - 50, - 100, - 57, - 52, - 55, - 50, - 97, - 50, - 48, - 48, - 97, - 57, - 48, - 57, - 100, - 55, - 48, - 56, - 56, - 99, - 50, - 49, - 55, - 56, - 48, - 52, - 100, - 50, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 48, - 49, - 53, - 102, - 55, - 52, - 97, - 45, - 56, - 51, - 102, - 49, - 45, - 52, - 52, - 48, - 102, - 45, - 56, - 51, - 52, - 102, - 45, - 51, - 98, - 55, - 53, - 48, - 57, - 101, - 57, - 51, - 55, - 57, - 54, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 34, - "responseSize": 874 - }, - "id": "332ed6b4-c762-40d1-bc3e-7d2f4dc07494", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "b7135799-172e-4bbf-b7cd-0da0cf1472ba", - "length": 117, - "cycles": 1, - "position": 3, - "iteration": 0, - "httpRequestId": "1df97dfc-0654-41e3-9e4e-d637ac9533fd" - }, - "item": { - "id": "332ed6b4-c762-40d1-bc3e-7d2f4dc07494", - "name": "Salva Modello BPMN 1 dopo disable", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d2a1f4d3-0bcf-43a9-b51e-05ff0901a176", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ac7dfff1-f4d4-4bf5-b4b3-03ca688df905", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_1_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "ecdbaca4-8b7a-4529-b4be-5162af14bb23" - } - }, - { - "listen": "prerequest", - "script": { - "id": "938cf448-b4a7-4663-8ef0-a3b6e985580a", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "b8e963fd-893f-47f0-9a97-0d46b0d4e702" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "98affb82-471c-48f1-b186-c6b78dcffffd", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2740", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "7af867ae-df18-4886-8d2a-dfbf740a43fc", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "874" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 53, - 49, - 55, - 50, - 52, - 99, - 48, - 50, - 98, - 53, - 52, - 101, - 102, - 53, - 53, - 57, - 52, - 99, - 100, - 55, - 53, - 97, - 54, - 100, - 101, - 56, - 50, - 98, - 56, - 54, - 54, - 50, - 56, - 51, - 50, - 100, - 57, - 52, - 55, - 50, - 97, - 50, - 48, - 48, - 97, - 57, - 48, - 57, - 100, - 55, - 48, - 56, - 56, - 99, - 50, - 49, - 55, - 56, - 48, - 52, - 100, - 50, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 48, - 49, - 53, - 102, - 55, - 52, - 97, - 45, - 56, - 51, - 102, - 49, - 45, - 52, - 52, - 48, - 102, - 45, - 56, - 51, - 52, - 102, - 45, - 51, - 98, - 55, - 53, - 48, - 57, - 101, - 57, - 51, - 55, - 57, - 54, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 34, - "responseSize": 874 - }, - "id": "332ed6b4-c762-40d1-bc3e-7d2f4dc07494", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "c8ed9945-ae59-46ed-a5aa-1750c38ab5b5", - "length": 117, - "cycles": 1, - "position": 4, - "iteration": 0, - "httpRequestId": "c858d496-619c-44a1-afb6-260c1c1d232c" - }, - "item": { - "id": "e5140f3a-51a5-4987-8426-7a55870075a8", - "name": "Fallisci nel salvare un file BPMN_2 diverso, ma con stessa chiave", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1_fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8a326018-1599-41d2-a5d2-ecf1e803f30c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "0823a938-8d22-42d4-b524-6887936ce43c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "5f24803d-42c5-4c6c-be7f-bb0d8d474daf" - } - }, - { - "listen": "prerequest", - "script": { - "id": "1a1df5c6-963c-44ac-99ad-94b347b793eb", - "type": "text/javascript", - "exec": [ - "", - "pm.collectionVariables.set(\"bpmn_2\",", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"bpmn_1_definition_key\")+pm.collectionVariables.get(\"bpmn2_part2\"));" - ], - "_lastExecutionId": "41975b27-c511-4aaa-9a5d-81bac4c52141" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "18f435d4-b2c2-4ea3-8adc-0b0b3652a9d4", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2744", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1_fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "94b1d16c-e412-4bcb-a64b-7bc1d08d2e27", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "144" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 32, - 66, - 80, - 77, - 78, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 18, - "responseSize": 144 - }, - "id": "e5140f3a-51a5-4987-8426-7a55870075a8", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "dab63fdd-b1b9-44c9-b1d3-3b4b8479da23", - "length": 117, - "cycles": 1, - "position": 5, - "iteration": 0, - "httpRequestId": "f80ae621-d998-4109-a3b0-1f51f510ed42" - }, - "item": { - "id": "23e5ae66-c9f6-44b1-aa23-d9070ba42e1c", - "name": "Fallisci nell'associare un file inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "6a0e1873-c6a2-4889-903e-47c33d4491f6", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"1234\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "80a9bf6a-7632-4ed6-bdda-6ee648b4c722", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000002\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000002\");\r", - "})\r", - "" - ], - "_lastExecutionId": "1010c1ed-c65d-4109-bc50-07d12a2c756d" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "6a0e1873-c6a2-4889-903e-47c33d4491f6", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "system": true - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "d881d6e1-c2d4-478e-a89a-d3ab49fc48a4", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "73", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"1234\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "4dc2d31b-86ec-473b-8dd4-b1c20a80e6a3", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "224" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 48, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 66, - 80, - 77, - 78, - 32, - 97, - 32, - 99, - 117, - 105, - 32, - 115, - 105, - 32, - 102, - 97, - 32, - 114, - 105, - 102, - 101, - 114, - 105, - 109, - 101, - 110, - 116, - 111, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 58, - 32, - 66, - 112, - 109, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 80, - 75, - 40, - 98, - 112, - 109, - 110, - 73, - 100, - 61, - 54, - 97, - 48, - 101, - 49, - 56, - 55, - 51, - 45, - 99, - 54, - 97, - 50, - 45, - 52, - 56, - 56, - 57, - 45, - 57, - 48, - 51, - 101, - 45, - 52, - 55, - 99, - 51, - 51, - 100, - 52, - 52, - 57, - 49, - 102, - 54, - 44, - 32, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 49, - 41, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 32, - "responseSize": 224 - }, - "id": "23e5ae66-c9f6-44b1-aa23-d9070ba42e1c", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - }, - { - "assertion": "errorCode is ATMLM_4000002", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "48813612-6ea2-4a3c-b96b-646a9e066e1d", - "length": 117, - "cycles": 1, - "position": 6, - "iteration": 0, - "httpRequestId": "d9fed1f3-7fc7-48d1-9867-4f949125938b" - }, - "item": { - "id": "0d044127-da7c-4ce7-ae79-4c5908fdc435", - "name": "Fallisci nell'associare un file non deployato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"1234\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "649f2fe6-748d-49c0-9b2a-7694c01cbbc8", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000003\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000003\");\r", - "})\r", - "" - ], - "_lastExecutionId": "47873143-9522-4ccf-944a-ea79ff5b0df3" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "system": true - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "5ac96242-4068-42f6-a77a-54b1c484f8d1", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "73", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"1234\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "ee7a9a0c-3349-47ea-8546-2369e87e562c", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "208" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 83, - 84, - 65, - 84, - 85, - 83, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 48, - 51, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 100, - 105, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 110, - 111, - 110, - 32, - 195, - 168, - 32, - 105, - 110, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 58, - 32, - 66, - 112, - 109, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 80, - 75, - 40, - 98, - 112, - 109, - 110, - 73, - 100, - 61, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 44, - 32, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 49, - 41, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 208 - }, - "id": "0d044127-da7c-4ce7-ae79-4c5908fdc435", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - }, - { - "assertion": "errorCode is ATMLM_4000003", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f8e6b530-035c-4837-8800-4a933490804d", - "length": 117, - "cycles": 1, - "position": 7, - "iteration": 0, - "httpRequestId": "fc07c2be-e6fc-48f2-af62-8248f5861e7e" - }, - "item": { - "id": "0b8a3f45-3369-4610-b475-bdb980fd333c", - "name": "DEPLOY MODELLO VALIDO BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "40cf8807-480d-44de-82e3-a21701f3fe6e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9d9b991a-5bf5-4e3a-94de-66dede4af94c", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "37eff1ea-f61a-4383-b4ad-fa5a48d83b3d", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "006f0f24-c1c1-4dd8-9474-3f7f85c861df" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "dff5b243-648d-4fc9-8442-31d79193fb97", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "3bb48d32-de58-4b5c-acb0-9adbeeea02d3", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "962" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 53, - 49, - 55, - 50, - 52, - 99, - 48, - 50, - 98, - 53, - 52, - 101, - 102, - 53, - 53, - 57, - 52, - 99, - 100, - 55, - 53, - 97, - 54, - 100, - 101, - 56, - 50, - 98, - 56, - 54, - 54, - 50, - 56, - 51, - 50, - 100, - 57, - 52, - 55, - 50, - 97, - 50, - 48, - 48, - 97, - 57, - 48, - 57, - 100, - 55, - 48, - 56, - 56, - 99, - 50, - 49, - 55, - 56, - 48, - 52, - 100, - 50, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 48, - 49, - 53, - 102, - 55, - 52, - 97, - 45, - 56, - 51, - 102, - 49, - 45, - 52, - 52, - 48, - 102, - 45, - 56, - 51, - 52, - 102, - 45, - 51, - 98, - 55, - 53, - 48, - 57, - 101, - 57, - 51, - 55, - 57, - 54, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 52, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 110, - "responseSize": 962 - }, - "id": "0b8a3f45-3369-4610-b475-bdb980fd333c", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "b06678b2-7961-49ec-aae3-d912b40aaa5c", - "length": 117, - "cycles": 1, - "position": 8, - "iteration": 0, - "httpRequestId": "8399a602-8cd3-473b-8027-fddfd259e0f2" - }, - "item": { - "id": "38daa82d-d7f2-4b14-ad1b-e08f633dcefc", - "name": "ASSOCIA il MODELLO BPMN_1 alla banca con acquirerId 1234", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_1_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1ed89b21-b899-45d9-a540-bcaca073f849", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "2b6b96ae-8369-4c1a-8d1b-de90f3a195e3", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "b6d1410a-dbbe-4631-9c7f-095283ff8144" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - "1234", - "associations", - "function", - "MENU" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "a65810ad-4fdd-489d-8fda-131af80fb0b0", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "496", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "94cbb681-d6bd-4364-9f55-65d4d402eaf2", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "1107" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 91, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 50, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 50, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 50, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93 - ] - }, - "cookie": [], - "responseTime": 193, - "responseSize": 1107 - }, - "id": "38daa82d-d7f2-4b14-ad1b-e08f633dcefc", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "4a00c80a-2215-49a9-8e0e-00c41e1a6b41", - "length": 117, - "cycles": 1, - "position": 9, - "iteration": 0, - "httpRequestId": "69ffc27a-3fbf-4cd9-9a46-b023fa78e1da" - }, - "item": { - "id": "60bd50de-6d49-4734-96f3-1ff08327cc64", - "name": "Fallisci nel modificare tripletta non ancora associata", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":{{acquirer_id_2}},\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "3152b954-568b-49ff-b9b3-f2905543aaed", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000049\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000049\");\r", - "})" - ], - "_lastExecutionId": "5b15e856-1af9-4c2b-b6bc-4bd555856887" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "system": true - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "4ad42dff-a5e3-4b35-853b-9dc03576fc86", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "71", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":5678,\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a2441b1f-8b05-4996-9a10-b7ca2c180c08", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "213" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 65, - 78, - 78, - 79, - 84, - 95, - 82, - 69, - 80, - 76, - 65, - 67, - 69, - 95, - 65, - 83, - 83, - 79, - 67, - 73, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 52, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 65, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 58, - 53, - 54, - 55, - 56, - 32, - 66, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 58, - 49, - 32, - 84, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 58, - 49, - 32, - 110, - 111, - 110, - 32, - 104, - 97, - 32, - 97, - 115, - 115, - 111, - 99, - 105, - 97, - 122, - 105, - 111, - 110, - 105, - 32, - 99, - 111, - 110, - 32, - 116, - 105, - 112, - 111, - 32, - 102, - 117, - 110, - 122, - 105, - 111, - 110, - 101, - 32, - 77, - 69, - 78, - 85, - 46, - 32, - 67, - 114, - 101, - 97, - 32, - 105, - 110, - 118, - 101, - 99, - 101, - 32, - 117, - 110, - 97, - 32, - 110, - 117, - 111, - 118, - 97, - 32, - 97, - 115, - 115, - 111, - 99, - 105, - 97, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 20, - "responseSize": 213 - }, - "id": "60bd50de-6d49-4734-96f3-1ff08327cc64", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - }, - { - "assertion": "errorCode is ATMLM_4000049", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "ef5e9f19-5450-486e-b0d8-31020d8c63f9", - "length": 117, - "cycles": 1, - "position": 10, - "iteration": 0, - "httpRequestId": "75af11af-5f38-4690-a9c7-84c87285ae32" - }, - "item": { - "id": "a3e96d79-f59a-4f68-ae49-253114f7f77b", - "name": "Aggiungi nuova tripletta alle configurazioni", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"{{acquirer_id_2}}\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "bc8080ed-1dfa-48d0-a6f8-47ce2cfcc4e3", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "" - ], - "_lastExecutionId": "842ff798-6267-445a-bd80-3cdc043f353d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "9c60e659-5013-406b-806a-777b7ebb0bb3", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "e5c09517-6dd1-4cc6-a3c1-efd77f5abd2e" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "system": true - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "7d402ad8-d7a6-4902-b8d1-c46752dafdb6", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "73", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":\"5678\",\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "402fb8b8-f295-4cc7-bf9d-19a43686f9ba", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "274" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 53, - 54, - 55, - 56, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 55, - 52, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 55, - 52, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 16, - "responseSize": 274 - }, - "id": "a3e96d79-f59a-4f68-ae49-253114f7f77b", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "010a1edf-8fbe-461c-a4fd-a727d77328e3", - "length": 117, - "cycles": 1, - "position": 11, - "iteration": 0, - "httpRequestId": "02b24d7e-cfa4-4a56-afdf-13a32d8cce02" - }, - "item": { - "id": "75a74b6c-0318-4bca-8da0-4903e5dbae6f", - "name": "Fallisci nell'aggiungere tripletta già associata", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":{{acquirer_id_2}},\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "95842b91-737c-4eb4-ad32-324e3c93e7a1", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000047\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000047\");\r", - "})\r", - "" - ], - "_lastExecutionId": "55b9bdcb-4cce-4347-bed2-f7084576be0f" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "system": true - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "51d35d0a-eecb-4732-81a8-3c83e1153377", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "71", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":5678,\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "193cdb20-b70a-4736-96bf-2ebfa7b00739", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "209" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 65, - 78, - 78, - 79, - 84, - 95, - 65, - 83, - 83, - 79, - 67, - 73, - 65, - 84, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 52, - 55, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 98, - 97, - 110, - 99, - 97, - 47, - 102, - 105, - 108, - 105, - 97, - 108, - 101, - 47, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 101, - 32, - 105, - 110, - 100, - 105, - 99, - 97, - 116, - 97, - 32, - 195, - 168, - 32, - 103, - 105, - 195, - 160, - 32, - 97, - 115, - 115, - 111, - 99, - 105, - 97, - 116, - 97, - 32, - 97, - 108, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 73, - 68, - 58, - 32, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 32, - 44, - 32, - 118, - 101, - 114, - 115, - 105, - 111, - 110, - 101, - 58, - 32, - 49, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 209 - }, - "id": "75a74b6c-0318-4bca-8da0-4903e5dbae6f", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - }, - { - "assertion": "errorCode is ATMLM_4000047", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "449cb9f0-aff4-42c7-a738-46af2c71d599", - "length": 117, - "cycles": 1, - "position": 12, - "iteration": 0, - "httpRequestId": "8ebb70a9-775d-4a4a-bfdc-d3751fcfc60b" - }, - "item": { - "id": "35689014-d899-4b4b-8be6-2c6502694b33", - "name": "cerca associazioni BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - } - ], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "6f486f6e-6251-4641-b51b-71eb2489989b", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "70f7c959-7bfd-4060-9afe-9a8d7efc1e3b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var data = pm.response.json();", - "pm.test(\"Four bpmnBankConfigs found\", function (){", - " pm.expect(data.results.length).to.equal(5);", - "})" - ], - "_lastExecutionId": "ea478a67-9324-479b-8944-55a9fae7476a" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "e0614c4c-9d9d-47ee-bb97-77b88794c2c7", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "04ccf7a1-a31a-497a-a701-5a328d453ac0", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "1444" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 112, - 97, - 103, - 101, - 34, - 58, - 48, - 44, - 34, - 108, - 105, - 109, - 105, - 116, - 34, - 58, - 49, - 48, - 44, - 34, - 105, - 116, - 101, - 109, - 115, - 70, - 111, - 117, - 110, - 100, - 34, - 58, - 53, - 44, - 34, - 116, - 111, - 116, - 97, - 108, - 80, - 97, - 103, - 101, - 115, - 34, - 58, - 49, - 44, - 34, - 114, - 101, - 115, - 117, - 108, - 116, - 115, - 34, - 58, - 91, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 50, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 50, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 50, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 54, - 49, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 53, - 54, - 55, - 56, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 55, - 52, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 55, - 52, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93, - 125 - ] - }, - "cookie": [], - "responseTime": 29, - "responseSize": 1444 - }, - "id": "35689014-d899-4b4b-8be6-2c6502694b33", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "Four bpmnBankConfigs found", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0420be5d-a7d9-4326-8f20-142e96944a88", - "length": 117, - "cycles": 1, - "position": 13, - "iteration": 0, - "httpRequestId": "7786680d-58c0-4f2b-8907-0d85db2b6167" - }, - "item": { - "id": "dccc0564-24a2-4d9b-b87b-9e31d9050480", - "name": "PER BANCA , BRANCH E TERMINALE censiti nelle conf, restituisci il modello BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "1", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "88b451ab-c13c-4b1b-9c70-6b580ca47a6f", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e4f754da-69ac-411c-a042-6d15a379ca25", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var res = jsonData.bpmnId", - "pm.test(\"right id\", function () {", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});" - ], - "_lastExecutionId": "f89fe6df-020b-42b2-af58-834fce678e0f" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - "MENU", - "bank", - "1234", - "branch", - "1", - "terminal", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "2a3b5427-6330-4ed4-8fd4-f862e4d69fab", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "9c77e9f2-cb13-4b8e-938f-a752fb99b3dd", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "962" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 53, - 49, - 55, - 50, - 52, - 99, - 48, - 50, - 98, - 53, - 52, - 101, - 102, - 53, - 53, - 57, - 52, - 99, - 100, - 55, - 53, - 97, - 54, - 100, - 101, - 56, - 50, - 98, - 56, - 54, - 54, - 50, - 56, - 51, - 50, - 100, - 57, - 52, - 55, - 50, - 97, - 50, - 48, - 48, - 97, - 57, - 48, - 57, - 100, - 55, - 48, - 56, - 56, - 99, - 50, - 49, - 55, - 56, - 48, - 52, - 100, - 50, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 48, - 49, - 53, - 102, - 55, - 52, - 97, - 45, - 56, - 51, - 102, - 49, - 45, - 52, - 52, - 48, - 102, - 45, - 56, - 51, - 52, - 102, - 45, - 51, - 98, - 55, - 53, - 48, - 57, - 101, - 57, - 51, - 55, - 57, - 54, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 52, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 962 - }, - "id": "dccc0564-24a2-4d9b-b87b-9e31d9050480", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "d53dbf5c-4095-4c4d-8720-08e1a1a46e58", - "length": 117, - "cycles": 1, - "position": 14, - "iteration": 0, - "httpRequestId": "b01eb9d8-2296-4c9a-a991-92980180e371" - }, - "item": { - "id": "3e35b036-a838-4178-b290-4177b3f5492b", - "name": "PER BANCA e BRANCH CENSITI e TERMINALE NON CENSITO in conf, restituisci il modello BPMN_1 come default BRANCH", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "3", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7163976c-3680-4b1d-81a2-439a8a3c3568", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8cd1b929-5c32-41ba-a8ee-9b160f21c4da", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var res = jsonData.bpmnId", - "pm.test(\"right id\", function () {", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});" - ], - "_lastExecutionId": "be9d47b9-397d-4bd8-8383-cb2e699159f9" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - "MENU", - "bank", - "1234", - "branch", - "1", - "terminal", - "3" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "54294e95-b642-4876-94dd-6f6c23e22645", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "72c2287d-1dd0-41b0-a60e-7a0752764a8c", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "962" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 53, - 49, - 55, - 50, - 52, - 99, - 48, - 50, - 98, - 53, - 52, - 101, - 102, - 53, - 53, - 57, - 52, - 99, - 100, - 55, - 53, - 97, - 54, - 100, - 101, - 56, - 50, - 98, - 56, - 54, - 54, - 50, - 56, - 51, - 50, - 100, - 57, - 52, - 55, - 50, - 97, - 50, - 48, - 48, - 97, - 57, - 48, - 57, - 100, - 55, - 48, - 56, - 56, - 99, - 50, - 49, - 55, - 56, - 48, - 52, - 100, - 50, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 48, - 49, - 53, - 102, - 55, - 52, - 97, - 45, - 56, - 51, - 102, - 49, - 45, - 52, - 52, - 48, - 102, - 45, - 56, - 51, - 52, - 102, - 45, - 51, - 98, - 55, - 53, - 48, - 57, - 101, - 57, - 51, - 55, - 57, - 54, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 52, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 15, - "responseSize": 962 - }, - "id": "3e35b036-a838-4178-b290-4177b3f5492b", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "9e0c03ee-66d6-44b7-a612-1a8c7940d322", - "length": 117, - "cycles": 1, - "position": 15, - "iteration": 0, - "httpRequestId": "f519bedd-770b-4524-8c8a-f9e887cc9e7e" - }, - "item": { - "id": "430fcb50-fb43-439c-b545-cfc2be2c1b1c", - "name": "PER BANCA CENSITA E BRANCH e TERMINALE NON CENSITI in conf, restituisci il modello BPMN_1 come default BANCA", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "2", - "key": "branchId" - }, - { - "type": "any", - "value": "3", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "778ac75b-bf86-415f-b254-dc611315486d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "d6d0a28b-3733-4b04-9eaa-3538c2cc395d", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var res = jsonData.bpmnId", - "pm.test(\"right id\", function () {", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});" - ], - "_lastExecutionId": "99777dba-3526-48ed-ac6d-d44cecd910bc" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - "MENU", - "bank", - "1234", - "branch", - "2", - "terminal", - "3" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "50ac7337-baa2-4a87-a08d-bf6f3a64a50e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "c4353187-657b-46e0-8f69-ab133965c22a", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "962" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 53, - 49, - 55, - 50, - 52, - 99, - 48, - 50, - 98, - 53, - 52, - 101, - 102, - 53, - 53, - 57, - 52, - 99, - 100, - 55, - 53, - 97, - 54, - 100, - 101, - 56, - 50, - 98, - 56, - 54, - 54, - 50, - 56, - 51, - 50, - 100, - 57, - 52, - 55, - 50, - 97, - 50, - 48, - 48, - 97, - 57, - 48, - 57, - 100, - 55, - 48, - 56, - 56, - 99, - 50, - 49, - 55, - 56, - 48, - 52, - 100, - 50, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 48, - 49, - 53, - 102, - 55, - 52, - 97, - 45, - 56, - 51, - 102, - 49, - 45, - 52, - 52, - 48, - 102, - 45, - 56, - 51, - 52, - 102, - 45, - 51, - 98, - 55, - 53, - 48, - 57, - 101, - 57, - 51, - 55, - 57, - 54, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 52, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 16, - "responseSize": 962 - }, - "id": "430fcb50-fb43-439c-b545-cfc2be2c1b1c", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0410a2e8-c492-44e8-a9ea-74b35dacba60", - "length": 117, - "cycles": 1, - "position": 16, - "iteration": 0, - "httpRequestId": "39bec0fd-0d1c-440b-be73-189dc81d4d50" - }, - "item": { - "id": "f88ef132-c00a-495f-8a63-124241bf6237", - "name": "PER BANCA NON CENSITA, RESTITUISCI Errore 400", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_invalid}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "1", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "92eff1a3-b6d8-43e7-9840-04102bc7b1f0", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "b9617434-3123-41ef-bc67-8d7b2490525e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "775ec222-9942-45fb-b4b5-7e6f4b497360" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - "MENU", - "bank", - "999999999", - "branch", - "1", - "terminal", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "6feccdfa-7c56-47c5-ae63-f28d6ee109f9", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "3896df3a-ead9-43e4-af02-7847febccd6a", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "143" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 48, - 56, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 78, - 101, - 115, - 115, - 117, - 110, - 32, - 66, - 80, - 77, - 78, - 32, - 101, - 115, - 101, - 103, - 117, - 105, - 98, - 105, - 108, - 101, - 32, - 116, - 114, - 111, - 118, - 97, - 116, - 111, - 32, - 112, - 101, - 114, - 32, - 108, - 97, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 143 - }, - "id": "f88ef132-c00a-495f-8a63-124241bf6237", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "a26c29f6-0f79-44b6-afb7-4a4d8c549f0b", - "length": 117, - "cycles": 1, - "position": 17, - "iteration": 0, - "httpRequestId": "7c14fbbb-dfe1-4bd6-8f23-b53cd790a0d0" - }, - "item": { - "id": "5cba3fb0-a6c1-45c7-a26e-98382c9cb030", - "name": "Fallisci nel disabilitare un BPMN associato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "eb38b0eb-6008-4453-b610-1ef8b709d58d", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});" - ], - "_lastExecutionId": "264f6239-e71d-478a-9a9a-4fd42776e45b" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "disable", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "947d2f38-4908-48e1-bba6-62c7789e017a", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "ae78c568-06e3-49b8-9bfd-460d3648c9f2", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "155" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 65, - 78, - 78, - 79, - 84, - 95, - 68, - 73, - 83, - 65, - 66, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 51, - 56, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 108, - 32, - 66, - 80, - 77, - 78, - 32, - 100, - 105, - 32, - 114, - 105, - 102, - 101, - 114, - 105, - 109, - 101, - 110, - 116, - 111, - 32, - 110, - 111, - 110, - 32, - 112, - 117, - 195, - 178, - 32, - 101, - 115, - 115, - 101, - 114, - 101, - 32, - 100, - 105, - 115, - 97, - 98, - 105, - 108, - 105, - 116, - 97, - 116, - 111, - 32, - 112, - 101, - 114, - 99, - 104, - 195, - 168, - 32, - 195, - 168, - 32, - 97, - 115, - 115, - 111, - 99, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 14, - "responseSize": 155 - }, - "id": "5cba3fb0-a6c1-45c7-a26e-98382c9cb030", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "a70ab42f-5bb6-40c5-81bc-1743b729dcdc", - "length": 117, - "cycles": 1, - "position": 18, - "iteration": 0, - "httpRequestId": "5a22288b-0607-44e4-b86c-8c59a28ee159" - }, - "item": { - "id": "c3533148-2c10-4367-9431-3a2b4bd2ccbb", - "name": "Salva Modello BPMN_3 di tipo MENU", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_3}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d39e88fe-1e3d-40f3-805a-8dd6db2a936e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "9e6d73c6-06c6-4406-8c0d-f00d1d9ef1c2", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_3_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "7133b9c7-388c-4a8b-9716-d32b9cb2328d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "25b59c3c-e1c1-42e8-b931-aa5c93a92ddf", - "type": "text/javascript", - "exec": [ - "", - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_3\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_3_definition_key\",id);", - "", - " ", - "});" - ], - "_lastExecutionId": "ec1fb1c9-6982-40cd-a450-c41ea37104c1" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9d9a4c8c-a929-4834-ae02-2b4a7bf42681", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2734", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "221e5d6d-45ca-4cd6-bff4-8920d762fa64", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "868" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 108, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 55, - 55, - 57, - 53, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 50, - 98, - 52, - 98, - 55, - 50, - 54, - 100, - 49, - 52, - 98, - 100, - 55, - 101, - 53, - 57, - 50, - 101, - 99, - 53, - 49, - 51, - 102, - 98, - 52, - 50, - 56, - 53, - 48, - 52, - 56, - 102, - 54, - 49, - 48, - 97, - 48, - 51, - 100, - 51, - 55, - 50, - 55, - 52, - 49, - 51, - 98, - 50, - 55, - 56, - 53, - 101, - 56, - 51, - 51, - 97, - 57, - 101, - 98, - 97, - 51, - 50, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 97, - 53, - 49, - 53, - 49, - 51, - 98, - 100, - 45, - 50, - 49, - 50, - 102, - 45, - 52, - 100, - 55, - 50, - 45, - 97, - 50, - 50, - 55, - 45, - 98, - 56, - 56, - 97, - 50, - 53, - 101, - 97, - 56, - 51, - 102, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 32, - "responseSize": 868 - }, - "id": "c3533148-2c10-4367-9431-3a2b4bd2ccbb", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "a70ab42f-5bb6-40c5-81bc-1743b729dcdc", - "length": 117, - "cycles": 1, - "position": 18, - "iteration": 0, - "httpRequestId": "5a22288b-0607-44e4-b86c-8c59a28ee159" - }, - "item": { - "id": "c3533148-2c10-4367-9431-3a2b4bd2ccbb", - "name": "Salva Modello BPMN_3 di tipo MENU", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_3}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d39e88fe-1e3d-40f3-805a-8dd6db2a936e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "9e6d73c6-06c6-4406-8c0d-f00d1d9ef1c2", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_3_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "7133b9c7-388c-4a8b-9716-d32b9cb2328d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "25b59c3c-e1c1-42e8-b931-aa5c93a92ddf", - "type": "text/javascript", - "exec": [ - "", - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_3\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_3_definition_key\",id);", - "", - " ", - "});" - ], - "_lastExecutionId": "ec1fb1c9-6982-40cd-a450-c41ea37104c1" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9d9a4c8c-a929-4834-ae02-2b4a7bf42681", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2734", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "221e5d6d-45ca-4cd6-bff4-8920d762fa64", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "868" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 108, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 55, - 55, - 57, - 53, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 50, - 98, - 52, - 98, - 55, - 50, - 54, - 100, - 49, - 52, - 98, - 100, - 55, - 101, - 53, - 57, - 50, - 101, - 99, - 53, - 49, - 51, - 102, - 98, - 52, - 50, - 56, - 53, - 48, - 52, - 56, - 102, - 54, - 49, - 48, - 97, - 48, - 51, - 100, - 51, - 55, - 50, - 55, - 52, - 49, - 51, - 98, - 50, - 55, - 56, - 53, - 101, - 56, - 51, - 51, - 97, - 57, - 101, - 98, - 97, - 51, - 50, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 97, - 53, - 49, - 53, - 49, - 51, - 98, - 100, - 45, - 50, - 49, - 50, - 102, - 45, - 52, - 100, - 55, - 50, - 45, - 97, - 50, - 50, - 55, - 45, - 98, - 56, - 56, - 97, - 50, - 53, - 101, - 97, - 56, - 51, - 102, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 32, - "responseSize": 868 - }, - "id": "c3533148-2c10-4367-9431-3a2b4bd2ccbb", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "7f3ffd90-feac-412b-8ccf-12d8f26d06d0", - "length": 117, - "cycles": 1, - "position": 19, - "iteration": 0, - "httpRequestId": "444ce22f-9fcf-44c8-8b83-760fb5598cce" - }, - "item": { - "id": "b8c8a8a4-b8bc-4e1c-9e7c-ea31a7886652", - "name": "prova ad associare il modello BPMN_3 alla banca come default BANCA, ma fallisci perchè processo non ancora deployato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_3_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2ebd503b-24cc-4114-bb3f-49fd4e9ad887", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "39f5ff98-9ece-423b-acae-17facf374c11", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "4c915de1-0b28-460f-895a-70f42cecb3e5" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - "1234", - "associations", - "function", - "MENU" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "f4f5b1c4-b4f1-4a36-9350-adbb43148cc3", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "496", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "614677c3-774c-4620-bbfc-92c174363d11", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "235" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 83, - 84, - 65, - 84, - 85, - 83, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 48, - 51, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 85, - 110, - 111, - 32, - 111, - 32, - 97, - 108, - 99, - 117, - 110, - 105, - 32, - 100, - 101, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 66, - 80, - 77, - 78, - 32, - 97, - 32, - 99, - 117, - 105, - 32, - 115, - 105, - 32, - 102, - 97, - 32, - 114, - 105, - 102, - 101, - 114, - 105, - 109, - 101, - 110, - 116, - 111, - 32, - 110, - 111, - 110, - 32, - 115, - 111, - 110, - 111, - 32, - 114, - 105, - 108, - 97, - 115, - 99, - 97, - 116, - 105, - 58, - 32, - 91, - 66, - 112, - 109, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 80, - 75, - 40, - 98, - 112, - 109, - 110, - 73, - 100, - 61, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 44, - 32, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 49, - 41, - 93, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 20, - "responseSize": 235 - }, - "id": "b8c8a8a4-b8bc-4e1c-9e7c-ea31a7886652", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "e5be2b50-5b86-48d8-9b12-a1655b3b8929", - "length": 117, - "cycles": 1, - "position": 20, - "iteration": 0, - "httpRequestId": "e4d2b8e0-70eb-4b30-9c52-df70667bba07" - }, - "item": { - "id": "2b02a6dd-4cf6-4e0d-bfd6-19c77cb289ee", - "name": "DEPLOY MODELLO VALIDO BPMN_3", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_3_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0c0d95d7-c4b0-459f-b3c0-91720c437595", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "c80a957e-2ff7-43a3-98ff-c85cf619a950", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "8168187b-7a97-46de-897b-d67563f3492e" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - "f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "1a27f45d-ffe6-4d2f-b7f9-52088cde9a2f", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "0317d1d9-2fd8-430a-aef6-68a8cc56cbbc", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "956" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 108, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 55, - 55, - 57, - 53, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 50, - 98, - 52, - 98, - 55, - 50, - 54, - 100, - 49, - 52, - 98, - 100, - 55, - 101, - 53, - 57, - 50, - 101, - 99, - 53, - 49, - 51, - 102, - 98, - 52, - 50, - 56, - 53, - 48, - 52, - 56, - 102, - 54, - 49, - 48, - 97, - 48, - 51, - 100, - 51, - 55, - 50, - 55, - 52, - 49, - 51, - 98, - 50, - 55, - 56, - 53, - 101, - 56, - 51, - 51, - 97, - 57, - 101, - 98, - 97, - 51, - 50, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 97, - 53, - 49, - 53, - 49, - 51, - 98, - 100, - 45, - 50, - 49, - 50, - 102, - 45, - 52, - 100, - 55, - 50, - 45, - 97, - 50, - 50, - 55, - 45, - 98, - 56, - 56, - 97, - 50, - 53, - 101, - 97, - 56, - 51, - 102, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 57, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 32, - "responseSize": 956 - }, - "id": "2b02a6dd-4cf6-4e0d-bfd6-19c77cb289ee", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "b0119577-fa3e-4c65-966a-8cd205b7a3f6", - "length": 117, - "cycles": 1, - "position": 21, - "iteration": 0, - "httpRequestId": "9c928ffd-bc49-4711-8c9b-ac29e4afc8ed" - }, - "item": { - "id": "2d550e7c-b8b3-448d-be13-002cc877e805", - "name": "Modifica tripletta esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_3_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":{{acquirer_id_2}},\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "663432b7-4b46-4847-8d11-cf581523d3fd", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "0c847939-8608-490d-8db0-a3bb0df9fc9c" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "system": true - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "e0b2c714-faa8-410d-824e-78dc13d6a1ba", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "71", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\r\n \"acquirerId\":5678,\r\n \"branchId\":\"1\",\r\n \"terminalId\":\"1\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "00249ece-37b3-43b2-9a0d-9fe1741ee158", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "274" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 53, - 54, - 55, - 56, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 57, - 55, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 57, - 55, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 27, - "responseSize": 274 - }, - "id": "2d550e7c-b8b3-448d-be13-002cc877e805", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "160f87e5-5332-49a1-bb5e-7e151495c06d", - "length": 117, - "cycles": 1, - "position": 22, - "iteration": 0, - "httpRequestId": "a9bdd8d1-eb74-49e3-acf6-0a3902dccf62" - }, - "item": { - "id": "8202df8b-975e-44d9-a7cb-b6ead1daccde", - "name": "Elimina singola configurazione", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "acquirerId", - "value": "{{acquirer_id_2}}" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "{{bpmn_3_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "19dab2b5-62fa-4c62-be99-00f589d03d19", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "bcaf115e-4f89-4ac1-8db8-31d22ede2906" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "acquirerId", - "value": "5678" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "f6e3dc98-eb27-4673-94e8-f4ff47478307", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "DELETE", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a8def637-fc38-401d-a8c3-2cecaf9b4145", - "status": "No Content", - "code": 204, - "header": [ - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 0 - }, - "id": "8202df8b-975e-44d9-a7cb-b6ead1daccde", - "assertions": [ - { - "assertion": "Status code is 204", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "c9f26fec-209b-4979-a5fa-3af2b2ce50ea", - "length": 117, - "cycles": 1, - "position": 23, - "iteration": 0, - "httpRequestId": "4d1aaa3a-dd51-49fb-b051-e1efd6841b14" - }, - "item": { - "id": "41e1b15b-9bee-4143-aeba-1632024315b1", - "name": "prova ad associare il modello BPMN_3 alla banca come default BANCA, e concludi con SUCCESSO", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_3_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1a390298-2457-43a7-a9a9-d8490ec4932a", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "74c195bf-024a-49d9-a4b2-6ef9a2830d95", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "a71f0191-af8e-4623-8c6b-2164811a098d" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - "1234", - "associations", - "function", - "MENU" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "f0c74a7d-d730-465b-abe1-1f00022ae10a", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "496", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"branchDefaultTemplateVersion\": \"1\",\n \"terminals\": [\n {\n \"templateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "6f3f6c8a-63c0-4262-b418-9ac6f002c012", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "1107" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 91, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 48, - 53, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 48, - 53, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 48, - 53, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 48, - 53, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 48, - 53, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 48, - 53, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 50, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 48, - 53, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 48, - 53, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93 - ] - }, - "cookie": [], - "responseTime": 25, - "responseSize": 1107 - }, - "id": "41e1b15b-9bee-4143-aeba-1632024315b1", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "1f9cdf91-a5fb-431c-95ae-2539d9dc3ea7", - "length": 117, - "cycles": 1, - "position": 24, - "iteration": 0, - "httpRequestId": "e903f207-cf44-4d65-b096-13f28f22edf7" - }, - "item": { - "id": "971c2a13-759a-4737-b522-d21fd2517ea0", - "name": "filtra per functionType, acquirerId e bpmnId", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "bpmnId", - "value": "{{bpmn_1_id}}" - }, - { - "key": "functionType", - "value": "MENU" - }, - { - "key": "acquirerId", - "value": "{{acquirer_id_1}}" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8b13cd95-dec7-4c9e-ac9e-9b7a4a2e3706", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "b35205d5-1bbd-464b-be39-2540bef737ec", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var data=pm.response.json();", - "pm.test(\"One BPMN meets the criteria\", function(){", - " pm.expect(data.results.length).to.equal(1);", - "})" - ], - "_lastExecutionId": "5261fe0e-4d84-4c2d-ba58-0d4bf8579bb3" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "bpmnId", - "value": "677ecb58-74ed-4640-8324-e82fd616c4c5" - }, - { - "key": "functionType", - "value": "MENU" - }, - { - "key": "acquirerId", - "value": "1234" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "7563dcaf-900d-4236-9547-03f0fbcc3985", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "7ef40e99-259f-4419-a00f-8f9a225d723e", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "1071" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 112, - 97, - 103, - 101, - 34, - 58, - 48, - 44, - 34, - 108, - 105, - 109, - 105, - 116, - 34, - 58, - 49, - 48, - 44, - 34, - 105, - 116, - 101, - 109, - 115, - 70, - 111, - 117, - 110, - 100, - 34, - 58, - 49, - 44, - 34, - 116, - 111, - 116, - 97, - 108, - 80, - 97, - 103, - 101, - 115, - 34, - 58, - 49, - 44, - 34, - 114, - 101, - 115, - 117, - 108, - 116, - 115, - 34, - 58, - 91, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 53, - 49, - 55, - 50, - 52, - 99, - 48, - 50, - 98, - 53, - 52, - 101, - 102, - 53, - 53, - 57, - 52, - 99, - 100, - 55, - 53, - 97, - 54, - 100, - 101, - 56, - 50, - 98, - 56, - 54, - 54, - 50, - 56, - 51, - 50, - 100, - 57, - 52, - 55, - 50, - 97, - 50, - 48, - 48, - 97, - 57, - 48, - 57, - 100, - 55, - 48, - 56, - 56, - 99, - 50, - 49, - 55, - 56, - 48, - 52, - 100, - 50, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 48, - 49, - 53, - 102, - 55, - 52, - 97, - 45, - 56, - 51, - 102, - 49, - 45, - 52, - 52, - 48, - 102, - 45, - 56, - 51, - 52, - 102, - 45, - 51, - 98, - 55, - 53, - 48, - 57, - 101, - 57, - 51, - 55, - 57, - 54, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 67, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 76, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 67, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 76, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 90, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 52, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93, - 125 - ] - }, - "cookie": [], - "responseTime": 122, - "responseSize": 1071 - }, - "id": "971c2a13-759a-4737-b522-d21fd2517ea0", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "One BPMN meets the criteria", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "d095abc6-6a2d-4bc2-a358-31f039f7400c", - "length": 117, - "cycles": 1, - "position": 25, - "iteration": 0, - "httpRequestId": "798571d7-1058-4461-a04b-71d0a45d7162" - }, - "item": { - "id": "a0501b9a-2339-4b28-bfc5-4cb10732dd40", - "name": "Fallisci nel filtrare per tripletta invalida (terminale senza branch)", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "acquirerId", - "value": "{{acquirer_id_1}}" - }, - { - "key": "terminalId", - "value": "terminal1" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "08b5c4ab-3e1d-452e-912b-d59e7367a984", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "4fb6d38f-1a2e-4886-a69e-5d5363b6c7cd", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "d867836d-e59b-449f-9d72-8ba26a8e26ea" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "acquirerId", - "value": "1234" - }, - { - "key": "terminalId", - "value": "terminal1" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "6c39045f-239b-48fa-baf0-1e106f988ae2", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "c2942d87-962e-4f19-8f47-e9d92bc0e581", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "183" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 73, - 78, - 86, - 65, - 76, - 73, - 68, - 95, - 65, - 82, - 71, - 85, - 77, - 69, - 78, - 84, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 52, - 54, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 65, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 32, - 100, - 101, - 118, - 101, - 32, - 101, - 115, - 115, - 101, - 114, - 101, - 32, - 115, - 112, - 101, - 99, - 105, - 102, - 105, - 99, - 97, - 116, - 111, - 32, - 112, - 101, - 114, - 32, - 66, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 44, - 32, - 101, - 32, - 66, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 32, - 100, - 101, - 118, - 101, - 32, - 101, - 115, - 115, - 101, - 114, - 101, - 32, - 115, - 112, - 101, - 99, - 105, - 102, - 105, - 99, - 97, - 116, - 111, - 32, - 112, - 101, - 114, - 32, - 84, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 6, - "responseSize": 183 - }, - "id": "a0501b9a-2339-4b28-bfc5-4cb10732dd40", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "a0e829cb-312a-4db5-b372-59b8fa812591", - "length": 117, - "cycles": 1, - "position": 26, - "iteration": 0, - "httpRequestId": "40bdb861-1338-47fb-b999-9bb62b35b34f" - }, - "item": { - "id": "ea036380-e549-4c4c-bed6-0998149ca04d", - "name": "Fallisci nel filtrare per tripletta invalida (branch senza acquirer)", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "terminalId", - "value": "terminal" - }, - { - "key": "branchId", - "value": "branch" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a4e20a8d-2ae0-4bbb-9d00-6c70cc0c26d3", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "aa168b65-919d-41b6-95ba-0d5c69d71456", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "31d7ae5d-834d-4a28-b091-3b10ea1ba13a" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "filter" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "terminalId", - "value": "terminal" - }, - { - "key": "branchId", - "value": "branch" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "88aece81-f5bc-46d7-8a60-9ed0609f52ab", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "6478e978-d0b9-4a9a-810a-8efc54f5cb4a", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "183" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 73, - 78, - 86, - 65, - 76, - 73, - 68, - 95, - 65, - 82, - 71, - 85, - 77, - 69, - 78, - 84, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 52, - 54, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 65, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 32, - 100, - 101, - 118, - 101, - 32, - 101, - 115, - 115, - 101, - 114, - 101, - 32, - 115, - 112, - 101, - 99, - 105, - 102, - 105, - 99, - 97, - 116, - 111, - 32, - 112, - 101, - 114, - 32, - 66, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 44, - 32, - 101, - 32, - 66, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 32, - 100, - 101, - 118, - 101, - 32, - 101, - 115, - 115, - 101, - 114, - 101, - 32, - 115, - 112, - 101, - 99, - 105, - 102, - 105, - 99, - 97, - 116, - 111, - 32, - 112, - 101, - 114, - 32, - 84, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 8, - "responseSize": 183 - }, - "id": "ea036380-e549-4c4c-bed6-0998149ca04d", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "84f14236-0aa3-4968-9489-570fac94af9f", - "length": 117, - "cycles": 1, - "position": 27, - "iteration": 0, - "httpRequestId": "ac616bc1-e5d9-4762-bc0c-7df1deeaf38d" - }, - "item": { - "id": "fc2049f4-0bc5-4923-bff4-529a9f787cf2", - "name": "ORA per CONFIGURAZIONE con Branch non censito, RESTITUISCI BPMN_3", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "2", - "key": "branchId" - }, - { - "type": "any", - "value": "2", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2e69bb6a-a669-4727-b332-7f7dd33bb3f2", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "bb81abe2-f750-43e9-9d33-c3290c91d8c0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var res = jsonData.bpmnId", - "pm.test(\"right id\", function () {", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"bpmn_3_id\"));", - "});" - ], - "_lastExecutionId": "285eeca0-3297-48c8-b9c7-90cfe870c482" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - "MENU", - "bank", - "1234", - "branch", - "2", - "terminal", - "2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "906c48d4-b17f-4aee-aebd-0036fb8bf74e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "dda7d2c3-6518-4a11-bdef-ce9897973baa", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "956" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 108, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 55, - 55, - 57, - 53, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 50, - 98, - 52, - 98, - 55, - 50, - 54, - 100, - 49, - 52, - 98, - 100, - 55, - 101, - 53, - 57, - 50, - 101, - 99, - 53, - 49, - 51, - 102, - 98, - 52, - 50, - 56, - 53, - 48, - 52, - 56, - 102, - 54, - 49, - 48, - 97, - 48, - 51, - 100, - 51, - 55, - 50, - 55, - 52, - 49, - 51, - 98, - 50, - 55, - 56, - 53, - 101, - 56, - 51, - 51, - 97, - 57, - 101, - 98, - 97, - 51, - 50, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 97, - 53, - 49, - 53, - 49, - 51, - 98, - 100, - 45, - 50, - 49, - 50, - 102, - 45, - 52, - 100, - 55, - 50, - 45, - 97, - 50, - 50, - 55, - 45, - 98, - 56, - 56, - 97, - 50, - 53, - 101, - 97, - 56, - 51, - 102, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 57, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 14, - "responseSize": 956 - }, - "id": "fc2049f4-0bc5-4923-bff4-529a9f787cf2", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "8218f34d-e466-44b3-8d43-941eeec4071d", - "length": 117, - "cycles": 1, - "position": 28, - "iteration": 0, - "httpRequestId": "0d790c47-3ac7-4347-b40a-99f342fc7dd8" - }, - "item": { - "id": "2d09513e-7cf8-421a-be64-367c5d65c9ed", - "name": "UPGRADE del modello BPMN_1 alla versione 2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "upgrade" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "uuid", - "value": "{{bpmn_1_id}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_1_v2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "yv", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4f5fa087-250d-4db9-b3f9-966593b9f277", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "upgrade" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "uuid", - "value": "541e0b66-d2C3-CDF2-9D02-Af5fedD44EE0", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "yv", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"B97A356D-ceca-8fa9-A51f-7786D7f1fe4d\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"status\": \"CREATED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"4dcff2bC-8a67-Ae9D-0E14-bB5426840EFA\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"FE732fAc-2870-4aAb-5D0A-A6f36eEddA5C\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "id": "476b2384-c097-4a2d-b360-31f2282e6df4", - "type": "text/javascript", - "exec": [ - "", - "pm.collectionVariables.set(\"bpmn_1_v2\",", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"bpmn_1_definition_key\")+pm.collectionVariables.get(\"bpmn2_part2\"));", - "pm.collectionVariables.set(\"bpmn_1_v2_definition_key\",pm.collectionVariables.get(\"bpmn_1_definition_key\"));" - ], - "_lastExecutionId": "8edc4a15-ad2b-4e1e-b0dd-e2c8b13ade4d" - } - }, - { - "listen": "test", - "script": { - "id": "6c7926a9-83c4-4cff-b4b4-aa628ab7c1d5", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.bpmnId", - "var version = jsonData.modelVersion", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});", - "pm.test(\"right version\", function () {", - " pm.expect(version).to.equal(2);", - "});" - ], - "_lastExecutionId": "83bbd573-aea8-4c1d-a4c7-80de4058eaa7" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "upgrade" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "7996f758-f2d8-4996-b496-69f237ce4398", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2869", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "uuid", - "value": "677ecb58-74ed-4640-8324-e82fd616c4c5", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "yv", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "fe08d687-5373-497d-b2f0-0b3d4e95bcff", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "847" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 50, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 121, - 118, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 57, - 55, - 49, - 52, - 49, - 102, - 48, - 53, - 51, - 51, - 55, - 48, - 55, - 50, - 57, - 100, - 102, - 100, - 56, - 100, - 53, - 99, - 49, - 102, - 53, - 98, - 51, - 100, - 97, - 56, - 49, - 51, - 52, - 98, - 54, - 50, - 101, - 99, - 52, - 48, - 49, - 102, - 55, - 102, - 99, - 101, - 56, - 100, - 98, - 99, - 54, - 49, - 97, - 102, - 53, - 100, - 51, - 97, - 102, - 102, - 98, - 54, - 101, - 50, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 55, - 48, - 56, - 55, - 98, - 99, - 48, - 45, - 49, - 98, - 98, - 49, - 45, - 52, - 49, - 54, - 55, - 45, - 97, - 51, - 102, - 52, - 45, - 50, - 98, - 57, - 55, - 54, - 51, - 100, - 57, - 48, - 50, - 57, - 97, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 50, - 47, - 121, - 118, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 121, - 118, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 73, - "responseSize": 847 - }, - "id": "2d09513e-7cf8-421a-be64-367c5d65c9ed", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - }, - { - "assertion": "right version", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "6b8cac2b-d497-47f8-86c0-f082def9c76f", - "length": 117, - "cycles": 1, - "position": 29, - "iteration": 0, - "httpRequestId": "d5e89bc1-ace3-4720-85b3-a48724f6f017" - }, - "item": { - "id": "6397b228-23f3-402f-a496-f5c44e925c39", - "name": "DEPLOY MODELLO VALIDO BPMN_1 v2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "2", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "bd5c796d-84d5-4a13-aba5-e12ab4900a75", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "69f47c33-c6bd-4e7e-847f-7bed41ccb6dc", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "93fdd0ab-338c-40fe-ac93-e1520a62d527" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9d382246-b2dc-4268-8f4c-c499e54aa62e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "1cc8575d-ed2f-4c5f-840e-519d23d6006f", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "944" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 50, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 57, - 55, - 49, - 52, - 49, - 102, - 48, - 53, - 51, - 51, - 55, - 48, - 55, - 50, - 57, - 100, - 102, - 100, - 56, - 100, - 53, - 99, - 49, - 102, - 53, - 98, - 51, - 100, - 97, - 56, - 49, - 51, - 52, - 98, - 54, - 50, - 101, - 99, - 52, - 48, - 49, - 102, - 55, - 102, - 99, - 101, - 56, - 100, - 98, - 99, - 54, - 49, - 97, - 102, - 53, - 100, - 51, - 97, - 102, - 102, - 98, - 54, - 101, - 50, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 55, - 48, - 56, - 55, - 98, - 99, - 48, - 45, - 49, - 98, - 98, - 49, - 45, - 52, - 49, - 54, - 55, - 45, - 97, - 51, - 102, - 52, - 45, - 50, - 98, - 57, - 55, - 54, - 51, - 100, - 57, - 48, - 50, - 57, - 97, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 50, - 47, - 121, - 118, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 121, - 118, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 56, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 30, - "responseSize": 944 - }, - "id": "6397b228-23f3-402f-a496-f5c44e925c39", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "2a2fa207-a64e-4ecb-8ece-734fdff881d9", - "length": 117, - "cycles": 1, - "position": 30, - "iteration": 0, - "httpRequestId": "e6387ca2-8735-4e85-8e4e-a64bfcf5c390" - }, - "item": { - "id": "5edf9c23-24f9-4ee3-8bb8-b42d3106bc99", - "name": "prova ad associare il modello BPMN_1_v2 alla banca come default per branch 1, e concludi con SUCCESSO", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_3_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a325c670-ba26-447b-b022-14039c13b818", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "3872f2d3-2eb8-49d9-9524-6e81f075fdda", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "33e5fc13-f8fd-472e-9e10-5bbce3cfbffc" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - "1234", - "associations", - "function", - "MENU" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "44dadca3-25a4-467e-a834-3a771d5c585b", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "496", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "896cd153-d494-4b95-951b-d0670478e8ab", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "1107" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 91, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 53, - 50, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 53, - 50, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 50, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 65, - 76, - 76, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 53, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 53, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 53, - 50, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 53, - 50, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 34, - 58, - 34, - 49, - 50, - 51, - 52, - 34, - 44, - 34, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 34, - 58, - 34, - 49, - 34, - 44, - 34, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 34, - 58, - 34, - 50, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 53, - 51, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 53, - 51, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93 - ] - }, - "cookie": [], - "responseTime": 28, - "responseSize": 1107 - }, - "id": "5edf9c23-24f9-4ee3-8bb8-b42d3106bc99", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "c0910e89-e8c3-437d-9e45-8bbd293e3265", - "length": 117, - "cycles": 1, - "position": 31, - "iteration": 0, - "httpRequestId": "a72a672b-6945-4f44-9dfd-9f6daccef1ce" - }, - "item": { - "id": "576d32c7-b117-4b44-89c8-de305f98395c", - "name": "fallisci nel creare delle associazioni inviando delle triplette duplicate nel body", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_3_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"1\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "b8e9fbae-ef45-46f9-9aeb-acdc74af5f53", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "066fd1dd-4cd3-4234-a2f3-c67932e4946e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "135ce23b-8d13-4702-9b4a-c1c143ff3ef4" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - "1234", - "associations", - "function", - "MENU" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "d12b7a36-f785-479d-a672-3faf9ff1769a", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "496", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"f8e8d8ab-fd0b-48da-ad9f-00fdcffb17cd\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"1\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "30b39aec-5d16-4b76-b3f8-ddd3cec80b6b", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "123" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 73, - 78, - 86, - 65, - 76, - 73, - 68, - 95, - 65, - 82, - 71, - 85, - 77, - 69, - 78, - 84, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 52, - 48, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 84, - 114, - 105, - 112, - 108, - 101, - 116, - 116, - 101, - 32, - 100, - 117, - 112, - 108, - 105, - 99, - 97, - 116, - 101, - 32, - 110, - 101, - 108, - 32, - 99, - 111, - 114, - 112, - 111, - 32, - 100, - 105, - 32, - 105, - 110, - 112, - 117, - 116, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 6, - "responseSize": 123 - }, - "id": "576d32c7-b117-4b44-89c8-de305f98395c", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0848f967-07ba-4512-a7ec-06c9d331472d", - "length": 117, - "cycles": 1, - "position": 32, - "iteration": 0, - "httpRequestId": "b58f8cde-ef73-401d-b577-39cea0738cfc" - }, - "item": { - "id": "ac4a0578-95e4-4cc8-a00e-814ef34fce7b", - "name": "ORA i terminali censiti nella conf restituiscono il BPMN_1_v1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "1", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "400d12c6-2abb-49b3-b5c7-f0e4da5ecb5d", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "b61ece92-e92d-4a10-87cb-96fbc362158e", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.bpmnId", - "var vers = jsonData.modelVersion", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});", - "pm.test(\"right version\", function () {", - " pm.expect(vers).to.equal(1);", - "});" - ], - "_lastExecutionId": "10c2ed66-28fd-497a-8872-b941455f1f00" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - "MENU", - "bank", - "1234", - "branch", - "1", - "terminal", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "a561e297-12f8-4619-af9f-d4bd53f36543", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "b4047ab8-a2f4-47c2-8227-f35b8e403e93", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "962" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 53, - 49, - 55, - 50, - 52, - 99, - 48, - 50, - 98, - 53, - 52, - 101, - 102, - 53, - 53, - 57, - 52, - 99, - 100, - 55, - 53, - 97, - 54, - 100, - 101, - 56, - 50, - 98, - 56, - 54, - 54, - 50, - 56, - 51, - 50, - 100, - 57, - 52, - 55, - 50, - 97, - 50, - 48, - 48, - 97, - 57, - 48, - 57, - 100, - 55, - 48, - 56, - 56, - 99, - 50, - 49, - 55, - 56, - 48, - 52, - 100, - 50, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 51, - 48, - 49, - 53, - 102, - 55, - 52, - 97, - 45, - 56, - 51, - 102, - 49, - 45, - 52, - 52, - 48, - 102, - 45, - 56, - 51, - 52, - 102, - 45, - 51, - 98, - 55, - 53, - 48, - 57, - 101, - 57, - 51, - 55, - 57, - 54, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 48, - 56, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 54, - 46, - 52, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 962 - }, - "id": "ac4a0578-95e4-4cc8-a00e-814ef34fce7b", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - }, - { - "assertion": "right version", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f098a2bd-5f79-4209-b55b-e917a9365aa9", - "length": 117, - "cycles": 1, - "position": 33, - "iteration": 0, - "httpRequestId": "c6ce464a-2dd2-47b5-a0c9-52b028918bc1" - }, - "item": { - "id": "cfe50537-7339-4c7c-b0a6-0832c55d0b22", - "name": "mentre i terminali non censiti ma nel branch 1 restituiscono il BPMN_1_v2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "1", - "key": "branchId" - }, - { - "type": "any", - "value": "3", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ac2ac965-da06-4458-be0a-2047abb0a6f6", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "c212bcc9-2f8f-4902-88b6-6776c7d2e273", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.bpmnId", - "var vers = jsonData.modelVersion", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"bpmn_1_id\"));", - "});", - "pm.test(\"right version\", function () {", - " pm.expect(vers).to.equal(2);", - "});" - ], - "_lastExecutionId": "ebbf1c79-0758-4b2d-9e4a-67eb0820ba3c" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - "MENU", - "bank", - "1234", - "branch", - "1", - "terminal", - "3" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "77418066-b83d-41a6-adf6-75c9b1182e2e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "6a05ed80-fa6b-4432-8ad5-bb3e47cfec16", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "944" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 50, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 57, - 55, - 49, - 52, - 49, - 102, - 48, - 53, - 51, - 51, - 55, - 48, - 55, - 50, - 57, - 100, - 102, - 100, - 56, - 100, - 53, - 99, - 49, - 102, - 53, - 98, - 51, - 100, - 97, - 56, - 49, - 51, - 52, - 98, - 54, - 50, - 101, - 99, - 52, - 48, - 49, - 102, - 55, - 102, - 99, - 101, - 56, - 100, - 98, - 99, - 54, - 49, - 97, - 102, - 53, - 100, - 51, - 97, - 102, - 102, - 98, - 54, - 101, - 50, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 55, - 48, - 56, - 55, - 98, - 99, - 48, - 45, - 49, - 98, - 98, - 49, - 45, - 52, - 49, - 54, - 55, - 45, - 97, - 51, - 102, - 52, - 45, - 50, - 98, - 57, - 55, - 54, - 51, - 100, - 57, - 48, - 50, - 57, - 97, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 50, - 47, - 121, - 118, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 121, - 118, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 50, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 56, - 46, - 52, - 56, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 944 - }, - "id": "cfe50537-7339-4c7c-b0a6-0832c55d0b22", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - }, - { - "assertion": "right version", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "5dcdbbda-06bb-4f9a-ae58-e833201a2fa3", - "length": 117, - "cycles": 1, - "position": 34, - "iteration": 0, - "httpRequestId": "7a53413b-b8f0-45d4-a0eb-b112676e42d6" - }, - "item": { - "id": "348b9233-2593-4d5f-a6b7-f794471bda7b", - "name": "mentre gli altri branch restituiscono il default della banca, il bpmn_3", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank", - ":bank_id", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "MENU", - "key": "functionType" - }, - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "bank_id" - }, - { - "type": "any", - "value": "2", - "key": "branchId" - }, - { - "type": "any", - "value": "1", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1a999072-0a06-4da1-a440-a6d1eb02f623", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - ":functionType", - "bank{{acquirerId}}", - "branch", - ":branchId", - "terminal", - ":terminalId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "functionType" - }, - { - "type": "any", - "key": "branchId" - }, - { - "type": "any", - "key": "terminalId" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "3a6708ce-07e5-49b5-aad5-dbbadc6e4ded", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.bpmnId", - "var vers = jsonData.modelVersion", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"bpmn_3_id\"));", - "});", - "pm.test(\"right version\", function () {", - " pm.expect(vers).to.equal(1);", - "});" - ], - "_lastExecutionId": "738d475b-2399-4b74-a602-0bf8e318c859" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "function", - "MENU", - "bank", - "1234", - "branch", - "2", - "terminal", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "ddd461b4-b553-47c4-9c4c-4c46399d5e5a", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "e0c8c93b-5acb-4cb5-aa1d-05f5eb498886", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "956" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 108, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 55, - 55, - 57, - 53, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 77, - 69, - 78, - 85, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 50, - 98, - 52, - 98, - 55, - 50, - 54, - 100, - 49, - 52, - 98, - 100, - 55, - 101, - 53, - 57, - 50, - 101, - 99, - 53, - 49, - 51, - 102, - 98, - 52, - 50, - 56, - 53, - 48, - 52, - 56, - 102, - 54, - 49, - 48, - 97, - 48, - 51, - 100, - 51, - 55, - 50, - 55, - 52, - 49, - 51, - 98, - 50, - 55, - 56, - 53, - 101, - 56, - 51, - 51, - 97, - 57, - 101, - 98, - 97, - 51, - 50, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 97, - 53, - 49, - 53, - 49, - 51, - 98, - 100, - 45, - 50, - 49, - 50, - 102, - 45, - 52, - 100, - 55, - 50, - 45, - 97, - 50, - 50, - 55, - 45, - 98, - 56, - 56, - 97, - 50, - 53, - 101, - 97, - 56, - 51, - 102, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 102, - 56, - 101, - 56, - 100, - 56, - 97, - 98, - 45, - 102, - 100, - 48, - 98, - 45, - 52, - 56, - 100, - 97, - 45, - 97, - 100, - 57, - 102, - 45, - 48, - 48, - 102, - 100, - 99, - 102, - 102, - 98, - 49, - 55, - 99, - 100, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 53, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 56, - 50, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 55, - 46, - 57, - 50, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 956 - }, - "id": "348b9233-2593-4d5f-a6b7-f794471bda7b", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - }, - { - "assertion": "right version", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "14568019-ce9f-43c1-9930-88edcea39de0", - "length": 117, - "cycles": 1, - "position": 35, - "iteration": 0, - "httpRequestId": "4e8bfc68-0800-415d-bd2e-246871762db9" - }, - "item": { - "id": "fe716945-0bf4-4dc0-8d63-d16b4487d1c6", - "name": "Salva Modello BPMN 4 di tipo Spontaneous Payment", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_4}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "SPONTANEOUS_PAYMENT", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "f43e7194-7cc8-45d3-81f2-ba6a5353be20", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f6bc8cd8-c2f8-49fd-a786-07a496cc724a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_4_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "d39e8fae-9846-4de8-9b33-d73dc8a0d621" - } - }, - { - "listen": "prerequest", - "script": { - "id": "ffdaf199-a9e2-4578-8197-67968a03c66e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_4\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_4_definition_key\",id);", - "", - " ", - "});" - ], - "_lastExecutionId": "f1fdf4d1-1253-483b-91cb-88b5a91b287e" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "e1cffedf-b5c3-49ac-b993-3567ae3200bc", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2750", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "SPONTANEOUS_PAYMENT", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "bbe2a8cd-6d05-4193-ab82-2dad9290cc69", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "884" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 97, - 54, - 52, - 48, - 54, - 101, - 97, - 101, - 45, - 99, - 56, - 100, - 99, - 45, - 52, - 55, - 52, - 100, - 45, - 97, - 56, - 101, - 49, - 45, - 50, - 52, - 51, - 98, - 48, - 101, - 56, - 99, - 102, - 101, - 50, - 102, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 112, - 115, - 97, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 57, - 52, - 54, - 55, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 83, - 80, - 79, - 78, - 84, - 65, - 78, - 69, - 79, - 85, - 83, - 95, - 80, - 65, - 89, - 77, - 69, - 78, - 84, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 49, - 50, - 55, - 102, - 48, - 102, - 54, - 101, - 55, - 49, - 53, - 57, - 48, - 55, - 51, - 55, - 48, - 54, - 51, - 101, - 97, - 52, - 100, - 51, - 100, - 49, - 54, - 48, - 54, - 102, - 100, - 100, - 56, - 97, - 97, - 55, - 54, - 57, - 56, - 57, - 53, - 48, - 50, - 102, - 98, - 98, - 51, - 52, - 100, - 99, - 50, - 99, - 55, - 101, - 54, - 56, - 56, - 53, - 49, - 48, - 98, - 98, - 98, - 54, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 50, - 54, - 98, - 50, - 53, - 49, - 54, - 53, - 45, - 48, - 98, - 49, - 56, - 45, - 52, - 48, - 49, - 51, - 45, - 97, - 48, - 56, - 102, - 45, - 101, - 102, - 48, - 98, - 102, - 100, - 53, - 48, - 55, - 52, - 53, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 97, - 54, - 52, - 48, - 54, - 101, - 97, - 101, - 45, - 99, - 56, - 100, - 99, - 45, - 52, - 55, - 52, - 100, - 45, - 97, - 56, - 101, - 49, - 45, - 50, - 52, - 51, - 98, - 48, - 101, - 56, - 99, - 102, - 101, - 50, - 102, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 29, - "responseSize": 884 - }, - "id": "fe716945-0bf4-4dc0-8d63-d16b4487d1c6", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "14568019-ce9f-43c1-9930-88edcea39de0", - "length": 117, - "cycles": 1, - "position": 35, - "iteration": 0, - "httpRequestId": "4e8bfc68-0800-415d-bd2e-246871762db9" - }, - "item": { - "id": "fe716945-0bf4-4dc0-8d63-d16b4487d1c6", - "name": "Salva Modello BPMN 4 di tipo Spontaneous Payment", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{bpmn_4}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "SPONTANEOUS_PAYMENT", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "f43e7194-7cc8-45d3-81f2-ba6a5353be20", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f6bc8cd8-c2f8-49fd-a786-07a496cc724a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"bpmn_4_id\", jsonData.bpmnId);", - "" - ], - "_lastExecutionId": "d39e8fae-9846-4de8-9b33-d73dc8a0d621" - } - }, - { - "listen": "prerequest", - "script": { - "id": "ffdaf199-a9e2-4578-8197-67968a03c66e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"bpmn_4\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"bpmn_4_definition_key\",id);", - "", - " ", - "});" - ], - "_lastExecutionId": "f1fdf4d1-1253-483b-91cb-88b5a91b287e" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "e1cffedf-b5c3-49ac-b993-3567ae3200bc", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2750", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "SPONTANEOUS_PAYMENT", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "bbe2a8cd-6d05-4193-ab82-2dad9290cc69", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "884" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 97, - 54, - 52, - 48, - 54, - 101, - 97, - 101, - 45, - 99, - 56, - 100, - 99, - 45, - 52, - 55, - 52, - 100, - 45, - 97, - 56, - 101, - 49, - 45, - 50, - 52, - 51, - 98, - 48, - 101, - 56, - 99, - 102, - 101, - 50, - 102, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 112, - 115, - 97, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 57, - 52, - 54, - 55, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 83, - 80, - 79, - 78, - 84, - 65, - 78, - 69, - 79, - 85, - 83, - 95, - 80, - 65, - 89, - 77, - 69, - 78, - 84, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 49, - 50, - 55, - 102, - 48, - 102, - 54, - 101, - 55, - 49, - 53, - 57, - 48, - 55, - 51, - 55, - 48, - 54, - 51, - 101, - 97, - 52, - 100, - 51, - 100, - 49, - 54, - 48, - 54, - 102, - 100, - 100, - 56, - 97, - 97, - 55, - 54, - 57, - 56, - 57, - 53, - 48, - 50, - 102, - 98, - 98, - 51, - 52, - 100, - 99, - 50, - 99, - 55, - 101, - 54, - 56, - 56, - 53, - 49, - 48, - 98, - 98, - 98, - 54, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 50, - 54, - 98, - 50, - 53, - 49, - 54, - 53, - 45, - 48, - 98, - 49, - 56, - 45, - 52, - 48, - 49, - 51, - 45, - 97, - 48, - 56, - 102, - 45, - 101, - 102, - 48, - 98, - 102, - 100, - 53, - 48, - 55, - 52, - 53, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 97, - 54, - 52, - 48, - 54, - 101, - 97, - 101, - 45, - 99, - 56, - 100, - 99, - 45, - 52, - 55, - 52, - 100, - 45, - 97, - 56, - 101, - 49, - 45, - 50, - 52, - 51, - 98, - 48, - 101, - 56, - 99, - 102, - 101, - 50, - 102, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 29, - "responseSize": 884 - }, - "id": "fe716945-0bf4-4dc0-8d63-d16b4487d1c6", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "1cdd56fd-7b3d-4edd-aca0-fc5c89d28ba0", - "length": 117, - "cycles": 1, - "position": 36, - "iteration": 0, - "httpRequestId": "5970362c-7666-4a78-ace7-03de20c066b1" - }, - "item": { - "id": "9e13f346-5d36-417b-88a3-df86c7449e1d", - "name": "DEPLOY MODELLO VALIDO BPMN_4", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_4_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "6d37ee59-d309-4e9a-8b30-db82ae496ba9", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "1827e890-d695-4ddd-a694-f5c2010ffcbc", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "227bed24-a0ed-4620-8f93-0e38634307dd" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - "a6406eae-c8dc-474d-a8e1-243b0e8cfe2f", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "0a911c6e-bc46-4062-8fd7-a88851b0c445", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a97640b4-b711-4177-a0b9-53d0cd2e6566", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "972" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 98, - 112, - 109, - 110, - 73, - 100, - 34, - 58, - 34, - 97, - 54, - 52, - 48, - 54, - 101, - 97, - 101, - 45, - 99, - 56, - 100, - 99, - 45, - 52, - 55, - 52, - 100, - 45, - 97, - 56, - 101, - 49, - 45, - 50, - 52, - 51, - 98, - 48, - 101, - 56, - 99, - 102, - 101, - 50, - 102, - 34, - 44, - 34, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 34, - 58, - 49, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 105, - 112, - 115, - 97, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 57, - 52, - 54, - 55, - 34, - 44, - 34, - 102, - 117, - 110, - 99, - 116, - 105, - 111, - 110, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 83, - 80, - 79, - 78, - 84, - 65, - 78, - 69, - 79, - 85, - 83, - 95, - 80, - 65, - 89, - 77, - 69, - 78, - 84, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 49, - 50, - 55, - 102, - 48, - 102, - 54, - 101, - 55, - 49, - 53, - 57, - 48, - 55, - 51, - 55, - 48, - 54, - 51, - 101, - 97, - 52, - 100, - 51, - 100, - 49, - 54, - 48, - 54, - 102, - 100, - 100, - 56, - 97, - 97, - 55, - 54, - 57, - 56, - 57, - 53, - 48, - 50, - 102, - 98, - 98, - 51, - 52, - 100, - 99, - 50, - 99, - 55, - 101, - 54, - 56, - 56, - 53, - 49, - 48, - 98, - 98, - 98, - 54, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 50, - 54, - 98, - 50, - 53, - 49, - 54, - 53, - 45, - 48, - 98, - 49, - 56, - 45, - 52, - 48, - 49, - 51, - 45, - 97, - 48, - 56, - 102, - 45, - 101, - 102, - 48, - 98, - 102, - 100, - 53, - 48, - 55, - 52, - 53, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 97, - 54, - 52, - 48, - 54, - 101, - 97, - 101, - 45, - 99, - 56, - 100, - 99, - 45, - 52, - 55, - 52, - 100, - 45, - 97, - 56, - 101, - 49, - 45, - 50, - 52, - 51, - 98, - 48, - 101, - 56, - 99, - 102, - 101, - 50, - 102, - 47, - 86, - 69, - 82, - 83, - 73, - 79, - 78, - 47, - 49, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 52, - 57, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 51, - 57, - 46, - 53, - 53, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 32, - "responseSize": 972 - }, - "id": "9e13f346-5d36-417b-88a3-df86c7449e1d", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "8dbc9f4c-e476-42b4-8525-e9eb22c41c43", - "length": 117, - "cycles": 1, - "position": 37, - "iteration": 0, - "httpRequestId": "40017f9d-7da2-4360-a2e7-b34039e99028" - }, - "item": { - "id": "e7bc5cb1-fce7-42d7-b2ff-9f8ded68cfbf", - "name": "prova ad associare il modello BPMN_4 alla banca come default per banca, ma fallisci perchè diverso functionType", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{acquirer_id_1}}", - "key": "acquirerId" - }, - { - "type": "any", - "value": "MENU", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"{{bpmn_4_id}}\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"{{bpmn_1_id}}\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"{{bpmn_1_id}}\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2ae3bc31-85dd-4d2d-90cf-acf4f52ef59c", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - ":acquirerId", - "associations", - "function", - ":functionType" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "acquirerId" - }, - { - "type": "any", - "key": "functionType" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"5FbCebC2-34EF-5Cba-Db1B-fBaF2ae4DCC2\",\n \"defaultTemplateVersion\": \"\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"2c2AD5aD-51dd-9AfA-FCcC-dDE9c5DAdcCc\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"2cbDF1eE-F24E-2a5a-ce30-01B5cDb182DF\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"cedb8aaf-b685-E8eF-78cC-FE6B44B3Da8D\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n },\n {\n \"branchId\": \"\",\n \"branchDefaultTemplateId\": \"1bB4EE2e-a10E-f840-f74f-e47ebFe6c15a\",\n \"branchDefaultTemplateVersion\": \"\",\n \"terminals\": [\n {\n \"templateId\": \"fBaDDFC6-8afD-5FFD-F701-cffbfFce3Fe4\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"templateId\": \"FB0119e4-0A9D-03de-fCdb-4CcdD4FFA4ce\",\n \"templateVersion\": \"\",\n \"terminalIds\": [\n \"\",\n \"\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"bpmnId\": \"a78D6007-9eAF-d2C0-7AED-fB764A84469D\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"SPONTANEOUS_PAYMENT\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n {\n \"bpmnId\": \"F7978319-A91C-b5FF-C21e-bdf685D50AD7\",\n \"bpmnModelVersion\": \"\",\n \"acquirerId\": \"\",\n \"branchId\": \"\",\n \"terminalId\": \"\",\n \"functionType\": \"MENU\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n }\n]", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "af099930-4b77-435b-afe8-0269f7566d06", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "c1d2c8b5-8c39-4b67-a0c0-4859118cee33" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "bank", - "1234", - "associations", - "function", - "MENU" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "86823f5c-7a06-4ff7-b535-5ce3469409bd", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "496", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"defaultTemplateId\": \"a6406eae-c8dc-474d-a8e1-243b0e8cfe2f\",\n \"defaultTemplateVersion\": \"1\",\n \"branchesConfigs\": [\n {\n \"branchId\": \"1\",\n \"branchDefaultTemplateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"branchDefaultTemplateVersion\": \"2\",\n \"terminals\": [\n {\n \"templateId\": \"677ecb58-74ed-4640-8324-e82fd616c4c5\",\n \"templateVersion\": \"1\",\n \"terminalIds\": [\n \"1\",\n \"2\"\n ]\n }\n ]\n }\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "77c44d25-3df3-4cad-8ed4-2ef5265cfe08", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "250" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 73, - 78, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 85, - 78, - 67, - 84, - 73, - 79, - 78, - 95, - 84, - 89, - 80, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 48, - 53, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 85, - 110, - 111, - 32, - 111, - 32, - 97, - 108, - 99, - 117, - 110, - 105, - 32, - 100, - 101, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 66, - 80, - 77, - 78, - 32, - 97, - 32, - 99, - 117, - 105, - 32, - 115, - 105, - 32, - 102, - 97, - 32, - 114, - 105, - 102, - 101, - 114, - 105, - 109, - 101, - 110, - 116, - 111, - 32, - 110, - 111, - 110, - 32, - 104, - 97, - 110, - 110, - 111, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 117, - 110, - 122, - 105, - 111, - 110, - 101, - 32, - 77, - 69, - 78, - 85, - 58, - 32, - 91, - 66, - 112, - 109, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 80, - 75, - 40, - 98, - 112, - 109, - 110, - 73, - 100, - 61, - 97, - 54, - 52, - 48, - 54, - 101, - 97, - 101, - 45, - 99, - 56, - 100, - 99, - 45, - 52, - 55, - 52, - 100, - 45, - 97, - 56, - 101, - 49, - 45, - 50, - 52, - 51, - 98, - 48, - 101, - 56, - 99, - 102, - 101, - 50, - 102, - 44, - 32, - 109, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 49, - 41, - 93, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 18, - "responseSize": 250 - }, - "id": "e7bc5cb1-fce7-42d7-b2ff-9f8ded68cfbf", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "fb7e10f2-7271-4760-a702-c33b0c9befa5", - "length": 117, - "cycles": 1, - "position": 38, - "iteration": 0, - "httpRequestId": "3b671c2f-a2f8-4a71-89e9-f1e5285002a9" - }, - "item": { - "id": "c27cfd76-a074-41a4-9930-535314b83bc3", - "name": "Elimina singola configurazione", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "acquirerId", - "value": "{{acquirer_id_1}}" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "17a9592a-e6b7-4b3a-bda2-43e47b0ed5d6", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "e1970f83-13f9-4219-80ed-d0447f6f82de" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "acquirerId", - "value": "1234" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "54796982-217f-41d6-94c0-f3c010bc93cd", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "DELETE", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "289346da-0334-429e-837a-cec0841f5e7c", - "status": "No Content", - "code": 204, - "header": [ - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 0 - }, - "id": "c27cfd76-a074-41a4-9930-535314b83bc3", - "assertions": [ - { - "assertion": "Status code is 204", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "763747f9-7c4c-4306-84a7-de5b9d8e3da8", - "length": 117, - "cycles": 1, - "position": 39, - "iteration": 0, - "httpRequestId": "c976ffbc-bf1f-4227-89c6-323ee5074c5d" - }, - "item": { - "id": "9546e58c-1fd7-4bbf-bc8d-248fafc24bd6", - "name": "Fallisci nell'eliminare associazione inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "acquirerId", - "value": "{{acquirer_id_1}}" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "e8d2ee6d-2c1b-4fd2-96e1-69b5eb91ec7a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000048\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000048\");\r", - "})" - ], - "_lastExecutionId": "c0924056-3305-419f-8746-c93ea9401c05" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "associations", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "acquirerId", - "value": "1234" - }, - { - "key": "branchId", - "value": "1" - }, - { - "key": "terminalId", - "value": "1" - } - ], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "a3bea57e-b5ee-496b-8488-2f4317e10f20", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "DELETE", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "86959cc4-a0f0-43ce-b055-2b28df3a1b0f", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "335" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 52, - 56, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 99, - 97, - 110, - 99, - 101, - 108, - 108, - 97, - 114, - 101, - 32, - 108, - 97, - 32, - 99, - 111, - 110, - 102, - 105, - 103, - 117, - 114, - 97, - 122, - 105, - 111, - 110, - 101, - 32, - 66, - 112, - 109, - 110, - 66, - 97, - 110, - 107, - 67, - 111, - 110, - 102, - 105, - 103, - 80, - 75, - 40, - 98, - 112, - 109, - 110, - 73, - 100, - 61, - 54, - 55, - 55, - 101, - 99, - 98, - 53, - 56, - 45, - 55, - 52, - 101, - 100, - 45, - 52, - 54, - 52, - 48, - 45, - 56, - 51, - 50, - 52, - 45, - 101, - 56, - 50, - 102, - 100, - 54, - 49, - 54, - 99, - 52, - 99, - 53, - 44, - 32, - 98, - 112, - 109, - 110, - 77, - 111, - 100, - 101, - 108, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 49, - 44, - 32, - 97, - 99, - 113, - 117, - 105, - 114, - 101, - 114, - 73, - 100, - 61, - 49, - 50, - 51, - 52, - 44, - 32, - 98, - 114, - 97, - 110, - 99, - 104, - 73, - 100, - 61, - 49, - 44, - 32, - 116, - 101, - 114, - 109, - 105, - 110, - 97, - 108, - 73, - 100, - 61, - 49, - 41, - 58, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 32, - 111, - 112, - 112, - 117, - 114, - 101, - 32, - 115, - 105, - 32, - 195, - 168, - 32, - 118, - 101, - 114, - 105, - 102, - 105, - 99, - 97, - 116, - 111, - 32, - 117, - 110, - 32, - 101, - 114, - 114, - 111, - 114, - 101, - 32, - 100, - 117, - 114, - 97, - 110, - 116, - 101, - 32, - 108, - 97, - 32, - 99, - 97, - 110, - 99, - 101, - 108, - 108, - 97, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 10, - "responseSize": 335 - }, - "id": "9546e58c-1fd7-4bbf-bc8d-248fafc24bd6", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - }, - { - "assertion": "errorCode is ATMLM_4000048", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "e6136bd7-634f-417c-88da-1fca5b37543c", - "length": 117, - "cycles": 1, - "position": 40, - "iteration": 0, - "httpRequestId": "0ae8512b-2913-46fa-82de-9caa56a0fd7d" - }, - "item": { - "id": "bfbfcca1-b143-4f82-afb8-e61af4bbee5b", - "name": "Salva Workflow Resource di tipo DMN 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4710e932-a6b0-41fa-a271-e7339805208c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8feb951f-c5ee-43e9-bfc5-712cb17d0ead", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"dmn_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "8c3eef82-7dc5-42f5-b57e-10b587a22c06" - } - }, - { - "listen": "prerequest", - "script": { - "id": "53013cd2-9c1d-47b0-ae98-03983310b475", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"dmn_1\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2\"));", - " pm.collectionVariables.set(\"dmn_1_definition_key\",id); ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "a1fee4b0-d44c-4241-b014-a73ded4302cc" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "3382574b-e5f1-4188-8d4a-f3e38b053bd6", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3048", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a2f37ed3-007e-4a04-bb1d-b39ddc5d78f7", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "865" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 115, - 105, - 116, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 48, - 52, - 52, - 48, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 55, - 97, - 49, - 98, - 50, - 97, - 54, - 101, - 102, - 98, - 101, - 55, - 56, - 101, - 101, - 102, - 50, - 99, - 52, - 100, - 52, - 50, - 98, - 49, - 100, - 49, - 56, - 102, - 99, - 101, - 101, - 100, - 102, - 99, - 50, - 50, - 56, - 49, - 99, - 101, - 49, - 98, - 97, - 101, - 49, - 55, - 102, - 51, - 57, - 102, - 57, - 50, - 100, - 54, - 102, - 48, - 52, - 52, - 99, - 102, - 52, - 51, - 99, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 54, - 101, - 100, - 57, - 55, - 50, - 56, - 55, - 45, - 50, - 49, - 48, - 99, - 45, - 52, - 98, - 48, - 50, - 45, - 57, - 53, - 52, - 49, - 45, - 100, - 52, - 52, - 98, - 49, - 99, - 52, - 52, - 52, - 52, - 98, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 68, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 100, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 50, - "responseSize": 865 - }, - "id": "bfbfcca1-b143-4f82-afb8-e61af4bbee5b", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "e6136bd7-634f-417c-88da-1fca5b37543c", - "length": 117, - "cycles": 1, - "position": 40, - "iteration": 0, - "httpRequestId": "0ae8512b-2913-46fa-82de-9caa56a0fd7d" - }, - "item": { - "id": "bfbfcca1-b143-4f82-afb8-e61af4bbee5b", - "name": "Salva Workflow Resource di tipo DMN 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4710e932-a6b0-41fa-a271-e7339805208c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8feb951f-c5ee-43e9-bfc5-712cb17d0ead", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"dmn_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "8c3eef82-7dc5-42f5-b57e-10b587a22c06" - } - }, - { - "listen": "prerequest", - "script": { - "id": "53013cd2-9c1d-47b0-ae98-03983310b475", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"dmn_1\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2\"));", - " pm.collectionVariables.set(\"dmn_1_definition_key\",id); ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "a1fee4b0-d44c-4241-b014-a73ded4302cc" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "3382574b-e5f1-4188-8d4a-f3e38b053bd6", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3048", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a2f37ed3-007e-4a04-bb1d-b39ddc5d78f7", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "865" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 115, - 105, - 116, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 48, - 52, - 52, - 48, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 55, - 97, - 49, - 98, - 50, - 97, - 54, - 101, - 102, - 98, - 101, - 55, - 56, - 101, - 101, - 102, - 50, - 99, - 52, - 100, - 52, - 50, - 98, - 49, - 100, - 49, - 56, - 102, - 99, - 101, - 101, - 100, - 102, - 99, - 50, - 50, - 56, - 49, - 99, - 101, - 49, - 98, - 97, - 101, - 49, - 55, - 102, - 51, - 57, - 102, - 57, - 50, - 100, - 54, - 102, - 48, - 52, - 52, - 99, - 102, - 52, - 51, - 99, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 54, - 101, - 100, - 57, - 55, - 50, - 56, - 55, - 45, - 50, - 49, - 48, - 99, - 45, - 52, - 98, - 48, - 50, - 45, - 57, - 53, - 52, - 49, - 45, - 100, - 52, - 52, - 98, - 49, - 99, - 52, - 52, - 52, - 52, - 98, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 68, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 100, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 50, - "responseSize": 865 - }, - "id": "bfbfcca1-b143-4f82-afb8-e61af4bbee5b", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "04775d43-331e-4d78-8ea7-966dadb415e1", - "length": 117, - "cycles": 1, - "position": 41, - "iteration": 0, - "httpRequestId": "4221fd47-92fb-4903-bb6e-d3c3f471e996" - }, - "item": { - "id": "d81be42a-99d4-4f53-bd09-18afb8ce3a13", - "name": "Get DMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "d05f6592-5f93-4c10-b319-daea2c4f09b0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"dmn_1_id\"));\r", - "});" - ], - "_lastExecutionId": "41c85b82-4c76-4f3b-8c3b-3e8a6522eda6" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "a8d5ef2e-bb7e-44da-90ac-cc9b4073e412", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "64d624ec-91d8-41ed-953d-b8d123ff7d47", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "865" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 115, - 105, - 116, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 48, - 52, - 52, - 48, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 55, - 97, - 49, - 98, - 50, - 97, - 54, - 101, - 102, - 98, - 101, - 55, - 56, - 101, - 101, - 102, - 50, - 99, - 52, - 100, - 52, - 50, - 98, - 49, - 100, - 49, - 56, - 102, - 99, - 101, - 101, - 100, - 102, - 99, - 50, - 50, - 56, - 49, - 99, - 101, - 49, - 98, - 97, - 101, - 49, - 55, - 102, - 51, - 57, - 102, - 57, - 50, - 100, - 54, - 102, - 48, - 52, - 52, - 99, - 102, - 52, - 51, - 99, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 54, - 101, - 100, - 57, - 55, - 50, - 56, - 55, - 45, - 50, - 49, - 48, - 99, - 45, - 52, - 98, - 48, - 50, - 45, - 57, - 53, - 52, - 49, - 45, - 100, - 52, - 52, - 98, - 49, - 99, - 52, - 52, - 52, - 52, - 98, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 68, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 100, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 8, - "responseSize": 865 - }, - "id": "d81be42a-99d4-4f53-bd09-18afb8ce3a13", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "67089ad6-1afc-467a-a3f9-12d737e3a056", - "length": 117, - "cycles": 1, - "position": 42, - "iteration": 0, - "httpRequestId": "83045cff-7b7a-4a01-83cf-69145782d83d" - }, - "item": { - "id": "0ba6ee50-6b88-4828-9cdc-a60b4d17e76d", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "f5d4548c-f332-4e6d-bcb5-2d4b86b224fb", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7719add5-884e-488c-b2b6-3957f93cc602", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "", - "" - ], - "_lastExecutionId": "3bad1d03-a840-4a60-82af-b5661c4af314" - } - }, - { - "listen": "prerequest", - "script": { - "id": "e4d7a8c4-0d0e-41ce-8e55-79295a645551", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"dmn_1_definition_key\");", - " pm.collectionVariables.set(\"dmn_1_duplicate\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "f6020a92-36f3-4223-aade-9eab3976fbbe" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "96ed0ecc-b669-4166-babd-41e50451c98c", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3048", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "cf416980-af8c-4b71-a8d1-d2f5f10c2f42", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 18, - "responseSize": 172 - }, - "id": "0ba6ee50-6b88-4828-9cdc-a60b4d17e76d", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "67089ad6-1afc-467a-a3f9-12d737e3a056", - "length": 117, - "cycles": 1, - "position": 42, - "iteration": 0, - "httpRequestId": "83045cff-7b7a-4a01-83cf-69145782d83d" - }, - "item": { - "id": "0ba6ee50-6b88-4828-9cdc-a60b4d17e76d", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "f5d4548c-f332-4e6d-bcb5-2d4b86b224fb", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7719add5-884e-488c-b2b6-3957f93cc602", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "", - "" - ], - "_lastExecutionId": "3bad1d03-a840-4a60-82af-b5661c4af314" - } - }, - { - "listen": "prerequest", - "script": { - "id": "e4d7a8c4-0d0e-41ce-8e55-79295a645551", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"dmn_1_definition_key\");", - " pm.collectionVariables.set(\"dmn_1_duplicate\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "f6020a92-36f3-4223-aade-9eab3976fbbe" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "96ed0ecc-b669-4166-babd-41e50451c98c", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3048", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "cf416980-af8c-4b71-a8d1-d2f5f10c2f42", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 18, - "responseSize": 172 - }, - "id": "0ba6ee50-6b88-4828-9cdc-a60b4d17e76d", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "fcfab3f9-3df3-4c86-99aa-bdad1b075ff7", - "length": 117, - "cycles": 1, - "position": 43, - "iteration": 0, - "httpRequestId": "3fd3e60d-13f2-4356-ab16-9ce4e6a7d8d0" - }, - "item": { - "id": "c0654ab4-88ab-4fcb-8df5-3ecb055965a0", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 file assente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d4da6635-fda6-4dfa-aa5f-dbebc288bf7e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "5a9ea545-b818-47d2-ae74-8f9b3756b9b9", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "badec8ac-c24b-41d2-8b78-974e79f9fc13" - } - }, - { - "listen": "prerequest", - "script": { - "id": "1bebe7a2-b0ed-44e2-8902-95c154cccb8d", - "type": "text/javascript", - "exec": [ - "", - "", - "", - "" - ], - "_lastExecutionId": "40dfadb6-df51-47a2-8c76-63a40a5151cc" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "d85c2767-f591-49f8-8e6a-03634ba71fae", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "391", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "1814946f-6339-43ea-a15e-ef57a8a51ae9", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 201 - }, - "id": "c0654ab4-88ab-4fcb-8df5-3ecb055965a0", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "bd647c4b-a1da-4f41-aada-9fb009ffe5e2", - "length": 117, - "cycles": 1, - "position": 44, - "iteration": 0, - "httpRequestId": "7f5edfb8-cf45-4cde-b1d4-4c0d10d3d8b9" - }, - "item": { - "id": "fe78de96-acf7-4872-bb35-94ccb7b8e5b9", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con tipo sbagliato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "6c9347d0-155b-4ea7-9ef0-7146f9b9ee59", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "58c46020-ac17-4448-913b-35f4722f73e7", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "0e0603a1-0ce8-420c-bff0-98fbe343252f" - } - }, - { - "listen": "prerequest", - "script": { - "id": "5f566ac5-0ef0-46e4-90cb-b2ec14bb414d", - "type": "text/javascript", - "exec": [ - "", - "", - "", - "" - ], - "_lastExecutionId": "94e95f99-a71a-4b00-bd1f-5568bd85920a" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "dfcded83-6028-4944-9f5e-001988cd2505", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3049", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "d812fcbe-b394-44c2-93be-c2607ee60eef", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 201 - }, - "id": "fe78de96-acf7-4872-bb35-94ccb7b8e5b9", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "745747de-74b3-4ba3-8ce9-9a97cc0481f7", - "length": 117, - "cycles": 1, - "position": 45, - "iteration": 0, - "httpRequestId": "525adab4-2c7f-4e7d-84c5-9bbad4d17cb7" - }, - "item": { - "id": "63099384-b01f-4e33-9407-22cb1d54b56a", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1_duplicate}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a091e93f-413e-4ca4-9de7-85d58f59c47a", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "09c4d647-507c-4b25-935f-4becde137437", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "", - "" - ], - "_lastExecutionId": "f81cbc7d-6e57-4b6f-aa8c-49d2b51aa85d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "59d42b0c-93d3-4c6e-9ce4-05b60259a136", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"dmn_1_definition_key\");", - " pm.collectionVariables.set(\"dmn_1_duplicate\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2_v2\"));", - " pm.collectionVariables.set(\"dmn_1_definition_key\",id); ", - "", - "});", - "", - "", - "" - ], - "_lastExecutionId": "7aeae473-5543-49fd-9c44-abafba112bef" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "1cba9184-8275-4b17-8403-458592fb74a3", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3051", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "ba30d9df-a43d-4736-8fd8-2cbdd5fc406c", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 172 - }, - "id": "63099384-b01f-4e33-9407-22cb1d54b56a", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "745747de-74b3-4ba3-8ce9-9a97cc0481f7", - "length": 117, - "cycles": 1, - "position": 45, - "iteration": 0, - "httpRequestId": "525adab4-2c7f-4e7d-84c5-9bbad4d17cb7" - }, - "item": { - "id": "63099384-b01f-4e33-9407-22cb1d54b56a", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1_duplicate}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a091e93f-413e-4ca4-9de7-85d58f59c47a", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "09c4d647-507c-4b25-935f-4becde137437", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "", - "" - ], - "_lastExecutionId": "f81cbc7d-6e57-4b6f-aa8c-49d2b51aa85d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "59d42b0c-93d3-4c6e-9ce4-05b60259a136", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"dmn_1_definition_key\");", - " pm.collectionVariables.set(\"dmn_1_duplicate\",", - " pm.collectionVariables.get(\"dmn1_part1\")+id+pm.collectionVariables.get(\"dmn1_part2_v2\"));", - " pm.collectionVariables.set(\"dmn_1_definition_key\",id); ", - "", - "});", - "", - "", - "" - ], - "_lastExecutionId": "7aeae473-5543-49fd-9c44-abafba112bef" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "1cba9184-8275-4b17-8403-458592fb74a3", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3051", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "ba30d9df-a43d-4736-8fd8-2cbdd5fc406c", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 172 - }, - "id": "63099384-b01f-4e33-9407-22cb1d54b56a", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f9c05041-cd92-47e2-a481-9fc53e1e09f3", - "length": 117, - "cycles": 1, - "position": 46, - "iteration": 0, - "httpRequestId": "ee1574eb-0de1-4fcb-90b0-654b8dce85b3" - }, - "item": { - "id": "c222bfce-5f41-468b-844e-7595abf55df6", - "name": "Salva Workflow Resource di tipo BPMN 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7247a120-b5f3-445d-a5ce-1952532a15a5", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "id": "27f0f481-8917-433c-9b55-83bda51ecb3e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " console.log(\"workflow_bpmn1_part1:\", pm.collectionVariables.get(\"workflow_bpmn1_part1\"));", - " console.log(\"id:\", id);", - " console.log(\"workflow_bpmn1_part2:\", pm.collectionVariables.get(\"workflow_bpmn1_part2\"));", - " pm.collectionVariables.set(\"workflow_bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"workflow_bpmn_1_definition_key\",id);", - "", - "});", - "" - ], - "_lastExecutionId": "f0bfc14b-835c-4ef6-9778-99b4d3944c4c" - } - }, - { - "listen": "test", - "script": { - "id": "f51603bb-ff0e-45d4-97a6-10a254195278", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"workflow_bpmn_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "ef962028-bd8b-48d8-9b6b-21a6b81a43bd" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "7a390ffe-1b19-4aa9-9a5c-3410d073f00f", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2738", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "76d145b6-4505-4ebe-8297-03b853eaee3b", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "871" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 109, - 111, - 108, - 101, - 115, - 116, - 105, - 97, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 50, - 57, - 55, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 102, - 49, - 55, - 48, - 54, - 102, - 101, - 99, - 53, - 55, - 48, - 50, - 98, - 100, - 53, - 53, - 99, - 52, - 48, - 100, - 48, - 102, - 54, - 56, - 53, - 50, - 48, - 49, - 102, - 52, - 101, - 49, - 50, - 97, - 98, - 56, - 52, - 54, - 97, - 56, - 100, - 52, - 49, - 99, - 56, - 98, - 57, - 49, - 53, - 100, - 100, - 53, - 52, - 56, - 56, - 102, - 101, - 101, - 48, - 54, - 97, - 56, - 99, - 98, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 101, - 54, - 100, - 57, - 53, - 99, - 48, - 98, - 45, - 50, - 52, - 98, - 56, - 45, - 52, - 102, - 99, - 101, - 45, - 57, - 54, - 48, - 50, - 45, - 102, - 56, - 54, - 48, - 49, - 99, - 100, - 50, - 51, - 53, - 49, - 51, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 49, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 30, - "responseSize": 871 - }, - "id": "c222bfce-5f41-468b-844e-7595abf55df6", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f9c05041-cd92-47e2-a481-9fc53e1e09f3", - "length": 117, - "cycles": 1, - "position": 46, - "iteration": 0, - "httpRequestId": "ee1574eb-0de1-4fcb-90b0-654b8dce85b3" - }, - "item": { - "id": "c222bfce-5f41-468b-844e-7595abf55df6", - "name": "Salva Workflow Resource di tipo BPMN 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7247a120-b5f3-445d-a5ce-1952532a15a5", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "id": "27f0f481-8917-433c-9b55-83bda51ecb3e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " console.log(\"workflow_bpmn1_part1:\", pm.collectionVariables.get(\"workflow_bpmn1_part1\"));", - " console.log(\"id:\", id);", - " console.log(\"workflow_bpmn1_part2:\", pm.collectionVariables.get(\"workflow_bpmn1_part2\"));", - " pm.collectionVariables.set(\"workflow_bpmn_1\",", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2\"));", - " pm.collectionVariables.set(\"workflow_bpmn_1_definition_key\",id);", - "", - "});", - "" - ], - "_lastExecutionId": "f0bfc14b-835c-4ef6-9778-99b4d3944c4c" - } - }, - { - "listen": "test", - "script": { - "id": "f51603bb-ff0e-45d4-97a6-10a254195278", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"workflow_bpmn_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "ef962028-bd8b-48d8-9b6b-21a6b81a43bd" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "7a390ffe-1b19-4aa9-9a5c-3410d073f00f", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2738", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "76d145b6-4505-4ebe-8297-03b853eaee3b", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "871" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 109, - 111, - 108, - 101, - 115, - 116, - 105, - 97, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 50, - 57, - 55, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 102, - 49, - 55, - 48, - 54, - 102, - 101, - 99, - 53, - 55, - 48, - 50, - 98, - 100, - 53, - 53, - 99, - 52, - 48, - 100, - 48, - 102, - 54, - 56, - 53, - 50, - 48, - 49, - 102, - 52, - 101, - 49, - 50, - 97, - 98, - 56, - 52, - 54, - 97, - 56, - 100, - 52, - 49, - 99, - 56, - 98, - 57, - 49, - 53, - 100, - 100, - 53, - 52, - 56, - 56, - 102, - 101, - 101, - 48, - 54, - 97, - 56, - 99, - 98, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 101, - 54, - 100, - 57, - 53, - 99, - 48, - 98, - 45, - 50, - 52, - 98, - 56, - 45, - 52, - 102, - 99, - 101, - 45, - 57, - 54, - 48, - 50, - 45, - 102, - 56, - 54, - 48, - 49, - 99, - 100, - 50, - 51, - 53, - 49, - 51, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 49, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 30, - "responseSize": 871 - }, - "id": "c222bfce-5f41-468b-844e-7595abf55df6", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "ce505d23-e4a7-47da-8dce-c76b44eead82", - "length": 117, - "cycles": 1, - "position": 47, - "iteration": 0, - "httpRequestId": "2e83940f-7ea1-4419-8a1f-ce834f8f83cb" - }, - "item": { - "id": "b7ebf64c-1aee-4d3e-8773-6891fd65fda9", - "name": "Get Workflow Resource BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "50ea1b7e-fcf1-4647-a5ee-8ef04d1734a7", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"workflow_bpmn_1_id\"));\r", - "});" - ], - "_lastExecutionId": "7b5e1283-4870-4167-aad4-20eaf1ca90be" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "04e23fc3-2fd9-47fa-b9d4-846e51119afc", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "36d88e3d-2506-4bff-8972-9e212176f924", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "871" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 109, - 111, - 108, - 101, - 115, - 116, - 105, - 97, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 50, - 57, - 55, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 102, - 49, - 55, - 48, - 54, - 102, - 101, - 99, - 53, - 55, - 48, - 50, - 98, - 100, - 53, - 53, - 99, - 52, - 48, - 100, - 48, - 102, - 54, - 56, - 53, - 50, - 48, - 49, - 102, - 52, - 101, - 49, - 50, - 97, - 98, - 56, - 52, - 54, - 97, - 56, - 100, - 52, - 49, - 99, - 56, - 98, - 57, - 49, - 53, - 100, - 100, - 53, - 52, - 56, - 56, - 102, - 101, - 101, - 48, - 54, - 97, - 56, - 99, - 98, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 101, - 54, - 100, - 57, - 53, - 99, - 48, - 98, - 45, - 50, - 52, - 98, - 56, - 45, - 52, - 102, - 99, - 101, - 45, - 57, - 54, - 48, - 50, - 45, - 102, - 56, - 54, - 48, - 49, - 99, - 100, - 50, - 51, - 53, - 49, - 51, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 49, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 871 - }, - "id": "b7ebf64c-1aee-4d3e-8773-6891fd65fda9", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "d57f72a3-e875-4d81-ac2f-ab1d21052ff9", - "length": 117, - "cycles": 1, - "position": 48, - "iteration": 0, - "httpRequestId": "07fde03e-265e-41ab-a5d4-623236a40fc4" - }, - "item": { - "id": "778d8178-aaff-4f06-b6a6-80463edb2a85", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflowbpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ae10f734-b8d0-4f8b-8350-26d849251fd6", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "19e1fd9a-a13b-4afb-b763-7b662b154c73", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "79ff4e62-f991-4553-98ba-b2a858dc752e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "4d2fb321-d368-4828-8178-8d1294ac1dc4", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "48e25493-22b2-47c9-ac72-0437db3b989f" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "f436b897-5dfa-4496-8963-211ccd9769dd", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "390", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "935ecad7-8b6c-4061-b7c2-0bae962cf596", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 201 - }, - "id": "778d8178-aaff-4f06-b6a6-80463edb2a85", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "91830a42-2259-41b5-ac53-f82726f9af82", - "length": 117, - "cycles": 1, - "position": 49, - "iteration": 0, - "httpRequestId": "da8a2403-be60-4972-8048-b2842e27cf38" - }, - "item": { - "id": "b2c3f92c-13e5-4c30-8fca-d3e6439eecd4", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con file assente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "c58f4482-60ac-49c9-a860-e02d202879e1", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e2c76baa-2eac-4c69-9ec0-220f1e60aff5", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "var jsonData = JSON.parse(responseBody);" - ], - "_lastExecutionId": "a638b8eb-8d0b-446a-90a1-f77d83c65a9f" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7647fa17-7c02-47fd-9e34-c3971c2761ef", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "0955807d-e32e-4f3d-8228-f3888b4dff48" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "242ec40d-b184-4bc9-aac3-c2ff6f66b36e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "390", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "ecc85797-60a4-453a-b857-7fd210c67054", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 201 - }, - "id": "b2c3f92c-13e5-4c30-8fca-d3e6439eecd4", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "535ff894-509a-4897-abe0-cf1081d1086f", - "length": 117, - "cycles": 1, - "position": 50, - "iteration": 0, - "httpRequestId": "af1d10f1-986f-4e02-abc9-316c2ed84f3f" - }, - "item": { - "id": "4cb8b90e-8599-4aac-9d91-309395599bc8", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con tipo sbagliato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "3b2f3464-1507-4f76-b385-4b6fbb09bb15", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "c06ebb0f-2d9b-4353-8447-2a46c4ef73c4", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "216b8ca3-79dd-4221-b79f-4f5d7e6d75e9" - } - }, - { - "listen": "prerequest", - "script": { - "id": "bed65a45-9736-4621-96d0-d982721f48b5", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "041230ed-fb0d-486e-a1ab-90f1e610aa03" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "85627a3e-a494-4f9a-9652-408ec1b4ec3b", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2737", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "917040c9-df98-4e81-a0f9-60c5b805baf3", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 201 - }, - "id": "4cb8b90e-8599-4aac-9d91-309395599bc8", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "49a1e50a-53a9-4780-9358-704a15296692", - "length": 117, - "cycles": 1, - "position": 51, - "iteration": 0, - "httpRequestId": "235c7b91-1a40-49db-a034-eec9c1cb08d2" - }, - "item": { - "id": "bc78d489-6451-4393-a344-b5a8fe15f009", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1e2688eb-8fe5-4a1e-b647-5eb2d303154c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e5beeb50-ab96-4232-a948-d76a8507a812", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "eb446940-3bff-4f48-92e2-217b34304a8e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "3ea8847d-a3ae-4c66-8327-fd313a2d91d3", - "type": "text/javascript", - "exec": [ - "window = {};\r", - "\r", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {\r", - " if (error || response.code !== 200) {\r", - " pm.expect.fail('Could not load external library');\r", - " }\r", - "\r", - " eval(response.text());\r", - "\r", - " // This is where you can set the locale. See faker.js docs for all available locales.\r", - " window.faker.locale=\"it\";\r", - " var id = pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\");\r", - " pm.collectionVariables.set(\"workflow_bpmn_1_duplicate\",\r", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2_v2\"));\r", - " pm.collectionVariables.set(\"workflow_bpmn_1_definition_key\",id); \r", - "\r", - "});" - ], - "_lastExecutionId": "dca4b04a-c184-4d11-a317-586d9d61ac74" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9c71aa24-ed26-45df-8169-2ad7364fca05", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2738", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "7b2d35cf-1947-4e07-bfdf-6c1eaed411a2", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 172 - }, - "id": "bc78d489-6451-4393-a344-b5a8fe15f009", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "49a1e50a-53a9-4780-9358-704a15296692", - "length": 117, - "cycles": 1, - "position": 51, - "iteration": 0, - "httpRequestId": "235c7b91-1a40-49db-a034-eec9c1cb08d2" - }, - "item": { - "id": "bc78d489-6451-4393-a344-b5a8fe15f009", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1e2688eb-8fe5-4a1e-b647-5eb2d303154c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e5beeb50-ab96-4232-a948-d76a8507a812", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "eb446940-3bff-4f48-92e2-217b34304a8e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "3ea8847d-a3ae-4c66-8327-fd313a2d91d3", - "type": "text/javascript", - "exec": [ - "window = {};\r", - "\r", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {\r", - " if (error || response.code !== 200) {\r", - " pm.expect.fail('Could not load external library');\r", - " }\r", - "\r", - " eval(response.text());\r", - "\r", - " // This is where you can set the locale. See faker.js docs for all available locales.\r", - " window.faker.locale=\"it\";\r", - " var id = pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\");\r", - " pm.collectionVariables.set(\"workflow_bpmn_1_duplicate\",\r", - " pm.collectionVariables.get(\"bpmn_part1\")+id+pm.collectionVariables.get(\"bpmn1_part2_v2\"));\r", - " pm.collectionVariables.set(\"workflow_bpmn_1_definition_key\",id); \r", - "\r", - "});" - ], - "_lastExecutionId": "dca4b04a-c184-4d11-a317-586d9d61ac74" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9c71aa24-ed26-45df-8169-2ad7364fca05", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2738", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_bpmn", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "7b2d35cf-1947-4e07-bfdf-6c1eaed411a2", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 172 - }, - "id": "bc78d489-6451-4393-a344-b5a8fe15f009", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0762cc8b-7c13-445d-9b81-1d3afdbeb526", - "length": 117, - "cycles": 1, - "position": 52, - "iteration": 0, - "httpRequestId": "51080b45-6f60-4590-ae80-37e061315d40" - }, - "item": { - "id": "8d660da3-1b66-4dcf-b9eb-07272b6c2ef5", - "name": "Salva Workflow Resource di tipo FORM 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9d6f8a4a-11ff-45e8-b236-0440e736387c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a33b2291-5d28-4ba8-b62f-60bec091173c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"form_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "df8b04bc-8c1d-48f0-9baa-3192b152206f" - } - }, - { - "listen": "prerequest", - "script": { - "id": "d21cae7d-554a-4a4e-99cc-e92a4f3601a0", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"form_1\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2\"));", - " pm.collectionVariables.set(\"form_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "4bfca270-7ae6-435e-9883-b988aa9c6ae4" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "fd33f119-88da-415a-bbc5-dc3ab468aaca", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1111", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "e8149764-a5de-4ef8-9da8-5bd3c072cd18", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "874" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 54, - 50, - 100, - 53, - 99, - 102, - 97, - 57, - 102, - 97, - 52, - 51, - 102, - 51, - 98, - 53, - 98, - 98, - 52, - 57, - 97, - 98, - 55, - 100, - 49, - 53, - 53, - 53, - 51, - 100, - 53, - 98, - 99, - 54, - 98, - 49, - 98, - 49, - 57, - 52, - 54, - 99, - 50, - 56, - 51, - 101, - 54, - 49, - 48, - 49, - 102, - 100, - 52, - 53, - 54, - 100, - 57, - 102, - 48, - 49, - 57, - 98, - 97, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 57, - 54, - 57, - 56, - 98, - 56, - 57, - 52, - 45, - 57, - 50, - 101, - 53, - 45, - 52, - 102, - 56, - 98, - 45, - 56, - 100, - 97, - 50, - 45, - 48, - 57, - 50, - 52, - 53, - 48, - 57, - 56, - 99, - 57, - 49, - 50, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 70, - 79, - 82, - 77, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 35, - "responseSize": 874 - }, - "id": "8d660da3-1b66-4dcf-b9eb-07272b6c2ef5", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0762cc8b-7c13-445d-9b81-1d3afdbeb526", - "length": 117, - "cycles": 1, - "position": 52, - "iteration": 0, - "httpRequestId": "51080b45-6f60-4590-ae80-37e061315d40" - }, - "item": { - "id": "8d660da3-1b66-4dcf-b9eb-07272b6c2ef5", - "name": "Salva Workflow Resource di tipo FORM 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9d6f8a4a-11ff-45e8-b236-0440e736387c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a33b2291-5d28-4ba8-b62f-60bec091173c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"form_1_id\", jsonData.workflowResourceId);", - "" - ], - "_lastExecutionId": "df8b04bc-8c1d-48f0-9baa-3192b152206f" - } - }, - { - "listen": "prerequest", - "script": { - "id": "d21cae7d-554a-4a4e-99cc-e92a4f3601a0", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"form_1\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2\"));", - " pm.collectionVariables.set(\"form_1_definition_key\",id); ", - " ", - "});", - "", - "", - "" - ], - "_lastExecutionId": "4bfca270-7ae6-435e-9883-b988aa9c6ae4" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "fd33f119-88da-415a-bbc5-dc3ab468aaca", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1111", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "e8149764-a5de-4ef8-9da8-5bd3c072cd18", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "874" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 54, - 50, - 100, - 53, - 99, - 102, - 97, - 57, - 102, - 97, - 52, - 51, - 102, - 51, - 98, - 53, - 98, - 98, - 52, - 57, - 97, - 98, - 55, - 100, - 49, - 53, - 53, - 53, - 51, - 100, - 53, - 98, - 99, - 54, - 98, - 49, - 98, - 49, - 57, - 52, - 54, - 99, - 50, - 56, - 51, - 101, - 54, - 49, - 48, - 49, - 102, - 100, - 52, - 53, - 54, - 100, - 57, - 102, - 48, - 49, - 57, - 98, - 97, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 57, - 54, - 57, - 56, - 98, - 56, - 57, - 52, - 45, - 57, - 50, - 101, - 53, - 45, - 52, - 102, - 56, - 98, - 45, - 56, - 100, - 97, - 50, - 45, - 48, - 57, - 50, - 52, - 53, - 48, - 57, - 56, - 99, - 57, - 49, - 50, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 70, - 79, - 82, - 77, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 35, - "responseSize": 874 - }, - "id": "8d660da3-1b66-4dcf-b9eb-07272b6c2ef5", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "3b62b800-33c3-40dc-967d-625c753c3c49", - "length": 117, - "cycles": 1, - "position": 53, - "iteration": 0, - "httpRequestId": "1bb1c57d-9630-40da-8ca7-f54ad9e9b959" - }, - "item": { - "id": "9e64824c-96e8-4071-b533-b396e82c7ee4", - "name": "Get FORM_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "89168742-59ba-405d-b635-e42a351cfd20", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"form_1_id\"));\r", - "});" - ], - "_lastExecutionId": "a83a9942-f699-403e-8d84-d74062e0cfa0" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "71074dc3-f7e0-4c0f-bb29-698d2b41191c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9c92c1b3-7db2-4218-9c91-5ad575a82e5c", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "4bc84a73-7119-43cf-8ca7-4ad4acb51a99", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "874" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 54, - 50, - 100, - 53, - 99, - 102, - 97, - 57, - 102, - 97, - 52, - 51, - 102, - 51, - 98, - 53, - 98, - 98, - 52, - 57, - 97, - 98, - 55, - 100, - 49, - 53, - 53, - 53, - 51, - 100, - 53, - 98, - 99, - 54, - 98, - 49, - 98, - 49, - 57, - 52, - 54, - 99, - 50, - 56, - 51, - 101, - 54, - 49, - 48, - 49, - 102, - 100, - 52, - 53, - 54, - 100, - 57, - 102, - 48, - 49, - 57, - 98, - 97, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 57, - 54, - 57, - 56, - 98, - 56, - 57, - 52, - 45, - 57, - 50, - 101, - 53, - 45, - 52, - 102, - 56, - 98, - 45, - 56, - 100, - 97, - 50, - 45, - 48, - 57, - 50, - 52, - 53, - 48, - 57, - 56, - 99, - 57, - 49, - 50, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 70, - 79, - 82, - 77, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 874 - }, - "id": "9e64824c-96e8-4071-b533-b396e82c7ee4", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "7412d683-f5f1-4fb8-a4c8-d2f9eaa43686", - "length": 117, - "cycles": 1, - "position": 54, - "iteration": 0, - "httpRequestId": "5f9cd70d-62a8-4ccc-bba7-892ee036e822" - }, - "item": { - "id": "132eb366-ade7-425e-87c5-8cdc5bb96501", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4eb4bc84-c81c-4f18-8163-5ca056c98783", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8c3619e4-b699-4b20-8891-ae0b7e877a5b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "b2d5b70f-63db-438d-a2ac-b1898c85a874" - } - }, - { - "listen": "prerequest", - "script": { - "id": "d4af270c-77e4-45e9-91c0-e7ef3fbc648e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"form_1_definition_key\");", - " pm.collectionVariables.set(\"form_1_duplicate\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "7f58d0bf-c709-49f1-840a-cf1936624407" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "c2e8c88b-4277-40fb-8822-78dd0c81f178", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1111", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "17bbfe08-0c7e-46a8-9197-4f87910d232c", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 172 - }, - "id": "132eb366-ade7-425e-87c5-8cdc5bb96501", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "7412d683-f5f1-4fb8-a4c8-d2f9eaa43686", - "length": 117, - "cycles": 1, - "position": 54, - "iteration": 0, - "httpRequestId": "5f9cd70d-62a8-4ccc-bba7-892ee036e822" - }, - "item": { - "id": "132eb366-ade7-425e-87c5-8cdc5bb96501", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4eb4bc84-c81c-4f18-8163-5ca056c98783", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8c3619e4-b699-4b20-8891-ae0b7e877a5b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "b2d5b70f-63db-438d-a2ac-b1898c85a874" - } - }, - { - "listen": "prerequest", - "script": { - "id": "d4af270c-77e4-45e9-91c0-e7ef3fbc648e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"form_1_definition_key\");", - " pm.collectionVariables.set(\"form_1_duplicate\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "7f58d0bf-c709-49f1-840a-cf1936624407" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "c2e8c88b-4277-40fb-8822-78dd0c81f178", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1111", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "17bbfe08-0c7e-46a8-9197-4f87910d232c", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 172 - }, - "id": "132eb366-ade7-425e-87c5-8cdc5bb96501", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "8c93f041-cd88-4454-92fd-f813aa360147", - "length": 117, - "cycles": 1, - "position": 55, - "iteration": 0, - "httpRequestId": "53b2f4a0-b2cf-47db-b225-e1370e9337fd" - }, - "item": { - "id": "b2e462b7-4d1b-495c-bd1c-7014585c5a8f", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 file assente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ae8f8c1b-1028-4717-9cf7-6ba5173201ac", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "61eb80d9-7870-4e33-abc3-831aadd06ff9", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "40e58287-f751-42d0-b5c2-fb066526732e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7aa1e053-a354-4ce1-8bfe-ae0fd78a8379", - "type": "text/javascript", - "exec": [ - "", - "", - "", - "" - ], - "_lastExecutionId": "2001161f-a09a-49b4-915e-9ff5f52e0117" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "01ec4840-ffe2-48f4-97cb-54efef6c1341", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "392", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "8dafe295-66e4-43bb-ad2b-bee1d0a41b85", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 6, - "responseSize": 201 - }, - "id": "b2e462b7-4d1b-495c-bd1c-7014585c5a8f", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "e3f25fc4-7437-4bbc-baf5-59f1d25051ca", - "length": 117, - "cycles": 1, - "position": 56, - "iteration": 0, - "httpRequestId": "cfe641ae-53cc-43e5-a5db-702123202cff" - }, - "item": { - "id": "2d69d1f3-7b93-4572-89a5-91e68c11e05e", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con tipo sbagliato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "57467799-df50-45c8-8d75-61f3026b93a6", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "0565a5fe-52ed-4b3c-9cca-a1d560660329", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "3af55fd0-bd0b-4e35-aaac-690bfc4a295e" - } - }, - { - "listen": "prerequest", - "script": { - "id": "d1f20567-65e5-4aaa-84aa-0681b651b5ba", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "b9a7816d-6472-45c1-bb61-0be3bfbd25d5" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "6093d9ca-d740-4df6-a4d7-983074587e60", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1111", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "dea5aa10-3a50-4c89-b01b-e152659447c2", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 8, - "responseSize": 201 - }, - "id": "2d69d1f3-7b93-4572-89a5-91e68c11e05e", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "19a5a54b-35bc-40d9-907c-35452b91a1a9", - "length": 117, - "cycles": 1, - "position": 57, - "iteration": 0, - "httpRequestId": "ef44fd45-6e4d-461a-97d4-ddb756c5b563" - }, - "item": { - "id": "2abc8942-7f98-45b6-8d13-9081dd20b471", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "12f181fb-d8da-4883-8b71-79d9c69922e0", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "62205453-1e57-456f-9851-85e44a634313", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "339fdbf5-a046-4dd7-89fd-0182cc5270c0" - } - }, - { - "listen": "prerequest", - "script": { - "id": "1b416373-b59e-4a5c-ab99-7a5fa35ef1d9", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"form_1_definition_key\");", - " pm.collectionVariables.set(\"form_1_duplicate\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2_v2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "0432b173-95fa-4928-9e6d-f1350ed82869" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "fce486f2-c5b1-4af8-aac6-e51eb0f03e0e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1111", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "83983d69-6d21-413d-acd4-893ad74e3a2c", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 172 - }, - "id": "2abc8942-7f98-45b6-8d13-9081dd20b471", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "19a5a54b-35bc-40d9-907c-35452b91a1a9", - "length": 117, - "cycles": 1, - "position": 57, - "iteration": 0, - "httpRequestId": "ef44fd45-6e4d-461a-97d4-ddb756c5b563" - }, - "item": { - "id": "2abc8942-7f98-45b6-8d13-9081dd20b471", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con STESSA definition key", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "12f181fb-d8da-4883-8b71-79d9c69922e0", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "62205453-1e57-456f-9851-85e44a634313", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "339fdbf5-a046-4dd7-89fd-0182cc5270c0" - } - }, - { - "listen": "prerequest", - "script": { - "id": "1b416373-b59e-4a5c-ab99-7a5fa35ef1d9", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var id = pm.collectionVariables.get(\"form_1_definition_key\");", - " pm.collectionVariables.set(\"form_1_duplicate\",", - " pm.collectionVariables.get(\"form1_part1\")+id+pm.collectionVariables.get(\"form1_part2_v2\"));", - "});", - "", - "", - "" - ], - "_lastExecutionId": "0432b173-95fa-4928-9e6d-f1350ed82869" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "fce486f2-c5b1-4af8-aac6-e51eb0f03e0e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1111", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "demo_0611_1", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "83983d69-6d21-413d-acd4-893ad74e3a2c", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 172 - }, - "id": "2abc8942-7f98-45b6-8d13-9081dd20b471", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "044afc69-adf9-46a1-bf5f-de2c128c8cd0", - "length": 117, - "cycles": 1, - "position": 58, - "iteration": 0, - "httpRequestId": "8e1d2968-f8db-4e20-a56e-ba4e1a8d2970" - }, - "item": { - "id": "03c4c14b-d63e-4afa-b3b0-af0ae44019e7", - "name": "Filtra workflow resource per resourceType, fileName e id", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "resourceType", - "value": "FORM" - }, - { - "key": "fileName", - "value": "demo" - }, - { - "key": "workflowResourceId", - "value": "{{form_1_id}}" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8318fecc-6fae-4a11-96d5-39d7093a8b58", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "269a5816-4ceb-49ff-8115-269bd481ed26", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var data = pm.response.json();", - "pm.test(\"One file meets the criteria\", function(){", - " pm.expect(data.results.length).to.equal(1);", - "})", - "" - ], - "_lastExecutionId": "6deafa7a-b5e0-4b88-816f-860a883ccad4" - } - }, - { - "listen": "prerequest", - "script": { - "id": "c7e5c927-2373-4d0e-8676-dc51d4aec300", - "type": "text/javascript", - "exec": [ - "", - "", - "", - "" - ], - "_lastExecutionId": "97637dfa-0ce4-4c60-9114-e109ff50b62a" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "filter" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "resourceType", - "value": "FORM" - }, - { - "key": "fileName", - "value": "demo" - }, - { - "key": "workflowResourceId", - "value": "71074dc3-f7e0-4c0f-bb29-698d2b41191c" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "991d8c8b-57c4-4cec-b1bf-9ce86715d1c9", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "e948bcf8-bbee-40df-98e2-a4f26d404408", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "985" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 112, - 97, - 103, - 101, - 34, - 58, - 48, - 44, - 34, - 108, - 105, - 109, - 105, - 116, - 34, - 58, - 49, - 48, - 44, - 34, - 105, - 116, - 101, - 109, - 115, - 70, - 111, - 117, - 110, - 100, - 34, - 58, - 49, - 44, - 34, - 116, - 111, - 116, - 97, - 108, - 80, - 97, - 103, - 101, - 115, - 34, - 58, - 49, - 44, - 34, - 114, - 101, - 115, - 117, - 108, - 116, - 115, - 34, - 58, - 91, - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 67, - 82, - 69, - 65, - 84, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 54, - 50, - 100, - 53, - 99, - 102, - 97, - 57, - 102, - 97, - 52, - 51, - 102, - 51, - 98, - 53, - 98, - 98, - 52, - 57, - 97, - 98, - 55, - 100, - 49, - 53, - 53, - 53, - 51, - 100, - 53, - 98, - 99, - 54, - 98, - 49, - 98, - 49, - 57, - 52, - 54, - 99, - 50, - 56, - 51, - 101, - 54, - 49, - 48, - 49, - 102, - 100, - 52, - 53, - 54, - 100, - 57, - 102, - 48, - 49, - 57, - 98, - 97, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 57, - 54, - 57, - 56, - 98, - 56, - 57, - 52, - 45, - 57, - 50, - 101, - 53, - 45, - 52, - 102, - 56, - 98, - 45, - 56, - 100, - 97, - 50, - 45, - 48, - 57, - 50, - 52, - 53, - 48, - 57, - 56, - 99, - 57, - 49, - 50, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 83, - 51, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 70, - 79, - 82, - 77, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 67, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 76, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 67, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 76, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 90, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93, - 125 - ] - }, - "cookie": [], - "responseTime": 22, - "responseSize": 985 - }, - "id": "03c4c14b-d63e-4afa-b3b0-af0ae44019e7", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "One file meets the criteria", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "ea2ed609-a4b3-4956-915f-2dfed2405071", - "length": 117, - "cycles": 1, - "position": 59, - "iteration": 0, - "httpRequestId": "e40c6ac6-b0a4-465b-9b4e-a2e969ff7a8d" - }, - "item": { - "id": "2f222209-8ae2-45ef-9dd3-f9b98a36ede9", - "name": "DEPLOY WORKFLOW RESOURCE VALIDO DMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "c7d8da3d-775a-4c84-a38b-08766b049886", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "30fdac0b-1a4a-40ed-aa93-7c9b69d1c269", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7eadb734-4271-4bb0-8e45-8ee087dcaa6f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "4ed58e66-e9a1-4a3e-a6ef-3f516f253e68" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "dcbad815-b332-434a-b366-ced0f443549a", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "8501eba3-cbbb-454c-b05a-2e3c9146bc24", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "956" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 101, - 99, - 105, - 115, - 105, - 111, - 110, - 32, - 49, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 115, - 105, - 116, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 48, - 52, - 52, - 48, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 55, - 97, - 49, - 98, - 50, - 97, - 54, - 101, - 102, - 98, - 101, - 55, - 56, - 101, - 101, - 102, - 50, - 99, - 52, - 100, - 52, - 50, - 98, - 49, - 100, - 49, - 56, - 102, - 99, - 101, - 101, - 100, - 102, - 99, - 50, - 50, - 56, - 49, - 99, - 101, - 49, - 98, - 97, - 101, - 49, - 55, - 102, - 51, - 57, - 102, - 57, - 50, - 100, - 54, - 102, - 48, - 52, - 52, - 99, - 102, - 52, - 51, - 99, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 49, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 68, - 101, - 99, - 105, - 115, - 105, - 111, - 110, - 95, - 49, - 49, - 97, - 56, - 119, - 121, - 116, - 58, - 49, - 58, - 54, - 100, - 49, - 57, - 52, - 56, - 101, - 57, - 45, - 55, - 101, - 101, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 51, - 49, - 97, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 54, - 101, - 100, - 57, - 55, - 50, - 56, - 55, - 45, - 50, - 49, - 48, - 99, - 45, - 52, - 98, - 48, - 50, - 45, - 57, - 53, - 52, - 49, - 45, - 100, - 52, - 52, - 98, - 49, - 99, - 52, - 52, - 52, - 52, - 98, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 68, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 100, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 100, - 105, - 97, - 103, - 114, - 97, - 109, - 95, - 50, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 54, - 100, - 48, - 98, - 98, - 52, - 53, - 53, - 45, - 55, - 101, - 101, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 51, - 49, - 97, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 54, - 46, - 53, - 49, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 35, - "responseSize": 956 - }, - "id": "2f222209-8ae2-45ef-9dd3-f9b98a36ede9", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "d1bed35f-fad7-4a78-9e1a-c9b25aa5f1f9", - "length": 117, - "cycles": 1, - "position": 60, - "iteration": 0, - "httpRequestId": "a0a0f16a-5264-4e2e-9571-44148078fba6" - }, - "item": { - "id": "cac7f067-ca78-4178-9549-6214cf6aec51", - "name": "DEPLOY WORKFLOW RESOURCE VALIDO BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "cdd49f38-9187-4806-99a8-528c79618590", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "5bf3ad2a-2b28-4996-b57e-5fa2f822cdb9", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7bdc65cb-f6e5-46cc-b7a8-4563685185af", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "1356aace-2982-4fcf-b723-e65aa07905ef" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "1219f515-7b02-4a4f-9a48-403fe9655b97", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "080ea675-94e2-4d03-8541-d6e32d4ca5f1", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "961" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 109, - 111, - 108, - 101, - 115, - 116, - 105, - 97, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 50, - 57, - 55, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 102, - 49, - 55, - 48, - 54, - 102, - 101, - 99, - 53, - 55, - 48, - 50, - 98, - 100, - 53, - 53, - 99, - 52, - 48, - 100, - 48, - 102, - 54, - 56, - 53, - 50, - 48, - 49, - 102, - 52, - 101, - 49, - 50, - 97, - 98, - 56, - 52, - 54, - 97, - 56, - 100, - 52, - 49, - 99, - 56, - 98, - 57, - 49, - 53, - 100, - 100, - 53, - 52, - 56, - 56, - 102, - 101, - 101, - 48, - 54, - 97, - 56, - 99, - 98, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 101, - 54, - 100, - 57, - 53, - 99, - 48, - 98, - 45, - 50, - 52, - 98, - 56, - 45, - 52, - 102, - 99, - 101, - 45, - 57, - 54, - 48, - 50, - 45, - 102, - 56, - 54, - 48, - 49, - 99, - 100, - 50, - 51, - 53, - 49, - 51, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 49, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 54, - 46, - 53, - 54, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 28, - "responseSize": 961 - }, - "id": "cac7f067-ca78-4178-9549-6214cf6aec51", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "698c342c-d325-4b77-8343-ea83b84c5cbe", - "length": 117, - "cycles": 1, - "position": 61, - "iteration": 0, - "httpRequestId": "884bf010-24e0-437b-9cf9-2aced1bde70e" - }, - "item": { - "id": "2789a025-5f3e-4a58-88dc-c7988379c752", - "name": "DEPLOY WORKFLOW RESOURCE VALIDO FORM_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2c87cd7c-b698-4a62-a0d4-35ededbe43ba", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7ecd4b53-891e-4e5f-853c-a5ba562983ca", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8bf5c94e-313e-41e9-a00f-f9a0b3dc8b52", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "_lastExecutionId": "a6183e6f-590a-437f-8d04-d7739a940d6d" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - "71074dc3-f7e0-4c0f-bb29-698d2b41191c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "bcc16c0e-6e10-492b-ba9c-03835aa2d3e0", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "3f713842-f43e-4ff1-8ef9-b5bcc31f82fc", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "899" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 102, - 111, - 114, - 109, - 95, - 49, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 54, - 50, - 100, - 53, - 99, - 102, - 97, - 57, - 102, - 97, - 52, - 51, - 102, - 51, - 98, - 53, - 98, - 98, - 52, - 57, - 97, - 98, - 55, - 100, - 49, - 53, - 53, - 53, - 51, - 100, - 53, - 98, - 99, - 54, - 98, - 49, - 98, - 49, - 57, - 52, - 54, - 99, - 50, - 56, - 51, - 101, - 54, - 49, - 48, - 49, - 102, - 100, - 52, - 53, - 54, - 100, - 57, - 102, - 48, - 49, - 57, - 98, - 97, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 57, - 54, - 57, - 56, - 98, - 56, - 57, - 52, - 45, - 57, - 50, - 101, - 53, - 45, - 52, - 102, - 56, - 98, - 45, - 56, - 100, - 97, - 50, - 45, - 48, - 57, - 50, - 52, - 53, - 48, - 57, - 56, - 99, - 57, - 49, - 50, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 70, - 79, - 82, - 77, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 56, - 56, - 101, - 100, - 50, - 56, - 98, - 53, - 45, - 56, - 51, - 57, - 97, - 45, - 49, - 49, - 101, - 101, - 45, - 97, - 54, - 52, - 55, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 54, - 46, - 54, - 50, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 28, - "responseSize": 899 - }, - "id": "2789a025-5f3e-4a58-88dc-c7988379c752", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "53122ad3-f5b6-4ea4-a1f4-ac1f4b43a07f", - "length": 117, - "cycles": 1, - "position": 62, - "iteration": 0, - "httpRequestId": "1b487179-a3b2-4079-9c36-2d9305c40dbf" - }, - "item": { - "id": "19b396af-5026-4674-adac-27a5ff26eb49", - "name": "Fallisci nel DEPLOY WORKFLOW RESOURCE non trovato DMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "618c68d9-0189-44d3-ab96-032e53f6c6da", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "b2ac5020-b665-492a-9e85-f4f068b899cf", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "d0dd0477-f39e-4526-bf44-9a3c3217cae5", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "a1da6adc-4688-4620-880f-c822a91535ff" - } - }, - { - "listen": "prerequest", - "script": { - "id": "241e4390-ca28-4d12-949e-ec0e06c7f01a", - "type": "text/javascript", - "exec": [ - "var uuid = require(\"uuid\");\r", - "var myUUID = uuid.v4();\r", - "pm.collectionVariables.set(\"not_found_uuid\", myUUID);" - ], - "_lastExecutionId": "df5e555e-3d41-4b9f-a3ea-fa65987da947" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - "f3e56858-f665-45c8-9921-e6d2c1de83ff" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "f89d7143-aa21-43b7-af5c-6fb8c40dd82f", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "e688bae6-2676-4cbf-a6bb-81d7c31356b1", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "222" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 51, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 85, - 110, - 97, - 32, - 111, - 32, - 97, - 108, - 99, - 117, - 110, - 101, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 101, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 101, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 97, - 32, - 99, - 117, - 105, - 32, - 115, - 105, - 32, - 102, - 97, - 32, - 114, - 105, - 102, - 101, - 114, - 105, - 109, - 101, - 110, - 116, - 111, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 102, - 51, - 101, - 53, - 54, - 56, - 53, - 56, - 45, - 102, - 54, - 54, - 53, - 45, - 52, - 53, - 99, - 56, - 45, - 57, - 57, - 50, - 49, - 45, - 101, - 54, - 100, - 50, - 99, - 49, - 100, - 101, - 56, - 51, - 102, - 102, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 8, - "responseSize": 222 - }, - "id": "19b396af-5026-4674-adac-27a5ff26eb49", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "15d15709-2fb0-4d2a-9a61-8b2271c3b6fd", - "length": 117, - "cycles": 1, - "position": 63, - "iteration": 0, - "httpRequestId": "4097652a-fcc5-4ecc-8062-3842de99c7ce" - }, - "item": { - "id": "60d24779-5150-4965-b3c5-208424c2eb84", - "name": "Fallisci nel DEPLOY WORKFLOW RESOURCE non trovato BPMN_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ab392c50-c214-45d1-a995-01ee66749c7c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9bcc0386-9e09-4e1b-9211-10efc31ea16b", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "4b4e21d6-fa47-419d-8fba-de6e6a134865", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "bbaba8ab-9d27-43eb-905b-474942f5a1fa" - } - }, - { - "listen": "prerequest", - "script": { - "id": "369a8d53-cc64-4854-ad1f-108ac86e35b5", - "type": "text/javascript", - "exec": [ - "var uuid = require(\"uuid\");\r", - "var myUUID = uuid.v4();\r", - "pm.collectionVariables.set(\"not_found_uuid\", myUUID);" - ], - "_lastExecutionId": "d22fa52d-775a-4752-8b50-b0b256de1934" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - "579c49ac-0e1f-45f8-bbe2-1ce26ada6653" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9c591e64-50c7-4d48-a88c-a07510851edc", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a8ddaf45-a46e-421c-b94f-733cf81d2607", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "222" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 51, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 85, - 110, - 97, - 32, - 111, - 32, - 97, - 108, - 99, - 117, - 110, - 101, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 101, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 101, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 97, - 32, - 99, - 117, - 105, - 32, - 115, - 105, - 32, - 102, - 97, - 32, - 114, - 105, - 102, - 101, - 114, - 105, - 109, - 101, - 110, - 116, - 111, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 53, - 55, - 57, - 99, - 52, - 57, - 97, - 99, - 45, - 48, - 101, - 49, - 102, - 45, - 52, - 53, - 102, - 56, - 45, - 98, - 98, - 101, - 50, - 45, - 49, - 99, - 101, - 50, - 54, - 97, - 100, - 97, - 54, - 54, - 53, - 51, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 222 - }, - "id": "60d24779-5150-4965-b3c5-208424c2eb84", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "74215b13-ba7b-4f1d-be27-032354ff8032", - "length": 117, - "cycles": 1, - "position": 64, - "iteration": 0, - "httpRequestId": "4bb1b144-a972-478f-9f0e-ab89c50c3468" - }, - "item": { - "id": "a01783e0-1743-4f02-bfb2-6e0f3d06d528", - "name": "Fallisci nel DEPLOY WORKFLOW RESOURCE non trovato FORM_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d2d726cd-d12d-4ba8-9959-493beffb3e30", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [ - { - "type": "any", - "key": "uuid" - }, - { - "type": "any", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - }, - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "cf214327-6dbb-4814-8290-6b38c07edde4", - "name": "example_response", - "originalRequest": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "deploy", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST" - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "941" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - } - ], - "body": "{\n \"bpmnId\": \"f283ee28-d057-416e-974e-d5c980e6f57d\",\n \"modelVersion\": 1,\n \"deployedFileName\": null,\n \"definitionKey\": \"omnis_1699342547298\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"fbe716fda9cad5344462d2d926df4a8da2cdb0e1b4a29000001033928c080ce4\",\n \"definitionVersionCamunda\": 2,\n \"camundaDefinitionId\": \"demo11_06:2:ffbe9dda-7708-11ee-b684-b266d188abc5\",\n \"description\": \"description\",\n \"resourceFile\": {\n \"id\": \"c5979255-06b7-4b11-a379-14e6607a6232\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"BPMN/files/UUID/f283ee28-d057-416e-974e-d5c980e6f57d/VERSION/1/demo_0611_1.bpmn\",\n \"fileName\": \"demo_0611_1\",\n \"extension\": \"bpmn\",\n \"createdAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:47.432+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n },\n \"resource\": \"DEMO_11_06.bpmn\",\n \"deploymentId\": \"ffb8aa67-7708-11ee-b684-b266d188abc5\",\n \"createdAt\": \"2023-11-07T07:35:47.428+00:00\",\n \"lastUpdatedAt\": \"2023-11-07T07:35:51.300+00:00\",\n \"createdBy\": null,\n \"lastUpdatedBy\": null\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "56f9489f-8229-4369-a85b-3db3c3df0577", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "267dd1c4-34be-41e1-9341-810207f5a814" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f77dad82-cb53-4ad0-9e00-63514adcda2d", - "type": "text/javascript", - "exec": [ - "var uuid = require(\"uuid\");\r", - "var myUUID = uuid.v4();\r", - "pm.collectionVariables.set(\"not_found_uuid\", myUUID);" - ], - "_lastExecutionId": "31b45909-6264-472d-9fd6-b00a89c32879" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "deploy", - "8067c953-903b-4048-9d50-fd9453d82d74" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "32741704-40e0-4682-9df0-64c920fb723a", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "71aa42eb-4662-468f-95c0-cfba0a9cc018", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "222" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 51, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 85, - 110, - 97, - 32, - 111, - 32, - 97, - 108, - 99, - 117, - 110, - 101, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 101, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 101, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 97, - 32, - 99, - 117, - 105, - 32, - 115, - 105, - 32, - 102, - 97, - 32, - 114, - 105, - 102, - 101, - 114, - 105, - 109, - 101, - 110, - 116, - 111, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 56, - 48, - 54, - 55, - 99, - 57, - 53, - 51, - 45, - 57, - 48, - 51, - 98, - 45, - 52, - 48, - 52, - 56, - 45, - 57, - 100, - 53, - 48, - 45, - 102, - 100, - 57, - 52, - 53, - 51, - 100, - 56, - 50, - 100, - 55, - 52, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 222 - }, - "id": "a01783e0-1743-4f02-bfb2-6e0f3d06d528", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0397b99a-e118-493f-ab00-e1412df36a60", - "length": 117, - "cycles": 1, - "position": 65, - "iteration": 0, - "httpRequestId": "9b07e2ac-a39c-4eb6-b136-c803fc8b5afb" - }, - "item": { - "id": "343fc4a3-3fd1-4103-a77d-0a904b0e3a2e", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 diverso, ma con stessa chiave", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "20589862-63c5-4106-baf4-694b27eef5b6", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "60eac8ce-3691-44b2-a85c-b384e25db46c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "486714d1-e65a-4ade-98d6-bdab3a2517d1" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f0627c38-ac8c-4bb5-9f4a-36940c040fac", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"dmn_2\",", - "pm.collectionVariables.get(\"dmn1_part1\")+pm.collectionVariables.get(\"dmn_1_definition_key\")+pm.collectionVariables.get(\"dmn1_part2_v2\"));" - ], - "_lastExecutionId": "744af129-0b11-49f0-a514-9610da5d6c09" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "927d6a74-dfbc-49ad-912b-0c9fdec4fa23", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3054", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "75fd8c3f-644c-40c8-a247-6372b631d876", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 172 - }, - "id": "343fc4a3-3fd1-4103-a77d-0a904b0e3a2e", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "69cfbaa0-84a0-4e31-9cc6-0df921578c3c", - "length": 117, - "cycles": 1, - "position": 66, - "iteration": 0, - "httpRequestId": "a9f29d30-5bc4-4b67-b6c5-b1549f08ec14" - }, - "item": { - "id": "a717cab7-0cae-4ced-bf77-555af0052d0e", - "name": "Fallisci nel Salvare Workflow Resource di tipo DMN 1 con tipo diverso da DMN", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "1a4f61af-fda8-436c-be8e-796f01d82001", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f57934ce-37d2-42ac-936c-b519b0dc4a62", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "c3c40fb6-166e-48c3-8137-345b37656eab" - } - }, - { - "listen": "prerequest", - "script": { - "id": "31cfcbcb-bb6e-4cab-8f7a-bb0e9b716e75", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "bf8fa358-479e-40c3-8751-3a863e10fd59" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "02e3e7f9-1b78-4fdf-91bd-6b0908ac73c1", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "3052", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "cdf43c8b-d5bd-4e88-96fe-cfc7ed5feabc", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 6, - "responseSize": 201 - }, - "id": "a717cab7-0cae-4ced-bf77-555af0052d0e", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "eb10b0b5-6d6c-41b5-b3cd-307097bba28c", - "length": 117, - "cycles": 1, - "position": 67, - "iteration": 0, - "httpRequestId": "222b6c05-3ed5-45d3-9158-090d0579a1fa" - }, - "item": { - "id": "2f2f3b6e-8a3f-4e7f-a076-8cbd7f52b819", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 diverso, ma con stessa chiave", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0d2993d9-9dca-45e2-9719-053995b1680a", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7e380869-71ae-42c4-b567-beac306eca52", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "047af38a-7af7-41e0-bcaa-ef29f71032a8" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f0598264-f607-4119-a70f-b24b28706728", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"workflow_bpmn_2\",", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\")+pm.collectionVariables.get(\"bpmn1_part2\"));" - ], - "_lastExecutionId": "3bc2665f-21be-4ff5-b7c4-88294224dd68" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "e9f84859-32ea-4e13-94e2-c6756c59f99e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2743", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "BPMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "2d8f018f-879e-42cf-b94a-549953fcb63b", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 172 - }, - "id": "2f2f3b6e-8a3f-4e7f-a076-8cbd7f52b819", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "751e78de-83c7-45ad-a9b9-e06f68076cd6", - "length": 117, - "cycles": 1, - "position": 68, - "iteration": 0, - "httpRequestId": "e593fa4b-8f1a-4716-bf36-b06e4f064f64" - }, - "item": { - "id": "d56a49db-815e-43d0-ba15-834f2b9ba26b", - "name": "Fallisci nel Salvare Workflow Resource di tipo BPMN 1 con tipo diverso da BPMN", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ce7069db-50ee-48d1-818e-71128f26f6e4", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "678ec299-7e51-4952-8ff8-02f3c47737aa", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "92c9a64b-396e-4716-b437-2910505d9501" - } - }, - { - "listen": "prerequest", - "script": { - "id": "6a1fc907-710d-4378-abbd-262e36dcf165", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "ddc2751b-0ff4-4358-b4f1-2846940bfdf1" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "63ff67e8-8b2f-4ee0-8628-4c893107f3e6", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2742", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "f53c02c7-6138-4fd5-9fd3-de77bd3f915f", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 201 - }, - "id": "d56a49db-815e-43d0-ba15-834f2b9ba26b", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "fc68c407-d2e6-4420-90fa-b261fe79804e", - "length": 117, - "cycles": 1, - "position": 69, - "iteration": 0, - "httpRequestId": "382a1ab6-5cb9-46ad-9c30-f980c8efabc8" - }, - "item": { - "id": "c10a37be-de03-45fd-bb3f-062f06d36ef1", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 diverso, ma con stessa chiave", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_2}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "f54b6fa7-f759-4e81-b72d-52a381cc3658", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a6b8a576-4c90-442f-8390-ebe6cece4de9", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "6a3ea503-d776-44f9-b961-6c7e8d3f3632" - } - }, - { - "listen": "prerequest", - "script": { - "id": "14a5cefb-b3c8-43d1-b6b6-f109ecd802b3", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"form_2\",", - "pm.collectionVariables.get(\"form1_part1\")+pm.collectionVariables.get(\"form_1_definition_key\")+pm.collectionVariables.get(\"form1_part2_v2\"));" - ], - "_lastExecutionId": "c08ec04b-6682-4163-ac2f-816de26e788c" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "0846f734-a3be-490d-a104-e9afaedd84a8", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1115", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platforms\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_11fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "FORM", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "52f2ede7-7500-477b-bc0c-d07f8dbddc7e", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "172" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 32, - 108, - 97, - 32, - 115, - 116, - 101, - 115, - 115, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 172 - }, - "id": "c10a37be-de03-45fd-bb3f-062f06d36ef1", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "186ffc62-0116-463a-b64b-5a287e1b19fe", - "length": 117, - "cycles": 1, - "position": 70, - "iteration": 0, - "httpRequestId": "dc959d72-18a6-482b-aced-3854a0d521f0" - }, - "item": { - "id": "eb9fa1c3-ea71-45f0-b2d4-b40ab6d16c24", - "name": "Fallisci nel Salvare Workflow Resource di tipo FORM 1 con tipo diverso da FORM", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{form_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "76757225-73ab-4445-98e2-ac215fd9ebf0", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "cef2737c-22d2-4b20-a053-e9908c57c136", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "7f4b21bc-a522-417a-935d-5a76952aa234" - } - }, - { - "listen": "prerequest", - "script": { - "id": "a319380a-d1e6-42aa-86a6-f02465078121", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "f30fd1bf-e16d-4f21-97ee-b068ba3c775c" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "364f525a-daf2-4008-a2a6-3065d2d8efe0", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "1111", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "test_16_fail", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of BPMN, DMN, FORM)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "DMN", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "959e32a9-c54e-43b8-8ab9-bdcce25b785d", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 201 - }, - "id": "eb9fa1c3-ea71-45f0-b2d4-b40ab6d16c24", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "e6f9f035-a4c4-4a39-9c22-d7614214e4d9", - "length": 117, - "cycles": 1, - "position": 71, - "iteration": 0, - "httpRequestId": "a11b2522-4b59-4b9c-99ee-38744fae8c62" - }, - "item": { - "id": "4ba1819e-7d84-4331-841a-56e462b719db", - "name": "Get ALL Workflow Resource", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "056e1ce0-bd8a-4cfe-8f8f-78e9eee57dd2", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "4b2c6466-90f0-4240-8545-36c08ad220b1" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "0f948f00-cebb-4da1-9f06-9fa5f71f9f52", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "bbe916be-c57d-4bba-8c1b-147799b185b6", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "2820" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 91, - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 101, - 99, - 105, - 115, - 105, - 111, - 110, - 32, - 49, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 115, - 105, - 116, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 48, - 52, - 52, - 48, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 55, - 97, - 49, - 98, - 50, - 97, - 54, - 101, - 102, - 98, - 101, - 55, - 56, - 101, - 101, - 102, - 50, - 99, - 52, - 100, - 52, - 50, - 98, - 49, - 100, - 49, - 56, - 102, - 99, - 101, - 101, - 100, - 102, - 99, - 50, - 50, - 56, - 49, - 99, - 101, - 49, - 98, - 97, - 101, - 49, - 55, - 102, - 51, - 57, - 102, - 57, - 50, - 100, - 54, - 102, - 48, - 52, - 52, - 99, - 102, - 52, - 51, - 99, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 49, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 68, - 101, - 99, - 105, - 115, - 105, - 111, - 110, - 95, - 49, - 49, - 97, - 56, - 119, - 121, - 116, - 58, - 49, - 58, - 54, - 100, - 49, - 57, - 52, - 56, - 101, - 57, - 45, - 55, - 101, - 101, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 51, - 49, - 97, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 54, - 101, - 100, - 57, - 55, - 50, - 56, - 55, - 45, - 50, - 49, - 48, - 99, - 45, - 52, - 98, - 48, - 50, - 45, - 57, - 53, - 52, - 49, - 45, - 100, - 52, - 52, - 98, - 49, - 99, - 52, - 52, - 52, - 52, - 98, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 68, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 100, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 100, - 105, - 97, - 103, - 114, - 97, - 109, - 95, - 50, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 54, - 100, - 48, - 98, - 98, - 52, - 53, - 53, - 45, - 55, - 101, - 101, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 51, - 49, - 97, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 54, - 46, - 53, - 49, - 55, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 109, - 111, - 108, - 101, - 115, - 116, - 105, - 97, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 50, - 57, - 55, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 102, - 49, - 55, - 48, - 54, - 102, - 101, - 99, - 53, - 55, - 48, - 50, - 98, - 100, - 53, - 53, - 99, - 52, - 48, - 100, - 48, - 102, - 54, - 56, - 53, - 50, - 48, - 49, - 102, - 52, - 101, - 49, - 50, - 97, - 98, - 56, - 52, - 54, - 97, - 56, - 100, - 52, - 49, - 99, - 56, - 98, - 57, - 49, - 53, - 100, - 100, - 53, - 52, - 56, - 56, - 102, - 101, - 101, - 48, - 54, - 97, - 56, - 99, - 98, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 101, - 54, - 100, - 57, - 53, - 99, - 48, - 98, - 45, - 50, - 52, - 98, - 56, - 45, - 52, - 102, - 99, - 101, - 45, - 57, - 54, - 48, - 50, - 45, - 102, - 56, - 54, - 48, - 49, - 99, - 100, - 50, - 51, - 53, - 49, - 51, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 49, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 54, - 46, - 53, - 54, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 102, - 111, - 114, - 109, - 95, - 49, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 54, - 54, - 50, - 100, - 53, - 99, - 102, - 97, - 57, - 102, - 97, - 52, - 51, - 102, - 51, - 98, - 53, - 98, - 98, - 52, - 57, - 97, - 98, - 55, - 100, - 49, - 53, - 53, - 53, - 51, - 100, - 53, - 98, - 99, - 54, - 98, - 49, - 98, - 49, - 57, - 52, - 54, - 99, - 50, - 56, - 51, - 101, - 54, - 49, - 48, - 49, - 102, - 100, - 52, - 53, - 54, - 100, - 57, - 102, - 48, - 49, - 57, - 98, - 97, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 57, - 54, - 57, - 56, - 98, - 56, - 57, - 52, - 45, - 57, - 50, - 101, - 53, - 45, - 52, - 102, - 56, - 98, - 45, - 56, - 100, - 97, - 50, - 45, - 48, - 57, - 50, - 52, - 53, - 48, - 57, - 56, - 99, - 57, - 49, - 50, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 70, - 79, - 82, - 77, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 56, - 56, - 101, - 100, - 50, - 56, - 98, - 53, - 45, - 56, - 51, - 57, - 97, - 45, - 49, - 49, - 101, - 101, - 45, - 97, - 54, - 52, - 55, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 54, - 46, - 54, - 50, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93 - ] - }, - "cookie": [], - "responseTime": 14, - "responseSize": 2820 - }, - "id": "4ba1819e-7d84-4331-841a-56e462b719db", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "a6898261-dc17-44cf-b469-9bbcc8df6b41", - "length": 117, - "cycles": 1, - "position": 72, - "iteration": 0, - "httpRequestId": "0811565d-3244-4fc9-9f8e-e9e68c8de3d0" - }, - "item": { - "id": "2e251bd3-0e7d-4e0d-9b77-bdafd5b1dde7", - "name": "Salva Resource di tipo HTML 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7e7d8567-91c3-49e5-93f3-098da4fb5d33", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a7e29272-453d-4162-9fa3-6832795ad72f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"html_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "889fde54-7413-4290-ad2a-f3da4cbc41fe" - } - }, - { - "listen": "prerequest", - "script": { - "id": "cbf5a481-5906-4b60-85e9-e8f8ca4f16a2", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - " pm.collectionVariables.set(\"html_1_content\",content);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "26f90a1c-913f-4691-bb2d-98f20a9db509" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "61e8197a-82eb-4dd9-9c87-1cbda33804f9", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "595", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n\n

soluta_1715161907734

\n

My first paragraph.

\n\n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "non.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "44359b7e-ff60-42f2-8320-1e0bc016dc98", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "655" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 57, - 54, - 53, - 98, - 99, - 51, - 52, - 45, - 55, - 57, - 56, - 55, - 45, - 52, - 52, - 48, - 101, - 45, - 56, - 101, - 100, - 52, - 45, - 53, - 50, - 57, - 49, - 51, - 98, - 51, - 52, - 48, - 48, - 49, - 99, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 99, - 97, - 102, - 49, - 99, - 50, - 52, - 52, - 51, - 99, - 101, - 97, - 98, - 50, - 98, - 57, - 55, - 100, - 98, - 48, - 55, - 99, - 56, - 100, - 49, - 53, - 48, - 53, - 100, - 51, - 50, - 53, - 102, - 54, - 57, - 48, - 49, - 52, - 99, - 53, - 102, - 55, - 97, - 52, - 97, - 49, - 100, - 100, - 51, - 50, - 57, - 53, - 48, - 102, - 54, - 53, - 53, - 52, - 99, - 49, - 57, - 57, - 48, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 48, - 51, - 50, - 98, - 54, - 55, - 54, - 45, - 50, - 50, - 56, - 49, - 45, - 52, - 50, - 100, - 49, - 45, - 56, - 49, - 98, - 54, - 45, - 56, - 98, - 56, - 51, - 100, - 52, - 50, - 97, - 49, - 99, - 50, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 110, - 111, - 110, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 110, - 111, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 38, - "responseSize": 655 - }, - "id": "2e251bd3-0e7d-4e0d-9b77-bdafd5b1dde7", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "a6898261-dc17-44cf-b469-9bbcc8df6b41", - "length": 117, - "cycles": 1, - "position": 72, - "iteration": 0, - "httpRequestId": "0811565d-3244-4fc9-9f8e-e9e68c8de3d0" - }, - "item": { - "id": "2e251bd3-0e7d-4e0d-9b77-bdafd5b1dde7", - "name": "Salva Resource di tipo HTML 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "7e7d8567-91c3-49e5-93f3-098da4fb5d33", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a7e29272-453d-4162-9fa3-6832795ad72f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"html_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "889fde54-7413-4290-ad2a-f3da4cbc41fe" - } - }, - { - "listen": "prerequest", - "script": { - "id": "cbf5a481-5906-4b60-85e9-e8f8ca4f16a2", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - " pm.collectionVariables.set(\"html_1_content\",content);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "26f90a1c-913f-4691-bb2d-98f20a9db509" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "61e8197a-82eb-4dd9-9c87-1cbda33804f9", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "595", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n\n

soluta_1715161907734

\n

My first paragraph.

\n\n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "non.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "44359b7e-ff60-42f2-8320-1e0bc016dc98", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "655" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 57, - 54, - 53, - 98, - 99, - 51, - 52, - 45, - 55, - 57, - 56, - 55, - 45, - 52, - 52, - 48, - 101, - 45, - 56, - 101, - 100, - 52, - 45, - 53, - 50, - 57, - 49, - 51, - 98, - 51, - 52, - 48, - 48, - 49, - 99, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 99, - 97, - 102, - 49, - 99, - 50, - 52, - 52, - 51, - 99, - 101, - 97, - 98, - 50, - 98, - 57, - 55, - 100, - 98, - 48, - 55, - 99, - 56, - 100, - 49, - 53, - 48, - 53, - 100, - 51, - 50, - 53, - 102, - 54, - 57, - 48, - 49, - 52, - 99, - 53, - 102, - 55, - 97, - 52, - 97, - 49, - 100, - 100, - 51, - 50, - 57, - 53, - 48, - 102, - 54, - 53, - 53, - 52, - 99, - 49, - 57, - 57, - 48, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 48, - 51, - 50, - 98, - 54, - 55, - 54, - 45, - 50, - 50, - 56, - 49, - 45, - 52, - 50, - 100, - 49, - 45, - 56, - 49, - 98, - 54, - 45, - 56, - 98, - 56, - 51, - 100, - 52, - 50, - 97, - 49, - 99, - 50, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 110, - 111, - 110, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 110, - 111, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 38, - "responseSize": 655 - }, - "id": "2e251bd3-0e7d-4e0d-9b77-bdafd5b1dde7", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0445dc16-607c-4ac3-95dc-1fe10aabc467", - "length": 117, - "cycles": 1, - "position": 73, - "iteration": 0, - "httpRequestId": "4c21e4b1-9e1b-4aa6-82ba-100c403a667b" - }, - "item": { - "id": "37f83a37-b1c5-4ffa-837c-67a95b26d634", - "name": "Get HTML_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "cef2429a-0165-49f3-8dce-00f1be338096", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.resourceId;\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"html_1_id\"));\r", - "});" - ], - "_lastExecutionId": "36ae8c77-0ce2-44c8-a35b-5e38cb7d5c3b" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "3965bc34-7987-440e-8ed4-52913b34001c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "45cc6319-6e03-4296-b100-543df14d5b40", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "6f082621-1795-4235-9cd7-f00f8b37ce68", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "655" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 57, - 54, - 53, - 98, - 99, - 51, - 52, - 45, - 55, - 57, - 56, - 55, - 45, - 52, - 52, - 48, - 101, - 45, - 56, - 101, - 100, - 52, - 45, - 53, - 50, - 57, - 49, - 51, - 98, - 51, - 52, - 48, - 48, - 49, - 99, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 99, - 97, - 102, - 49, - 99, - 50, - 52, - 52, - 51, - 99, - 101, - 97, - 98, - 50, - 98, - 57, - 55, - 100, - 98, - 48, - 55, - 99, - 56, - 100, - 49, - 53, - 48, - 53, - 100, - 51, - 50, - 53, - 102, - 54, - 57, - 48, - 49, - 52, - 99, - 53, - 102, - 55, - 97, - 52, - 97, - 49, - 100, - 100, - 51, - 50, - 57, - 53, - 48, - 102, - 54, - 53, - 53, - 52, - 99, - 49, - 57, - 57, - 48, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 48, - 51, - 50, - 98, - 54, - 55, - 54, - 45, - 50, - 50, - 56, - 49, - 45, - 52, - 50, - 100, - 49, - 45, - 56, - 49, - 98, - 54, - 45, - 56, - 98, - 56, - 51, - 100, - 52, - 50, - 97, - 49, - 99, - 50, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 110, - 111, - 110, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 110, - 111, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 655 - }, - "id": "37f83a37-b1c5-4ffa-837c-67a95b26d634", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "9b89c055-7d91-41cd-93e3-6b0916e84629", - "length": 117, - "cycles": 1, - "position": 74, - "iteration": 0, - "httpRequestId": "ff360b44-eaf5-45f9-95fa-814331e6c32e" - }, - "item": { - "id": "58127d98-2311-408e-bb00-d7e2f3e53503", - "name": "Fallisci nel Salvare Resource di tipo HTML 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "29893858-f7d0-4983-b577-6455bc62a745", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "5f7a965f-e25e-45c8-a287-06cb0b2c9317", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "25b54d58-79f2-4c08-9aad-328ca96087fe" - } - }, - { - "listen": "prerequest", - "script": { - "id": "dbc5753e-a76f-4938-8059-8c9f60b416a6", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"html_1_content\");", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "8bd164d9-1573-41cf-8d7d-e26c175a4753" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "a12fcf3c-669b-409e-9a7c-f978d45549cb", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "597", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n\n

soluta_1715161907734

\n

My first paragraph.

\n\n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "nihil.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "677bc583-45ff-4c41-ad8c-104b87d66af8", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "136" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 108, - 111, - 32, - 115, - 116, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 116, - 101, - 110, - 117, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 136 - }, - "id": "58127d98-2311-408e-bb00-d7e2f3e53503", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "9b89c055-7d91-41cd-93e3-6b0916e84629", - "length": 117, - "cycles": 1, - "position": 74, - "iteration": 0, - "httpRequestId": "ff360b44-eaf5-45f9-95fa-814331e6c32e" - }, - "item": { - "id": "58127d98-2311-408e-bb00-d7e2f3e53503", - "name": "Fallisci nel Salvare Resource di tipo HTML 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "29893858-f7d0-4983-b577-6455bc62a745", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "5f7a965f-e25e-45c8-a287-06cb0b2c9317", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "25b54d58-79f2-4c08-9aad-328ca96087fe" - } - }, - { - "listen": "prerequest", - "script": { - "id": "dbc5753e-a76f-4938-8059-8c9f60b416a6", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"html_1_content\");", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "8bd164d9-1573-41cf-8d7d-e26c175a4753" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "a12fcf3c-669b-409e-9a7c-f978d45549cb", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "597", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n\n

soluta_1715161907734

\n

My first paragraph.

\n\n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "nihil.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "677bc583-45ff-4c41-ad8c-104b87d66af8", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "136" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 108, - 111, - 32, - 115, - 116, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 116, - 101, - 110, - 117, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 136 - }, - "id": "58127d98-2311-408e-bb00-d7e2f3e53503", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "ea2be58e-e24c-451b-9a07-fb4ea2386196", - "length": 117, - "cycles": 1, - "position": 75, - "iteration": 0, - "httpRequestId": "1753bc98-d4b0-4d8b-bcab-ead0ccacb23c" - }, - "item": { - "id": "9c9020ce-015e-4d75-9ac5-150964e22b65", - "name": "Salva Resource di tipo HTML 1 con PATH", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "{{html_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9b10eca5-cb24-4a92-b0d9-1ec0ee6523fe", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ffc29039-c56b-4861-af45-cf48346a0446", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"html_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "5d01c1a8-6751-46aa-9955-86dc102df22b" - } - }, - { - "listen": "prerequest", - "script": { - "id": "402b2f36-45eb-4e66-8bf2-e453f5e1d6cf", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " var path = window.faker.lorem.word(10)+\"/\"+window.faker.lorem.word(10);", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - " pm.collectionVariables.set(\"html_path\", path);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "8c9b0c92-b9eb-481b-91ac-5dee93c72b39" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "3ba4d099-6ee6-4372-8fac-4427e90f022e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "610", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n\n

nisi_1715161909348

\n

My first paragraph.

\n\n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "doloremque.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "enim/alias", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "86a5ae70-ee29-4abd-90cf-c2a554d39f66", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "680" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 50, - 52, - 98, - 101, - 56, - 101, - 101, - 54, - 45, - 98, - 55, - 101, - 51, - 45, - 52, - 55, - 54, - 49, - 45, - 56, - 102, - 102, - 57, - 45, - 56, - 97, - 101, - 48, - 49, - 102, - 51, - 49, - 55, - 49, - 99, - 53, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 49, - 56, - 48, - 55, - 102, - 48, - 57, - 50, - 97, - 101, - 100, - 56, - 54, - 52, - 55, - 49, - 53, - 100, - 51, - 100, - 56, - 57, - 99, - 101, - 53, - 54, - 49, - 53, - 57, - 52, - 99, - 52, - 101, - 97, - 57, - 48, - 48, - 49, - 51, - 52, - 98, - 102, - 53, - 50, - 100, - 57, - 54, - 52, - 56, - 50, - 97, - 52, - 102, - 97, - 57, - 49, - 52, - 99, - 57, - 54, - 50, - 99, - 56, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 53, - 54, - 56, - 102, - 53, - 54, - 53, - 45, - 98, - 50, - 52, - 97, - 45, - 52, - 100, - 99, - 51, - 45, - 98, - 99, - 49, - 53, - 45, - 101, - 54, - 49, - 56, - 50, - 53, - 102, - 49, - 55, - 100, - 99, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 101, - 110, - 105, - 109, - 47, - 97, - 108, - 105, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 26, - "responseSize": 680 - }, - "id": "9c9020ce-015e-4d75-9ac5-150964e22b65", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "ea2be58e-e24c-451b-9a07-fb4ea2386196", - "length": 117, - "cycles": 1, - "position": 75, - "iteration": 0, - "httpRequestId": "1753bc98-d4b0-4d8b-bcab-ead0ccacb23c" - }, - "item": { - "id": "9c9020ce-015e-4d75-9ac5-150964e22b65", - "name": "Salva Resource di tipo HTML 1 con PATH", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "{{html_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "9b10eca5-cb24-4a92-b0d9-1ec0ee6523fe", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ffc29039-c56b-4861-af45-cf48346a0446", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"html_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "5d01c1a8-6751-46aa-9955-86dc102df22b" - } - }, - { - "listen": "prerequest", - "script": { - "id": "402b2f36-45eb-4e66-8bf2-e453f5e1d6cf", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " var path = window.faker.lorem.word(10)+\"/\"+window.faker.lorem.word(10);", - " pm.collectionVariables.set(\"html_1\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"html_filename\",fileName);", - " pm.collectionVariables.set(\"html_path\", path);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "8c9b0c92-b9eb-481b-91ac-5dee93c72b39" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "3ba4d099-6ee6-4372-8fac-4427e90f022e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "610", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n\n

nisi_1715161909348

\n

My first paragraph.

\n\n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "doloremque.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "enim/alias", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "86a5ae70-ee29-4abd-90cf-c2a554d39f66", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "680" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 50, - 52, - 98, - 101, - 56, - 101, - 101, - 54, - 45, - 98, - 55, - 101, - 51, - 45, - 52, - 55, - 54, - 49, - 45, - 56, - 102, - 102, - 57, - 45, - 56, - 97, - 101, - 48, - 49, - 102, - 51, - 49, - 55, - 49, - 99, - 53, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 49, - 56, - 48, - 55, - 102, - 48, - 57, - 50, - 97, - 101, - 100, - 56, - 54, - 52, - 55, - 49, - 53, - 100, - 51, - 100, - 56, - 57, - 99, - 101, - 53, - 54, - 49, - 53, - 57, - 52, - 99, - 52, - 101, - 97, - 57, - 48, - 48, - 49, - 51, - 52, - 98, - 102, - 53, - 50, - 100, - 57, - 54, - 52, - 56, - 50, - 97, - 52, - 102, - 97, - 57, - 49, - 52, - 99, - 57, - 54, - 50, - 99, - 56, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 53, - 54, - 56, - 102, - 53, - 54, - 53, - 45, - 98, - 50, - 52, - 97, - 45, - 52, - 100, - 99, - 51, - 45, - 98, - 99, - 49, - 53, - 45, - 101, - 54, - 49, - 56, - 50, - 53, - 102, - 49, - 55, - 100, - 99, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 101, - 110, - 105, - 109, - 47, - 97, - 108, - 105, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 26, - "responseSize": 680 - }, - "id": "9c9020ce-015e-4d75-9ac5-150964e22b65", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "8acec740-96b5-49a7-8819-5b897b8d1dc7", - "length": 117, - "cycles": 1, - "position": 76, - "iteration": 0, - "httpRequestId": "6a8dbfaf-06eb-46b1-87e1-a2dde6c4b145" - }, - "item": { - "id": "cfc89e78-bd7d-4d68-9c86-9f833cc61211", - "name": "Fallisci nel Salvare Resource di tipo HTML 1 con stesso contenuto e stesso path", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{html_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{html_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "{{html_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8b4aed61-b8d3-4039-b636-75c441260de7", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e4224850-1fb0-4b95-8dff-760b751bc38a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "92ff5703-82f2-4a30-990e-16efc4215c92" - } - }, - { - "listen": "prerequest", - "script": { - "id": "ebe5f500-c959-48a7-82f5-759210ae10b5", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "45ebc542-b7e1-463e-b0fb-3ebf87d11f80" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "de497b68-7a1f-4da1-8e6e-863e9c5690ca", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "610", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "\n\n\n

nisi_1715161909348

\n

My first paragraph.

\n\n\n", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "doloremque.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "enim/alias", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "98989229-a019-4bff-8320-dbe0d5514d83", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "136" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 108, - 111, - 32, - 115, - 116, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 116, - 101, - 110, - 117, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 136 - }, - "id": "cfc89e78-bd7d-4d68-9c86-9f833cc61211", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "c1fbbd7e-329a-4e58-960a-97af6887d6dc", - "length": 117, - "cycles": 1, - "position": 77, - "iteration": 0, - "httpRequestId": "64439f83-381a-40f9-924e-5858e1bf8981" - }, - "item": { - "id": "0bd9a856-3144-474c-80cf-c1e5267751e6", - "name": "Salva Resource di tipo OTHER 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "047f1023-1054-4e58-8f56-994118c2d3e2", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "838324c6-e2ee-484b-baf6-19cd5b1862b1", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"other_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "f77fcd1b-1e31-4645-9bbd-061d7aaeb4b7" - } - }, - { - "listen": "prerequest", - "script": { - "id": "65641a18-9c30-48a9-bc58-9cb16bb084cc", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".txt\";", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - " pm.collectionVariables.set(\"other_1_content\",content);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "105a791d-d351-4599-b20f-a35f7c5a9434" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "7f47fbcc-2e92-4a88-990a-d1b19ee4a227", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "510", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "sunt_1715161910187", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "sit.txt", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "fce84931-752c-4e68-a953-3c431c1f0d6a", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "658" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 54, - 97, - 99, - 101, - 54, - 99, - 49, - 45, - 102, - 99, - 52, - 55, - 45, - 52, - 99, - 48, - 51, - 45, - 57, - 98, - 48, - 50, - 45, - 97, - 53, - 98, - 51, - 56, - 53, - 98, - 48, - 52, - 99, - 101, - 57, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 52, - 99, - 48, - 54, - 52, - 53, - 51, - 54, - 48, - 56, - 102, - 48, - 102, - 49, - 52, - 56, - 102, - 50, - 102, - 99, - 101, - 49, - 50, - 101, - 48, - 102, - 97, - 99, - 50, - 55, - 53, - 55, - 53, - 102, - 98, - 57, - 98, - 101, - 99, - 55, - 100, - 51, - 52, - 48, - 99, - 102, - 49, - 54, - 100, - 52, - 55, - 101, - 50, - 53, - 97, - 101, - 50, - 49, - 48, - 54, - 98, - 52, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 98, - 50, - 53, - 98, - 53, - 48, - 55, - 48, - 45, - 56, - 51, - 102, - 50, - 45, - 52, - 101, - 53, - 48, - 45, - 57, - 51, - 102, - 99, - 45, - 48, - 100, - 97, - 49, - 101, - 98, - 51, - 49, - 53, - 57, - 51, - 102, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 115, - 105, - 116, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 115, - 105, - 116, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 35, - "responseSize": 658 - }, - "id": "0bd9a856-3144-474c-80cf-c1e5267751e6", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "c1fbbd7e-329a-4e58-960a-97af6887d6dc", - "length": 117, - "cycles": 1, - "position": 77, - "iteration": 0, - "httpRequestId": "64439f83-381a-40f9-924e-5858e1bf8981" - }, - "item": { - "id": "0bd9a856-3144-474c-80cf-c1e5267751e6", - "name": "Salva Resource di tipo OTHER 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "047f1023-1054-4e58-8f56-994118c2d3e2", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "838324c6-e2ee-484b-baf6-19cd5b1862b1", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"other_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "f77fcd1b-1e31-4645-9bbd-061d7aaeb4b7" - } - }, - { - "listen": "prerequest", - "script": { - "id": "65641a18-9c30-48a9-bc58-9cb16bb084cc", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".txt\";", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - " pm.collectionVariables.set(\"other_1_content\",content);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "105a791d-d351-4599-b20f-a35f7c5a9434" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "7f47fbcc-2e92-4a88-990a-d1b19ee4a227", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "510", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "sunt_1715161910187", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "sit.txt", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "fce84931-752c-4e68-a953-3c431c1f0d6a", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "658" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 54, - 97, - 99, - 101, - 54, - 99, - 49, - 45, - 102, - 99, - 52, - 55, - 45, - 52, - 99, - 48, - 51, - 45, - 57, - 98, - 48, - 50, - 45, - 97, - 53, - 98, - 51, - 56, - 53, - 98, - 48, - 52, - 99, - 101, - 57, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 52, - 99, - 48, - 54, - 52, - 53, - 51, - 54, - 48, - 56, - 102, - 48, - 102, - 49, - 52, - 56, - 102, - 50, - 102, - 99, - 101, - 49, - 50, - 101, - 48, - 102, - 97, - 99, - 50, - 55, - 53, - 55, - 53, - 102, - 98, - 57, - 98, - 101, - 99, - 55, - 100, - 51, - 52, - 48, - 99, - 102, - 49, - 54, - 100, - 52, - 55, - 101, - 50, - 53, - 97, - 101, - 50, - 49, - 48, - 54, - 98, - 52, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 98, - 50, - 53, - 98, - 53, - 48, - 55, - 48, - 45, - 56, - 51, - 102, - 50, - 45, - 52, - 101, - 53, - 48, - 45, - 57, - 51, - 102, - 99, - 45, - 48, - 100, - 97, - 49, - 101, - 98, - 51, - 49, - 53, - 57, - 51, - 102, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 115, - 105, - 116, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 115, - 105, - 116, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 35, - "responseSize": 658 - }, - "id": "0bd9a856-3144-474c-80cf-c1e5267751e6", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "fae3d407-cede-4bdb-b10d-55161f742c45", - "length": 117, - "cycles": 1, - "position": 78, - "iteration": 0, - "httpRequestId": "c16eb4ea-3221-47f1-8a97-f56f0413724e" - }, - "item": { - "id": "cc0db4b4-e5f7-4fc2-b902-0134094f5e37", - "name": "Get OTHER_1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "e9bdb97e-1f69-43f4-9d33-e48e17b99ea2", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.resourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"other_1_id\"));\r", - "});" - ], - "_lastExecutionId": "1433d762-1a9a-4724-903e-d156ddc70d27" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "36ace6c1-fc47-4c03-9b02-a5b385b04ce9" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "1a7b5859-a16f-4b84-b4ee-e114af526473", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "04614398-6377-4d7a-909b-772011ead9b2", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "658" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 54, - 97, - 99, - 101, - 54, - 99, - 49, - 45, - 102, - 99, - 52, - 55, - 45, - 52, - 99, - 48, - 51, - 45, - 57, - 98, - 48, - 50, - 45, - 97, - 53, - 98, - 51, - 56, - 53, - 98, - 48, - 52, - 99, - 101, - 57, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 52, - 99, - 48, - 54, - 52, - 53, - 51, - 54, - 48, - 56, - 102, - 48, - 102, - 49, - 52, - 56, - 102, - 50, - 102, - 99, - 101, - 49, - 50, - 101, - 48, - 102, - 97, - 99, - 50, - 55, - 53, - 55, - 53, - 102, - 98, - 57, - 98, - 101, - 99, - 55, - 100, - 51, - 52, - 48, - 99, - 102, - 49, - 54, - 100, - 52, - 55, - 101, - 50, - 53, - 97, - 101, - 50, - 49, - 48, - 54, - 98, - 52, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 98, - 50, - 53, - 98, - 53, - 48, - 55, - 48, - 45, - 56, - 51, - 102, - 50, - 45, - 52, - 101, - 53, - 48, - 45, - 57, - 51, - 102, - 99, - 45, - 48, - 100, - 97, - 49, - 101, - 98, - 51, - 49, - 53, - 57, - 51, - 102, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 115, - 105, - 116, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 115, - 105, - 116, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 658 - }, - "id": "cc0db4b4-e5f7-4fc2-b902-0134094f5e37", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "ae28ca5a-3559-4718-8933-ebd6b1e62289", - "length": 117, - "cycles": 1, - "position": 79, - "iteration": 0, - "httpRequestId": "c7c3114c-0086-40cd-9a57-910b7d40af25" - }, - "item": { - "id": "5b8948de-ff18-48cd-8044-f475c4686eed", - "name": "Fallisci nel Salvare Resource di tipo OTHER 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d6ebeebd-2168-470a-a7a1-2f625b83046d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7d543a9b-86af-41c3-9fd1-76dc5bf43ddb", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "71db1576-c7d0-484e-bffc-0b62fa562801" - } - }, - { - "listen": "prerequest", - "script": { - "id": "2747739d-9d5e-43c6-a33a-36ae0461650d", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"other_1_content\");", - " var fileName = window.faker.lorem.word(10)+\".other\";", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "15e7cb4f-9f48-4ff4-a07a-a3bc81fb9dd8" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "f6f2605e-194e-4f3f-8abb-b7a5c2c1604c", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "518", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "sunt_1715161910187", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "accusamus.other", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "fdb49890-23ac-45ac-876e-b7e5174144ba", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "136" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 108, - 111, - 32, - 115, - 116, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 116, - 101, - 110, - 117, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 136 - }, - "id": "5b8948de-ff18-48cd-8044-f475c4686eed", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "ae28ca5a-3559-4718-8933-ebd6b1e62289", - "length": 117, - "cycles": 1, - "position": 79, - "iteration": 0, - "httpRequestId": "c7c3114c-0086-40cd-9a57-910b7d40af25" - }, - "item": { - "id": "5b8948de-ff18-48cd-8044-f475c4686eed", - "name": "Fallisci nel Salvare Resource di tipo OTHER 1 con file duplicato", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "d6ebeebd-2168-470a-a7a1-2f625b83046d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "7d543a9b-86af-41c3-9fd1-76dc5bf43ddb", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "71db1576-c7d0-484e-bffc-0b62fa562801" - } - }, - { - "listen": "prerequest", - "script": { - "id": "2747739d-9d5e-43c6-a33a-36ae0461650d", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"other_1_content\");", - " var fileName = window.faker.lorem.word(10)+\".other\";", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "15e7cb4f-9f48-4ff4-a07a-a3bc81fb9dd8" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "f6f2605e-194e-4f3f-8abb-b7a5c2c1604c", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "518", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "sunt_1715161910187", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "accusamus.other", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "fdb49890-23ac-45ac-876e-b7e5174144ba", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "136" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 108, - 111, - 32, - 115, - 116, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 116, - 101, - 110, - 117, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 136 - }, - "id": "5b8948de-ff18-48cd-8044-f475c4686eed", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "95e6c078-7b48-45fd-8d5e-70b518f9cbcd", - "length": 117, - "cycles": 1, - "position": 80, - "iteration": 0, - "httpRequestId": "b405bc51-0944-485b-a126-79da1bfc54a6" - }, - "item": { - "id": "649aff97-3c43-42c5-b6e6-fd9c4b1894a0", - "name": "Salva Resource di tipo OTHER 1 con PATH", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "{{other_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0bbb077f-d284-427d-a457-cf32504ddd7e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "0f059467-ae5f-4c08-ad3d-ee161f952243", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"other_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "4dc6c851-0056-47e0-8e2e-ef063d677343" - } - }, - { - "listen": "prerequest", - "script": { - "id": "94e50797-b803-436e-b654-38c3f088c418", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".txt\";", - " var path = window.faker.lorem.word(10)+\"/\"+window.faker.lorem.word(10);", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - " pm.collectionVariables.set(\"other_path\", path);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "d0803abf-b017-419a-8189-542b37376efa" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "b1da89e9-fd45-4d58-90fb-190b7a55e5ab", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "526", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "vero_1715161911844", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "dolores.txt", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "dolorum/quas", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a7c44748-5bc6-46d7-b439-66a44fdcbad2", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "679" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 53, - 101, - 48, - 53, - 55, - 51, - 55, - 50, - 45, - 52, - 52, - 97, - 57, - 45, - 52, - 102, - 54, - 51, - 45, - 98, - 100, - 48, - 57, - 45, - 97, - 102, - 97, - 102, - 55, - 100, - 56, - 98, - 51, - 101, - 48, - 50, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 97, - 101, - 99, - 54, - 53, - 54, - 55, - 48, - 54, - 55, - 54, - 98, - 101, - 48, - 53, - 102, - 101, - 49, - 55, - 53, - 100, - 57, - 97, - 52, - 56, - 51, - 56, - 97, - 102, - 52, - 52, - 50, - 49, - 101, - 50, - 57, - 51, - 100, - 102, - 101, - 48, - 57, - 97, - 49, - 98, - 101, - 54, - 102, - 52, - 99, - 52, - 101, - 54, - 52, - 97, - 51, - 100, - 48, - 52, - 100, - 55, - 98, - 52, - 102, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 54, - 53, - 97, - 52, - 99, - 102, - 56, - 45, - 54, - 98, - 48, - 98, - 45, - 52, - 101, - 101, - 100, - 45, - 98, - 48, - 49, - 48, - 45, - 99, - 51, - 52, - 48, - 102, - 57, - 52, - 102, - 50, - 101, - 57, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 100, - 111, - 108, - 111, - 114, - 117, - 109, - 47, - 113, - 117, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 25, - "responseSize": 679 - }, - "id": "649aff97-3c43-42c5-b6e6-fd9c4b1894a0", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "95e6c078-7b48-45fd-8d5e-70b518f9cbcd", - "length": 117, - "cycles": 1, - "position": 80, - "iteration": 0, - "httpRequestId": "b405bc51-0944-485b-a126-79da1bfc54a6" - }, - "item": { - "id": "649aff97-3c43-42c5-b6e6-fd9c4b1894a0", - "name": "Salva Resource di tipo OTHER 1 con PATH", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "{{other_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0bbb077f-d284-427d-a457-cf32504ddd7e", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "0f059467-ae5f-4c08-ad3d-ee161f952243", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "pm.collectionVariables.set(\"other_1_id\", jsonData.resourceId);", - "" - ], - "_lastExecutionId": "4dc6c851-0056-47e0-8e2e-ef063d677343" - } - }, - { - "listen": "prerequest", - "script": { - "id": "94e50797-b803-436e-b654-38c3f088c418", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " var fileName = window.faker.lorem.word(10)+\".txt\";", - " var path = window.faker.lorem.word(10)+\"/\"+window.faker.lorem.word(10);", - " pm.collectionVariables.set(\"other_1\", content);", - " pm.collectionVariables.set(\"other_filename\",fileName);", - " pm.collectionVariables.set(\"other_path\", path);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "d0803abf-b017-419a-8189-542b37376efa" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "b1da89e9-fd45-4d58-90fb-190b7a55e5ab", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "526", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "vero_1715161911844", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "dolores.txt", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "OTHER", - "type": "text" - }, - { - "key": "path", - "value": "dolorum/quas", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a7c44748-5bc6-46d7-b439-66a44fdcbad2", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "679" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 53, - 101, - 48, - 53, - 55, - 51, - 55, - 50, - 45, - 52, - 52, - 97, - 57, - 45, - 52, - 102, - 54, - 51, - 45, - 98, - 100, - 48, - 57, - 45, - 97, - 102, - 97, - 102, - 55, - 100, - 56, - 98, - 51, - 101, - 48, - 50, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 97, - 101, - 99, - 54, - 53, - 54, - 55, - 48, - 54, - 55, - 54, - 98, - 101, - 48, - 53, - 102, - 101, - 49, - 55, - 53, - 100, - 57, - 97, - 52, - 56, - 51, - 56, - 97, - 102, - 52, - 52, - 50, - 49, - 101, - 50, - 57, - 51, - 100, - 102, - 101, - 48, - 57, - 97, - 49, - 98, - 101, - 54, - 102, - 52, - 99, - 52, - 101, - 54, - 52, - 97, - 51, - 100, - 48, - 52, - 100, - 55, - 98, - 52, - 102, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 54, - 53, - 97, - 52, - 99, - 102, - 56, - 45, - 54, - 98, - 48, - 98, - 45, - 52, - 101, - 101, - 100, - 45, - 98, - 48, - 49, - 48, - 45, - 99, - 51, - 52, - 48, - 102, - 57, - 52, - 102, - 50, - 101, - 57, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 100, - 111, - 108, - 111, - 114, - 117, - 109, - 47, - 113, - 117, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 25, - "responseSize": 679 - }, - "id": "649aff97-3c43-42c5-b6e6-fd9c4b1894a0", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "bc3216dc-1d9e-48cb-abeb-8f2a522d5621", - "length": 117, - "cycles": 1, - "position": 81, - "iteration": 0, - "httpRequestId": "345da76a-8d8e-40e1-a034-143f58401c46" - }, - "item": { - "id": "34d883db-fe08-4cea-ae3b-7e004b9c706c", - "name": "Fallisci nel Salvare Resource di tipo OTHER 1 con stesso contenuto e stesso path", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "{{other_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "77845b69-7b95-44c3-9be8-26d50b8eb89c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "cc22c862-a51f-4ea2-aa73-7f2e3bb195c0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "66d05a33-5bf6-4bde-8907-7491116c2cef" - } - }, - { - "listen": "prerequest", - "script": { - "id": "bd745e03-65b2-43e2-8881-be1df64bb734", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"same_content\");", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"other_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "2b010385-1491-4bcf-a3e6-6086c3ad85ee" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "0329a31b-8a5d-4f32-a666-759258505803", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "521", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "vero_1715161911844", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "et.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "dolorum/quas", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "7b803d95-55b5-458a-9b07-dc9cd932787e", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "136" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 108, - 111, - 32, - 115, - 116, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 116, - 101, - 110, - 117, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 10, - "responseSize": 136 - }, - "id": "34d883db-fe08-4cea-ae3b-7e004b9c706c", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "bc3216dc-1d9e-48cb-abeb-8f2a522d5621", - "length": 117, - "cycles": 1, - "position": 81, - "iteration": 0, - "httpRequestId": "345da76a-8d8e-40e1-a034-143f58401c46" - }, - "item": { - "id": "34d883db-fe08-4cea-ae3b-7e004b9c706c", - "name": "Fallisci nel Salvare Resource di tipo OTHER 1 con stesso contenuto e stesso path", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "{{other_1}}", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "{{other_filename}}", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "{{other_path}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "77845b69-7b95-44c3-9be8-26d50b8eb89c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "cc22c862-a51f-4ea2-aa73-7f2e3bb195c0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "66d05a33-5bf6-4bde-8907-7491116c2cef" - } - }, - { - "listen": "prerequest", - "script": { - "id": "bd745e03-65b2-43e2-8881-be1df64bb734", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = pm.collectionVariables.get(\"same_content\");", - " var fileName = window.faker.lorem.word(10)+\".html\";", - " pm.collectionVariables.set(\"other_filename\",fileName);", - "});", - "", - "", - "" - ], - "_lastExecutionId": "2b010385-1491-4bcf-a3e6-6086c3ad85ee" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "0329a31b-8a5d-4f32-a666-759258505803", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "521", - "system": true - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "vero_1715161911844", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "et.html", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of HTML, OTHER)", - "type": "text/plain" - }, - "key": "resourceType", - "value": "HTML", - "type": "text" - }, - { - "key": "path", - "value": "dolorum/quas", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "7b803d95-55b5-458a-9b07-dc9cd932787e", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "136" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 69, - 115, - 105, - 115, - 116, - 101, - 32, - 103, - 105, - 195, - 160, - 32, - 117, - 110, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 108, - 111, - 32, - 115, - 116, - 101, - 115, - 115, - 111, - 32, - 99, - 111, - 110, - 116, - 101, - 110, - 117, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 10, - "responseSize": 136 - }, - "id": "34d883db-fe08-4cea-ae3b-7e004b9c706c", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "efd8de85-ec0e-4cce-9bbb-d189682009bb", - "length": 117, - "cycles": 1, - "position": 82, - "iteration": 0, - "httpRequestId": "961fd895-8051-495e-ba35-4a3e7dcc6250" - }, - "item": { - "id": "865d075d-5ad0-4fd0-a036-4648bfd7c812", - "name": "Get ALL Resources", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "04daf113-e87e-44b0-9a22-11a8eab3d6a5", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "05826512-61a1-47e9-8822-8ca476b28a7a" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "81dd1db3-c1f3-4449-9d0d-31d84f6a6acc", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "ea922883-b9aa-4444-8b54-f22fbbd1394f", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "2677" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 91, - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 57, - 54, - 53, - 98, - 99, - 51, - 52, - 45, - 55, - 57, - 56, - 55, - 45, - 52, - 52, - 48, - 101, - 45, - 56, - 101, - 100, - 52, - 45, - 53, - 50, - 57, - 49, - 51, - 98, - 51, - 52, - 48, - 48, - 49, - 99, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 99, - 97, - 102, - 49, - 99, - 50, - 52, - 52, - 51, - 99, - 101, - 97, - 98, - 50, - 98, - 57, - 55, - 100, - 98, - 48, - 55, - 99, - 56, - 100, - 49, - 53, - 48, - 53, - 100, - 51, - 50, - 53, - 102, - 54, - 57, - 48, - 49, - 52, - 99, - 53, - 102, - 55, - 97, - 52, - 97, - 49, - 100, - 100, - 51, - 50, - 57, - 53, - 48, - 102, - 54, - 53, - 53, - 52, - 99, - 49, - 57, - 57, - 48, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 48, - 51, - 50, - 98, - 54, - 55, - 54, - 45, - 50, - 50, - 56, - 49, - 45, - 52, - 50, - 100, - 49, - 45, - 56, - 49, - 98, - 54, - 45, - 56, - 98, - 56, - 51, - 100, - 52, - 50, - 97, - 49, - 99, - 50, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 110, - 111, - 110, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 110, - 111, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 55, - 46, - 55, - 54, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 50, - 52, - 98, - 101, - 56, - 101, - 101, - 54, - 45, - 98, - 55, - 101, - 51, - 45, - 52, - 55, - 54, - 49, - 45, - 56, - 102, - 102, - 57, - 45, - 56, - 97, - 101, - 48, - 49, - 102, - 51, - 49, - 55, - 49, - 99, - 53, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 49, - 56, - 48, - 55, - 102, - 48, - 57, - 50, - 97, - 101, - 100, - 56, - 54, - 52, - 55, - 49, - 53, - 100, - 51, - 100, - 56, - 57, - 99, - 101, - 53, - 54, - 49, - 53, - 57, - 52, - 99, - 52, - 101, - 97, - 57, - 48, - 48, - 49, - 51, - 52, - 98, - 102, - 53, - 50, - 100, - 57, - 54, - 52, - 56, - 50, - 97, - 52, - 102, - 97, - 57, - 49, - 52, - 99, - 57, - 54, - 50, - 99, - 56, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 53, - 54, - 56, - 102, - 53, - 54, - 53, - 45, - 98, - 50, - 52, - 97, - 45, - 52, - 100, - 99, - 51, - 45, - 98, - 99, - 49, - 53, - 45, - 101, - 54, - 49, - 56, - 50, - 53, - 102, - 49, - 55, - 100, - 99, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 101, - 110, - 105, - 109, - 47, - 97, - 108, - 105, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 51, - 54, - 97, - 99, - 101, - 54, - 99, - 49, - 45, - 102, - 99, - 52, - 55, - 45, - 52, - 99, - 48, - 51, - 45, - 57, - 98, - 48, - 50, - 45, - 97, - 53, - 98, - 51, - 56, - 53, - 98, - 48, - 52, - 99, - 101, - 57, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 50, - 52, - 99, - 48, - 54, - 52, - 53, - 51, - 54, - 48, - 56, - 102, - 48, - 102, - 49, - 52, - 56, - 102, - 50, - 102, - 99, - 101, - 49, - 50, - 101, - 48, - 102, - 97, - 99, - 50, - 55, - 53, - 55, - 53, - 102, - 98, - 57, - 98, - 101, - 99, - 55, - 100, - 51, - 52, - 48, - 99, - 102, - 49, - 54, - 100, - 52, - 55, - 101, - 50, - 53, - 97, - 101, - 50, - 49, - 48, - 54, - 98, - 52, - 51, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 98, - 50, - 53, - 98, - 53, - 48, - 55, - 48, - 45, - 56, - 51, - 102, - 50, - 45, - 52, - 101, - 53, - 48, - 45, - 57, - 51, - 102, - 99, - 45, - 48, - 100, - 97, - 49, - 101, - 98, - 51, - 49, - 53, - 57, - 51, - 102, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 115, - 105, - 116, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 115, - 105, - 116, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 48, - 46, - 50, - 50, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 53, - 101, - 48, - 53, - 55, - 51, - 55, - 50, - 45, - 52, - 52, - 97, - 57, - 45, - 52, - 102, - 54, - 51, - 45, - 98, - 100, - 48, - 57, - 45, - 97, - 102, - 97, - 102, - 55, - 100, - 56, - 98, - 51, - 101, - 48, - 50, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 97, - 101, - 99, - 54, - 53, - 54, - 55, - 48, - 54, - 55, - 54, - 98, - 101, - 48, - 53, - 102, - 101, - 49, - 55, - 53, - 100, - 57, - 97, - 52, - 56, - 51, - 56, - 97, - 102, - 52, - 52, - 50, - 49, - 101, - 50, - 57, - 51, - 100, - 102, - 101, - 48, - 57, - 97, - 49, - 98, - 101, - 54, - 102, - 52, - 99, - 52, - 101, - 54, - 52, - 97, - 51, - 100, - 48, - 52, - 100, - 55, - 98, - 52, - 102, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 54, - 53, - 97, - 52, - 99, - 102, - 56, - 45, - 54, - 98, - 48, - 98, - 45, - 52, - 101, - 101, - 100, - 45, - 98, - 48, - 49, - 48, - 45, - 99, - 51, - 52, - 48, - 102, - 57, - 52, - 102, - 50, - 101, - 57, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 100, - 111, - 108, - 111, - 114, - 117, - 109, - 47, - 113, - 117, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 2677 - }, - "id": "865d075d-5ad0-4fd0-a036-4648bfd7c812", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "d3764224-6f81-4bab-9fa8-e1a644686c47", - "length": 117, - "cycles": 1, - "position": 83, - "iteration": 0, - "httpRequestId": "a3b020b7-b073-4ce1-bb77-196863ff9845" - }, - "item": { - "id": "0727c01e-a5b3-48d6-9dcc-f04b4b632d46", - "name": "Filtra risorse per resourceType e resourceId", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - "filter" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "resourceId", - "value": "{{html_1_id}}" - }, - { - "disabled": true, - "key": "sha256", - "value": "00e25cc0038502feb24e37e5f" - }, - { - "key": "noDeployableResourceType", - "value": "HTML" - }, - { - "disabled": true, - "key": "fileName", - "value": "architecto.html" - }, - { - "disabled": true, - "key": "storageKey", - "value": "RESOURCE/files/OTHER" - }, - { - "disabled": true, - "key": "extension", - "value": "other" - } - ], - "variable": [] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "0d14966e-dbef-45f4-8810-3dfa2b7bfa4a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var data = pm.response.json();\r", - "pm.test(\"One file meets filters\", function () {\r", - " pm.expect(data.results.length).to.equal(1);\r", - "});\r", - "" - ], - "_lastExecutionId": "4e76903d-39e3-452c-9043-69cce85f315f" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "filter" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [ - { - "key": "pageIndex", - "value": "0" - }, - { - "key": "pageSize", - "value": "10" - }, - { - "key": "resourceId", - "value": "24be8ee6-b7e3-4761-8ff9-8ae01f3171c5" - }, - { - "key": "noDeployableResourceType", - "value": "HTML" - } - ], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "6692690c-5f58-4e01-bd9b-d853cc0b2161", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "e34ac868-0ede-44c7-8463-8882e3d4a1e7", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "768" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 112, - 97, - 103, - 101, - 34, - 58, - 48, - 44, - 34, - 108, - 105, - 109, - 105, - 116, - 34, - 58, - 49, - 48, - 44, - 34, - 105, - 116, - 101, - 109, - 115, - 70, - 111, - 117, - 110, - 100, - 34, - 58, - 49, - 44, - 34, - 116, - 111, - 116, - 97, - 108, - 80, - 97, - 103, - 101, - 115, - 34, - 58, - 49, - 44, - 34, - 114, - 101, - 115, - 117, - 108, - 116, - 115, - 34, - 58, - 91, - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 50, - 52, - 98, - 101, - 56, - 101, - 101, - 54, - 45, - 98, - 55, - 101, - 51, - 45, - 52, - 55, - 54, - 49, - 45, - 56, - 102, - 102, - 57, - 45, - 56, - 97, - 101, - 48, - 49, - 102, - 51, - 49, - 55, - 49, - 99, - 53, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 49, - 56, - 48, - 55, - 102, - 48, - 57, - 50, - 97, - 101, - 100, - 56, - 54, - 52, - 55, - 49, - 53, - 100, - 51, - 100, - 56, - 57, - 99, - 101, - 53, - 54, - 49, - 53, - 57, - 52, - 99, - 52, - 101, - 97, - 57, - 48, - 48, - 49, - 51, - 52, - 98, - 102, - 53, - 50, - 100, - 57, - 54, - 52, - 56, - 50, - 97, - 52, - 102, - 97, - 57, - 49, - 52, - 99, - 57, - 54, - 50, - 99, - 56, - 53, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 73, - 100, - 34, - 58, - 34, - 49, - 53, - 54, - 56, - 102, - 53, - 54, - 53, - 45, - 98, - 50, - 52, - 97, - 45, - 52, - 100, - 99, - 51, - 45, - 98, - 99, - 49, - 53, - 45, - 101, - 54, - 49, - 56, - 50, - 53, - 102, - 49, - 55, - 100, - 99, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 101, - 110, - 105, - 109, - 47, - 97, - 108, - 105, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 67, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 76, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 67, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 76, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 93, - 125 - ] - }, - "cookie": [], - "responseTime": 15, - "responseSize": 768 - }, - "id": "0727c01e-a5b3-48d6-9dcc-f04b4b632d46", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "One file meets filters", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "3d2e3e78-8f87-4119-8bbb-6df30a8e7690", - "length": 117, - "cycles": 1, - "position": 84, - "iteration": 0, - "httpRequestId": "064c53a9-0f2f-452a-9fbd-8e5f4ff2107f" - }, - "item": { - "id": "5b5a479d-627f-43e8-8020-7cf7445701be", - "name": "Fallisci nell'Update Resource di tipo HTML 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{html_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "0651d7df-a836-45fc-8158-c465efad8509", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8f2449dd-d5fd-404d-8fe9-9847123932c3", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "313167a2-66bc-4862-a72e-adc829860796" - } - }, - { - "listen": "prerequest", - "script": { - "id": "e9bfcbfc-ced6-49de-93fe-4f621b5c8d06", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "84f77ddb-4180-49fe-8cbe-168aa638b548" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "8067c953-903b-4048-9d50-fd9453d82d74" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "992e37ec-ed25-49f5-b3f9-022ce6add04b", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "159", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "44cccd0c-4e4d-4e18-834c-d99a9b978ee0", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "189" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 56, - 48, - 54, - 55, - 99, - 57, - 53, - 51, - 45, - 57, - 48, - 51, - 98, - 45, - 52, - 48, - 52, - 56, - 45, - 57, - 100, - 53, - 48, - 45, - 102, - 100, - 57, - 52, - 53, - 51, - 100, - 56, - 50, - 100, - 55, - 52, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 58, - 32, - 105, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 97, - 103, - 103, - 105, - 111, - 114, - 110, - 97, - 114, - 108, - 97, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 189 - }, - "id": "5b5a479d-627f-43e8-8020-7cf7445701be", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "7a1b4ed1-79e4-42e7-8b15-388344a55b33", - "length": 117, - "cycles": 1, - "position": 85, - "iteration": 0, - "httpRequestId": "6006875b-a947-4410-aa50-d2eaca85f465" - }, - "item": { - "id": "83932ec0-0b5c-423f-b2b7-622d5789a3e4", - "name": "Fallisci nell'Update Resource di tipo HTML 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{html_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "aa9f0dce-036b-4afb-aa41-8425ec4c2bee", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "6cf2404a-8bf3-4cf0-a1a3-02240d411aa0", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "e11f9777-71fa-44d8-834b-f5ac3f658644" - } - }, - { - "listen": "prerequest", - "script": { - "id": "f6e88010-4bd4-4a7d-ba6f-c6a334bb24ca", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "6f53bb11-2610-42f9-9a1e-3c51309e3f3c" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "24be8ee6-b7e3-4761-8ff9-8ae01f3171c5" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "6e400f1c-1f51-49e0-9092-1d682ab20066", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "260", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n\n

nisi_1715161909348

\n

My first paragraph.

\n\n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "5475d332-05f1-4e4a-9771-84026ba446b3", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "116" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 195, - 168, - 32, - 103, - 105, - 195, - 160, - 32, - 112, - 114, - 101, - 115, - 101, - 110, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 116 - }, - "id": "83932ec0-0b5c-423f-b2b7-622d5789a3e4", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "7c4ceded-99d9-44d6-ac45-b97e4d23a396", - "length": 117, - "cycles": 1, - "position": 86, - "iteration": 0, - "httpRequestId": "8ba54761-bbda-407b-9235-1ea6383dd0e9" - }, - "item": { - "id": "7f068229-db48-4d70-a3b6-e460f1c57cb8", - "name": "Fallisci nell'Update Resource di tipo OTHER 1", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{not_found_uuid}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{other_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "fd561aeb-6fba-46f5-8139-2cfb02cb9a07", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ba5b74e2-3ed2-483d-bbdd-4517cce17b8f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "fbb2a8f7-47cb-4361-9400-1f461b63b3cf" - } - }, - { - "listen": "prerequest", - "script": { - "id": "095b5172-8795-4f25-8e31-7084730eee5f", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "9b87fc88-2c96-4c5a-8c7c-b973ea103b52" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "8067c953-903b-4048-9d50-fd9453d82d74" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "bc2c1c36-46a3-4a10-878b-8d8168edb1a2", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "159", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "2bcd9445-6712-4e86-b7ee-062d9cc98314", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "189" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 56, - 48, - 54, - 55, - 99, - 57, - 53, - 51, - 45, - 57, - 48, - 51, - 98, - 45, - 52, - 48, - 52, - 56, - 45, - 57, - 100, - 53, - 48, - 45, - 102, - 100, - 57, - 52, - 53, - 51, - 100, - 56, - 50, - 100, - 55, - 52, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 58, - 32, - 105, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 97, - 103, - 103, - 105, - 111, - 114, - 110, - 97, - 114, - 108, - 97, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 8, - "responseSize": 189 - }, - "id": "7f068229-db48-4d70-a3b6-e460f1c57cb8", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f49c3590-64c1-4722-91f1-0d7d07596c09", - "length": 117, - "cycles": 1, - "position": 87, - "iteration": 0, - "httpRequestId": "18dbd102-fbbf-4510-94f9-f1a1e861cf2a" - }, - "item": { - "id": "d6461bec-50ed-4179-bfda-4d1a4f8be940", - "name": "Fallisci nell'Update Resource di tipo OTHER 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{other_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "8083a74c-6ad1-44c3-b1d8-245542ff55e4", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "8dd20c16-ae31-4e01-b25a-344ae59183de", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});" - ], - "_lastExecutionId": "fd2c5ef3-3cd8-4d28-a09e-2b4236452115" - } - }, - { - "listen": "prerequest", - "script": { - "id": "0fadcd4e-a85d-4cf6-895a-424dd537b473", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "2a27b0a1-d110-4e67-9741-eed1afd9a020" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "5e057372-44a9-4f63-bd09-afaf7d8b3e02" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "2403621d-5bc6-4b44-8c75-2afd6692097c", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "177", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "vero_1715161911844", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "e2483935-87eb-466b-af56-c4f05c4bc188", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "116" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 195, - 168, - 32, - 103, - 105, - 195, - 160, - 32, - 112, - 114, - 101, - 115, - 101, - 110, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 116 - }, - "id": "d6461bec-50ed-4179-bfda-4d1a4f8be940", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "d14f3d76-cae8-4b05-aab6-cc1415421ad2", - "length": 117, - "cycles": 1, - "position": 88, - "iteration": 0, - "httpRequestId": "02fe61ee-c62f-4dc2-9813-4036d38bdc00" - }, - "item": { - "id": "5e18e522-fd58-4bbb-8a60-6a96d8945a65", - "name": "Update Resource di tipo HTML 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{html_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2231b336-c1e7-4c5c-9079-4d3f9e981127", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "4670462c-a846-46ae-bea2-f5dac3141825", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.resourceId", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"html_1_id\"));", - "});" - ], - "_lastExecutionId": "5c28f129-d832-44a4-bb85-53f861312ba9" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7e15919f-190a-4c55-9975-c291c0e7b00e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"html_1_v2\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"dmn_1_v2_definition_key\",pm.collectionVariables.get(\"dmn_1_definition_key\"));", - "});" - ], - "_lastExecutionId": "4cbc1d43-3406-41b0-9dfd-7b3e82bfe59a" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "24be8ee6-b7e3-4761-8ff9-8ae01f3171c5" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "3fe953cd-73c3-4131-9ae7-f3543e398c83", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "260", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n\n

quia_1715161913638

\n

My first paragraph.

\n\n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "eb021e05-0c22-481c-8b0c-91183a3f26fd", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "680" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 50, - 52, - 98, - 101, - 56, - 101, - 101, - 54, - 45, - 98, - 55, - 101, - 51, - 45, - 52, - 55, - 54, - 49, - 45, - 56, - 102, - 102, - 57, - 45, - 56, - 97, - 101, - 48, - 49, - 102, - 51, - 49, - 55, - 49, - 99, - 53, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 49, - 56, - 51, - 98, - 50, - 52, - 53, - 48, - 99, - 99, - 49, - 50, - 55, - 53, - 99, - 97, - 54, - 99, - 99, - 57, - 97, - 51, - 102, - 55, - 98, - 99, - 100, - 97, - 101, - 53, - 50, - 52, - 101, - 53, - 54, - 101, - 56, - 48, - 48, - 97, - 101, - 50, - 100, - 97, - 48, - 55, - 53, - 48, - 53, - 54, - 54, - 49, - 97, - 49, - 51, - 97, - 56, - 54, - 53, - 54, - 50, - 52, - 54, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 51, - 46, - 54, - 53, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 53, - 54, - 56, - 102, - 53, - 54, - 53, - 45, - 98, - 50, - 52, - 97, - 45, - 52, - 100, - 99, - 51, - 45, - 98, - 99, - 49, - 53, - 45, - 101, - 54, - 49, - 56, - 50, - 53, - 102, - 49, - 55, - 100, - 99, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 101, - 110, - 105, - 109, - 47, - 97, - 108, - 105, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 51, - 46, - 54, - 54, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 21, - "responseSize": 680 - }, - "id": "5e18e522-fd58-4bbb-8a60-6a96d8945a65", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "d14f3d76-cae8-4b05-aab6-cc1415421ad2", - "length": 117, - "cycles": 1, - "position": 88, - "iteration": 0, - "httpRequestId": "02fe61ee-c62f-4dc2-9813-4036d38bdc00" - }, - "item": { - "id": "5e18e522-fd58-4bbb-8a60-6a96d8945a65", - "name": "Update Resource di tipo HTML 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{html_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "2231b336-c1e7-4c5c-9079-4d3f9e981127", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "4670462c-a846-46ae-bea2-f5dac3141825", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.resourceId", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"html_1_id\"));", - "});" - ], - "_lastExecutionId": "5c28f129-d832-44a4-bb85-53f861312ba9" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7e15919f-190a-4c55-9975-c291c0e7b00e", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"html_1_v2\",", - " pm.collectionVariables.get(\"html1_part1\")+content+pm.collectionVariables.get(\"html1_part2\"));", - " pm.collectionVariables.set(\"dmn_1_v2_definition_key\",pm.collectionVariables.get(\"dmn_1_definition_key\"));", - "});" - ], - "_lastExecutionId": "4cbc1d43-3406-41b0-9dfd-7b3e82bfe59a" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "24be8ee6-b7e3-4761-8ff9-8ae01f3171c5" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "3fe953cd-73c3-4131-9ae7-f3543e398c83", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "260", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n\n

quia_1715161913638

\n

My first paragraph.

\n\n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "eb021e05-0c22-481c-8b0c-91183a3f26fd", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "680" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 50, - 52, - 98, - 101, - 56, - 101, - 101, - 54, - 45, - 98, - 55, - 101, - 51, - 45, - 52, - 55, - 54, - 49, - 45, - 56, - 102, - 102, - 57, - 45, - 56, - 97, - 101, - 48, - 49, - 102, - 51, - 49, - 55, - 49, - 99, - 53, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 49, - 56, - 51, - 98, - 50, - 52, - 53, - 48, - 99, - 99, - 49, - 50, - 55, - 53, - 99, - 97, - 54, - 99, - 99, - 57, - 97, - 51, - 102, - 55, - 98, - 99, - 100, - 97, - 101, - 53, - 50, - 52, - 101, - 53, - 54, - 101, - 56, - 48, - 48, - 97, - 101, - 50, - 100, - 97, - 48, - 55, - 53, - 48, - 53, - 54, - 54, - 49, - 97, - 49, - 51, - 97, - 56, - 54, - 53, - 54, - 50, - 52, - 54, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 51, - 46, - 54, - 53, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 53, - 54, - 56, - 102, - 53, - 54, - 53, - 45, - 98, - 50, - 52, - 97, - 45, - 52, - 100, - 99, - 51, - 45, - 98, - 99, - 49, - 53, - 45, - 101, - 54, - 49, - 56, - 50, - 53, - 102, - 49, - 55, - 100, - 99, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 101, - 110, - 105, - 109, - 47, - 97, - 108, - 105, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 51, - 46, - 54, - 54, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 21, - "responseSize": 680 - }, - "id": "5e18e522-fd58-4bbb-8a60-6a96d8945a65", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "35d060a3-e708-4347-83fe-09c82f7f561c", - "length": 117, - "cycles": 1, - "position": 89, - "iteration": 0, - "httpRequestId": "d87f2d58-1c22-4436-ad7a-f3892cc16299" - }, - "item": { - "id": "a512c1e4-4239-4c8a-ba98-61c4f859a502", - "name": "Get HTML_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "a826b3cd-807c-48bf-bf77-c5a1f28d7e64", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.resourceId;\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"html_1_id\"));\r", - "});" - ], - "_lastExecutionId": "1e5b8e70-3ede-4d95-9a8f-d6d6dd5457e7" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "24be8ee6-b7e3-4761-8ff9-8ae01f3171c5" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "6d419c3f-2580-4e67-97dd-1119d28ef655", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "50b7ac42-0ac1-4e71-bf54-1b3880922e9a", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "680" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 50, - 52, - 98, - 101, - 56, - 101, - 101, - 54, - 45, - 98, - 55, - 101, - 51, - 45, - 52, - 55, - 54, - 49, - 45, - 56, - 102, - 102, - 57, - 45, - 56, - 97, - 101, - 48, - 49, - 102, - 51, - 49, - 55, - 49, - 99, - 53, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 49, - 56, - 51, - 98, - 50, - 52, - 53, - 48, - 99, - 99, - 49, - 50, - 55, - 53, - 99, - 97, - 54, - 99, - 99, - 57, - 97, - 51, - 102, - 55, - 98, - 99, - 100, - 97, - 101, - 53, - 50, - 52, - 101, - 53, - 54, - 101, - 56, - 48, - 48, - 97, - 101, - 50, - 100, - 97, - 48, - 55, - 53, - 48, - 53, - 54, - 54, - 49, - 97, - 49, - 51, - 97, - 56, - 54, - 53, - 54, - 50, - 52, - 54, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 51, - 46, - 54, - 53, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 49, - 53, - 54, - 56, - 102, - 53, - 54, - 53, - 45, - 98, - 50, - 52, - 97, - 45, - 52, - 100, - 99, - 51, - 45, - 98, - 99, - 49, - 53, - 45, - 101, - 54, - 49, - 56, - 50, - 53, - 102, - 49, - 55, - 100, - 99, - 99, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 72, - 84, - 77, - 76, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 72, - 84, - 77, - 76, - 47, - 101, - 110, - 105, - 109, - 47, - 97, - 108, - 105, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 46, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 109, - 113, - 117, - 101, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 104, - 116, - 109, - 108, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 57, - 46, - 51, - 55, - 51, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 51, - 46, - 54, - 54, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 680 - }, - "id": "a512c1e4-4239-4c8a-ba98-61c4f859a502", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "aca42533-bdc2-4b45-b6cd-bdaf51aee219", - "length": 117, - "cycles": 1, - "position": 90, - "iteration": 0, - "httpRequestId": "2ab46974-6684-489f-aa9d-ac329f03dc55" - }, - "item": { - "id": "a02bcc77-9add-473c-a1c6-bd9b6cfea21f", - "name": "Update Resource di tipo OTHER 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{other_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "43a4150a-60f9-4840-8b78-9e6b1355140d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "fe07a58b-ac2a-4bdb-9013-0747087cd290", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.resourceId", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"other_1_id\"));", - "});" - ], - "_lastExecutionId": "9548a213-ac0c-4878-93be-f0298be660b6" - } - }, - { - "listen": "prerequest", - "script": { - "id": "247655ee-b6e7-4c1c-9ff3-528c53175437", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"other_1_v2\", content);", - "});" - ], - "_lastExecutionId": "0a03f6bf-cb05-420e-908e-1169e146bc25" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "5e057372-44a9-4f63-bd09-afaf7d8b3e02" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "22a8d6d2-94cc-48b2-8f1e-24347a65b68e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "178", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "quasi_1715161914483", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "737fc3af-3561-4184-8a4e-161643d980c3", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "679" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 53, - 101, - 48, - 53, - 55, - 51, - 55, - 50, - 45, - 52, - 52, - 97, - 57, - 45, - 52, - 102, - 54, - 51, - 45, - 98, - 100, - 48, - 57, - 45, - 97, - 102, - 97, - 102, - 55, - 100, - 56, - 98, - 51, - 101, - 48, - 50, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 97, - 53, - 55, - 50, - 55, - 49, - 55, - 102, - 49, - 55, - 101, - 99, - 97, - 48, - 101, - 56, - 49, - 53, - 102, - 55, - 97, - 52, - 101, - 54, - 50, - 97, - 51, - 98, - 53, - 102, - 52, - 101, - 57, - 55, - 50, - 98, - 98, - 54, - 48, - 100, - 98, - 53, - 54, - 49, - 54, - 51, - 100, - 98, - 53, - 50, - 99, - 101, - 50, - 51, - 49, - 51, - 99, - 49, - 49, - 97, - 52, - 99, - 52, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 53, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 54, - 53, - 97, - 52, - 99, - 102, - 56, - 45, - 54, - 98, - 48, - 98, - 45, - 52, - 101, - 101, - 100, - 45, - 98, - 48, - 49, - 48, - 45, - 99, - 51, - 52, - 48, - 102, - 57, - 52, - 102, - 50, - 101, - 57, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 100, - 111, - 108, - 111, - 114, - 117, - 109, - 47, - 113, - 117, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 53, - 48, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 21, - "responseSize": 679 - }, - "id": "a02bcc77-9add-473c-a1c6-bd9b6cfea21f", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "aca42533-bdc2-4b45-b6cd-bdaf51aee219", - "length": 117, - "cycles": 1, - "position": 90, - "iteration": 0, - "httpRequestId": "2ab46974-6684-489f-aa9d-ac329f03dc55" - }, - "item": { - "id": "a02bcc77-9add-473c-a1c6-bd9b6cfea21f", - "name": "Update Resource di tipo OTHER 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{other_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "43a4150a-60f9-4840-8b78-9e6b1355140d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "fe07a58b-ac2a-4bdb-9013-0747087cd290", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.resourceId", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"other_1_id\"));", - "});" - ], - "_lastExecutionId": "9548a213-ac0c-4878-93be-f0298be660b6" - } - }, - { - "listen": "prerequest", - "script": { - "id": "247655ee-b6e7-4c1c-9ff3-528c53175437", - "type": "text/javascript", - "exec": [ - "window = {};", - "", - "pm.sendRequest(\"https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js\", (error, response) => {", - " if (error || response.code !== 200) {", - " pm.expect.fail('Could not load external library');", - " }", - "", - " eval(response.text());", - "", - " // This is where you can set the locale. See faker.js docs for all available locales.", - " window.faker.locale=\"it\";", - " var content = window.faker.lorem.word(10)+ \"_\" + new Date().getTime();", - " pm.collectionVariables.set(\"other_1_v2\", content);", - "});" - ], - "_lastExecutionId": "0a03f6bf-cb05-420e-908e-1169e146bc25" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "5e057372-44a9-4f63-bd09-afaf7d8b3e02" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "22a8d6d2-94cc-48b2-8f1e-24347a65b68e", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "178", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "quasi_1715161914483", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "737fc3af-3561-4184-8a4e-161643d980c3", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "679" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 53, - 101, - 48, - 53, - 55, - 51, - 55, - 50, - 45, - 52, - 52, - 97, - 57, - 45, - 52, - 102, - 54, - 51, - 45, - 98, - 100, - 48, - 57, - 45, - 97, - 102, - 97, - 102, - 55, - 100, - 56, - 98, - 51, - 101, - 48, - 50, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 97, - 53, - 55, - 50, - 55, - 49, - 55, - 102, - 49, - 55, - 101, - 99, - 97, - 48, - 101, - 56, - 49, - 53, - 102, - 55, - 97, - 52, - 101, - 54, - 50, - 97, - 51, - 98, - 53, - 102, - 52, - 101, - 57, - 55, - 50, - 98, - 98, - 54, - 48, - 100, - 98, - 53, - 54, - 49, - 54, - 51, - 100, - 98, - 53, - 50, - 99, - 101, - 50, - 51, - 49, - 51, - 99, - 49, - 49, - 97, - 52, - 99, - 52, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 53, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 54, - 53, - 97, - 52, - 99, - 102, - 56, - 45, - 54, - 98, - 48, - 98, - 45, - 52, - 101, - 101, - 100, - 45, - 98, - 48, - 49, - 48, - 45, - 99, - 51, - 52, - 48, - 102, - 57, - 52, - 102, - 50, - 101, - 57, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 100, - 111, - 108, - 111, - 114, - 117, - 109, - 47, - 113, - 117, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 53, - 48, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 21, - "responseSize": 679 - }, - "id": "a02bcc77-9add-473c-a1c6-bd9b6cfea21f", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "e5ec871e-5d8b-44f9-aaca-7ac92aff8152", - "length": 117, - "cycles": 1, - "position": 91, - "iteration": 0, - "httpRequestId": "f6f96e5a-a78b-4fca-be80-390075f3895e" - }, - "item": { - "id": "eb460a46-7b59-4e33-814e-80a509d74e1a", - "name": "Get OTHER_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "2ceaf21e-1c32-45c3-a0a2-754328273610", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.resourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"other_1_id\"));\r", - "});" - ], - "_lastExecutionId": "cbd17502-d5ad-4944-a91c-49d989daf2b1" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "5e057372-44a9-4f63-bd09-afaf7d8b3e02" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "ec525269-7550-4dd8-a45d-546fab756c52", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a6e0c72d-2281-4b3b-9c35-ebc1a978a02b", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "679" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 53, - 101, - 48, - 53, - 55, - 51, - 55, - 50, - 45, - 52, - 52, - 97, - 57, - 45, - 52, - 102, - 54, - 51, - 45, - 98, - 100, - 48, - 57, - 45, - 97, - 102, - 97, - 102, - 55, - 100, - 56, - 98, - 51, - 101, - 48, - 50, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 98, - 97, - 53, - 55, - 50, - 55, - 49, - 55, - 102, - 49, - 55, - 101, - 99, - 97, - 48, - 101, - 56, - 49, - 53, - 102, - 55, - 97, - 52, - 101, - 54, - 50, - 97, - 51, - 98, - 53, - 102, - 52, - 101, - 57, - 55, - 50, - 98, - 98, - 54, - 48, - 100, - 98, - 53, - 54, - 49, - 54, - 51, - 100, - 98, - 53, - 50, - 99, - 101, - 50, - 51, - 49, - 51, - 99, - 49, - 49, - 97, - 52, - 99, - 52, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 110, - 111, - 68, - 101, - 112, - 108, - 111, - 121, - 97, - 98, - 108, - 101, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 54, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 53, - 48, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 100, - 110, - 85, - 114, - 108, - 34, - 58, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 100, - 110, - 46, - 101, - 120, - 97, - 109, - 112, - 108, - 101, - 46, - 99, - 111, - 109, - 47, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 99, - 54, - 53, - 97, - 52, - 99, - 102, - 56, - 45, - 54, - 98, - 48, - 98, - 45, - 52, - 101, - 101, - 100, - 45, - 98, - 48, - 49, - 48, - 45, - 99, - 51, - 52, - 48, - 102, - 57, - 52, - 102, - 50, - 101, - 57, - 52, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 79, - 84, - 72, - 69, - 82, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 79, - 84, - 72, - 69, - 82, - 47, - 100, - 111, - 108, - 111, - 114, - 117, - 109, - 47, - 113, - 117, - 97, - 115, - 47, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 46, - 116, - 120, - 116, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 111, - 108, - 111, - 114, - 101, - 115, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 111, - 116, - 104, - 101, - 114, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 49, - 46, - 56, - 55, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 53, - 48, - 54, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 7, - "responseSize": 679 - }, - "id": "eb460a46-7b59-4e33-814e-80a509d74e1a", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "78566ecc-b9b1-4666-9a07-3560c668b287", - "length": 117, - "cycles": 1, - "position": 92, - "iteration": 0, - "httpRequestId": "47c8df1c-388d-4d8e-a88b-a52d76c9c532" - }, - "item": { - "id": "12f96b9f-9361-4550-a5ed-b88519f39d28", - "name": "Fallisci nell'Update del Workflow Resource di tipo DMN 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "75dd20de-7205-4b96-a976-ab0acffbd997", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "a42f3b25-5345-498c-8515-287622ac8b5c", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "0d1e7005-582b-4c4b-95f2-530d0a4a54d1" - } - }, - { - "listen": "prerequest", - "script": { - "id": "c5b2afd9-ed8d-450c-9f52-18918105596b", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "f1077e6c-8be8-4874-b4c0-1c498edc4160" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "2ee164e8-e3c9-49fc-9721-48fb98314d74", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2816", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "7f808e98-90eb-4e5f-897c-c9214c03dbe2", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "134" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 51, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 82, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 103, - 105, - 195, - 160, - 32, - 112, - 114, - 101, - 115, - 101, - 110, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 134 - }, - "id": "12f96b9f-9361-4550-a5ed-b88519f39d28", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f8078cb7-156b-416f-89ad-b594f5418449", - "length": 117, - "cycles": 1, - "position": 93, - "iteration": 0, - "httpRequestId": "76cb0715-bb6c-463c-a36b-815a996ff897" - }, - "item": { - "id": "4a91face-a877-40ba-8182-f82a1c2b0058", - "name": "Fallisci nell'Update del Workflow Resource di tipo DMN 1 con tipo diverso", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{form_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "a64fc1c4-ac47-402c-8fcb-1f0cad74e8dd", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f6d375e2-35a7-4897-9e61-da6c68763010", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "ed28e125-a12f-493e-a969-2fb1fe02042c" - } - }, - { - "listen": "prerequest", - "script": { - "id": "7237d871-ff44-4bb9-b8e0-fb16667a4f14", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "50f60991-356d-4d99-b116-94ceb7e552f4" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "b33c3145-d83a-4941-935b-9b02117c627a", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "878", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "fcba8404-bfe8-411e-bf64-9dabab7437bc", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 201 - }, - "id": "4a91face-a877-40ba-8182-f82a1c2b0058", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "3e2edaf4-1284-4184-b094-540b1b14f6e3", - "length": 117, - "cycles": 1, - "position": 94, - "iteration": 0, - "httpRequestId": "292d5b46-8ea2-4fec-a445-d716e2d6cf85" - }, - "item": { - "id": "fd6fe03c-912a-4fd7-ae44-6e3ba506b048", - "name": "Fallisci nell'Update del Workflow Resource di tipo DMN 1 con chiave diversa", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "312c0ca7-2006-4518-a594-8078438b7651", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "c3c201b1-fe8d-4e0b-83f4-65e191798077", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "e3366d7a-0790-4c01-9c15-95c65cec0d27" - } - }, - { - "listen": "prerequest", - "script": { - "id": "64596395-292b-4f50-b73d-238e9973986f", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"dmn_1_v2_fail\",\r", - "pm.collectionVariables.get(\"dmn1_part1\")+pm.collectionVariables.get(\"form_1_definition_key\")+pm.collectionVariables.get(\"dmn1_part2_v2\"));" - ], - "_lastExecutionId": "1c14ce76-637a-4826-8ea5-5594de3505b0" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "b379e73d-50ca-45ac-9036-208dda8fa5b9", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "159", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "b9e7b12f-6923-41a2-8a47-e156a0c165a1", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 201 - }, - "id": "fd6fe03c-912a-4fd7-ae44-6e3ba506b048", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0682e31b-4f3f-4a2f-88ad-e5fc926e6cad", - "length": 117, - "cycles": 1, - "position": 95, - "iteration": 0, - "httpRequestId": "b16a520c-e1ee-4d2c-8b32-9f15498d860f" - }, - "item": { - "id": "6dea604b-7176-45d8-89b7-631206232efc", - "name": "Update Workflow Resource di tipo DMN 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "146507ab-bc04-4eee-903c-f12781746631", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "f35b02c2-0c0d-497d-95c2-1ccdd09dcd3b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.workflowResourceId;", - "var definitionKey = jsonData.definitionKey;", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"dmn_1_id\"));", - "});", - "pm.test(\"right definition key\", function () {", - " pm.expect(definitionKey).to.equal(pm.collectionVariables.get(\"dmn_1_definition_key\"));", - "})" - ], - "_lastExecutionId": "4258ea13-7bce-4bf0-9aa0-6ab4f719bd86" - } - }, - { - "listen": "prerequest", - "script": { - "id": "c44e2ec1-3a25-4332-abfc-b815af593da6", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"dmn_1_v2\",", - "pm.collectionVariables.get(\"dmn1_part1\")+pm.collectionVariables.get(\"dmn_1_definition_key\")+pm.collectionVariables.get(\"dmn1_part2_v2\"));", - "pm.collectionVariables.set(\"dmn_1_v2_definition_key\",pm.collectionVariables.get(\"dmn_1_definition_key\"));" - ], - "_lastExecutionId": "e0a3fccc-5976-4e02-a5da-6e02a8ee28a1" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "ad6f1adb-9d41-48aa-9bdd-3eeb9135ed11", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2819", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "dff93922-f057-4595-a768-36fb29443d3d", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "972" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 101, - 99, - 105, - 115, - 105, - 111, - 110, - 32, - 49, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 115, - 105, - 116, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 48, - 52, - 52, - 48, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 85, - 80, - 68, - 65, - 84, - 69, - 68, - 95, - 66, - 85, - 84, - 95, - 78, - 79, - 84, - 95, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 48, - 54, - 98, - 54, - 102, - 99, - 57, - 54, - 50, - 55, - 97, - 56, - 55, - 101, - 100, - 56, - 102, - 51, - 51, - 53, - 49, - 54, - 51, - 54, - 98, - 97, - 57, - 53, - 54, - 98, - 54, - 98, - 100, - 100, - 48, - 97, - 50, - 48, - 99, - 55, - 51, - 49, - 102, - 57, - 102, - 97, - 57, - 102, - 102, - 53, - 48, - 98, - 57, - 101, - 50, - 48, - 53, - 55, - 53, - 101, - 55, - 98, - 49, - 56, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 49, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 68, - 101, - 99, - 105, - 115, - 105, - 111, - 110, - 95, - 49, - 49, - 97, - 56, - 119, - 121, - 116, - 58, - 49, - 58, - 54, - 100, - 49, - 57, - 52, - 56, - 101, - 57, - 45, - 55, - 101, - 101, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 51, - 49, - 97, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 54, - 101, - 100, - 57, - 55, - 50, - 56, - 55, - 45, - 50, - 49, - 48, - 99, - 45, - 52, - 98, - 48, - 50, - 45, - 57, - 53, - 52, - 49, - 45, - 100, - 52, - 52, - 98, - 49, - 99, - 52, - 52, - 52, - 52, - 98, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 68, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 100, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 55, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 100, - 105, - 97, - 103, - 114, - 97, - 109, - 95, - 50, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 54, - 100, - 48, - 98, - 98, - 52, - 53, - 53, - 45, - 55, - 101, - 101, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 51, - 49, - 97, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 55, - 49, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 26, - "responseSize": 972 - }, - "id": "6dea604b-7176-45d8-89b7-631206232efc", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - }, - { - "assertion": "right definition key", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0baf428b-5e71-4dba-aaf2-713afecf6bb2", - "length": 117, - "cycles": 1, - "position": 96, - "iteration": 0, - "httpRequestId": "58f9481d-2ea1-4551-bf30-768d461870a6" - }, - "item": { - "id": "915e685b-7f9d-4003-8722-61157983e684", - "name": "Get DMN_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "7f6625d8-f1de-4c76-97ea-cdd8470da5aa", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"dmn_1_id\"));\r", - "});" - ], - "_lastExecutionId": "f345deee-02f0-40e1-acc3-5dc183436f39" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "2a426d84-5ab6-4df9-bc25-58dac02363ce", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "3aefe93b-ca57-4692-937c-0ee0da58ab05", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "972" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 101, - 99, - 105, - 115, - 105, - 111, - 110, - 32, - 49, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 115, - 105, - 116, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 48, - 52, - 52, - 48, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 85, - 80, - 68, - 65, - 84, - 69, - 68, - 95, - 66, - 85, - 84, - 95, - 78, - 79, - 84, - 95, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 48, - 54, - 98, - 54, - 102, - 99, - 57, - 54, - 50, - 55, - 97, - 56, - 55, - 101, - 100, - 56, - 102, - 51, - 51, - 53, - 49, - 54, - 51, - 54, - 98, - 97, - 57, - 53, - 54, - 98, - 54, - 98, - 100, - 100, - 48, - 97, - 50, - 48, - 99, - 55, - 51, - 49, - 102, - 57, - 102, - 97, - 57, - 102, - 102, - 53, - 48, - 98, - 57, - 101, - 50, - 48, - 53, - 55, - 53, - 101, - 55, - 98, - 49, - 56, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 49, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 68, - 101, - 99, - 105, - 115, - 105, - 111, - 110, - 95, - 49, - 49, - 97, - 56, - 119, - 121, - 116, - 58, - 49, - 58, - 54, - 100, - 49, - 57, - 52, - 56, - 101, - 57, - 45, - 55, - 101, - 101, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 51, - 49, - 97, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 54, - 101, - 100, - 57, - 55, - 50, - 56, - 55, - 45, - 50, - 49, - 48, - 99, - 45, - 52, - 98, - 48, - 50, - 45, - 57, - 53, - 52, - 49, - 45, - 100, - 52, - 52, - 98, - 49, - 99, - 52, - 52, - 52, - 52, - 98, - 48, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 68, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 100, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 52, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 55, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 100, - 105, - 97, - 103, - 114, - 97, - 109, - 95, - 50, - 46, - 100, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 68, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 54, - 100, - 48, - 98, - 98, - 52, - 53, - 53, - 45, - 55, - 101, - 101, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 51, - 49, - 97, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 48, - 46, - 52, - 56, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 55, - 49, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 8, - "responseSize": 972 - }, - "id": "915e685b-7f9d-4003-8722-61157983e684", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0b2dccfc-f0ea-4be8-863a-738518c022b0", - "length": 117, - "cycles": 1, - "position": 97, - "iteration": 0, - "httpRequestId": "f908a670-479c-43ee-95e8-0e567c9dfc81" - }, - "item": { - "id": "2e57cceb-de84-4d1a-ae3a-19687d067f42", - "name": "Fallisci nell'Update del Workflow Resource di tipo BPMN 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{workflow_bpmn_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "03b48eed-2966-489d-991b-b9ee2aa70f69", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "76099228-65be-4673-bcb4-480cf532a3da", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "1af0b366-440b-4b42-bac5-60ef69d63cc2" - } - }, - { - "listen": "prerequest", - "script": { - "id": "4a1bd784-80bc-4a47-8f34-2859633ce59b", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "7fe3ed41-2312-4b58-bf19-136f6508139a" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "86fa4855-a544-4268-9e0d-7699db088de3", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2507", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "278c86bb-4f0b-414f-84b2-821c5a814df7", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "134" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 51, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 82, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 103, - 105, - 195, - 160, - 32, - 112, - 114, - 101, - 115, - 101, - 110, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 13, - "responseSize": 134 - }, - "id": "2e57cceb-de84-4d1a-ae3a-19687d067f42", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "9ae653a1-e9a6-4f7f-b699-c3c8c6e5a9c5", - "length": 117, - "cycles": 1, - "position": 98, - "iteration": 0, - "httpRequestId": "88703f49-4b16-41c0-a9cc-d9023c8b0037" - }, - "item": { - "id": "b2c581c9-07bb-43d7-a741-861a3d4770d2", - "name": "Fallisci nell'Update del Workflow Resource di tipo BPMN 1 con tipo diverso", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "243cde9a-e2f4-4550-b391-d0750383bfec", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "ea25ca90-be1e-4bbc-bcfe-5312ec65b093", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "eb4f9acd-1500-457c-a6a1-dcd7dc9e6e07" - } - }, - { - "listen": "prerequest", - "script": { - "id": "59f27644-1af3-4b96-bf86-89412ef10200", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "3460bf46-0afc-4025-9349-1feb00626c68" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9ed4c813-38d9-4ad7-8037-406b07a879d5", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2816", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "8c6dcbe4-17d9-4487-8292-21a8a62bf698", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 10, - "responseSize": 201 - }, - "id": "b2c581c9-07bb-43d7-a741-861a3d4770d2", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "c0d0e451-455a-4cfd-905b-ba3bcc62b524", - "length": 117, - "cycles": 1, - "position": 99, - "iteration": 0, - "httpRequestId": "a4111415-c530-4d4d-a997-68392d6134c1" - }, - "item": { - "id": "1fcda2a0-6d8d-4698-8414-18655e228293", - "name": "Fallisci nell'Update del Workflow Resource di tipo BPMN 1 con chiave diversa", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{workflow_bpmn_1_v2_fail}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "526d36a6-c9b8-4411-bd71-65454c9e5c45", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e54198ae-c404-4a99-a4b3-1edefd3f4b99", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "34f80128-0928-4279-8b54-e73fdd93cc46" - } - }, - { - "listen": "prerequest", - "script": { - "id": "bf2ba620-478b-4f3b-8665-e3df1874a029", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"workflow_bpmn_1_v2_fail\",\r", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"form_1_definition_key\")+pm.collectionVariables.get(\"bpmn1_part2\"));" - ], - "_lastExecutionId": "c4b09ccd-e47b-4ac6-bb34-2df025287982" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "5cd074d7-f67a-4c2c-9662-67104612535d", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2504", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a33eb995-546c-41e7-a8d4-71c96e6984a2", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "255" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 85, - 80, - 68, - 65, - 84, - 65, - 66, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 51, - 48, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 99, - 104, - 105, - 97, - 118, - 101, - 32, - 100, - 105, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 122, - 105, - 111, - 110, - 101, - 32, - 110, - 101, - 108, - 108, - 97, - 32, - 116, - 117, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 58, - 32, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 32, - 110, - 111, - 110, - 32, - 99, - 111, - 114, - 114, - 105, - 115, - 112, - 111, - 110, - 100, - 101, - 32, - 97, - 108, - 108, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 99, - 104, - 101, - 32, - 115, - 116, - 97, - 105, - 32, - 116, - 101, - 110, - 116, - 97, - 110, - 100, - 111, - 32, - 100, - 105, - 32, - 97, - 103, - 103, - 105, - 111, - 114, - 110, - 97, - 114, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 10, - "responseSize": 255 - }, - "id": "1fcda2a0-6d8d-4698-8414-18655e228293", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "1e2e6e8c-cc81-466f-8dde-e086117b9887", - "length": 117, - "cycles": 1, - "position": 100, - "iteration": 0, - "httpRequestId": "f66c599e-82ad-4f03-9676-7596a38c95c8" - }, - "item": { - "id": "e9e83395-0636-48dd-80bb-a51dd33af72c", - "name": "Update Workflow Resource di tipo BPMN 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{workflow_bpmn_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "ff7dd58a-cebe-4645-bb79-1de8f74aa96d", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "97508391-1849-4135-a8a3-ca63d7f7d032", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.workflowResourceId;", - "var definitionKey = jsonData.definitionKey;", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"workflow_bpmn_1_id\"));", - "});", - "pm.test(\"right definition key\", function () {", - " pm.expect(definitionKey).to.equal(pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\"));", - "})" - ], - "_lastExecutionId": "85291d87-09de-4237-9579-323e252614a7" - } - }, - { - "listen": "prerequest", - "script": { - "id": "99cb4c0f-108c-4380-a5a0-09f5af17908c", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"workflow_bpmn_1_v2\",", - "pm.collectionVariables.get(\"bpmn_part1\")+pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\")+pm.collectionVariables.get(\"bpmn2_part2\"));", - "pm.collectionVariables.set(\"workflow_bpmn_1_v2_definition_key\",pm.collectionVariables.get(\"workflow_bpmn_1_definition_key\"));" - ], - "_lastExecutionId": "f2518a62-5da5-46c3-9fb0-76a0ab32668e" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "c86523e3-afce-4d3c-bdc1-f918b684028f", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2506", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n \n \n Flow_0rtxipq\n \n \n Flow_0rtxipq\n Flow_0d1f1hn\n \n \n \n Flow_0d1f1hn\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "96f28849-ddc9-4f43-aae7-3fc9f2ecd66d", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "977" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 109, - 111, - 108, - 101, - 115, - 116, - 105, - 97, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 50, - 57, - 55, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 85, - 80, - 68, - 65, - 84, - 69, - 68, - 95, - 66, - 85, - 84, - 95, - 78, - 79, - 84, - 95, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 101, - 98, - 56, - 56, - 98, - 101, - 100, - 97, - 102, - 97, - 48, - 54, - 49, - 56, - 97, - 52, - 98, - 56, - 50, - 55, - 50, - 53, - 55, - 100, - 54, - 57, - 101, - 99, - 102, - 49, - 52, - 97, - 57, - 98, - 50, - 100, - 98, - 99, - 51, - 49, - 48, - 102, - 99, - 49, - 49, - 99, - 48, - 48, - 48, - 102, - 55, - 52, - 57, - 102, - 101, - 97, - 52, - 54, - 48, - 98, - 101, - 56, - 98, - 57, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 101, - 54, - 100, - 57, - 53, - 99, - 48, - 98, - 45, - 50, - 52, - 98, - 56, - 45, - 52, - 102, - 99, - 101, - 45, - 57, - 54, - 48, - 50, - 45, - 102, - 56, - 54, - 48, - 49, - 99, - 100, - 50, - 51, - 53, - 49, - 51, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 57, - 49, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 57, - 49, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 25, - "responseSize": 977 - }, - "id": "e9e83395-0636-48dd-80bb-a51dd33af72c", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - }, - { - "assertion": "right definition key", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "a526abfe-9170-4f63-a295-a8622fe4406c", - "length": 117, - "cycles": 1, - "position": 101, - "iteration": 0, - "httpRequestId": "df4f2e82-923c-470e-af0a-78f7b0b23d4d" - }, - "item": { - "id": "dd1dedb7-bf59-47e0-9191-d69a22e2a017", - "name": "Get BPMN_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "0b272246-48e4-4350-bf6a-f8c52a53e3b7", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"workflow_bpmn_1_id\"));\r", - "});" - ], - "_lastExecutionId": "f13652c5-5eb9-4492-be87-31b7b42dc0ea" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "e1e3e347-08e7-4871-be51-601c779baf93", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "8b481f1d-83c7-45d9-9766-2c3c6a367319", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "977" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 95, - 78, - 65, - 77, - 69, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 109, - 111, - 108, - 101, - 115, - 116, - 105, - 97, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 50, - 57, - 55, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 85, - 80, - 68, - 65, - 84, - 69, - 68, - 95, - 66, - 85, - 84, - 95, - 78, - 79, - 84, - 95, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 101, - 98, - 56, - 56, - 98, - 101, - 100, - 97, - 102, - 97, - 48, - 54, - 49, - 56, - 97, - 52, - 98, - 56, - 50, - 55, - 50, - 53, - 55, - 100, - 54, - 57, - 101, - 99, - 102, - 49, - 52, - 97, - 57, - 98, - 50, - 100, - 98, - 99, - 51, - 49, - 48, - 102, - 99, - 49, - 49, - 99, - 48, - 48, - 48, - 102, - 55, - 52, - 57, - 102, - 101, - 97, - 52, - 54, - 48, - 98, - 101, - 56, - 98, - 57, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 50, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 49, - 49, - 95, - 48, - 54, - 58, - 50, - 58, - 102, - 102, - 98, - 101, - 57, - 100, - 100, - 97, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 101, - 54, - 100, - 57, - 53, - 99, - 48, - 98, - 45, - 50, - 52, - 98, - 56, - 45, - 52, - 102, - 99, - 101, - 45, - 57, - 54, - 48, - 50, - 45, - 102, - 56, - 54, - 48, - 49, - 99, - 100, - 50, - 51, - 53, - 49, - 51, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 66, - 80, - 77, - 78, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 97, - 101, - 53, - 100, - 49, - 101, - 100, - 45, - 56, - 101, - 49, - 99, - 45, - 52, - 102, - 51, - 100, - 45, - 56, - 54, - 53, - 97, - 45, - 102, - 51, - 54, - 100, - 50, - 48, - 55, - 101, - 50, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 57, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 57, - 49, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 34, - 68, - 69, - 77, - 79, - 95, - 49, - 49, - 95, - 48, - 54, - 46, - 98, - 112, - 109, - 110, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 66, - 80, - 77, - 78, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 102, - 102, - 98, - 56, - 97, - 97, - 54, - 55, - 45, - 55, - 55, - 48, - 56, - 45, - 49, - 49, - 101, - 101, - 45, - 98, - 54, - 56, - 52, - 45, - 98, - 50, - 54, - 54, - 100, - 49, - 56, - 56, - 97, - 98, - 99, - 53, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 51, - 46, - 48, - 48, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 52, - 46, - 57, - 49, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 6, - "responseSize": 977 - }, - "id": "dd1dedb7-bf59-47e0-9191-d69a22e2a017", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "360ad518-27f5-4e81-b68d-d77ad9cc3aff", - "length": 117, - "cycles": 1, - "position": 102, - "iteration": 0, - "httpRequestId": "599f366c-672d-4a9d-a862-97c798be0c33" - }, - "item": { - "id": "a3415a7f-690b-486b-9185-b8b41518ea48", - "name": "Fallisci nell'Update del Workflow Resource di tipo FORM 1 con stesso file", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{form_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "dbcbe95a-5195-4a7f-93ca-4016fcc7f26c", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "393266b6-9455-4cce-9ad0-9114d072d2c3", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "5ce53aa8-a2ec-496b-9aa8-07e902b98652" - } - }, - { - "listen": "prerequest", - "script": { - "id": "ac9a39a8-71a5-477d-8dda-36b3e5ac634f", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "718d177c-0565-406c-b3b6-c13a84993523" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "71074dc3-f7e0-4c0f-bb29-698d2b41191c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "ce63f4ae-9dd1-41e5-999e-c8cd9e7d8eff", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "878", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platform\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "a452c172-20b3-49e0-8e14-75ae9ab7c4d5", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "134" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 67, - 79, - 78, - 83, - 84, - 82, - 65, - 73, - 78, - 84, - 95, - 86, - 73, - 79, - 76, - 65, - 84, - 73, - 79, - 78, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 51, - 50, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 82, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 103, - 105, - 195, - 160, - 32, - 112, - 114, - 101, - 115, - 101, - 110, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 134 - }, - "id": "a3415a7f-690b-486b-9185-b8b41518ea48", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "2ad76ed4-69f2-4474-9a99-45b7aa6b1ba7", - "length": 117, - "cycles": 1, - "position": 103, - "iteration": 0, - "httpRequestId": "e24c3e87-5a54-4b2e-8b83-f7ba9bf4b14b" - }, - "item": { - "id": "5112794c-3d6c-446a-8dbe-eca7e7ff68d2", - "name": "Fallisci nell'Update del Workflow Resource di tipo FORM 1 con tipo diverso", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{dmn_1}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4663ba61-e008-4d20-8627-c56213cab827", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "af38a92e-bcb3-43c6-995d-aa7223b16ab4", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "f9b7f8d7-b0fd-4362-a0dc-e8c6b16e2231" - } - }, - { - "listen": "prerequest", - "script": { - "id": "11cf8955-4aa0-4cd5-835e-125bcc952ae7", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "918cb2b5-573a-4679-937b-34a1707a3bb3" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "71074dc3-f7e0-4c0f-bb29-698d2b41191c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "c6530cf3-4318-4c28-ac81-acccda61c237", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "2816", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "\n\n \n \n \n \n \n \"\"\n \n \n \n \n \n \n \n \"\"\n \n \n \n \n codice Atto numerico len[8..18] AND codice Ente numerico len [11..13] \n \n matches(?, \"^\\d{8,18}$\")\n \n \n matches(?, \"^\\d{11,13}$\")\n \n \n true\n \n \n \n \n \n \n \n \n \n \n false\n \n \n \n \n \n \n \n \n \n \n \n\n", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "2c3b5906-1fad-4a0c-b4fa-973b07cda4e4", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 201 - }, - "id": "5112794c-3d6c-446a-8dbe-eca7e7ff68d2", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "eb8e4c5a-32b4-4eb4-9709-3433826870b9", - "length": 117, - "cycles": 1, - "position": 104, - "iteration": 0, - "httpRequestId": "9fb67ff0-be88-41e6-8e03-7856ed477e42" - }, - "item": { - "id": "53d924a6-f3b8-4c1b-ae36-02acb886d44c", - "name": "Fallisci nell'Update del Workflow Resource di tipo FORM 1 con chiave diversa", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{form_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "c39bd8d5-e311-40ed-8a44-2f3487a73ebb", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "fc814292-e272-413e-9c55-7b1e1f001126", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {", - " pm.response.to.have.status(400);", - "});", - "" - ], - "_lastExecutionId": "79c17947-7928-4281-992a-893e5127ef80" - } - }, - { - "listen": "prerequest", - "script": { - "id": "4d1e7b00-6ad7-42b6-b34c-a6c1b1281fd9", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"form_1_v2_fail\",\r", - "pm.collectionVariables.get(\"form1_part1\")+pm.collectionVariables.get(\"dmn_1_definition_key\")+pm.collectionVariables.get(\"form1_part2_v2\"));" - ], - "_lastExecutionId": "ff37b2f9-f400-42df-bdb6-dd8bab5890e4" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "71074dc3-f7e0-4c0f-bb29-698d2b41191c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "ede52efb-1161-4a6a-988e-04266d98af7a", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "159", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "bfe85167-1992-4487-9899-b3892ae878e8", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "201" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 86, - 65, - 76, - 73, - 68, - 95, - 70, - 73, - 76, - 69, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 49, - 52, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 115, - 116, - 114, - 97, - 114, - 114, - 101, - 32, - 108, - 97, - 32, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 58, - 32, - 105, - 108, - 32, - 102, - 105, - 108, - 101, - 32, - 99, - 97, - 114, - 105, - 99, - 97, - 116, - 111, - 32, - 195, - 168, - 32, - 109, - 97, - 108, - 102, - 111, - 114, - 109, - 97, - 116, - 111, - 32, - 111, - 32, - 195, - 168, - 32, - 115, - 116, - 97, - 116, - 111, - 32, - 115, - 101, - 108, - 101, - 122, - 105, - 111, - 110, - 97, - 116, - 111, - 32, - 105, - 108, - 32, - 116, - 105, - 112, - 111, - 32, - 100, - 105, - 32, - 102, - 105, - 108, - 101, - 32, - 115, - 98, - 97, - 103, - 108, - 105, - 97, - 116, - 111, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 201 - }, - "id": "53d924a6-f3b8-4c1b-ae36-02acb886d44c", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "45df920b-8f75-4ea6-a533-828216296a7c", - "length": 117, - "cycles": 1, - "position": 105, - "iteration": 0, - "httpRequestId": "599161a0-168b-4502-881f-860947289a55" - }, - "item": { - "id": "e8a4f172-4c41-416a-bb2b-3fdb4f4acc8a", - "name": "Update Workflow Resource di tipo FORM 1 V2", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{{form_1_v2}}", - "type": "text" - } - ] - } - }, - "response": [ - { - "_": { - "postman_previewlanguage": "json" - }, - "id": "4f565a55-36a0-4fa6-8f3a-42ad3fbb1abb", - "name": "OK", - "originalRequest": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn" - ], - "host": [ - "localhost" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "filename", - "value": "B3q5VzcAJo_", - "type": "text" - }, - { - "description": { - "content": "(Required) (This can only be one of MENU,SPONTANEOUS_PAYMENT)", - "type": "text/plain" - }, - "key": "functionType", - "value": "MENU", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"bpmnId\": \"7a7a6585-5e05-8244-ADae-E978C9DdC92F\",\n \"modelVersion\": \"\",\n \"deployedFileName\": \"\",\n \"definitionKey\": \"\",\n \"functionType\": \"MENU\",\n \"status\": \"DEPLOYED\",\n \"sha256\": \"\",\n \"definitionVersionCamunda\": \"\",\n \"camundaDefinitionId\": \"\",\n \"description\": \"\",\n \"resourceFile\": {\n \"id\": \"B2D42af0-e3AE-fAe7-5BFf-EddD3daEeB00\",\n \"resourceType\": \"BPMN\",\n \"storageKey\": \"\",\n \"fileName\": \"\",\n \"extension\": \"\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n },\n \"resource\": \"\",\n \"deploymentId\": \"8FFED2c8-FA9f-fd7D-B25a-B8fA41DB7D3d\",\n \"createdAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"lastUpdatedAt\": {\n \"year\": \"\",\n \"month\": \"\",\n \"date\": \"\",\n \"day\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"timeImpl\": \"\",\n \"timezoneOffset\": \"\",\n \"calendarDate\": {\n \"era\": {\n \"name\": \"\",\n \"abbr\": \"\",\n \"since\": \"\",\n \"sinceDate\": {\n \"era\": {\n \"value\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n }\n },\n \"localTime\": \"\",\n \"hash\": \"\",\n \"abbreviation\": \"\"\n },\n \"year\": \"\",\n \"month\": \"\",\n \"dayOfMonth\": \"\",\n \"dayOfWeek\": \"\",\n \"leapYear\": \"\",\n \"hours\": \"\",\n \"minutes\": \"\",\n \"seconds\": \"\",\n \"millis\": \"\",\n \"fraction\": \"\",\n \"normalized\": \"\",\n \"zoneinfo\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"zoneOffset\": \"\",\n \"daylightSaving\": \"\",\n \"forceStandardTime\": \"\",\n \"locale\": {\n \"language\": \"\",\n \"script\": \"\",\n \"country\": \"\",\n \"variant\": \"\",\n \"extensionKeys\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleAttributes\": [\n \"\",\n \"\"\n ],\n \"unicodeLocaleKeys\": [\n \"\",\n \"\"\n ],\n \"iSO3Language\": \"\",\n \"iSO3Country\": \"\",\n \"displayLanguage\": \"\",\n \"displayScript\": \"\",\n \"displayCountry\": \"\",\n \"displayVariant\": \"\",\n \"displayName\": \"\"\n },\n \"timeOfDay\": \"\",\n \"standardTime\": \"\",\n \"daylightTime\": \"\",\n \"zone\": {\n \"ID\": \"\",\n \"rawOffset\": \"\",\n \"iD\": \"\",\n \"displayName\": \"\",\n \"dSTSavings\": \"\"\n },\n \"cachedYear\": \"\",\n \"cachedFixedDateJan1\": \"\",\n \"cachedFixedDateNextJan1\": \"\",\n \"normalizedYear\": \"\",\n \"cachedJan1\": \"\"\n },\n \"nanos\": \"\",\n \"time\": \"\"\n },\n \"createdBy\": \"\",\n \"lastUpdatedBy\": \"\"\n}", - "cookie": [] - } - ], - "event": [ - { - "listen": "test", - "script": { - "id": "e16c5852-106a-42f8-a98d-0abfbb16fa3a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "var jsonData = JSON.parse(responseBody);", - "var id = jsonData.workflowResourceId;", - "var definitionKey = jsonData.definitionKey;", - "pm.test(\"right id\", function () {", - " pm.expect(id).to.equal(pm.collectionVariables.get(\"form_1_id\"));", - "});", - "pm.test(\"right definition key\", function () {", - " pm.expect(definitionKey).to.equal(pm.collectionVariables.get(\"form_1_definition_key\"));", - "})" - ], - "_lastExecutionId": "95f4bdae-e081-484e-9600-7ee5ca17cc7d" - } - }, - { - "listen": "prerequest", - "script": { - "id": "e01870c0-ff30-4a23-9dd2-b6005631c1f6", - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"form_1_v2\",", - "pm.collectionVariables.get(\"form1_part1\")+pm.collectionVariables.get(\"form_1_definition_key\")+pm.collectionVariables.get(\"form1_part2_v2\"));", - "pm.collectionVariables.set(\"form_1_v2_definition_key\",pm.collectionVariables.get(\"form_1_definition_key\"));" - ], - "_lastExecutionId": "c5eb7edc-697a-4643-922a-a76e7ee9569f" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "update", - "71074dc3-f7e0-4c0f-bb29-698d2b41191c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "a4de80ea-da31-4994-939f-bef7f967ffb4", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "879", - "system": true - } - ], - "method": "PUT", - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "value": "{\n \"components\": [\n {\n \"label\": \"Number\",\n \"type\": \"number\",\n \"layout\": {\n \"row\": \"Row_00m0vu6\",\n \"columns\": null\n },\n \"id\": \"Field_0lkf78b\",\n \"key\": \"number_b2b7qe\"\n },\n {\n \"subtype\": \"date\",\n \"dateLabel\": \"Date\",\n \"label\": \"Date time\",\n \"type\": \"datetime\",\n \"layout\": {\n \"row\": \"Row_0hcja9h\",\n \"columns\": null\n },\n \"id\": \"Field_0kn2898\",\n \"key\": \"datetime_f4rwi\"\n }\n ],\n \"type\": \"default\",\n \"id\": \"veniam_1715161904705\",\n \"exporter\": {\n \"name\": \"Camunda Modeler\",\n \"version\": \"5.16.0\"\n },\n \"executionPlatform\": \"Camunda Platforms\",\n \"executionPlatformVersion\": \"7.20.0\",\n \"schemaVersion\": 11\n}", - "type": "text" - } - ] - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "c3040209-8db0-493d-af16-0a8bf960919b", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "915" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 102, - 111, - 114, - 109, - 95, - 49, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 85, - 80, - 68, - 65, - 84, - 69, - 68, - 95, - 66, - 85, - 84, - 95, - 78, - 79, - 84, - 95, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 102, - 51, - 97, - 51, - 53, - 100, - 100, - 98, - 52, - 49, - 102, - 98, - 101, - 98, - 97, - 51, - 50, - 51, - 98, - 57, - 55, - 97, - 102, - 57, - 101, - 99, - 53, - 54, - 50, - 99, - 50, - 99, - 55, - 54, - 51, - 54, - 49, - 98, - 53, - 55, - 56, - 54, - 48, - 100, - 55, - 99, - 48, - 54, - 102, - 52, - 56, - 54, - 51, - 55, - 52, - 51, - 57, - 49, - 57, - 57, - 54, - 53, - 57, - 56, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 57, - 54, - 57, - 56, - 98, - 56, - 57, - 52, - 45, - 57, - 50, - 101, - 53, - 45, - 52, - 102, - 56, - 98, - 45, - 56, - 100, - 97, - 50, - 45, - 48, - 57, - 50, - 52, - 53, - 48, - 57, - 56, - 99, - 57, - 49, - 50, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 70, - 79, - 82, - 77, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 53, - 46, - 49, - 48, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 56, - 56, - 101, - 100, - 50, - 56, - 98, - 53, - 45, - 56, - 51, - 57, - 97, - 45, - 49, - 49, - 101, - 101, - 45, - 97, - 54, - 52, - 55, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 53, - 46, - 49, - 48, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 24, - "responseSize": 915 - }, - "id": "e8a4f172-4c41-416a-bb2b-3fdb4f4acc8a", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - }, - { - "assertion": "right definition key", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "22c5a96e-71e8-4eb9-83cb-cb6d4f8bf389", - "length": 117, - "cycles": 1, - "position": 106, - "iteration": 0, - "httpRequestId": "7e41c356-0b8e-4b26-8ee0-9a52f7a1230b" - }, - "item": { - "id": "44d5765a-e413-4a78-a944-45873a5ca69c", - "name": "Get FORM_1 dopo Update", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{form_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "fc2a4953-07fe-4e56-972e-b51299b7c46b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var jsonData = JSON.parse(responseBody);\r", - "var res = jsonData.workflowResourceId\r", - "pm.test(\"right id\", function () {\r", - " pm.expect(res).to.equal(pm.collectionVariables.get(\"form_1_id\"));\r", - "});" - ], - "_lastExecutionId": "4a92d9da-5bef-46a1-9816-b7f8c606c990" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "71074dc3-f7e0-4c0f-bb29-698d2b41191c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "2c96b46c-7395-4c54-a51d-7b7c8fa200d9", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "5cc4eeee-19c6-41a3-9af7-bd1b56bf1aa2", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "915" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 119, - 111, - 114, - 107, - 102, - 108, - 111, - 119, - 82, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 73, - 100, - 34, - 58, - 34, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 101, - 100, - 70, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 102, - 111, - 114, - 109, - 95, - 49, - 34, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 75, - 101, - 121, - 34, - 58, - 34, - 118, - 101, - 110, - 105, - 97, - 109, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 52, - 55, - 48, - 53, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 34, - 58, - 34, - 85, - 80, - 68, - 65, - 84, - 69, - 68, - 95, - 66, - 85, - 84, - 95, - 78, - 79, - 84, - 95, - 68, - 69, - 80, - 76, - 79, - 89, - 69, - 68, - 34, - 44, - 34, - 115, - 104, - 97, - 50, - 53, - 54, - 34, - 58, - 34, - 102, - 51, - 97, - 51, - 53, - 100, - 100, - 98, - 52, - 49, - 102, - 98, - 101, - 98, - 97, - 51, - 50, - 51, - 98, - 57, - 55, - 97, - 102, - 57, - 101, - 99, - 53, - 54, - 50, - 99, - 50, - 99, - 55, - 54, - 51, - 54, - 49, - 98, - 53, - 55, - 56, - 54, - 48, - 100, - 55, - 99, - 48, - 54, - 102, - 52, - 56, - 54, - 51, - 55, - 52, - 51, - 57, - 49, - 57, - 57, - 54, - 53, - 57, - 56, - 34, - 44, - 34, - 101, - 110, - 97, - 98, - 108, - 101, - 100, - 34, - 58, - 116, - 114, - 117, - 101, - 44, - 34, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 73, - 100, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 100, - 101, - 115, - 99, - 114, - 105, - 112, - 116, - 105, - 111, - 110, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 70, - 105, - 108, - 101, - 34, - 58, - 123, - 34, - 105, - 100, - 34, - 58, - 34, - 57, - 54, - 57, - 56, - 98, - 56, - 57, - 52, - 45, - 57, - 50, - 101, - 53, - 45, - 52, - 102, - 56, - 98, - 45, - 56, - 100, - 97, - 50, - 45, - 48, - 57, - 50, - 52, - 53, - 48, - 57, - 56, - 99, - 57, - 49, - 50, - 34, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 115, - 116, - 111, - 114, - 97, - 103, - 101, - 75, - 101, - 121, - 34, - 58, - 34, - 87, - 79, - 82, - 75, - 70, - 76, - 79, - 87, - 95, - 82, - 69, - 83, - 79, - 85, - 82, - 67, - 69, - 47, - 70, - 79, - 82, - 77, - 47, - 102, - 105, - 108, - 101, - 115, - 47, - 85, - 85, - 73, - 68, - 47, - 55, - 49, - 48, - 55, - 52, - 100, - 99, - 51, - 45, - 102, - 55, - 101, - 48, - 45, - 52, - 99, - 48, - 102, - 45, - 98, - 98, - 50, - 57, - 45, - 54, - 57, - 56, - 100, - 50, - 98, - 52, - 49, - 49, - 57, - 49, - 99, - 47, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 46, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 102, - 105, - 108, - 101, - 78, - 97, - 109, - 101, - 34, - 58, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 44, - 34, - 101, - 120, - 116, - 101, - 110, - 115, - 105, - 111, - 110, - 34, - 58, - 34, - 106, - 115, - 111, - 110, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 52, - 48, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 53, - 46, - 49, - 48, - 49, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 114, - 101, - 115, - 111, - 117, - 114, - 99, - 101, - 84, - 121, - 112, - 101, - 34, - 58, - 34, - 70, - 79, - 82, - 77, - 34, - 44, - 34, - 100, - 101, - 112, - 108, - 111, - 121, - 109, - 101, - 110, - 116, - 73, - 100, - 34, - 58, - 34, - 56, - 56, - 101, - 100, - 50, - 56, - 98, - 53, - 45, - 56, - 51, - 57, - 97, - 45, - 49, - 49, - 101, - 101, - 45, - 97, - 54, - 52, - 55, - 45, - 48, - 50, - 52, - 50, - 97, - 99, - 49, - 49, - 48, - 48, - 48, - 52, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 52, - 52, - 46, - 55, - 51, - 56, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 65, - 116, - 34, - 58, - 34, - 50, - 48, - 50, - 52, - 45, - 48, - 53, - 45, - 48, - 56, - 84, - 48, - 57, - 58, - 53, - 49, - 58, - 53, - 53, - 46, - 49, - 48, - 50, - 43, - 48, - 48, - 58, - 48, - 48, - 34, - 44, - 34, - 99, - 114, - 101, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 44, - 34, - 108, - 97, - 115, - 116, - 85, - 112, - 100, - 97, - 116, - 101, - 100, - 66, - 121, - 34, - 58, - 110, - 117, - 108, - 108, - 125 - ] - }, - "cookie": [], - "responseTime": 8, - "responseSize": 915 - }, - "id": "44d5765a-e413-4a78-a944-45873a5ca69c", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - }, - { - "assertion": "right id", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "3f10ff0a-9226-4103-8229-f2f520e7be15", - "length": 117, - "cycles": 1, - "position": 107, - "iteration": 0, - "httpRequestId": "57c62d69-0284-4b93-a12c-33087ed503df" - }, - "item": { - "id": "2f9db32b-fe81-4c05-970b-bb591572c8f7", - "name": "Download BPMN", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "download", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "prerequest", - "script": { - "id": "c39ea9f1-135e-4ab9-b350-717fdb2d41a6", - "type": "text/javascript", - "exec": [ - "" - ], - "_lastExecutionId": "e3b43463-bed8-48c0-a285-c07681b429dc" - } - }, - { - "listen": "test", - "script": { - "id": "f5dffe56-422b-4b50-8a9e-f5db6f60adc6", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "cb2dd024-a3a5-44d3-ab20-77d1538a0020" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "download", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "17b7b7ab-5de9-458d-8e83-1da766b60bbb", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "dca2937e-478c-4ea9-9381-3aafc5fd6cee", - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/octet-stream" - }, - { - "key": "transfer-encoding", - "value": "chunked" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 60, - 63, - 120, - 109, - 108, - 32, - 118, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 34, - 49, - 46, - 48, - 34, - 32, - 101, - 110, - 99, - 111, - 100, - 105, - 110, - 103, - 61, - 34, - 85, - 84, - 70, - 45, - 56, - 34, - 63, - 62, - 10, - 60, - 98, - 112, - 109, - 110, - 58, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 115, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 98, - 112, - 109, - 110, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 119, - 119, - 119, - 46, - 111, - 109, - 103, - 46, - 111, - 114, - 103, - 47, - 115, - 112, - 101, - 99, - 47, - 66, - 80, - 77, - 78, - 47, - 50, - 48, - 49, - 48, - 48, - 53, - 50, - 52, - 47, - 77, - 79, - 68, - 69, - 76, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 98, - 112, - 109, - 110, - 100, - 105, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 119, - 119, - 119, - 46, - 111, - 109, - 103, - 46, - 111, - 114, - 103, - 47, - 115, - 112, - 101, - 99, - 47, - 66, - 80, - 77, - 78, - 47, - 50, - 48, - 49, - 48, - 48, - 53, - 50, - 52, - 47, - 68, - 73, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 100, - 99, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 119, - 119, - 119, - 46, - 111, - 109, - 103, - 46, - 111, - 114, - 103, - 47, - 115, - 112, - 101, - 99, - 47, - 68, - 68, - 47, - 50, - 48, - 49, - 48, - 48, - 53, - 50, - 52, - 47, - 68, - 67, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 46, - 111, - 114, - 103, - 47, - 115, - 99, - 104, - 101, - 109, - 97, - 47, - 49, - 46, - 48, - 47, - 98, - 112, - 109, - 110, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 100, - 105, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 119, - 119, - 119, - 46, - 111, - 109, - 103, - 46, - 111, - 114, - 103, - 47, - 115, - 112, - 101, - 99, - 47, - 68, - 68, - 47, - 50, - 48, - 49, - 48, - 48, - 53, - 50, - 52, - 47, - 68, - 73, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 109, - 111, - 100, - 101, - 108, - 101, - 114, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 46, - 111, - 114, - 103, - 47, - 115, - 99, - 104, - 101, - 109, - 97, - 47, - 109, - 111, - 100, - 101, - 108, - 101, - 114, - 47, - 49, - 46, - 48, - 34, - 32, - 105, - 100, - 61, - 34, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 115, - 95, - 48, - 104, - 102, - 107, - 115, - 118, - 105, - 34, - 32, - 116, - 97, - 114, - 103, - 101, - 116, - 78, - 97, - 109, - 101, - 115, - 112, - 97, - 99, - 101, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 98, - 112, - 109, - 110, - 46, - 105, - 111, - 47, - 115, - 99, - 104, - 101, - 109, - 97, - 47, - 98, - 112, - 109, - 110, - 34, - 32, - 101, - 120, - 112, - 111, - 114, - 116, - 101, - 114, - 61, - 34, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 32, - 77, - 111, - 100, - 101, - 108, - 101, - 114, - 34, - 32, - 101, - 120, - 112, - 111, - 114, - 116, - 101, - 114, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 34, - 53, - 46, - 49, - 54, - 46, - 48, - 34, - 32, - 109, - 111, - 100, - 101, - 108, - 101, - 114, - 58, - 101, - 120, - 101, - 99, - 117, - 116, - 105, - 111, - 110, - 80, - 108, - 97, - 116, - 102, - 111, - 114, - 109, - 61, - 34, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 32, - 80, - 108, - 97, - 116, - 102, - 111, - 114, - 109, - 34, - 32, - 109, - 111, - 100, - 101, - 108, - 101, - 114, - 58, - 101, - 120, - 101, - 99, - 117, - 116, - 105, - 111, - 110, - 80, - 108, - 97, - 116, - 102, - 111, - 114, - 109, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 34, - 55, - 46, - 50, - 48, - 46, - 48, - 34, - 62, - 10, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 32, - 105, - 100, - 61, - 34, - 105, - 110, - 118, - 101, - 110, - 116, - 111, - 114, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 56, - 57, - 54, - 48, - 53, - 54, - 34, - 32, - 105, - 115, - 69, - 120, - 101, - 99, - 117, - 116, - 97, - 98, - 108, - 101, - 61, - 34, - 116, - 114, - 117, - 101, - 34, - 32, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 58, - 104, - 105, - 115, - 116, - 111, - 114, - 121, - 84, - 105, - 109, - 101, - 84, - 111, - 76, - 105, - 118, - 101, - 61, - 34, - 49, - 56, - 48, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 115, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 32, - 105, - 100, - 61, - 34, - 83, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 95, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 111, - 117, - 116, - 103, - 111, - 105, - 110, - 103, - 62, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 111, - 117, - 116, - 103, - 111, - 105, - 110, - 103, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 115, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 116, - 97, - 115, - 107, - 32, - 105, - 100, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 34, - 32, - 110, - 97, - 109, - 101, - 61, - 34, - 69, - 115, - 101, - 109, - 112, - 105, - 111, - 32, - 50, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 105, - 110, - 99, - 111, - 109, - 105, - 110, - 103, - 62, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 105, - 110, - 99, - 111, - 109, - 105, - 110, - 103, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 111, - 117, - 116, - 103, - 111, - 105, - 110, - 103, - 62, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 111, - 117, - 116, - 103, - 111, - 105, - 110, - 103, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 116, - 97, - 115, - 107, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 115, - 101, - 113, - 117, - 101, - 110, - 99, - 101, - 70, - 108, - 111, - 119, - 32, - 105, - 100, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 34, - 32, - 115, - 111, - 117, - 114, - 99, - 101, - 82, - 101, - 102, - 61, - 34, - 83, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 95, - 49, - 34, - 32, - 116, - 97, - 114, - 103, - 101, - 116, - 82, - 101, - 102, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 101, - 110, - 100, - 69, - 118, - 101, - 110, - 116, - 32, - 105, - 100, - 61, - 34, - 69, - 118, - 101, - 110, - 116, - 95, - 48, - 103, - 99, - 102, - 104, - 97, - 53, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 105, - 110, - 99, - 111, - 109, - 105, - 110, - 103, - 62, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 105, - 110, - 99, - 111, - 109, - 105, - 110, - 103, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 101, - 110, - 100, - 69, - 118, - 101, - 110, - 116, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 115, - 101, - 113, - 117, - 101, - 110, - 99, - 101, - 70, - 108, - 111, - 119, - 32, - 105, - 100, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 34, - 32, - 115, - 111, - 117, - 114, - 99, - 101, - 82, - 101, - 102, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 34, - 32, - 116, - 97, - 114, - 103, - 101, - 116, - 82, - 101, - 102, - 61, - 34, - 69, - 118, - 101, - 110, - 116, - 95, - 48, - 103, - 99, - 102, - 104, - 97, - 53, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 62, - 10, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 68, - 105, - 97, - 103, - 114, - 97, - 109, - 32, - 105, - 100, - 61, - 34, - 66, - 80, - 77, - 78, - 68, - 105, - 97, - 103, - 114, - 97, - 109, - 95, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 80, - 108, - 97, - 110, - 101, - 32, - 105, - 100, - 61, - 34, - 66, - 80, - 77, - 78, - 80, - 108, - 97, - 110, - 101, - 95, - 49, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 32, - 105, - 100, - 61, - 34, - 95, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 95, - 83, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 95, - 50, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 83, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 95, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 99, - 58, - 66, - 111, - 117, - 110, - 100, - 115, - 32, - 120, - 61, - 34, - 49, - 55, - 57, - 34, - 32, - 121, - 61, - 34, - 57, - 57, - 34, - 32, - 119, - 105, - 100, - 116, - 104, - 61, - 34, - 51, - 54, - 34, - 32, - 104, - 101, - 105, - 103, - 104, - 116, - 61, - 34, - 51, - 54, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 32, - 105, - 100, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 95, - 100, - 105, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 99, - 58, - 66, - 111, - 117, - 110, - 100, - 115, - 32, - 120, - 61, - 34, - 50, - 55, - 48, - 34, - 32, - 121, - 61, - 34, - 55, - 55, - 34, - 32, - 119, - 105, - 100, - 116, - 104, - 61, - 34, - 49, - 48, - 48, - 34, - 32, - 104, - 101, - 105, - 103, - 104, - 116, - 61, - 34, - 56, - 48, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 76, - 97, - 98, - 101, - 108, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 32, - 105, - 100, - 61, - 34, - 69, - 118, - 101, - 110, - 116, - 95, - 48, - 103, - 99, - 102, - 104, - 97, - 53, - 95, - 100, - 105, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 69, - 118, - 101, - 110, - 116, - 95, - 48, - 103, - 99, - 102, - 104, - 97, - 53, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 99, - 58, - 66, - 111, - 117, - 110, - 100, - 115, - 32, - 120, - 61, - 34, - 52, - 51, - 50, - 34, - 32, - 121, - 61, - 34, - 57, - 57, - 34, - 32, - 119, - 105, - 100, - 116, - 104, - 61, - 34, - 51, - 54, - 34, - 32, - 104, - 101, - 105, - 103, - 104, - 116, - 61, - 34, - 51, - 54, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 69, - 100, - 103, - 101, - 32, - 105, - 100, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 95, - 100, - 105, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 105, - 58, - 119, - 97, - 121, - 112, - 111, - 105, - 110, - 116, - 32, - 120, - 61, - 34, - 50, - 49, - 53, - 34, - 32, - 121, - 61, - 34, - 49, - 49, - 55, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 105, - 58, - 119, - 97, - 121, - 112, - 111, - 105, - 110, - 116, - 32, - 120, - 61, - 34, - 50, - 55, - 48, - 34, - 32, - 121, - 61, - 34, - 49, - 49, - 55, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 69, - 100, - 103, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 69, - 100, - 103, - 101, - 32, - 105, - 100, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 95, - 100, - 105, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 105, - 58, - 119, - 97, - 121, - 112, - 111, - 105, - 110, - 116, - 32, - 120, - 61, - 34, - 51, - 55, - 48, - 34, - 32, - 121, - 61, - 34, - 49, - 49, - 55, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 105, - 58, - 119, - 97, - 121, - 112, - 111, - 105, - 110, - 116, - 32, - 120, - 61, - 34, - 52, - 51, - 50, - 34, - 32, - 121, - 61, - 34, - 49, - 49, - 55, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 69, - 100, - 103, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 80, - 108, - 97, - 110, - 101, - 62, - 10, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 68, - 105, - 97, - 103, - 114, - 97, - 109, - 62, - 10, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 115, - 62, - 10 - ] - }, - "cookie": [], - "responseTime": 43, - "responseSize": 2348 - }, - "id": "2f9db32b-fe81-4c05-970b-bb591572c8f7", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "0245735e-cf3f-49a1-89f2-96a936a7194b", - "length": 117, - "cycles": 1, - "position": 108, - "iteration": 0, - "httpRequestId": "93d54fb3-19df-48c6-8766-0314fc496dc2" - }, - "item": { - "id": "9e468203-999b-435f-8794-66cdcbd35774", - "name": "Download BPMN FrontEnd", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "bpmn", - "downloadFrontEnd", - ":uuid", - "version", - ":version" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "{{bpmn_1_id}}", - "key": "uuid" - }, - { - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "1", - "key": "version" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "d275c88b-8ef1-4796-ac91-ed8ef386980f", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "0078d91f-5cd6-44fe-85f4-36d48397a4c8" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "bpmn", - "downloadFrontEnd", - "677ecb58-74ed-4640-8324-e82fd616c4c5", - "version", - "1" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "9bc0d123-dddd-401f-8465-b0416dbc3a23", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "ae68ca80-4619-46ec-80c3-11269f8e0ffd", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "3150" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 102, - 105, - 108, - 101, - 67, - 111, - 110, - 116, - 101, - 110, - 116, - 34, - 58, - 34, - 80, - 68, - 57, - 52, - 98, - 87, - 119, - 103, - 100, - 109, - 86, - 121, - 99, - 50, - 108, - 118, - 98, - 106, - 48, - 105, - 77, - 83, - 52, - 119, - 73, - 105, - 66, - 108, - 98, - 109, - 78, - 118, - 90, - 71, - 108, - 117, - 90, - 122, - 48, - 105, - 86, - 86, - 82, - 71, - 76, - 84, - 103, - 105, - 80, - 122, - 52, - 75, - 80, - 71, - 74, - 119, - 98, - 87, - 52, - 54, - 90, - 71, - 86, - 109, - 97, - 87, - 53, - 112, - 100, - 71, - 108, - 118, - 98, - 110, - 77, - 103, - 101, - 71, - 49, - 115, - 98, - 110, - 77, - 54, - 89, - 110, - 66, - 116, - 98, - 106, - 48, - 105, - 97, - 72, - 82, - 48, - 99, - 68, - 111, - 118, - 76, - 51, - 100, - 51, - 100, - 121, - 53, - 118, - 98, - 87, - 99, - 117, - 98, - 51, - 74, - 110, - 76, - 51, - 78, - 119, - 90, - 87, - 77, - 118, - 81, - 108, - 66, - 78, - 84, - 105, - 56, - 121, - 77, - 68, - 69, - 119, - 77, - 68, - 85, - 121, - 78, - 67, - 57, - 78, - 84, - 48, - 82, - 70, - 84, - 67, - 73, - 103, - 101, - 71, - 49, - 115, - 98, - 110, - 77, - 54, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 80, - 83, - 74, - 111, - 100, - 72, - 82, - 119, - 79, - 105, - 56, - 118, - 100, - 51, - 100, - 51, - 76, - 109, - 57, - 116, - 90, - 121, - 53, - 118, - 99, - 109, - 99, - 118, - 99, - 51, - 66, - 108, - 89, - 121, - 57, - 67, - 85, - 69, - 49, - 79, - 76, - 122, - 73, - 119, - 77, - 84, - 65, - 119, - 78, - 84, - 73, - 48, - 76, - 48, - 82, - 74, - 73, - 105, - 66, - 52, - 98, - 87, - 120, - 117, - 99, - 122, - 112, - 107, - 89, - 122, - 48, - 105, - 97, - 72, - 82, - 48, - 99, - 68, - 111, - 118, - 76, - 51, - 100, - 51, - 100, - 121, - 53, - 118, - 98, - 87, - 99, - 117, - 98, - 51, - 74, - 110, - 76, - 51, - 78, - 119, - 90, - 87, - 77, - 118, - 82, - 69, - 81, - 118, - 77, - 106, - 65, - 120, - 77, - 68, - 65, - 49, - 77, - 106, - 81, - 118, - 82, - 69, - 77, - 105, - 73, - 72, - 104, - 116, - 98, - 71, - 53, - 122, - 79, - 109, - 78, - 104, - 98, - 88, - 86, - 117, - 90, - 71, - 69, - 57, - 73, - 109, - 104, - 48, - 100, - 72, - 65, - 54, - 76, - 121, - 57, - 106, - 89, - 87, - 49, - 49, - 98, - 109, - 82, - 104, - 76, - 109, - 57, - 121, - 90, - 121, - 57, - 122, - 89, - 50, - 104, - 108, - 98, - 87, - 69, - 118, - 77, - 83, - 52, - 119, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 105, - 73, - 72, - 104, - 116, - 98, - 71, - 53, - 122, - 79, - 109, - 82, - 112, - 80, - 83, - 74, - 111, - 100, - 72, - 82, - 119, - 79, - 105, - 56, - 118, - 100, - 51, - 100, - 51, - 76, - 109, - 57, - 116, - 90, - 121, - 53, - 118, - 99, - 109, - 99, - 118, - 99, - 51, - 66, - 108, - 89, - 121, - 57, - 69, - 82, - 67, - 56, - 121, - 77, - 68, - 69, - 119, - 77, - 68, - 85, - 121, - 78, - 67, - 57, - 69, - 83, - 83, - 73, - 103, - 101, - 71, - 49, - 115, - 98, - 110, - 77, - 54, - 98, - 87, - 57, - 107, - 90, - 87, - 120, - 108, - 99, - 106, - 48, - 105, - 97, - 72, - 82, - 48, - 99, - 68, - 111, - 118, - 76, - 50, - 78, - 104, - 98, - 88, - 86, - 117, - 90, - 71, - 69, - 117, - 98, - 51, - 74, - 110, - 76, - 51, - 78, - 106, - 97, - 71, - 86, - 116, - 89, - 83, - 57, - 116, - 98, - 50, - 82, - 108, - 98, - 71, - 86, - 121, - 76, - 122, - 69, - 117, - 77, - 67, - 73, - 103, - 97, - 87, - 81, - 57, - 73, - 107, - 82, - 108, - 90, - 109, - 108, - 117, - 97, - 88, - 82, - 112, - 98, - 50, - 53, - 122, - 88, - 122, - 66, - 111, - 90, - 109, - 116, - 122, - 100, - 109, - 107, - 105, - 73, - 72, - 82, - 104, - 99, - 109, - 100, - 108, - 100, - 69, - 53, - 104, - 98, - 87, - 86, - 122, - 99, - 71, - 70, - 106, - 90, - 84, - 48, - 105, - 97, - 72, - 82, - 48, - 99, - 68, - 111, - 118, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 117, - 97, - 87, - 56, - 118, - 99, - 50, - 78, - 111, - 90, - 87, - 49, - 104, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 105, - 73, - 71, - 86, - 52, - 99, - 71, - 57, - 121, - 100, - 71, - 86, - 121, - 80, - 83, - 74, - 68, - 89, - 87, - 49, - 49, - 98, - 109, - 82, - 104, - 73, - 69, - 49, - 118, - 90, - 71, - 86, - 115, - 90, - 88, - 73, - 105, - 73, - 71, - 86, - 52, - 99, - 71, - 57, - 121, - 100, - 71, - 86, - 121, - 86, - 109, - 86, - 121, - 99, - 50, - 108, - 118, - 98, - 106, - 48, - 105, - 78, - 83, - 52, - 120, - 78, - 105, - 52, - 119, - 73, - 105, - 66, - 116, - 98, - 50, - 82, - 108, - 98, - 71, - 86, - 121, - 79, - 109, - 86, - 52, - 90, - 87, - 78, - 49, - 100, - 71, - 108, - 118, - 98, - 108, - 66, - 115, - 89, - 88, - 82, - 109, - 98, - 51, - 74, - 116, - 80, - 83, - 74, - 68, - 89, - 87, - 49, - 49, - 98, - 109, - 82, - 104, - 73, - 70, - 66, - 115, - 89, - 88, - 82, - 109, - 98, - 51, - 74, - 116, - 73, - 105, - 66, - 116, - 98, - 50, - 82, - 108, - 98, - 71, - 86, - 121, - 79, - 109, - 86, - 52, - 90, - 87, - 78, - 49, - 100, - 71, - 108, - 118, - 98, - 108, - 66, - 115, - 89, - 88, - 82, - 109, - 98, - 51, - 74, - 116, - 86, - 109, - 86, - 121, - 99, - 50, - 108, - 118, - 98, - 106, - 48, - 105, - 78, - 121, - 52, - 121, - 77, - 67, - 52, - 119, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 119, - 99, - 109, - 57, - 106, - 90, - 88, - 78, - 122, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 112, - 98, - 110, - 90, - 108, - 98, - 110, - 82, - 118, - 99, - 109, - 86, - 102, - 77, - 84, - 99, - 120, - 78, - 84, - 69, - 50, - 77, - 84, - 103, - 53, - 78, - 106, - 65, - 49, - 78, - 105, - 73, - 103, - 97, - 88, - 78, - 70, - 101, - 71, - 86, - 106, - 100, - 88, - 82, - 104, - 89, - 109, - 120, - 108, - 80, - 83, - 74, - 48, - 99, - 110, - 86, - 108, - 73, - 105, - 66, - 106, - 89, - 87, - 49, - 49, - 98, - 109, - 82, - 104, - 79, - 109, - 104, - 112, - 99, - 51, - 82, - 118, - 99, - 110, - 108, - 85, - 97, - 87, - 49, - 108, - 86, - 71, - 57, - 77, - 97, - 88, - 90, - 108, - 80, - 83, - 73, - 120, - 79, - 68, - 65, - 105, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 52, - 54, - 99, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 67, - 66, - 112, - 90, - 68, - 48, - 105, - 85, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 52, - 54, - 98, - 51, - 86, - 48, - 90, - 50, - 57, - 112, - 98, - 109, - 99, - 43, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 99, - 110, - 82, - 52, - 97, - 88, - 66, - 120, - 80, - 67, - 57, - 105, - 99, - 71, - 49, - 117, - 79, - 109, - 57, - 49, - 100, - 71, - 100, - 118, - 97, - 87, - 53, - 110, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 80, - 67, - 57, - 105, - 99, - 71, - 49, - 117, - 79, - 110, - 78, - 48, - 89, - 88, - 74, - 48, - 82, - 88, - 90, - 108, - 98, - 110, - 81, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 48, - 89, - 88, - 78, - 114, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 66, - 89, - 51, - 82, - 112, - 100, - 109, - 108, - 48, - 101, - 86, - 56, - 119, - 97, - 72, - 78, - 117, - 101, - 88, - 89, - 120, - 73, - 105, - 66, - 117, - 89, - 87, - 49, - 108, - 80, - 83, - 74, - 70, - 99, - 50, - 86, - 116, - 99, - 71, - 108, - 118, - 73, - 68, - 73, - 105, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 112, - 98, - 109, - 78, - 118, - 98, - 87, - 108, - 117, - 90, - 122, - 53, - 71, - 98, - 71, - 57, - 51, - 88, - 122, - 66, - 121, - 100, - 72, - 104, - 112, - 99, - 72, - 69, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 54, - 97, - 87, - 53, - 106, - 98, - 50, - 49, - 112, - 98, - 109, - 99, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 79, - 109, - 57, - 49, - 100, - 71, - 100, - 118, - 97, - 87, - 53, - 110, - 80, - 107, - 90, - 115, - 98, - 51, - 100, - 102, - 77, - 71, - 81, - 120, - 90, - 106, - 70, - 111, - 98, - 106, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 118, - 100, - 88, - 82, - 110, - 98, - 50, - 108, - 117, - 90, - 122, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 48, - 89, - 88, - 78, - 114, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 52, - 54, - 99, - 50, - 86, - 120, - 100, - 87, - 86, - 117, - 89, - 50, - 86, - 71, - 98, - 71, - 57, - 51, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 71, - 98, - 71, - 57, - 51, - 88, - 122, - 66, - 121, - 100, - 72, - 104, - 112, - 99, - 72, - 69, - 105, - 73, - 72, - 78, - 118, - 100, - 88, - 74, - 106, - 90, - 86, - 74, - 108, - 90, - 106, - 48, - 105, - 85, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 120, - 73, - 105, - 66, - 48, - 89, - 88, - 74, - 110, - 90, - 88, - 82, - 83, - 90, - 87, - 89, - 57, - 73, - 107, - 70, - 106, - 100, - 71, - 108, - 50, - 97, - 88, - 82, - 53, - 88, - 122, - 66, - 111, - 99, - 50, - 53, - 53, - 100, - 106, - 69, - 105, - 73, - 67, - 56, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 108, - 98, - 109, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 67, - 66, - 112, - 90, - 68, - 48, - 105, - 82, - 88, - 90, - 108, - 98, - 110, - 82, - 102, - 77, - 71, - 100, - 106, - 90, - 109, - 104, - 104, - 78, - 83, - 73, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 79, - 109, - 108, - 117, - 89, - 50, - 57, - 116, - 97, - 87, - 53, - 110, - 80, - 107, - 90, - 115, - 98, - 51, - 100, - 102, - 77, - 71, - 81, - 120, - 90, - 106, - 70, - 111, - 98, - 106, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 112, - 98, - 109, - 78, - 118, - 98, - 87, - 108, - 117, - 90, - 122, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 108, - 98, - 109, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 68, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 79, - 110, - 78, - 108, - 99, - 88, - 86, - 108, - 98, - 109, - 78, - 108, - 82, - 109, - 120, - 118, - 100, - 121, - 66, - 112, - 90, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 90, - 68, - 70, - 109, - 77, - 87, - 104, - 117, - 73, - 105, - 66, - 122, - 98, - 51, - 86, - 121, - 89, - 50, - 86, - 83, - 90, - 87, - 89, - 57, - 73, - 107, - 70, - 106, - 100, - 71, - 108, - 50, - 97, - 88, - 82, - 53, - 88, - 122, - 66, - 111, - 99, - 50, - 53, - 53, - 100, - 106, - 69, - 105, - 73, - 72, - 82, - 104, - 99, - 109, - 100, - 108, - 100, - 70, - 74, - 108, - 90, - 106, - 48, - 105, - 82, - 88, - 90, - 108, - 98, - 110, - 82, - 102, - 77, - 71, - 100, - 106, - 90, - 109, - 104, - 104, - 78, - 83, - 73, - 103, - 76, - 122, - 52, - 75, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 54, - 99, - 72, - 74, - 118, - 89, - 50, - 86, - 122, - 99, - 122, - 52, - 75, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 69, - 97, - 87, - 70, - 110, - 99, - 109, - 70, - 116, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 67, - 85, - 69, - 49, - 79, - 82, - 71, - 108, - 104, - 90, - 51, - 74, - 104, - 98, - 86, - 56, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 90, - 71, - 107, - 54, - 81, - 108, - 66, - 78, - 84, - 108, - 66, - 115, - 89, - 87, - 53, - 108, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 67, - 85, - 69, - 49, - 79, - 85, - 71, - 120, - 104, - 98, - 109, - 86, - 102, - 77, - 83, - 73, - 103, - 89, - 110, - 66, - 116, - 98, - 107, - 86, - 115, - 90, - 87, - 49, - 108, - 98, - 110, - 81, - 57, - 73, - 109, - 82, - 108, - 98, - 87, - 57, - 102, - 77, - 68, - 89, - 120, - 77, - 86, - 56, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 85, - 50, - 104, - 104, - 99, - 71, - 85, - 103, - 97, - 87, - 81, - 57, - 73, - 108, - 57, - 67, - 85, - 69, - 49, - 79, - 85, - 50, - 104, - 104, - 99, - 71, - 86, - 102, - 85, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 121, - 73, - 105, - 66, - 105, - 99, - 71, - 49, - 117, - 82, - 87, - 120, - 108, - 98, - 87, - 86, - 117, - 100, - 68, - 48, - 105, - 85, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 90, - 71, - 77, - 54, - 81, - 109, - 57, - 49, - 98, - 109, - 82, - 122, - 73, - 72, - 103, - 57, - 73, - 106, - 69, - 51, - 79, - 83, - 73, - 103, - 101, - 84, - 48, - 105, - 79, - 84, - 107, - 105, - 73, - 72, - 100, - 112, - 90, - 72, - 82, - 111, - 80, - 83, - 73, - 122, - 78, - 105, - 73, - 103, - 97, - 71, - 86, - 112, - 90, - 50, - 104, - 48, - 80, - 83, - 73, - 122, - 78, - 105, - 73, - 103, - 76, - 122, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 67, - 57, - 105, - 99, - 71, - 49, - 117, - 90, - 71, - 107, - 54, - 81, - 108, - 66, - 78, - 84, - 108, - 78, - 111, - 89, - 88, - 66, - 108, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 84, - 97, - 71, - 70, - 119, - 90, - 83, - 66, - 112, - 90, - 68, - 48, - 105, - 81, - 87, - 78, - 48, - 97, - 88, - 90, - 112, - 100, - 72, - 108, - 102, - 77, - 71, - 104, - 122, - 98, - 110, - 108, - 50, - 77, - 86, - 57, - 107, - 97, - 83, - 73, - 103, - 89, - 110, - 66, - 116, - 98, - 107, - 86, - 115, - 90, - 87, - 49, - 108, - 98, - 110, - 81, - 57, - 73, - 107, - 70, - 106, - 100, - 71, - 108, - 50, - 97, - 88, - 82, - 53, - 88, - 122, - 66, - 111, - 99, - 50, - 53, - 53, - 100, - 106, - 69, - 105, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 107, - 89, - 122, - 112, - 67, - 98, - 51, - 86, - 117, - 90, - 72, - 77, - 103, - 101, - 68, - 48, - 105, - 77, - 106, - 99, - 119, - 73, - 105, - 66, - 53, - 80, - 83, - 73, - 51, - 78, - 121, - 73, - 103, - 100, - 50, - 108, - 107, - 100, - 71, - 103, - 57, - 73, - 106, - 69, - 119, - 77, - 67, - 73, - 103, - 97, - 71, - 86, - 112, - 90, - 50, - 104, - 48, - 80, - 83, - 73, - 52, - 77, - 67, - 73, - 103, - 76, - 122, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 77, - 89, - 87, - 74, - 108, - 98, - 67, - 65, - 118, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 85, - 50, - 104, - 104, - 99, - 71, - 85, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 90, - 71, - 107, - 54, - 81, - 108, - 66, - 78, - 84, - 108, - 78, - 111, - 89, - 88, - 66, - 108, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 119, - 90, - 50, - 78, - 109, - 97, - 71, - 69, - 49, - 88, - 50, - 82, - 112, - 73, - 105, - 66, - 105, - 99, - 71, - 49, - 117, - 82, - 87, - 120, - 108, - 98, - 87, - 86, - 117, - 100, - 68, - 48, - 105, - 82, - 88, - 90, - 108, - 98, - 110, - 82, - 102, - 77, - 71, - 100, - 106, - 90, - 109, - 104, - 104, - 78, - 83, - 73, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 82, - 106, - 79, - 107, - 74, - 118, - 100, - 87, - 53, - 107, - 99, - 121, - 66, - 52, - 80, - 83, - 73, - 48, - 77, - 122, - 73, - 105, - 73, - 72, - 107, - 57, - 73, - 106, - 107, - 53, - 73, - 105, - 66, - 51, - 97, - 87, - 82, - 48, - 97, - 68, - 48, - 105, - 77, - 122, - 89, - 105, - 73, - 71, - 104, - 108, - 97, - 87, - 100, - 111, - 100, - 68, - 48, - 105, - 77, - 122, - 89, - 105, - 73, - 67, - 56, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 84, - 97, - 71, - 70, - 119, - 90, - 84, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 87, - 82, - 110, - 90, - 83, - 66, - 112, - 90, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 99, - 110, - 82, - 52, - 97, - 88, - 66, - 120, - 88, - 50, - 82, - 112, - 73, - 105, - 66, - 105, - 99, - 71, - 49, - 117, - 82, - 87, - 120, - 108, - 98, - 87, - 86, - 117, - 100, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 99, - 110, - 82, - 52, - 97, - 88, - 66, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 90, - 71, - 107, - 54, - 100, - 50, - 70, - 53, - 99, - 71, - 57, - 112, - 98, - 110, - 81, - 103, - 101, - 68, - 48, - 105, - 77, - 106, - 69, - 49, - 73, - 105, - 66, - 53, - 80, - 83, - 73, - 120, - 77, - 84, - 99, - 105, - 73, - 67, - 56, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 82, - 112, - 79, - 110, - 100, - 104, - 101, - 88, - 66, - 118, - 97, - 87, - 53, - 48, - 73, - 72, - 103, - 57, - 73, - 106, - 73, - 51, - 77, - 67, - 73, - 103, - 101, - 84, - 48, - 105, - 77, - 84, - 69, - 51, - 73, - 105, - 65, - 118, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 87, - 82, - 110, - 90, - 84, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 87, - 82, - 110, - 90, - 83, - 66, - 112, - 90, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 90, - 68, - 70, - 109, - 77, - 87, - 104, - 117, - 88, - 50, - 82, - 112, - 73, - 105, - 66, - 105, - 99, - 71, - 49, - 117, - 82, - 87, - 120, - 108, - 98, - 87, - 86, - 117, - 100, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 90, - 68, - 70, - 109, - 77, - 87, - 104, - 117, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 90, - 71, - 107, - 54, - 100, - 50, - 70, - 53, - 99, - 71, - 57, - 112, - 98, - 110, - 81, - 103, - 101, - 68, - 48, - 105, - 77, - 122, - 99, - 119, - 73, - 105, - 66, - 53, - 80, - 83, - 73, - 120, - 77, - 84, - 99, - 105, - 73, - 67, - 56, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 82, - 112, - 79, - 110, - 100, - 104, - 101, - 88, - 66, - 118, - 97, - 87, - 53, - 48, - 73, - 72, - 103, - 57, - 73, - 106, - 81, - 122, - 77, - 105, - 73, - 103, - 101, - 84, - 48, - 105, - 77, - 84, - 69, - 51, - 73, - 105, - 65, - 118, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 87, - 82, - 110, - 90, - 84, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 81, - 98, - 71, - 70, - 117, - 90, - 84, - 52, - 75, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 71, - 108, - 104, - 90, - 51, - 74, - 104, - 98, - 84, - 52, - 75, - 80, - 67, - 57, - 105, - 99, - 71, - 49, - 117, - 79, - 109, - 82, - 108, - 90, - 109, - 108, - 117, - 97, - 88, - 82, - 112, - 98, - 50, - 53, - 122, - 80, - 103, - 111, - 61, - 34, - 125 - ] - }, - "cookie": [], - "responseTime": 16, - "responseSize": 3150 - }, - "id": "9e468203-999b-435f-8794-66cdcbd35774", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "a9072997-c94f-4bf9-90a7-1a1029082899", - "length": 117, - "cycles": 1, - "position": 109, - "iteration": 0, - "httpRequestId": "5a93e833-66e0-4a12-b804-26f25ad71fb9" - }, - "item": { - "id": "1e91a7c0-bf61-49a5-9ad4-a527409461fd", - "name": "Download Workflow Resource", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "download", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/octet-stream" - } - ], - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "c35cf3b2-7f0c-4954-b190-f74ca10fa21b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "a45b18c5-f9ea-4b95-b1e4-27ef95991b77" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": {} - } - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "download", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/octet-stream" - }, - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "cc93925e-7ad0-4ab0-841c-71477626929b", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "460a5b1c-14e6-4227-abf4-59a2bda4d404", - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/octet-stream" - }, - { - "key": "transfer-encoding", - "value": "chunked" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 60, - 63, - 120, - 109, - 108, - 32, - 118, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 34, - 49, - 46, - 48, - 34, - 32, - 101, - 110, - 99, - 111, - 100, - 105, - 110, - 103, - 61, - 34, - 85, - 84, - 70, - 45, - 56, - 34, - 63, - 62, - 10, - 60, - 98, - 112, - 109, - 110, - 58, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 115, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 98, - 112, - 109, - 110, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 119, - 119, - 119, - 46, - 111, - 109, - 103, - 46, - 111, - 114, - 103, - 47, - 115, - 112, - 101, - 99, - 47, - 66, - 80, - 77, - 78, - 47, - 50, - 48, - 49, - 48, - 48, - 53, - 50, - 52, - 47, - 77, - 79, - 68, - 69, - 76, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 98, - 112, - 109, - 110, - 100, - 105, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 119, - 119, - 119, - 46, - 111, - 109, - 103, - 46, - 111, - 114, - 103, - 47, - 115, - 112, - 101, - 99, - 47, - 66, - 80, - 77, - 78, - 47, - 50, - 48, - 49, - 48, - 48, - 53, - 50, - 52, - 47, - 68, - 73, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 100, - 99, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 119, - 119, - 119, - 46, - 111, - 109, - 103, - 46, - 111, - 114, - 103, - 47, - 115, - 112, - 101, - 99, - 47, - 68, - 68, - 47, - 50, - 48, - 49, - 48, - 48, - 53, - 50, - 52, - 47, - 68, - 67, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 46, - 111, - 114, - 103, - 47, - 115, - 99, - 104, - 101, - 109, - 97, - 47, - 49, - 46, - 48, - 47, - 98, - 112, - 109, - 110, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 100, - 105, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 119, - 119, - 119, - 46, - 111, - 109, - 103, - 46, - 111, - 114, - 103, - 47, - 115, - 112, - 101, - 99, - 47, - 68, - 68, - 47, - 50, - 48, - 49, - 48, - 48, - 53, - 50, - 52, - 47, - 68, - 73, - 34, - 32, - 120, - 109, - 108, - 110, - 115, - 58, - 109, - 111, - 100, - 101, - 108, - 101, - 114, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 46, - 111, - 114, - 103, - 47, - 115, - 99, - 104, - 101, - 109, - 97, - 47, - 109, - 111, - 100, - 101, - 108, - 101, - 114, - 47, - 49, - 46, - 48, - 34, - 32, - 105, - 100, - 61, - 34, - 68, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 115, - 95, - 48, - 104, - 102, - 107, - 115, - 118, - 105, - 34, - 32, - 116, - 97, - 114, - 103, - 101, - 116, - 78, - 97, - 109, - 101, - 115, - 112, - 97, - 99, - 101, - 61, - 34, - 104, - 116, - 116, - 112, - 58, - 47, - 47, - 98, - 112, - 109, - 110, - 46, - 105, - 111, - 47, - 115, - 99, - 104, - 101, - 109, - 97, - 47, - 98, - 112, - 109, - 110, - 34, - 32, - 101, - 120, - 112, - 111, - 114, - 116, - 101, - 114, - 61, - 34, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 32, - 77, - 111, - 100, - 101, - 108, - 101, - 114, - 34, - 32, - 101, - 120, - 112, - 111, - 114, - 116, - 101, - 114, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 34, - 53, - 46, - 49, - 54, - 46, - 48, - 34, - 32, - 109, - 111, - 100, - 101, - 108, - 101, - 114, - 58, - 101, - 120, - 101, - 99, - 117, - 116, - 105, - 111, - 110, - 80, - 108, - 97, - 116, - 102, - 111, - 114, - 109, - 61, - 34, - 67, - 97, - 109, - 117, - 110, - 100, - 97, - 32, - 80, - 108, - 97, - 116, - 102, - 111, - 114, - 109, - 34, - 32, - 109, - 111, - 100, - 101, - 108, - 101, - 114, - 58, - 101, - 120, - 101, - 99, - 117, - 116, - 105, - 111, - 110, - 80, - 108, - 97, - 116, - 102, - 111, - 114, - 109, - 86, - 101, - 114, - 115, - 105, - 111, - 110, - 61, - 34, - 55, - 46, - 50, - 48, - 46, - 48, - 34, - 62, - 10, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 32, - 105, - 100, - 61, - 34, - 109, - 111, - 108, - 101, - 115, - 116, - 105, - 97, - 101, - 95, - 49, - 55, - 49, - 53, - 49, - 54, - 49, - 57, - 48, - 50, - 57, - 55, - 53, - 34, - 32, - 105, - 115, - 69, - 120, - 101, - 99, - 117, - 116, - 97, - 98, - 108, - 101, - 61, - 34, - 116, - 114, - 117, - 101, - 34, - 32, - 99, - 97, - 109, - 117, - 110, - 100, - 97, - 58, - 104, - 105, - 115, - 116, - 111, - 114, - 121, - 84, - 105, - 109, - 101, - 84, - 111, - 76, - 105, - 118, - 101, - 61, - 34, - 49, - 56, - 48, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 115, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 32, - 105, - 100, - 61, - 34, - 83, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 95, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 111, - 117, - 116, - 103, - 111, - 105, - 110, - 103, - 62, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 111, - 117, - 116, - 103, - 111, - 105, - 110, - 103, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 115, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 116, - 97, - 115, - 107, - 32, - 105, - 100, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 34, - 32, - 110, - 97, - 109, - 101, - 61, - 34, - 69, - 115, - 101, - 109, - 112, - 105, - 111, - 32, - 50, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 105, - 110, - 99, - 111, - 109, - 105, - 110, - 103, - 62, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 105, - 110, - 99, - 111, - 109, - 105, - 110, - 103, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 111, - 117, - 116, - 103, - 111, - 105, - 110, - 103, - 62, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 111, - 117, - 116, - 103, - 111, - 105, - 110, - 103, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 116, - 97, - 115, - 107, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 115, - 101, - 113, - 117, - 101, - 110, - 99, - 101, - 70, - 108, - 111, - 119, - 32, - 105, - 100, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 34, - 32, - 115, - 111, - 117, - 114, - 99, - 101, - 82, - 101, - 102, - 61, - 34, - 83, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 95, - 49, - 34, - 32, - 116, - 97, - 114, - 103, - 101, - 116, - 82, - 101, - 102, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 101, - 110, - 100, - 69, - 118, - 101, - 110, - 116, - 32, - 105, - 100, - 61, - 34, - 69, - 118, - 101, - 110, - 116, - 95, - 48, - 103, - 99, - 102, - 104, - 97, - 53, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 105, - 110, - 99, - 111, - 109, - 105, - 110, - 103, - 62, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 105, - 110, - 99, - 111, - 109, - 105, - 110, - 103, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 101, - 110, - 100, - 69, - 118, - 101, - 110, - 116, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 58, - 115, - 101, - 113, - 117, - 101, - 110, - 99, - 101, - 70, - 108, - 111, - 119, - 32, - 105, - 100, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 34, - 32, - 115, - 111, - 117, - 114, - 99, - 101, - 82, - 101, - 102, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 34, - 32, - 116, - 97, - 114, - 103, - 101, - 116, - 82, - 101, - 102, - 61, - 34, - 69, - 118, - 101, - 110, - 116, - 95, - 48, - 103, - 99, - 102, - 104, - 97, - 53, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 62, - 10, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 68, - 105, - 97, - 103, - 114, - 97, - 109, - 32, - 105, - 100, - 61, - 34, - 66, - 80, - 77, - 78, - 68, - 105, - 97, - 103, - 114, - 97, - 109, - 95, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 80, - 108, - 97, - 110, - 101, - 32, - 105, - 100, - 61, - 34, - 66, - 80, - 77, - 78, - 80, - 108, - 97, - 110, - 101, - 95, - 49, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 100, - 101, - 109, - 111, - 95, - 48, - 54, - 49, - 49, - 95, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 32, - 105, - 100, - 61, - 34, - 95, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 95, - 83, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 95, - 50, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 83, - 116, - 97, - 114, - 116, - 69, - 118, - 101, - 110, - 116, - 95, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 99, - 58, - 66, - 111, - 117, - 110, - 100, - 115, - 32, - 120, - 61, - 34, - 49, - 55, - 57, - 34, - 32, - 121, - 61, - 34, - 57, - 57, - 34, - 32, - 119, - 105, - 100, - 116, - 104, - 61, - 34, - 51, - 54, - 34, - 32, - 104, - 101, - 105, - 103, - 104, - 116, - 61, - 34, - 51, - 54, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 32, - 105, - 100, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 95, - 100, - 105, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 65, - 99, - 116, - 105, - 118, - 105, - 116, - 121, - 95, - 48, - 104, - 115, - 110, - 121, - 118, - 49, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 99, - 58, - 66, - 111, - 117, - 110, - 100, - 115, - 32, - 120, - 61, - 34, - 50, - 55, - 48, - 34, - 32, - 121, - 61, - 34, - 55, - 55, - 34, - 32, - 119, - 105, - 100, - 116, - 104, - 61, - 34, - 49, - 48, - 48, - 34, - 32, - 104, - 101, - 105, - 103, - 104, - 116, - 61, - 34, - 56, - 48, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 76, - 97, - 98, - 101, - 108, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 32, - 105, - 100, - 61, - 34, - 69, - 118, - 101, - 110, - 116, - 95, - 48, - 103, - 99, - 102, - 104, - 97, - 53, - 95, - 100, - 105, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 69, - 118, - 101, - 110, - 116, - 95, - 48, - 103, - 99, - 102, - 104, - 97, - 53, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 99, - 58, - 66, - 111, - 117, - 110, - 100, - 115, - 32, - 120, - 61, - 34, - 52, - 51, - 50, - 34, - 32, - 121, - 61, - 34, - 57, - 57, - 34, - 32, - 119, - 105, - 100, - 116, - 104, - 61, - 34, - 51, - 54, - 34, - 32, - 104, - 101, - 105, - 103, - 104, - 116, - 61, - 34, - 51, - 54, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 83, - 104, - 97, - 112, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 69, - 100, - 103, - 101, - 32, - 105, - 100, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 95, - 100, - 105, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 114, - 116, - 120, - 105, - 112, - 113, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 105, - 58, - 119, - 97, - 121, - 112, - 111, - 105, - 110, - 116, - 32, - 120, - 61, - 34, - 50, - 49, - 53, - 34, - 32, - 121, - 61, - 34, - 49, - 49, - 55, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 105, - 58, - 119, - 97, - 121, - 112, - 111, - 105, - 110, - 116, - 32, - 120, - 61, - 34, - 50, - 55, - 48, - 34, - 32, - 121, - 61, - 34, - 49, - 49, - 55, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 69, - 100, - 103, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 69, - 100, - 103, - 101, - 32, - 105, - 100, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 95, - 100, - 105, - 34, - 32, - 98, - 112, - 109, - 110, - 69, - 108, - 101, - 109, - 101, - 110, - 116, - 61, - 34, - 70, - 108, - 111, - 119, - 95, - 48, - 100, - 49, - 102, - 49, - 104, - 110, - 34, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 105, - 58, - 119, - 97, - 121, - 112, - 111, - 105, - 110, - 116, - 32, - 120, - 61, - 34, - 51, - 55, - 48, - 34, - 32, - 121, - 61, - 34, - 49, - 49, - 55, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 100, - 105, - 58, - 119, - 97, - 121, - 112, - 111, - 105, - 110, - 116, - 32, - 120, - 61, - 34, - 52, - 51, - 50, - 34, - 32, - 121, - 61, - 34, - 49, - 49, - 55, - 34, - 32, - 47, - 62, - 10, - 32, - 32, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 69, - 100, - 103, - 101, - 62, - 10, - 32, - 32, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 80, - 108, - 97, - 110, - 101, - 62, - 10, - 32, - 32, - 60, - 47, - 98, - 112, - 109, - 110, - 100, - 105, - 58, - 66, - 80, - 77, - 78, - 68, - 105, - 97, - 103, - 114, - 97, - 109, - 62, - 10, - 60, - 47, - 98, - 112, - 109, - 110, - 58, - 100, - 101, - 102, - 105, - 110, - 105, - 116, - 105, - 111, - 110, - 115, - 62 - ] - }, - "cookie": [], - "responseTime": 15, - "responseSize": 2347 - }, - "id": "1e91a7c0-bf61-49a5-9ad4-a527409461fd", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f60f5b22-eef4-41d2-b3a5-ff8915d793a2", - "length": 117, - "cycles": 1, - "position": 110, - "iteration": 0, - "httpRequestId": "67555af7-9c61-4048-aac7-59caceddf9c2" - }, - "item": { - "id": "645c8afc-171c-4d0f-b297-f7617aaebbcd", - "name": "Download Workflow Resource FrontEnd", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "downloadFrontEnd", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{workflow_bpmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "GET" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "05453f79-80f7-4618-b0ee-7294c40ba38b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});" - ], - "_lastExecutionId": "bcbc078a-1012-402a-ad9c-9dc892af6632" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "downloadFrontEnd", - "7ae5d1ed-8e1c-4f3d-865a-f36d207e291c" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "a751d83f-a228-4f13-8e88-8a3b72be4ba2", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "GET", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "40e6cf57-35f1-4133-ad6f-4c9af4c7a024", - "status": "OK", - "code": 200, - "header": [ - { - "key": "content-length", - "value": "3150" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 102, - 105, - 108, - 101, - 67, - 111, - 110, - 116, - 101, - 110, - 116, - 34, - 58, - 34, - 80, - 68, - 57, - 52, - 98, - 87, - 119, - 103, - 100, - 109, - 86, - 121, - 99, - 50, - 108, - 118, - 98, - 106, - 48, - 105, - 77, - 83, - 52, - 119, - 73, - 105, - 66, - 108, - 98, - 109, - 78, - 118, - 90, - 71, - 108, - 117, - 90, - 122, - 48, - 105, - 86, - 86, - 82, - 71, - 76, - 84, - 103, - 105, - 80, - 122, - 52, - 75, - 80, - 71, - 74, - 119, - 98, - 87, - 52, - 54, - 90, - 71, - 86, - 109, - 97, - 87, - 53, - 112, - 100, - 71, - 108, - 118, - 98, - 110, - 77, - 103, - 101, - 71, - 49, - 115, - 98, - 110, - 77, - 54, - 89, - 110, - 66, - 116, - 98, - 106, - 48, - 105, - 97, - 72, - 82, - 48, - 99, - 68, - 111, - 118, - 76, - 51, - 100, - 51, - 100, - 121, - 53, - 118, - 98, - 87, - 99, - 117, - 98, - 51, - 74, - 110, - 76, - 51, - 78, - 119, - 90, - 87, - 77, - 118, - 81, - 108, - 66, - 78, - 84, - 105, - 56, - 121, - 77, - 68, - 69, - 119, - 77, - 68, - 85, - 121, - 78, - 67, - 57, - 78, - 84, - 48, - 82, - 70, - 84, - 67, - 73, - 103, - 101, - 71, - 49, - 115, - 98, - 110, - 77, - 54, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 80, - 83, - 74, - 111, - 100, - 72, - 82, - 119, - 79, - 105, - 56, - 118, - 100, - 51, - 100, - 51, - 76, - 109, - 57, - 116, - 90, - 121, - 53, - 118, - 99, - 109, - 99, - 118, - 99, - 51, - 66, - 108, - 89, - 121, - 57, - 67, - 85, - 69, - 49, - 79, - 76, - 122, - 73, - 119, - 77, - 84, - 65, - 119, - 78, - 84, - 73, - 48, - 76, - 48, - 82, - 74, - 73, - 105, - 66, - 52, - 98, - 87, - 120, - 117, - 99, - 122, - 112, - 107, - 89, - 122, - 48, - 105, - 97, - 72, - 82, - 48, - 99, - 68, - 111, - 118, - 76, - 51, - 100, - 51, - 100, - 121, - 53, - 118, - 98, - 87, - 99, - 117, - 98, - 51, - 74, - 110, - 76, - 51, - 78, - 119, - 90, - 87, - 77, - 118, - 82, - 69, - 81, - 118, - 77, - 106, - 65, - 120, - 77, - 68, - 65, - 49, - 77, - 106, - 81, - 118, - 82, - 69, - 77, - 105, - 73, - 72, - 104, - 116, - 98, - 71, - 53, - 122, - 79, - 109, - 78, - 104, - 98, - 88, - 86, - 117, - 90, - 71, - 69, - 57, - 73, - 109, - 104, - 48, - 100, - 72, - 65, - 54, - 76, - 121, - 57, - 106, - 89, - 87, - 49, - 49, - 98, - 109, - 82, - 104, - 76, - 109, - 57, - 121, - 90, - 121, - 57, - 122, - 89, - 50, - 104, - 108, - 98, - 87, - 69, - 118, - 77, - 83, - 52, - 119, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 105, - 73, - 72, - 104, - 116, - 98, - 71, - 53, - 122, - 79, - 109, - 82, - 112, - 80, - 83, - 74, - 111, - 100, - 72, - 82, - 119, - 79, - 105, - 56, - 118, - 100, - 51, - 100, - 51, - 76, - 109, - 57, - 116, - 90, - 121, - 53, - 118, - 99, - 109, - 99, - 118, - 99, - 51, - 66, - 108, - 89, - 121, - 57, - 69, - 82, - 67, - 56, - 121, - 77, - 68, - 69, - 119, - 77, - 68, - 85, - 121, - 78, - 67, - 57, - 69, - 83, - 83, - 73, - 103, - 101, - 71, - 49, - 115, - 98, - 110, - 77, - 54, - 98, - 87, - 57, - 107, - 90, - 87, - 120, - 108, - 99, - 106, - 48, - 105, - 97, - 72, - 82, - 48, - 99, - 68, - 111, - 118, - 76, - 50, - 78, - 104, - 98, - 88, - 86, - 117, - 90, - 71, - 69, - 117, - 98, - 51, - 74, - 110, - 76, - 51, - 78, - 106, - 97, - 71, - 86, - 116, - 89, - 83, - 57, - 116, - 98, - 50, - 82, - 108, - 98, - 71, - 86, - 121, - 76, - 122, - 69, - 117, - 77, - 67, - 73, - 103, - 97, - 87, - 81, - 57, - 73, - 107, - 82, - 108, - 90, - 109, - 108, - 117, - 97, - 88, - 82, - 112, - 98, - 50, - 53, - 122, - 88, - 122, - 66, - 111, - 90, - 109, - 116, - 122, - 100, - 109, - 107, - 105, - 73, - 72, - 82, - 104, - 99, - 109, - 100, - 108, - 100, - 69, - 53, - 104, - 98, - 87, - 86, - 122, - 99, - 71, - 70, - 106, - 90, - 84, - 48, - 105, - 97, - 72, - 82, - 48, - 99, - 68, - 111, - 118, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 117, - 97, - 87, - 56, - 118, - 99, - 50, - 78, - 111, - 90, - 87, - 49, - 104, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 105, - 73, - 71, - 86, - 52, - 99, - 71, - 57, - 121, - 100, - 71, - 86, - 121, - 80, - 83, - 74, - 68, - 89, - 87, - 49, - 49, - 98, - 109, - 82, - 104, - 73, - 69, - 49, - 118, - 90, - 71, - 86, - 115, - 90, - 88, - 73, - 105, - 73, - 71, - 86, - 52, - 99, - 71, - 57, - 121, - 100, - 71, - 86, - 121, - 86, - 109, - 86, - 121, - 99, - 50, - 108, - 118, - 98, - 106, - 48, - 105, - 78, - 83, - 52, - 120, - 78, - 105, - 52, - 119, - 73, - 105, - 66, - 116, - 98, - 50, - 82, - 108, - 98, - 71, - 86, - 121, - 79, - 109, - 86, - 52, - 90, - 87, - 78, - 49, - 100, - 71, - 108, - 118, - 98, - 108, - 66, - 115, - 89, - 88, - 82, - 109, - 98, - 51, - 74, - 116, - 80, - 83, - 74, - 68, - 89, - 87, - 49, - 49, - 98, - 109, - 82, - 104, - 73, - 70, - 66, - 115, - 89, - 88, - 82, - 109, - 98, - 51, - 74, - 116, - 73, - 105, - 66, - 116, - 98, - 50, - 82, - 108, - 98, - 71, - 86, - 121, - 79, - 109, - 86, - 52, - 90, - 87, - 78, - 49, - 100, - 71, - 108, - 118, - 98, - 108, - 66, - 115, - 89, - 88, - 82, - 109, - 98, - 51, - 74, - 116, - 86, - 109, - 86, - 121, - 99, - 50, - 108, - 118, - 98, - 106, - 48, - 105, - 78, - 121, - 52, - 121, - 77, - 67, - 52, - 119, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 119, - 99, - 109, - 57, - 106, - 90, - 88, - 78, - 122, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 116, - 98, - 50, - 120, - 108, - 99, - 51, - 82, - 112, - 89, - 87, - 86, - 102, - 77, - 84, - 99, - 120, - 78, - 84, - 69, - 50, - 77, - 84, - 107, - 119, - 77, - 106, - 107, - 51, - 78, - 83, - 73, - 103, - 97, - 88, - 78, - 70, - 101, - 71, - 86, - 106, - 100, - 88, - 82, - 104, - 89, - 109, - 120, - 108, - 80, - 83, - 74, - 48, - 99, - 110, - 86, - 108, - 73, - 105, - 66, - 106, - 89, - 87, - 49, - 49, - 98, - 109, - 82, - 104, - 79, - 109, - 104, - 112, - 99, - 51, - 82, - 118, - 99, - 110, - 108, - 85, - 97, - 87, - 49, - 108, - 86, - 71, - 57, - 77, - 97, - 88, - 90, - 108, - 80, - 83, - 73, - 120, - 79, - 68, - 65, - 105, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 52, - 54, - 99, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 67, - 66, - 112, - 90, - 68, - 48, - 105, - 85, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 52, - 54, - 98, - 51, - 86, - 48, - 90, - 50, - 57, - 112, - 98, - 109, - 99, - 43, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 99, - 110, - 82, - 52, - 97, - 88, - 66, - 120, - 80, - 67, - 57, - 105, - 99, - 71, - 49, - 117, - 79, - 109, - 57, - 49, - 100, - 71, - 100, - 118, - 97, - 87, - 53, - 110, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 80, - 67, - 57, - 105, - 99, - 71, - 49, - 117, - 79, - 110, - 78, - 48, - 89, - 88, - 74, - 48, - 82, - 88, - 90, - 108, - 98, - 110, - 81, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 48, - 89, - 88, - 78, - 114, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 66, - 89, - 51, - 82, - 112, - 100, - 109, - 108, - 48, - 101, - 86, - 56, - 119, - 97, - 72, - 78, - 117, - 101, - 88, - 89, - 120, - 73, - 105, - 66, - 117, - 89, - 87, - 49, - 108, - 80, - 83, - 74, - 70, - 99, - 50, - 86, - 116, - 99, - 71, - 108, - 118, - 73, - 68, - 73, - 105, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 112, - 98, - 109, - 78, - 118, - 98, - 87, - 108, - 117, - 90, - 122, - 53, - 71, - 98, - 71, - 57, - 51, - 88, - 122, - 66, - 121, - 100, - 72, - 104, - 112, - 99, - 72, - 69, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 54, - 97, - 87, - 53, - 106, - 98, - 50, - 49, - 112, - 98, - 109, - 99, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 79, - 109, - 57, - 49, - 100, - 71, - 100, - 118, - 97, - 87, - 53, - 110, - 80, - 107, - 90, - 115, - 98, - 51, - 100, - 102, - 77, - 71, - 81, - 120, - 90, - 106, - 70, - 111, - 98, - 106, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 118, - 100, - 88, - 82, - 110, - 98, - 50, - 108, - 117, - 90, - 122, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 48, - 89, - 88, - 78, - 114, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 52, - 54, - 99, - 50, - 86, - 120, - 100, - 87, - 86, - 117, - 89, - 50, - 86, - 71, - 98, - 71, - 57, - 51, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 71, - 98, - 71, - 57, - 51, - 88, - 122, - 66, - 121, - 100, - 72, - 104, - 112, - 99, - 72, - 69, - 105, - 73, - 72, - 78, - 118, - 100, - 88, - 74, - 106, - 90, - 86, - 74, - 108, - 90, - 106, - 48, - 105, - 85, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 120, - 73, - 105, - 66, - 48, - 89, - 88, - 74, - 110, - 90, - 88, - 82, - 83, - 90, - 87, - 89, - 57, - 73, - 107, - 70, - 106, - 100, - 71, - 108, - 50, - 97, - 88, - 82, - 53, - 88, - 122, - 66, - 111, - 99, - 50, - 53, - 53, - 100, - 106, - 69, - 105, - 73, - 67, - 56, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 108, - 98, - 109, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 67, - 66, - 112, - 90, - 68, - 48, - 105, - 82, - 88, - 90, - 108, - 98, - 110, - 82, - 102, - 77, - 71, - 100, - 106, - 90, - 109, - 104, - 104, - 78, - 83, - 73, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 79, - 109, - 108, - 117, - 89, - 50, - 57, - 116, - 97, - 87, - 53, - 110, - 80, - 107, - 90, - 115, - 98, - 51, - 100, - 102, - 77, - 71, - 81, - 120, - 90, - 106, - 70, - 111, - 98, - 106, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 112, - 98, - 109, - 78, - 118, - 98, - 87, - 108, - 117, - 90, - 122, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 106, - 112, - 108, - 98, - 109, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 68, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 79, - 110, - 78, - 108, - 99, - 88, - 86, - 108, - 98, - 109, - 78, - 108, - 82, - 109, - 120, - 118, - 100, - 121, - 66, - 112, - 90, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 90, - 68, - 70, - 109, - 77, - 87, - 104, - 117, - 73, - 105, - 66, - 122, - 98, - 51, - 86, - 121, - 89, - 50, - 86, - 83, - 90, - 87, - 89, - 57, - 73, - 107, - 70, - 106, - 100, - 71, - 108, - 50, - 97, - 88, - 82, - 53, - 88, - 122, - 66, - 111, - 99, - 50, - 53, - 53, - 100, - 106, - 69, - 105, - 73, - 72, - 82, - 104, - 99, - 109, - 100, - 108, - 100, - 70, - 74, - 108, - 90, - 106, - 48, - 105, - 82, - 88, - 90, - 108, - 98, - 110, - 82, - 102, - 77, - 71, - 100, - 106, - 90, - 109, - 104, - 104, - 78, - 83, - 73, - 103, - 76, - 122, - 52, - 75, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 52, - 54, - 99, - 72, - 74, - 118, - 89, - 50, - 86, - 122, - 99, - 122, - 52, - 75, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 69, - 97, - 87, - 70, - 110, - 99, - 109, - 70, - 116, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 67, - 85, - 69, - 49, - 79, - 82, - 71, - 108, - 104, - 90, - 51, - 74, - 104, - 98, - 86, - 56, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 90, - 71, - 107, - 54, - 81, - 108, - 66, - 78, - 84, - 108, - 66, - 115, - 89, - 87, - 53, - 108, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 67, - 85, - 69, - 49, - 79, - 85, - 71, - 120, - 104, - 98, - 109, - 86, - 102, - 77, - 83, - 73, - 103, - 89, - 110, - 66, - 116, - 98, - 107, - 86, - 115, - 90, - 87, - 49, - 108, - 98, - 110, - 81, - 57, - 73, - 109, - 82, - 108, - 98, - 87, - 57, - 102, - 77, - 68, - 89, - 120, - 77, - 86, - 56, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 85, - 50, - 104, - 104, - 99, - 71, - 85, - 103, - 97, - 87, - 81, - 57, - 73, - 108, - 57, - 67, - 85, - 69, - 49, - 79, - 85, - 50, - 104, - 104, - 99, - 71, - 86, - 102, - 85, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 121, - 73, - 105, - 66, - 105, - 99, - 71, - 49, - 117, - 82, - 87, - 120, - 108, - 98, - 87, - 86, - 117, - 100, - 68, - 48, - 105, - 85, - 51, - 82, - 104, - 99, - 110, - 82, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 90, - 71, - 77, - 54, - 81, - 109, - 57, - 49, - 98, - 109, - 82, - 122, - 73, - 72, - 103, - 57, - 73, - 106, - 69, - 51, - 79, - 83, - 73, - 103, - 101, - 84, - 48, - 105, - 79, - 84, - 107, - 105, - 73, - 72, - 100, - 112, - 90, - 72, - 82, - 111, - 80, - 83, - 73, - 122, - 78, - 105, - 73, - 103, - 97, - 71, - 86, - 112, - 90, - 50, - 104, - 48, - 80, - 83, - 73, - 122, - 78, - 105, - 73, - 103, - 76, - 122, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 67, - 57, - 105, - 99, - 71, - 49, - 117, - 90, - 71, - 107, - 54, - 81, - 108, - 66, - 78, - 84, - 108, - 78, - 111, - 89, - 88, - 66, - 108, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 84, - 97, - 71, - 70, - 119, - 90, - 83, - 66, - 112, - 90, - 68, - 48, - 105, - 81, - 87, - 78, - 48, - 97, - 88, - 90, - 112, - 100, - 72, - 108, - 102, - 77, - 71, - 104, - 122, - 98, - 110, - 108, - 50, - 77, - 86, - 57, - 107, - 97, - 83, - 73, - 103, - 89, - 110, - 66, - 116, - 98, - 107, - 86, - 115, - 90, - 87, - 49, - 108, - 98, - 110, - 81, - 57, - 73, - 107, - 70, - 106, - 100, - 71, - 108, - 50, - 97, - 88, - 82, - 53, - 88, - 122, - 66, - 111, - 99, - 50, - 53, - 53, - 100, - 106, - 69, - 105, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 107, - 89, - 122, - 112, - 67, - 98, - 51, - 86, - 117, - 90, - 72, - 77, - 103, - 101, - 68, - 48, - 105, - 77, - 106, - 99, - 119, - 73, - 105, - 66, - 53, - 80, - 83, - 73, - 51, - 78, - 121, - 73, - 103, - 100, - 50, - 108, - 107, - 100, - 71, - 103, - 57, - 73, - 106, - 69, - 119, - 77, - 67, - 73, - 103, - 97, - 71, - 86, - 112, - 90, - 50, - 104, - 48, - 80, - 83, - 73, - 52, - 77, - 67, - 73, - 103, - 76, - 122, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 77, - 89, - 87, - 74, - 108, - 98, - 67, - 65, - 118, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 85, - 50, - 104, - 104, - 99, - 71, - 85, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 120, - 105, - 99, - 71, - 49, - 117, - 90, - 71, - 107, - 54, - 81, - 108, - 66, - 78, - 84, - 108, - 78, - 111, - 89, - 88, - 66, - 108, - 73, - 71, - 108, - 107, - 80, - 83, - 74, - 70, - 100, - 109, - 86, - 117, - 100, - 70, - 56, - 119, - 90, - 50, - 78, - 109, - 97, - 71, - 69, - 49, - 88, - 50, - 82, - 112, - 73, - 105, - 66, - 105, - 99, - 71, - 49, - 117, - 82, - 87, - 120, - 108, - 98, - 87, - 86, - 117, - 100, - 68, - 48, - 105, - 82, - 88, - 90, - 108, - 98, - 110, - 82, - 102, - 77, - 71, - 100, - 106, - 90, - 109, - 104, - 104, - 78, - 83, - 73, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 82, - 106, - 79, - 107, - 74, - 118, - 100, - 87, - 53, - 107, - 99, - 121, - 66, - 52, - 80, - 83, - 73, - 48, - 77, - 122, - 73, - 105, - 73, - 72, - 107, - 57, - 73, - 106, - 107, - 53, - 73, - 105, - 66, - 51, - 97, - 87, - 82, - 48, - 97, - 68, - 48, - 105, - 77, - 122, - 89, - 105, - 73, - 71, - 104, - 108, - 97, - 87, - 100, - 111, - 100, - 68, - 48, - 105, - 77, - 122, - 89, - 105, - 73, - 67, - 56, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 68, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 84, - 97, - 71, - 70, - 119, - 90, - 84, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 87, - 82, - 110, - 90, - 83, - 66, - 112, - 90, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 99, - 110, - 82, - 52, - 97, - 88, - 66, - 120, - 88, - 50, - 82, - 112, - 73, - 105, - 66, - 105, - 99, - 71, - 49, - 117, - 82, - 87, - 120, - 108, - 98, - 87, - 86, - 117, - 100, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 99, - 110, - 82, - 52, - 97, - 88, - 66, - 120, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 90, - 71, - 107, - 54, - 100, - 50, - 70, - 53, - 99, - 71, - 57, - 112, - 98, - 110, - 81, - 103, - 101, - 68, - 48, - 105, - 77, - 106, - 69, - 49, - 73, - 105, - 66, - 53, - 80, - 83, - 73, - 120, - 77, - 84, - 99, - 105, - 73, - 67, - 56, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 82, - 112, - 79, - 110, - 100, - 104, - 101, - 88, - 66, - 118, - 97, - 87, - 53, - 48, - 73, - 72, - 103, - 57, - 73, - 106, - 73, - 51, - 77, - 67, - 73, - 103, - 101, - 84, - 48, - 105, - 77, - 84, - 69, - 51, - 73, - 105, - 65, - 118, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 87, - 82, - 110, - 90, - 84, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 87, - 82, - 110, - 90, - 83, - 66, - 112, - 90, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 90, - 68, - 70, - 109, - 77, - 87, - 104, - 117, - 88, - 50, - 82, - 112, - 73, - 105, - 66, - 105, - 99, - 71, - 49, - 117, - 82, - 87, - 120, - 108, - 98, - 87, - 86, - 117, - 100, - 68, - 48, - 105, - 82, - 109, - 120, - 118, - 100, - 49, - 56, - 119, - 90, - 68, - 70, - 109, - 77, - 87, - 104, - 117, - 73, - 106, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 90, - 71, - 107, - 54, - 100, - 50, - 70, - 53, - 99, - 71, - 57, - 112, - 98, - 110, - 81, - 103, - 101, - 68, - 48, - 105, - 77, - 122, - 99, - 119, - 73, - 105, - 66, - 53, - 80, - 83, - 73, - 120, - 77, - 84, - 99, - 105, - 73, - 67, - 56, - 43, - 67, - 105, - 65, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 103, - 80, - 71, - 82, - 112, - 79, - 110, - 100, - 104, - 101, - 88, - 66, - 118, - 97, - 87, - 53, - 48, - 73, - 72, - 103, - 57, - 73, - 106, - 81, - 122, - 77, - 105, - 73, - 103, - 101, - 84, - 48, - 105, - 77, - 84, - 69, - 51, - 73, - 105, - 65, - 118, - 80, - 103, - 111, - 103, - 73, - 67, - 65, - 103, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 87, - 82, - 110, - 90, - 84, - 52, - 75, - 73, - 67, - 65, - 103, - 73, - 68, - 119, - 118, - 89, - 110, - 66, - 116, - 98, - 109, - 82, - 112, - 79, - 107, - 74, - 81, - 84, - 85, - 53, - 81, - 98, - 71, - 70, - 117, - 90, - 84, - 52, - 75, - 73, - 67, - 65, - 56, - 76, - 50, - 74, - 119, - 98, - 87, - 53, - 107, - 97, - 84, - 112, - 67, - 85, - 69, - 49, - 79, - 82, - 71, - 108, - 104, - 90, - 51, - 74, - 104, - 98, - 84, - 52, - 75, - 80, - 67, - 57, - 105, - 99, - 71, - 49, - 117, - 79, - 109, - 82, - 108, - 90, - 109, - 108, - 117, - 97, - 88, - 82, - 112, - 98, - 50, - 53, - 122, - 80, - 103, - 61, - 61, - 34, - 125 - ] - }, - "cookie": [], - "responseTime": 15, - "responseSize": 3150 - }, - "id": "645c8afc-171c-4d0f-b297-f7617aaebbcd", - "assertions": [ - { - "assertion": "Status code is 200", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "51349143-09fe-4d83-bcf4-d6286ca191ee", - "length": 117, - "cycles": 1, - "position": 111, - "iteration": 0, - "httpRequestId": "54fb3de6-93f9-4777-85cb-119fa3526fb9" - }, - "item": { - "id": "8fbfe983-2ef2-4dbe-8e04-39dcb12e148c", - "name": "Disabilita risorsa esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - "disable", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "2bd9298b-3ca0-4978-b5a2-0db120e6a50b", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "49ae4878-0f48-4db5-9687-94b419136c72" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "disable", - "5e057372-44a9-4f63-bd09-afaf7d8b3e02" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "6fd0e0f5-b108-4a8a-b267-70988ca15a12", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "0b4867c6-cecb-460e-844b-0c48b089b6ce", - "status": "No Content", - "code": 204, - "header": [ - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [] - }, - "cookie": [], - "responseTime": 12, - "responseSize": 0 - }, - "id": "8fbfe983-2ef2-4dbe-8e04-39dcb12e148c", - "assertions": [ - { - "assertion": "Status code is 204", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "e1e8322a-8914-43d2-9222-8b4814e7cf18", - "length": 117, - "cycles": 1, - "position": 112, - "iteration": 0, - "httpRequestId": "5a907234-e167-4803-aad7-862555d084e3" - }, - "item": { - "id": "85514c22-db21-473f-bc23-3b9e7f9377f3", - "name": "Fallisci nel disabilitare risorsa inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - "disable", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{other_1_id}}", - "key": "uuid" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "3f86c942-1e84-470f-ba79-c0e67f3a2b04", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000029\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000029\");\r", - "})" - ], - "_lastExecutionId": "50d22233-f884-41b6-a9ec-8e937a4b2e20" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "disable", - "5e057372-44a9-4f63-bd09-afaf7d8b3e02" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "7e1bbd4f-ea69-49ef-b2ba-9ebc1b41d2c1", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "0215e0c8-5e88-4b04-be38-91c809c224cd", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "164" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 53, - 101, - 48, - 53, - 55, - 51, - 55, - 50, - 45, - 52, - 52, - 97, - 57, - 45, - 52, - 102, - 54, - 51, - 45, - 98, - 100, - 48, - 57, - 45, - 97, - 102, - 97, - 102, - 55, - 100, - 56, - 98, - 51, - 101, - 48, - 50, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 164 - }, - "id": "85514c22-db21-473f-bc23-3b9e7f9377f3", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - }, - { - "assertion": "errorCode is ATMLM_4000029", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "02dad328-e599-400e-bed0-2633d4f5d217", - "length": 117, - "cycles": 1, - "position": 113, - "iteration": 0, - "httpRequestId": "5b8390e4-9efd-4db1-8329-e4d1c2d2f0ea" - }, - "item": { - "id": "a1f9d2bd-fb46-478d-a471-654d7cec20f1", - "name": "Disabilita Workflow Resource esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "disable", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "0f01a948-7909-43b8-94e0-78c3c4aa0ab1", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "213c6637-242e-42c7-b84b-06b632e4e72b" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "disable", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "f2b7e3f6-2b5b-4372-a671-a768d9c925b8", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "6f9b23ca-2fb8-4e20-9fd6-a5e91da0fe6d", - "status": "No Content", - "code": 204, - "header": [ - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [] - }, - "cookie": [], - "responseTime": 9, - "responseSize": 0 - }, - "id": "a1f9d2bd-fb46-478d-a471-654d7cec20f1", - "assertions": [ - { - "assertion": "Status code is 204", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "658ca91e-2dd6-440f-a24c-aedf2faafac2", - "length": 117, - "cycles": 1, - "position": 114, - "iteration": 0, - "httpRequestId": "c62300e8-9cf8-4fba-854b-6537bdd45469" - }, - "item": { - "id": "73d6b852-cf9d-43a3-800c-f38663ec5f42", - "name": "Fallisci nel disabilitare Workflow Resource inesistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "disable", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{dmn_1_id}}", - "key": "uuid" - } - ] - }, - "method": "POST" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "9622af73-ca3e-45e4-92c0-e718c04d834a", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.test(\"errorCode is ATMLM_4000023\", function(){\r", - " pm.expect(data.errorCode).to.equal(\"ATMLM_4000023\");\r", - "})" - ], - "_lastExecutionId": "75d23ade-930c-41a3-9aa2-24ff738fd4b9" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "workflow-resource", - "disable", - "1431eae2-8e63-452d-999b-d53a21339af2" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "5ede552b-2c59-457e-8c3f-25f11b2a6597", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - }, - { - "key": "Content-Length", - "value": "0", - "system": true - } - ], - "method": "POST", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "9a620fb2-cf64-4252-aacc-a8d6bca86ce0", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "212" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 51, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 76, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 97, - 103, - 103, - 105, - 117, - 110, - 116, - 105, - 118, - 97, - 32, - 112, - 101, - 114, - 32, - 112, - 114, - 111, - 99, - 101, - 115, - 115, - 111, - 32, - 97, - 32, - 99, - 117, - 105, - 32, - 115, - 105, - 32, - 102, - 97, - 32, - 114, - 105, - 102, - 101, - 114, - 105, - 109, - 101, - 110, - 116, - 111, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 49, - 52, - 51, - 49, - 101, - 97, - 101, - 50, - 45, - 56, - 101, - 54, - 51, - 45, - 52, - 53, - 50, - 100, - 45, - 57, - 57, - 57, - 98, - 45, - 100, - 53, - 51, - 97, - 50, - 49, - 51, - 51, - 57, - 97, - 102, - 50, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 6, - "responseSize": 212 - }, - "id": "73d6b852-cf9d-43a3-800c-f38663ec5f42", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - }, - { - "assertion": "errorCode is ATMLM_4000023", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "e73a0c4e-bcac-4d3c-9e1c-8f4426a404ea", - "length": 117, - "cycles": 1, - "position": 115, - "iteration": 0, - "httpRequestId": "18e28e0e-9b77-4066-8ae3-3561524a4720" - }, - "item": { - "id": "7d184d35-e8b5-439a-9f37-dfa0de918cfc", - "name": "Elimina risorsa esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "7cb56217-4d0b-407b-ae89-72991f68f2ef", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});" - ], - "_lastExecutionId": "14343b6b-f847-49a1-b53a-51282713fd84" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "24be8ee6-b7e3-4761-8ff9-8ae01f3171c5" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "cdbb4f43-d795-404b-ad65-2006e83a9ebe", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "DELETE", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "383f1bff-e092-4450-a795-e0191c36e6c5", - "status": "No Content", - "code": 204, - "header": [ - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [] - }, - "cookie": [], - "responseTime": 11, - "responseSize": 0 - }, - "id": "7d184d35-e8b5-439a-9f37-dfa0de918cfc", - "assertions": [ - { - "assertion": "Status code is 204", - "skipped": false - } - ] - }, - { - "cursor": { - "ref": "f73297c8-49da-4ab6-8915-91e6cbc34b67", - "length": 117, - "cycles": 1, - "position": 116, - "iteration": 0, - "httpRequestId": "3911bff3-1382-4c93-9b79-1440e75e78c7" - }, - "item": { - "id": "4f2f9514-92d2-4053-a86f-f32b150f0fe5", - "name": "Fallisci nell'eliminare risorsa non esistente", - "request": { - "url": { - "path": [ - "api", - "v1", - "model", - "resources", - ":uuid" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "{{html_1_id}}", - "key": "uuid" - } - ] - }, - "method": "DELETE" - }, - "response": [], - "event": [ - { - "listen": "test", - "script": { - "id": "cbcf8f23-c137-4b8d-b440-cf2bce51f704", - "type": "text/javascript", - "exec": [ - "pm.test(\"Status code is 400\", function () {\r", - " pm.response.to.have.status(400);\r", - "});\r", - "var data=pm.response.json();\r", - "pm.expect(data.errorCode).to.equal(\"ATMLM_4000029\");" - ], - "_lastExecutionId": "d9404d30-e086-44b3-860a-6c84bc7cc2b0" - } - } - ] - }, - "request": { - "url": { - "protocol": "http", - "port": "8086", - "path": [ - "api", - "v1", - "model", - "resources", - "24be8ee6-b7e3-4761-8ff9-8ae01f3171c5" - ], - "host": [ - "host", - "testcontainers", - "internal" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "x-api-key", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "system": true - }, - { - "key": "User-Agent", - "value": "PostmanRuntime/7.37.1", - "system": true - }, - { - "key": "Accept", - "value": "*/*", - "system": true - }, - { - "key": "Cache-Control", - "value": "no-cache", - "system": true - }, - { - "key": "Postman-Token", - "value": "852a11b7-224f-449f-80a6-6b642d4f019b", - "system": true - }, - { - "key": "Host", - "value": "host.testcontainers.internal:8086", - "system": true - }, - { - "key": "Accept-Encoding", - "value": "gzip, deflate, br", - "system": true - }, - { - "key": "Connection", - "value": "keep-alive", - "system": true - } - ], - "method": "DELETE", - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "string", - "value": "TfRV0R7jTX1ZhzWxdZBvn2ALZxlhgd446EPfuECc", - "key": "value" - }, - { - "type": "string", - "value": "x-api-key", - "key": "key" - } - ] - } - }, - "response": { - "id": "497d0ad6-1287-471d-a8fd-ae889e1bdfca", - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "content-length", - "value": "246" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,OPTIONS,PUT,DELETE" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; application/octet-stream" - } - ], - "stream": { - "type": "Buffer", - "data": [ - 123, - 34, - 116, - 121, - 112, - 101, - 34, - 58, - 34, - 78, - 79, - 84, - 95, - 69, - 88, - 73, - 83, - 84, - 73, - 78, - 71, - 95, - 82, - 69, - 70, - 69, - 82, - 69, - 78, - 67, - 69, - 68, - 95, - 69, - 78, - 84, - 73, - 84, - 89, - 34, - 44, - 34, - 101, - 114, - 114, - 111, - 114, - 67, - 111, - 100, - 101, - 34, - 58, - 34, - 65, - 84, - 77, - 76, - 77, - 95, - 52, - 48, - 48, - 48, - 48, - 50, - 57, - 34, - 44, - 34, - 109, - 101, - 115, - 115, - 97, - 103, - 101, - 34, - 58, - 34, - 73, - 109, - 112, - 111, - 115, - 115, - 105, - 98, - 105, - 108, - 101, - 32, - 101, - 108, - 105, - 109, - 105, - 110, - 97, - 114, - 101, - 32, - 108, - 97, - 32, - 114, - 105, - 115, - 111, - 114, - 115, - 97, - 32, - 99, - 111, - 110, - 32, - 73, - 100, - 32, - 50, - 52, - 98, - 101, - 56, - 101, - 101, - 54, - 45, - 98, - 55, - 101, - 51, - 45, - 52, - 55, - 54, - 49, - 45, - 56, - 102, - 102, - 57, - 45, - 56, - 97, - 101, - 48, - 49, - 102, - 51, - 49, - 55, - 49, - 99, - 53, - 58, - 32, - 110, - 111, - 110, - 32, - 101, - 115, - 105, - 115, - 116, - 101, - 32, - 111, - 112, - 112, - 117, - 114, - 101, - 32, - 115, - 105, - 32, - 195, - 168, - 32, - 118, - 101, - 114, - 105, - 102, - 105, - 99, - 97, - 116, - 111, - 32, - 117, - 110, - 32, - 101, - 114, - 114, - 111, - 114, - 101, - 32, - 100, - 117, - 114, - 97, - 110, - 116, - 101, - 32, - 108, - 97, - 32, - 99, - 97, - 110, - 99, - 101, - 108, - 108, - 97, - 122, - 105, - 111, - 110, - 101, - 34, - 44, - 34, - 115, - 116, - 97, - 116, - 117, - 115, - 67, - 111, - 100, - 101, - 34, - 58, - 52, - 48, - 48, - 125 - ] - }, - "cookie": [], - "responseTime": 26, - "responseSize": 246 - }, - "id": "4f2f9514-92d2-4053-a86f-f32b150f0fe5", - "assertions": [ - { - "assertion": "Status code is 400", - "skipped": false - } - ] - } - ], - "transfers": { - "responseTotal": 16574110 - }, - "failures": [], - "error": null - } -} \ No newline at end of file From 1a052259e34ecd6714757b100d05cd90f71b74c8 Mon Sep 17 00:00:00 2001 From: Giacomo Brancazi Date: Tue, 28 May 2024 09:18:31 +0200 Subject: [PATCH 13/36] remove annotation jsonignore --- .../it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java index e81f969e..6fd54d1d 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/model/ProfileDTO.java @@ -11,7 +11,6 @@ public class ProfileDTO { private String description; private int profileId; - @JsonIgnore private Timestamp createdAt; private Timestamp lastUpdatedAt; } From feacba5cec3c9d84ec2c1e77f4c91eafd3d0fbec Mon Sep 17 00:00:00 2001 From: Giacomo Brancazi Date: Tue, 28 May 2024 09:27:03 +0200 Subject: [PATCH 14/36] fix path /users --- .../pagopa/atmlayer/service/model/resource/UserResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index 02794a78..adecd8a0 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -16,7 +16,7 @@ import java.util.List; @ApplicationScoped -@Path("/user") +@Path("/users") @Tag(name = "User") @Slf4j public class UserResource { From b75f307690982d37a44a4d58e8be04a3ac902b7d Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Tue, 28 May 2024 10:32:21 +0200 Subject: [PATCH 15/36] fixed tests --- .../resource/UserProfilesResourceTest.java | 26 +++++++++++++++++-- .../model/resource/UserResourceTest.java | 8 +++--- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java index 9e43693c..1157c5d3 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java @@ -4,7 +4,6 @@ import io.quarkus.test.junit.QuarkusTest; import io.restassured.common.mapper.TypeRef; import io.restassured.http.ContentType; -import io.restassured.specification.RequestSpecification; import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; @@ -17,7 +16,6 @@ import java.util.ArrayList; import java.util.List; - import static io.restassured.RestAssured.given; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.any; @@ -66,6 +64,30 @@ void testInsert() { assertEquals(userProfilesDTOList, result); } + @Test + void testGetById() { + String userId = "1"; + int profileId = 1; + UserProfiles userProfiles = new UserProfiles(); + + when(userProfilesService.findById(userId, profileId)).thenReturn( + Uni.createFrom().item(userProfiles)); + UserProfilesDTO dto = new UserProfilesDTO(); + when(userProfilesMapper.toDTO(userProfiles)).thenReturn(dto); + + given() + .pathParam("userId", userId) + .pathParam("profileId", profileId) + .when() + .get("/api/v1/model/user_profiles/userId/{userId}/profileId/{profileId}") + .then() + .statusCode(200); + + verify(userProfilesService, times(1)).findById(userId, profileId); + verify(userProfilesMapper, times(1)).toDTO(userProfiles); + } + + @Test void testDelete() { String userId = "1"; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index 191fdce2..60e6ed83 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -30,19 +30,19 @@ class UserResourceTest { void testInsert() { String userId = "testUserId"; User user = new User(); - UserDTO userDTO = new UserDTO(); + UserWithProfilesDTO userDTO = new UserWithProfilesDTO(); when(userMapper.toEntityInsertion(userId)).thenReturn(user); when(userService.insertUser(user)).thenReturn(Uni.createFrom().item(user)); - when(userMapper.toDTO(user)).thenReturn(userDTO); + when(userMapper.toProfilesDTO(user)).thenReturn(userDTO); - UserDTO result = given() + UserWithProfilesDTO result = given() .contentType(MediaType.APPLICATION_JSON) .pathParam("userId", userId) .when().post("api/v1/model/user/insert/userId/{userId}") .then() .statusCode(200) - .extract().as(UserDTO.class); + .extract().as(UserWithProfilesDTO.class); assertEquals(userDTO, result); } From 9584dc188c6ac58f7ea536380ae7b431f0d1d9e8 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Tue, 28 May 2024 14:50:33 +0200 Subject: [PATCH 16/36] UserProfilesServiceImpl tests --- .../impl/UserProfilesServiceImplTest.java | 139 ++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImplTest.java diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImplTest.java new file mode 100644 index 00000000..4b8cbfb1 --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImplTest.java @@ -0,0 +1,139 @@ +package it.gov.pagopa.atmlayer.service.model.service.impl; + +import io.quarkus.test.junit.QuarkusTest; +import io.smallrye.mutiny.Uni; +import io.smallrye.mutiny.helpers.test.UniAssertSubscriber; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; +import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.repository.ProfileRepository; +import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; +import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.MockitoAnnotations; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.*; + +@QuarkusTest +class UserProfilesServiceImplTest { + @Mock + UserProfilesRepository userProfilesRepository; + @Mock + ProfileRepository profileRepository; + @Mock + UserRepository userRepository; + @InjectMocks + UserProfilesServiceImpl userProfilesService; + + @BeforeEach + void setup() { + MockitoAnnotations.openMocks(this); + } + + @Test + void testCheckProfile() { + int profileId = 1; + Profile profile = new Profile(); + + when(profileRepository.findById(profileId)).thenReturn(Uni.createFrom().item(profile)); + + userProfilesService.checkProfile(profileId) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted(); + + verify(profileRepository).findById(profileId); + } + + @Test + void testCheckProfileExceptionCase() { + int profileId = 2; + + when(profileRepository.findById(profileId)).thenReturn(Uni.createFrom().nullItem()); + + userProfilesService.checkProfile(profileId) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailed() + .assertFailedWith(AtmLayerException.class, String.format("Non esiste un profilo con id %S", profileId)); + + verify(profileRepository).findById(profileId); + } + + @Test + void testCheckUser() { + String userId = "existingUserId"; + User user = new User(); + user.setUserId(userId); + + when(userRepository.findById(userId)).thenReturn(Uni.createFrom().item(user)); + + userProfilesService.checkUser(userId) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted(); + + verify(userRepository).findById(userId); + } + + @Test + void testCheckUserExceptionCase() { + String userId = "nonExistingUserId"; + + when(userRepository.findById(userId)).thenReturn(Uni.createFrom().nullItem()); + + userProfilesService.checkUser(userId) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailed() + .assertFailedWith(AtmLayerException.class, String.format("Non esiste un utente con id %S", userId)); + + verify(userRepository).findById(userId); + } + + @Test + void testInsertSingleUserProfileOK() { + UserProfilesPK pk = new UserProfilesPK("testUserId", 1); + UserProfiles userProfiles = new UserProfiles(); + userProfiles.setUserProfilesPK(pk); + + when(userProfilesRepository.findById(pk)).thenReturn(Uni.createFrom().nullItem()); + when(userProfilesRepository.persist(any(UserProfiles.class))).thenReturn(Uni.createFrom().item(userProfiles)); + when(profileRepository.findById(pk.getProfileId())).thenReturn(Uni.createFrom().item(new Profile())); + when(userRepository.findById(pk.getUserId())).thenReturn(Uni.createFrom().item(new User())); + + userProfilesService.insertSingleUserProfile(userProfiles) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(userProfiles); + + verify(userProfilesRepository, times(1)).findById(pk); + verify(userProfilesRepository, times(1)).persist(userProfiles); + verify(profileRepository, times(1)).findById(pk.getProfileId()); + verify(userRepository, times(1)).findById(pk.getUserId()); + } + + @Test + void testInsertSingleUserProfileAlreadyExists() { + UserProfilesPK pk = new UserProfilesPK("testUserId", 1); + UserProfiles existingUserProfiles = new UserProfiles(); + existingUserProfiles.setUserProfilesPK(pk); + + when(userProfilesRepository.findById(pk)).thenReturn(Uni.createFrom().item(existingUserProfiles)); + + UserProfiles newUserProfiles = new UserProfiles(); + newUserProfiles.setUserProfilesPK(pk); + + userProfilesService.insertSingleUserProfile(newUserProfiles) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailedWith(AtmLayerException.class); + + verify(userProfilesRepository, times(1)).findById(pk); + verify(userProfilesRepository, times(0)).persist(any(UserProfiles.class)); + verify(profileRepository, times(0)).findById(anyInt()); + verify(userRepository, times(0)).findById(anyString()); + } + +} From 74e2dd70501566901341f86ab9af6b5bbe8a4b6d Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Tue, 28 May 2024 16:09:28 +0200 Subject: [PATCH 17/36] added test for profile --- .../model/resource/ProfileResource.java | 2 +- .../model/mapper/ProfileMapperImplTest.java | 41 ++++ .../model/mapper/ProfileMapperTest.java | 20 ++ .../model/resource/ProfileResourceTest.java | 187 ++++++++++++++++++ .../service/impl/ProfileServiceImplTest.java | 154 +++++++++++++++ 5 files changed, 403 insertions(+), 1 deletion(-) create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperImplTest.java create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperTest.java create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResourceTest.java create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImplTest.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java index 1b9bd6a9..804657f0 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResource.java @@ -67,7 +67,7 @@ public Uni> getAll() { if (list.isEmpty()) { log.info("No Profiles saved in database"); } - return profileMapper.toDTOList(list); + return profileMapper.toDTOList(list); })); } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperImplTest.java new file mode 100644 index 00000000..947b32bf --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperImplTest.java @@ -0,0 +1,41 @@ +package it.gov.pagopa.atmlayer.service.model.mapper; + +import io.quarkus.test.junit.QuarkusTest; +import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import jakarta.inject.Inject; +import org.junit.jupiter.api.Test; +import java.sql.Timestamp; +import java.time.Instant; + +@QuarkusTest +public class ProfileMapperImplTest { + + @Inject + ProfileMapper mapper; + + @Test + void toEntityTest () { + ProfileCreationDto profileCreation = new ProfileCreationDto(); + mapper.toEntity(null); + + profileCreation.setProfileId(1); + profileCreation.setDescription("1"); + mapper.toEntity(profileCreation); + } + + @Test + void toDtoTest () { + Profile profile = new Profile(); + mapper.toDto(null); + + profile.setDescription("Test Description"); + profile.setProfileId(1); + + Instant fixedInstant = Instant.parse("2024-10-01T00:00:00Z"); + profile.setCreatedAt(Timestamp.from(fixedInstant)); + profile.setLastUpdatedAt(Timestamp.from(fixedInstant)); + + mapper.toDto(profile); + } +} diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperTest.java new file mode 100644 index 00000000..fc825b55 --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperTest.java @@ -0,0 +1,20 @@ +package it.gov.pagopa.atmlayer.service.model.mapper; + +import io.quarkus.test.junit.QuarkusTest; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import jakarta.inject.Inject; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.List; + +@QuarkusTest +public class ProfileMapperTest { + @Inject + ProfileMapper mapper; + @Test + void toDtoListTest () { + List profileList = new ArrayList<>(); + mapper.toDTOList(profileList); + } +} diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResourceTest.java new file mode 100644 index 00000000..62e4a521 --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResourceTest.java @@ -0,0 +1,187 @@ +package it.gov.pagopa.atmlayer.service.model.resource; + +import io.quarkus.test.InjectMock; +import io.quarkus.test.junit.QuarkusTest; +import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import it.gov.pagopa.atmlayer.service.model.mapper.ProfileMapper; +import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; +import it.gov.pagopa.atmlayer.service.model.service.ProfileService; +import jakarta.ws.rs.core.MediaType; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.List; + +import static io.restassured.RestAssured.given; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.*; + +@QuarkusTest +public class ProfileResourceTest { + + @InjectMock + ProfileService profileService; + + @InjectMock + ProfileMapper profileMapper; + + @Test + void testCreateProfile() { + ProfileCreationDto profileCreationDto = new ProfileCreationDto(); + profileCreationDto.setProfileId(1); + profileCreationDto.setDescription("1"); + + Profile profile = new Profile(); + profile.setProfileId(1); + profile.setDescription("1"); + + ProfileDTO profileDTO = new ProfileDTO(); + profileDTO.setProfileId(1); + profileDTO.setDescription("1"); + + when(profileService.createProfile(any(ProfileCreationDto.class))).thenReturn(Uni.createFrom().item(profile)); + when(profileMapper.toDto(any(Profile.class))).thenReturn(profileDTO); + + ProfileDTO result = given() + .contentType(MediaType.APPLICATION_JSON) + .body(profileCreationDto) + .when().post("/api/v1/model/profile") + .then() + .statusCode(200) + .extract().as(ProfileDTO.class); + + assertEquals(profileCreationDto.getProfileId(), result.getProfileId()); + assertEquals(profileCreationDto.getDescription(), result.getDescription()); + } + + @Test + void TestGetProfileById() { + Profile profile = new Profile(); + profile.setProfileId(1); + profile.setDescription("1"); + + ProfileDTO profileDTO = new ProfileDTO(); + profileDTO.setProfileId(1); + profileDTO.setDescription("1"); + + when(profileService.retrieveProfile(1)).thenReturn(Uni.createFrom().item(profile)); + when(profileMapper.toDto(any(Profile.class))).thenReturn(profileDTO); + + ProfileDTO result = given() + .pathParam("profileId", 1) + .when().get("/api/v1/model/profile/{profileId}") + .then() + .statusCode(200) + .extract().as(ProfileDTO.class); + + assertEquals(profileDTO.getProfileId(), result.getProfileId()); + assertEquals(profileDTO.getDescription(), result.getDescription()); + } + + @Test + void testUpdateProfile() { + ProfileCreationDto profileCreationDto = new ProfileCreationDto(); + profileCreationDto.setProfileId(1); + profileCreationDto.setDescription("2"); + + Profile profile = new Profile(); + profile.setProfileId(1); + profile.setDescription("2"); + + ProfileDTO profileDTO = new ProfileDTO(); + profileDTO.setProfileId(1); + profileDTO.setDescription("2"); + + when(profileService.updateProfile(any(ProfileCreationDto.class))).thenReturn(Uni.createFrom().item(profile)); + when(profileMapper.toDto(any(Profile.class))).thenReturn(profileDTO); + + ProfileDTO result = given() + .contentType(MediaType.APPLICATION_JSON) + .body(profileCreationDto) + .when().put("/api/v1/model/profile") + .then() + .statusCode(200) + .extract().as(ProfileDTO.class); + + assertEquals(profileCreationDto.getProfileId(), result.getProfileId()); + assertEquals(profileCreationDto.getDescription(), result.getDescription()); + } + + @Test + void TestDeleteProfileById() { + Profile profile = new Profile(); + profile.setProfileId(1); + profile.setDescription("1"); + + ProfileDTO profileDTO = new ProfileDTO(); + profileDTO.setProfileId(1); + profileDTO.setDescription("1"); + + when(profileService.deleteProfile(1)).thenReturn(Uni.createFrom().voidItem()); + + given() + .pathParam("profileId", 1) + .when().delete("/api/v1/model/profile/{profileId}") + .then() + .statusCode(204); + } + + @Test + void TestGetAllProfiles() { + Profile profile = new Profile(); + profile.setProfileId(1); + profile.setDescription("2"); + + ProfileDTO profileDTO = new ProfileDTO(); + profileDTO.setProfileId(1); + profileDTO.setDescription("2"); + + List profilesList = new ArrayList<>(); + profilesList.add(profile); + + List profilesDtoList = new ArrayList<>(); + profilesDtoList.add(profileDTO); + + + when(profileService.getAll()).thenReturn(Uni.createFrom().item(profilesList)); + when(profileMapper.toDTOList(any(ArrayList.class))).thenReturn(profilesDtoList); + + ArrayList result = + given(). + when().get("/api/v1/model/profile") + .then() + .statusCode(200) + .extract() + .body() + .as(ArrayList.class); + + assertEquals(1, result.size()); + verify(profileService, times(1)).getAll(); + verify(profileMapper, times(1)).toDTOList(profilesList); + } + + @Test + void TestGetAllProfilesListEmpty() { + List profilesList = new ArrayList<>(); + List profilesDtoList = new ArrayList<>(); + + when(profileService.getAll()).thenReturn(Uni.createFrom().item(profilesList)); + when(profileMapper.toDTOList(any(ArrayList.class))).thenReturn(profilesDtoList); + + ArrayList result = + given(). + when().get("/api/v1/model/profile") + .then() + .statusCode(200) + .extract() + .body() + .as(ArrayList.class); + + assertEquals(0, result.size()); + verify(profileService, times(1)).getAll(); + verify(profileMapper, times(1)).toDTOList(profilesList); + } +} diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImplTest.java new file mode 100644 index 00000000..a2bb6cac --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImplTest.java @@ -0,0 +1,154 @@ +package it.gov.pagopa.atmlayer.service.model.service.impl; + +import io.quarkus.hibernate.reactive.panache.PanacheQuery; +import io.quarkus.test.junit.QuarkusTest; +import io.smallrye.mutiny.Uni; +import io.smallrye.mutiny.helpers.test.UniAssertSubscriber; +import it.gov.pagopa.atmlayer.service.model.dto.ProfileCreationDto; +import it.gov.pagopa.atmlayer.service.model.entity.Profile; +import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.mapper.ProfileMapperImpl; +import it.gov.pagopa.atmlayer.service.model.repository.ProfileRepository; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.MockitoAnnotations; +import java.util.Arrays; +import java.util.List; + +import static org.mockito.Mockito.*; + +@QuarkusTest +public class ProfileServiceImplTest { + @Mock + ProfileRepository profileRepository; + @Mock + ProfileMapperImpl profileMapper; + @InjectMocks + ProfileServiceImpl service; + + ProfileCreationDto profileCreationDto = new ProfileCreationDto(); + Profile profile = new Profile(); + + @BeforeEach + void setup() { + MockitoAnnotations.openMocks(this); + profileCreationDto.setProfileId(1); + profileCreationDto.setDescription("1"); + profile.setProfileId(1); + profile.setDescription("1"); + } + + @Test + void createProfileTestOK() { + when(profileMapper.toEntity(any(ProfileCreationDto.class))).thenReturn(profile); + when(profileRepository.persist(profile)).thenReturn(Uni.createFrom().item(profile)); + + service.createProfile(profileCreationDto) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(profile); + + verify(profileMapper).toEntity(profileCreationDto); + verify(profileRepository).persist(profile); + } + + @Test + void createProfileTestKO() { + when(profileMapper.toEntity(any(ProfileCreationDto.class))).thenReturn(profile); + when(profileRepository.findById(1)).thenReturn(Uni.createFrom().item(profile)); + + service.createProfile(profileCreationDto) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailedWith(AtmLayerException.class,"Esiste già un profilo con id 1"); + + verify(profileMapper).toEntity(profileCreationDto); + verify(profileRepository).findById(1); + } + + @Test + void retriveProfileTestOK() { + when(profileRepository.findById(1)).thenReturn(Uni.createFrom().item(profile)); + + service.retrieveProfile(1) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(profile); + } + + @Test + void retriveProfileTestKO() { + when(profileRepository.findById(1)).thenReturn(Uni.createFrom().nullItem()); + + service.retrieveProfile(1) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailedWith(AtmLayerException.class,"Non esiste un profilo con id 1"); + } + + @Test + void updateProfileTestOK() { + when(profileRepository.findById(1)).thenReturn(Uni.createFrom().item(profile)); + profile.setDescription("1.1"); + when(profileRepository.persist(profile)).thenReturn(Uni.createFrom().item(profile)); + + service.updateProfile(profileCreationDto) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(profile); + + verify(profileRepository).findById(1); + verify(profileRepository).persist(profile); + } + + @Test + void updateProfileTestKO() { + when(profileRepository.findById(1)).thenReturn(Uni.createFrom().nullItem()); + profile.setDescription("1.1"); + when(profileRepository.persist(profile)).thenReturn(Uni.createFrom().item(profile)); + + service.updateProfile(profileCreationDto) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailedWith(AtmLayerException.class,"Non esiste un profilo con id 1"); + } + + @Test + void deleteProfileOK() { + when(profileRepository.findById(1)).thenReturn(Uni.createFrom().item(profile)); + when(profileRepository.delete(profile)).thenReturn(Uni.createFrom().voidItem()); + + service.deleteProfile(1) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted(); + + verify(profileRepository).findById(1); + verify(profileRepository).delete(profile); + } + + @Test + void deleteProfileKO() { + when(profileRepository.findById(1)).thenReturn(Uni.createFrom().nullItem()); + when(profileRepository.delete(profile)).thenReturn(Uni.createFrom().voidItem()); + + service.deleteProfile(1) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailedWith(AtmLayerException.class,"Non esiste un profilo con id 1"); + } + + @Test + void getAllTestOK() { + List listProfile = Arrays.asList(profile, new Profile()); + PanacheQuery query = mock(PanacheQuery.class); + + when(profileRepository.findAll()).thenReturn(query); + when(query.list()).thenReturn(Uni.createFrom().item(listProfile)); + + service.getAll() + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(listProfile); + + verify(profileRepository).findAll(); + verify(query).list(); + } +} From 2af7e5ca9e710c2c4ba960b5889bdb54babe2bc4 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Wed, 29 May 2024 12:44:57 +0200 Subject: [PATCH 18/36] name and surname added in User --- .../service/model/dto/UserInsertionDTO.java | 24 +++++++++++++ .../service/model/dto/UserProfileAllDto.java | 22 ------------ .../model/dto/UserWithProfilesDTO.java | 5 +-- .../atmlayer/service/model/entity/User.java | 14 +++++--- .../model/enumeration/UserProfileEnum.java | 28 --------------- .../service/model/mapper/UserMapper.java | 9 +++-- .../service/model/resource/UserResource.java | 12 ++++--- .../service/model/service/UserService.java | 3 +- .../model/service/impl/UserServiceImpl.java | 10 ++++-- .../validators/UserProfileValidator.java | 20 ----------- .../enumeration/UserProfileEnumTest.java | 24 ------------- .../model/resource/UserResourceTest.java | 4 +-- .../service/impl/UserServiceImplTest.java | 8 ++--- .../validators/UserProfileValidatorTest.java | 34 ------------------- 14 files changed, 67 insertions(+), 150 deletions(-) create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileAllDto.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/UserProfileEnum.java delete mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/validators/UserProfileValidator.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/enumeration/UserProfileEnumTest.java delete mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/validators/UserProfileValidatorTest.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java new file mode 100644 index 00000000..e02b78c3 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java @@ -0,0 +1,24 @@ +package it.gov.pagopa.atmlayer.service.model.dto; + +import jakarta.validation.constraints.Email; +import jakarta.validation.constraints.NotBlank; +import lombok.*; +import org.eclipse.microprofile.openapi.annotations.media.Schema; + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@Builder +@ToString +@EqualsAndHashCode +public class UserInsertionDTO { + @NotBlank + @Email(message = "must be an email address in the correct format") + @Schema(required = true, example = "email@domain.com") + private String userId; + @NotBlank + private String name; + @NotBlank + private String surname; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileAllDto.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileAllDto.java deleted file mode 100644 index 2662445f..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserProfileAllDto.java +++ /dev/null @@ -1,22 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.dto; - -import com.fasterxml.jackson.annotation.JsonInclude; -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import lombok.Data; -import lombok.NoArgsConstructor; -import org.eclipse.microprofile.openapi.annotations.media.Schema; - -import java.sql.Timestamp; - -@NoArgsConstructor -@Data -@JsonInclude(JsonInclude.Include.NON_NULL) -public class UserProfileAllDto { - @Schema(example = "email@domain.com") - private String userId; - private UserProfileEnum profile; - @Schema(example = "2024-02-07T11:38:58.445+00:00") - private Timestamp createdAt; - @Schema(example = "2024-02-07T11:38:58.445+00:00") - private Timestamp lastUpdatedAt; -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserWithProfilesDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserWithProfilesDTO.java index a2370a81..2e6e6f72 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserWithProfilesDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserWithProfilesDTO.java @@ -13,10 +13,11 @@ @Builder @ToString @EqualsAndHashCode - public class UserWithProfilesDTO { private String userId; + private String name; + private String surname; + private List profiles; private Timestamp createdAt; private Timestamp lastUpdatedAt; - private List profiles; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java index 1aa17c27..6ae537c8 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java @@ -26,6 +26,16 @@ public class User extends PanacheEntityBase implements Serializable { @Column(name = "user_id") private String userId; + @Column(name = "name") + private String name; + + @Column(name = "surname") + private String surname; + + @JsonIgnore + @OneToMany(mappedBy = "user", orphanRemoval = true, fetch = FetchType.EAGER) + private List userProfiles; + @CreationTimestamp @Column(name = "created_at") private Timestamp createdAt; @@ -33,8 +43,4 @@ public class User extends PanacheEntityBase implements Serializable { @UpdateTimestamp @Column(name = "last_updated_at") private Timestamp lastUpdatedAt; - - @JsonIgnore - @OneToMany(mappedBy = "user", orphanRemoval = true, fetch = FetchType.EAGER) - private List userProfiles; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/UserProfileEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/UserProfileEnum.java deleted file mode 100644 index 239e962e..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/UserProfileEnum.java +++ /dev/null @@ -1,28 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.enumeration; - -import lombok.AllArgsConstructor; -import lombok.Getter; - -import java.util.HashMap; -import java.util.Map; - -@AllArgsConstructor -@Getter -public enum UserProfileEnum { - GUEST(1), - OPERATOR(2), - ADMIN(3); - - private final int value; - private static final Map map = new HashMap<>(); - - static { - for (UserProfileEnum profileEnum : UserProfileEnum.values()) { - map.put(profileEnum.value, profileEnum); - } - } - - public static UserProfileEnum valueOf(int profile) { - return map.get(profile); - } -} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java index 8580537d..d868d2a1 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java @@ -1,5 +1,6 @@ package it.gov.pagopa.atmlayer.service.model.mapper; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; @@ -18,9 +19,11 @@ public abstract class UserMapper { @Inject ProfileMapper profileMapper; - public User toEntityInsertion(String userId) { + public User toEntityInsertion(UserInsertionDTO userInsertionDTO) { User user = new User(); - user.setUserId(userId); + user.setUserId(userInsertionDTO.getUserId()); + user.setName(userInsertionDTO.getName()); + user.setSurname(userInsertionDTO.getSurname()); return user; } @@ -36,6 +39,8 @@ public UserWithProfilesDTO toProfilesDTO(User user) { UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); userWithProfilesDTO.setUserId(user.getUserId()); + userWithProfilesDTO.setName(user.getName()); + userWithProfilesDTO.setSurname(user.getSurname()); userWithProfilesDTO.setCreatedAt(user.getCreatedAt()); userWithProfilesDTO.setLastUpdatedAt(user.getLastUpdatedAt()); userWithProfilesDTO.setProfiles(toProfileDTOList(user.getUserProfiles())); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index 02794a78..0aef6723 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -2,15 +2,17 @@ import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.unchecked.Unchecked; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; -import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; +import jakarta.validation.Valid; import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; import lombok.extern.slf4j.Slf4j; +import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; import org.eclipse.microprofile.openapi.annotations.tags.Tag; import java.util.List; @@ -28,11 +30,11 @@ public class UserResource { UserService userService; @POST - @Path("/insert/userId/{userId}") + @Path("/insert") + @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) - public Uni insert(@PathParam("userId") String userId) { - User user = userMapper.toEntityInsertion(userId); - return this.userService.insertUser(user) + public Uni insert(@RequestBody(required = true) @Valid UserInsertionDTO userInsertionDTO) { + return this.userService.insertUser(userInsertionDTO) .onItem() .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toProfilesDTO(insertedUser))); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java index 4bb29db4..a86d6961 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java @@ -1,13 +1,14 @@ package it.gov.pagopa.atmlayer.service.model.service; import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import java.util.List; public interface UserService { - Uni insertUser(User user); + public Uni insertUser(UserInsertionDTO userInsertionDTO); Uni deleteUser(String userId); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java index dd396adc..09668683 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java @@ -4,9 +4,11 @@ import io.quarkus.hibernate.reactive.panache.common.WithTransaction; import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.unchecked.Unchecked; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; @@ -23,11 +25,15 @@ public class UserServiceImpl implements UserService { @Inject UserRepository userRepository; + @Inject + UserMapper userMapper; + @Override @WithTransaction - public Uni insertUser(User user) { - String userId = user.getUserId(); + public Uni insertUser(UserInsertionDTO userInsertionDTO) { + String userId = userInsertionDTO.getUserId(); log.info("Inserting user with userId : {}", userId); + User user = userMapper.toEntityInsertion(userInsertionDTO); return this.userRepository.findById(user.getUserId()) .onItem() .transformToUni(Unchecked.function(x -> { diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/validators/UserProfileValidator.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/validators/UserProfileValidator.java deleted file mode 100644 index e089be43..00000000 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/validators/UserProfileValidator.java +++ /dev/null @@ -1,20 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.validators; - -import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.ws.rs.core.Response; - -@ApplicationScoped -public class UserProfileValidator { - - public Uni validateExistenceProfileType (int profile){ - if(UserProfileEnum.valueOf(profile) == null){ - String errorMessage = String.format("Il profilo con valore %s non esiste", profile); - throw new AtmLayerException(errorMessage, Response.Status.BAD_REQUEST, AppErrorCodeEnum.NO_USER_PROFILE_FOUND_FOR_PROFILE); - } - return Uni.createFrom().nullItem(); - } -} diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/enumeration/UserProfileEnumTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/enumeration/UserProfileEnumTest.java deleted file mode 100644 index 94eabbdc..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/enumeration/UserProfileEnumTest.java +++ /dev/null @@ -1,24 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.enumeration; - -import io.quarkus.test.junit.QuarkusTest; -import org.junit.jupiter.api.Test; - -import static org.junit.jupiter.api.Assertions.*; - -@QuarkusTest -class UserProfileEnumTest { - - @Test - void testGetValue() { - assertEquals(1, UserProfileEnum.GUEST.getValue()); - assertEquals(2, UserProfileEnum.OPERATOR.getValue()); - assertEquals(3, UserProfileEnum.ADMIN.getValue()); - } - - @Test - void testValueOf() { - assertEquals(UserProfileEnum.valueOf(1), UserProfileEnum.GUEST); - assertEquals(UserProfileEnum.valueOf(2), UserProfileEnum.OPERATOR); - assertEquals(UserProfileEnum.valueOf(3), UserProfileEnum.ADMIN); - } -} \ No newline at end of file diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index 60e6ed83..a6c347b6 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -26,7 +26,7 @@ class UserResourceTest { @InjectMock UserService userService; - @Test + /*@Test void testInsert() { String userId = "testUserId"; User user = new User(); @@ -45,7 +45,7 @@ void testInsert() { .extract().as(UserWithProfilesDTO.class); assertEquals(userDTO, result); - } + }*/ @Test void testDelete() { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index 3099dff3..0bc779da 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -33,7 +33,7 @@ void setup() { MockitoAnnotations.openMocks(this); } - @Test + /* @Test void testInsertUserOK() { String userId = "testUserId"; User user = new User(); @@ -49,9 +49,9 @@ void testInsertUserOK() { verify(userRepository, times(1)).findById(userId); verify(userRepository, times(1)).persist(user); - } + }*/ - @Test + /*@Test void testInsertUserExceptionCase() { String userId = "testUserId"; User user = new User(); @@ -65,7 +65,7 @@ void testInsertUserExceptionCase() { .assertFailedWith(AtmLayerException.class, "Un utente con lo stesso id esiste già"); verify(userRepository, never()).persist(any(User.class)); - } + }*/ @Test void testFindById() { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/validators/UserProfileValidatorTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/validators/UserProfileValidatorTest.java deleted file mode 100644 index b0abf1d3..00000000 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/validators/UserProfileValidatorTest.java +++ /dev/null @@ -1,34 +0,0 @@ -package it.gov.pagopa.atmlayer.service.model.validators; - -import io.quarkus.test.junit.QuarkusTest; -import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.enumeration.UserProfileEnum; -import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.mockito.InjectMocks; -import org.mockito.MockitoAnnotations; - -import static org.junit.jupiter.api.Assertions.*; - -@QuarkusTest -class UserProfileValidatorTest { - @InjectMocks - private UserProfileValidator validator; - - @BeforeEach - void init() { - MockitoAnnotations.openMocks(this); - } - - @Test - void testValidateExistenceProfileType() { - Uni resultGuest = validator.validateExistenceProfileType(UserProfileEnum.GUEST.getValue()); - assertDoesNotThrow(() -> resultGuest.await().indefinitely()); - Uni resultOperator = validator.validateExistenceProfileType(UserProfileEnum.OPERATOR.getValue()); - assertDoesNotThrow(() -> resultOperator.await().indefinitely()); - Uni resultAdmin = validator.validateExistenceProfileType(UserProfileEnum.OPERATOR.getValue()); - assertDoesNotThrow(() -> resultAdmin.await().indefinitely()); - Throwable exception = assertThrowsExactly(AtmLayerException.class, () -> validator.validateExistenceProfileType(4)); - } -} \ No newline at end of file From 18fdfbd730d2556a2b0a30a53adf8d429e1ff1d1 Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Wed, 29 May 2024 17:17:11 +0200 Subject: [PATCH 19/36] updated test of UserResourceTest and UserServiceImplTest and added UserMapperTest --- .../service/model/mapper/UserMapperTest.java | 61 +++++++++++++++++++ .../model/resource/UserResourceTest.java | 39 +++++++++--- .../service/impl/UserServiceImplTest.java | 44 +++++++++---- 3 files changed, 124 insertions(+), 20 deletions(-) create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java new file mode 100644 index 00000000..c38d1533 --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java @@ -0,0 +1,61 @@ +package it.gov.pagopa.atmlayer.service.model.mapper; + +import io.quarkus.test.junit.QuarkusTest; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import jakarta.inject.Inject; +import org.junit.jupiter.api.Test; + +import java.sql.Timestamp; +import java.time.Instant; +import java.util.ArrayList; +import java.util.List; + +@QuarkusTest +public class UserMapperTest { + @Inject + UserMapper mapper; + + @Test + void toEntityInsertionTest() { + UserInsertionDTO userInsertionDTO = new UserInsertionDTO(); + userInsertionDTO.setUserId("prova@test.com"); + userInsertionDTO.setName("prova"); + userInsertionDTO.setSurname("test"); + + mapper.toEntityInsertion(userInsertionDTO); + } + + @Test + void toProfilesDTOTestNotNullWithListNotNull() { + User user = new User(); + List list = new ArrayList<>(); + + Instant fixedInstant = Instant.parse("2024-10-01T00:00:00Z"); + user.setUserId("prova@test.com"); + user.setName("prova"); + user.setSurname("test"); + user.setUserProfiles(list); + user.setCreatedAt(Timestamp.from(fixedInstant)); + user.setLastUpdatedAt(Timestamp.from(fixedInstant)); + + mapper.toProfilesDTO(user); + } + + @Test + void toProfilesDTOTestNullWithListNull() { + User user = new User(); + mapper.toProfilesDTO(null); + + Instant fixedInstant = Instant.parse("2024-10-01T00:00:00Z"); + user.setUserId("prova@test.com"); + user.setName("prova"); + user.setSurname("test"); + user.setUserProfiles(null); + user.setCreatedAt(Timestamp.from(fixedInstant)); + user.setLastUpdatedAt(Timestamp.from(fixedInstant)); + + mapper.toProfilesDTO(user); + } +} diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index a6c347b6..0c0a0b4e 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -3,6 +3,7 @@ import io.quarkus.test.InjectMock; import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; @@ -26,26 +27,29 @@ class UserResourceTest { @InjectMock UserService userService; - /*@Test + @Test void testInsert() { - String userId = "testUserId"; User user = new User(); UserWithProfilesDTO userDTO = new UserWithProfilesDTO(); + UserInsertionDTO userInsertionDTO = new UserInsertionDTO(); + userInsertionDTO.setUserId("prova@test.com"); + userInsertionDTO.setName("prova"); + userInsertionDTO.setSurname("test"); - when(userMapper.toEntityInsertion(userId)).thenReturn(user); - when(userService.insertUser(user)).thenReturn(Uni.createFrom().item(user)); + when(userMapper.toEntityInsertion(userInsertionDTO)).thenReturn(user); + when(userService.insertUser(userInsertionDTO)).thenReturn(Uni.createFrom().item(user)); when(userMapper.toProfilesDTO(user)).thenReturn(userDTO); UserWithProfilesDTO result = given() .contentType(MediaType.APPLICATION_JSON) - .pathParam("userId", userId) - .when().post("api/v1/model/user/insert/userId/{userId}") + .body(userInsertionDTO) + .when().post("api/v1/model/user/insert") .then() .statusCode(200) .extract().as(UserWithProfilesDTO.class); assertEquals(userDTO, result); - }*/ + } @Test void testDelete() { @@ -87,6 +91,27 @@ void testGetAll() { verify(userMapper, times(1)).toDTOList(users); } + @Test + void testGetAllEmpty() { + List users = new ArrayList<>(); + List dtoList = new ArrayList<>(); + + when(userService.getAllUsers()).thenReturn(Uni.createFrom().item(users)); + when(userMapper.toDTOList(any(List.class))).thenReturn(dtoList); + + ArrayList result = given() + .when().get("/api/v1/model/user") + .then() + .statusCode(200) + .extract() + .body() + .as(ArrayList.class); + + assertEquals(0, result.size()); + verify(userService, times(1)).getAllUsers(); + verify(userMapper, times(1)).toDTOList(users); + } + @Test void testGetByIdWithProfiles() { String userId = "testUserId"; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index 0bc779da..544d0610 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -4,8 +4,10 @@ import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.helpers.test.UniAssertSubscriber; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -25,6 +27,9 @@ class UserServiceImplTest { @Mock UserRepository userRepository; + @Mock + UserMapper userMapper; + @InjectMocks UserServiceImpl userService; @@ -33,39 +38,52 @@ void setup() { MockitoAnnotations.openMocks(this); } - /* @Test + @Test void testInsertUserOK() { - String userId = "testUserId"; User user = new User(); - user.setUserId(userId); - - when(userRepository.findById(userId)).thenReturn(Uni.createFrom().nullItem()); + user.setUserId("prova@test.com"); + String userId = user.getUserId(); + UserInsertionDTO userInsertionDTO = new UserInsertionDTO(); + userInsertionDTO.setUserId("prova@test.com"); + userInsertionDTO.setName("prova"); + userInsertionDTO.setSurname("test"); + + when(userMapper.toEntityInsertion(any(UserInsertionDTO.class))).thenReturn(user); + when(userRepository.findById(user.getUserId())).thenReturn(Uni.createFrom().nullItem()); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); - userService.insertUser(user) + userService.insertUser(userInsertionDTO) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(user); verify(userRepository, times(1)).findById(userId); verify(userRepository, times(1)).persist(user); - }*/ + } - /*@Test + @Test void testInsertUserExceptionCase() { - String userId = "testUserId"; + + UserInsertionDTO userInsertionDTO = new UserInsertionDTO(); + userInsertionDTO.setUserId("prova@test.com"); + userInsertionDTO.setName("prova"); + userInsertionDTO.setSurname("test"); User user = new User(); - user.setUserId(userId); + user.setUserId(userInsertionDTO.getUserId()); + user.setName(userInsertionDTO.getName()); + user.setSurname(userInsertionDTO.getSurname()); - when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(new User())); + when(userMapper.toEntityInsertion(any(UserInsertionDTO.class))).thenReturn(user); + when(userRepository.findById("prova@test.com")).thenReturn(Uni.createFrom().item(user)); + when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); - userService.insertUser(user) + userService.insertUser(userInsertionDTO) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertFailed() .assertFailedWith(AtmLayerException.class, "Un utente con lo stesso id esiste già"); verify(userRepository, never()).persist(any(User.class)); - }*/ + } @Test void testFindById() { From b42d30f2c61b6cf54bf9cb16a5ffa64cc3e5b13c Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Fri, 31 May 2024 17:45:39 +0200 Subject: [PATCH 20/36] updated UserProfiles update --- .../service/model/entity/UserProfiles.java | 5 +- .../model/mapper/UserProfilesMapper.java | 6 +++ .../repository/UserProfilesRepository.java | 23 +++++++++ .../model/resource/UserProfilesResource.java | 19 ++++--- .../model/service/UserProfilesService.java | 5 +- .../service/impl/UserProfilesServiceImpl.java | 49 +++++++++++++++++-- .../model/mapper/UserProfilesMapperTest.java | 24 +++++++++ 7 files changed, 115 insertions(+), 16 deletions(-) create mode 100644 src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java index df459aa6..56146c12 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java @@ -2,10 +2,7 @@ import io.quarkus.hibernate.reactive.panache.PanacheEntityBase; import jakarta.persistence.*; -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; +import lombok.*; import org.hibernate.annotations.CreationTimestamp; import org.hibernate.annotations.UpdateTimestamp; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java index 1da80c18..ce4f4110 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapper.java @@ -4,8 +4,10 @@ import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; +import org.mapstruct.IterableMapping; import org.mapstruct.Mapper; import org.mapstruct.Mapping; +import org.mapstruct.Named; import java.util.ArrayList; import java.util.List; @@ -15,6 +17,7 @@ public abstract class UserProfilesMapper { @Mapping(source = "userProfilesPK.userId", target = "userId") @Mapping(source = "userProfilesPK.profileId", target = "profileId") + @Named("toDto") public abstract UserProfilesDTO toDTO(UserProfiles userProfiles); public List toEntityInsertion(UserProfilesInsertionDTO userProfilesInsertionDTO) { @@ -27,4 +30,7 @@ public List toEntityInsertion(UserProfilesInsertionDTO userProfile } return userProfilesList; } + + @IterableMapping(qualifiedByName = "toDto") + public abstract List toDtoList (List userProfilesList); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java index 3d8f1129..7e28a044 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserProfilesRepository.java @@ -1,11 +1,34 @@ package it.gov.pagopa.atmlayer.service.model.repository; import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase; +import io.quarkus.panache.common.Parameters; +import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import jakarta.enterprise.context.ApplicationScoped; +import java.util.List; + @ApplicationScoped public class UserProfilesRepository implements PanacheRepositoryBase { + /*public Uni deleteByUserId(String userId) { + return delete( + "delete from UserProfiles b where b.userProfilesPK.userId = :userId", + Parameters.with("userId", userId)); + }*/ + + public Uni deleteUserProfiles(List pKList) { + return delete("delete from UserProfiles b where b.userProfilesPK in :pKList", + Parameters.with("pKList", pKList)); + } + + public Uni> findByUserId (String userId) { + return find("select a from UserProfiles a where a.userProfilesPK.userId = :userId", + Parameters.with("userId", userId)).list(); + } + /*public Uni> findByIds (List userProfilePkList) { + return find("select c from UserProfiles c where c.userProfilesPK in :userProfilePkList", + Parameters.with("userProfilePkList",userProfilePkList)).list(); + }*/ } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java index 71c7c739..31e67fe7 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java @@ -3,7 +3,6 @@ import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; @@ -35,12 +34,19 @@ public class UserProfilesResource { @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Uni> insert(@RequestBody(required = true) @Valid UserProfilesInsertionDTO userProfilesInsertionDTO) { - List userProfilesList = userProfilesMapper.toEntityInsertion(userProfilesInsertionDTO); - return this.userProfilesService.insertUserProfiles(userProfilesList) + return this.userProfilesService.insertUserProfiles(userProfilesInsertionDTO) .onItem() - .transform(insertedUserProfiles -> insertedUserProfiles.stream() - .map(userProfilesMapper::toDTO) - .toList()); + .transform(insertedUserProfiles -> userProfilesMapper.toDtoList(insertedUserProfiles)); + } + + @PUT + @Path("/update") + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Uni> update(@RequestBody(required = true) @Valid UserProfilesInsertionDTO userProfilesInsertionDTO) { + return this.userProfilesService.updateUserProfiles(userProfilesInsertionDTO) + .onItem() + .transform(updatedUserProfiles -> userProfilesMapper.toDtoList(updatedUserProfiles)); } @GET @@ -64,5 +70,4 @@ public Uni deleteUserProfiles( } - } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java index d0415d4e..bb2ef9df 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java @@ -1,6 +1,7 @@ package it.gov.pagopa.atmlayer.service.model.service; import io.smallrye.mutiny.Uni; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; @@ -8,9 +9,11 @@ public interface UserProfilesService { - Uni> insertUserProfiles(List userProfilesList); + Uni> insertUserProfiles(UserProfilesInsertionDTO userProfilesInsertionDTO); Uni findById(String userId, int profileId); Uni deleteUserProfiles(UserProfilesPK userProfilesIDs); + + Uni> updateUserProfiles(UserProfilesInsertionDTO userProfilesInsertionDTO); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java index 5c6cc5bc..97e12c3c 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -4,10 +4,12 @@ import io.quarkus.hibernate.reactive.panache.common.WithTransaction; import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.unchecked.Unchecked; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; import it.gov.pagopa.atmlayer.service.model.repository.ProfileRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; @@ -29,6 +31,9 @@ public class UserProfilesServiceImpl implements UserProfilesService { @Inject ProfileRepository profileRepository; + @Inject + UserProfilesMapper userProfilesMapper; + @Inject UserRepository userRepository; @@ -44,6 +49,17 @@ public Uni checkProfile(int profileId) { })); } + @WithSession + public Uni> checkProfileList(List listInt) { + List> checks = listInt.stream() + .map(this::checkProfile) + .toList(); + + return Uni.join().all(checks) + .usingConcurrencyOf(1) + .andFailFast(); + } + @WithSession public Uni checkUser(String userId) { return this.userRepository.findById(userId) @@ -57,16 +73,15 @@ public Uni checkUser(String userId) { } @Override - public Uni> insertUserProfiles(List userProfilesList) { + public Uni> insertUserProfiles(UserProfilesInsertionDTO userProfilesInsertionDTO) { + List userProfilesList = userProfilesMapper.toEntityInsertion(userProfilesInsertionDTO); List> insertUnis = userProfilesList.stream() .map(this::insertSingleUserProfile) .toList(); return Uni.join().all(insertUnis) .usingConcurrencyOf(1) - .andCollectFailures() - .onItem() - .transform(list -> list); + .andFailFast(); } @WithTransaction @@ -109,4 +124,30 @@ public Uni deleteUserProfiles(UserProfilesPK userProfilesIDs) { return userProfilesRepository.delete(existingUserProfile); }); } + + @WithTransaction + public Uni> updateUserProfiles(UserProfilesInsertionDTO userProfilesInsertionDTO) { + List userProfilesToUpdate = userProfilesMapper.toEntityInsertion(userProfilesInsertionDTO); + + return this.checkUser(userProfilesInsertionDTO.getUserId()) + .onItem() + .transformToUni(checkedUser -> checkProfileList(userProfilesInsertionDTO.getProfileIds()) + .onItem() + .transformToUni(checkedProfiles -> this.userProfilesRepository.findByUserId(userProfilesInsertionDTO.getUserId()) + .onItem() + .transformToUni(userProfilesSaved -> { + List userProfilesSavedIds = userProfilesSaved.stream().map(x -> x.getUserProfilesPK().getProfileId()).toList(); + List userProfilesToUpdateIds = userProfilesToUpdate.stream().map(y -> y.getUserProfilesPK().getProfileId()).toList(); + List userProfilesToDelete = userProfilesSaved.stream().filter(w -> !userProfilesToUpdateIds.contains(w.getUserProfilesPK().getProfileId())).toList(); + List userProfilesToAdd = userProfilesToUpdate.stream().filter(j -> !userProfilesSavedIds.contains(j.getUserProfilesPK().getProfileId())).toList(); + return userProfilesRepository.deleteUserProfiles(userProfilesToDelete.stream().map(UserProfiles::getUserProfilesPK).toList()) + .onItem() + .transformToUni(deletedRows -> userProfilesRepository.persist(userProfilesToAdd)) + .onItem() + .transformToUni(persistedRows -> userProfilesRepository.findByUserId(userProfilesInsertionDTO.getUserId())); + }) + ) + ); + + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java new file mode 100644 index 00000000..a58adb4c --- /dev/null +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java @@ -0,0 +1,24 @@ +package it.gov.pagopa.atmlayer.service.model.mapper; + +import io.quarkus.test.junit.QuarkusTest; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; +import jakarta.inject.Inject; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.List; + +@QuarkusTest +public class UserProfilesMapperTest { + @Inject + UserProfilesMapper mapper; + + @Test + void toEntityInsertionTest() { + UserProfilesInsertionDTO userProfilesInsertionDTO = new UserProfilesInsertionDTO(); + List idsList = new ArrayList<>(); + idsList.add(1); + userProfilesInsertionDTO.setProfileIds(idsList); + mapper.toEntityInsertion(userProfilesInsertionDTO); + } +} From 689b50db21e4fd05479ca1704c6a5f79b8b1c7bc Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Mon, 3 Jun 2024 16:40:34 +0200 Subject: [PATCH 21/36] fixed insert test of UserProfiles --- .../resource/UserProfilesResourceTest.java | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java index 1157c5d3..af083026 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java @@ -13,13 +13,13 @@ import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; import org.junit.jupiter.api.Test; +import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import static io.restassured.RestAssured.given; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.any; -import static org.mockito.ArgumentMatchers.anyList; import static org.mockito.Mockito.*; @QuarkusTest @@ -33,12 +33,24 @@ class UserProfilesResourceTest { @Test void testInsert() { - List userProfilesList = new ArrayList<>(); UserProfiles userProfiles = new UserProfiles(); + userProfiles.setUserProfilesPK(new UserProfilesPK("1", 1)); + userProfiles.setCreatedAt(new Timestamp(System.currentTimeMillis())); + userProfiles.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); + + List userProfilesList = new ArrayList<>(); userProfilesList.add(userProfiles); - UserProfilesDTO userProfilesDTO = new UserProfilesDTO(); + + UserProfilesDTO userProfilesDTO = UserProfilesDTO.builder() + .userId("1") + .profileId(1) + .createdAt(new Timestamp(System.currentTimeMillis())) + .lastUpdatedAt(new Timestamp(System.currentTimeMillis())) + .build(); + List userProfilesDTOList = new ArrayList<>(); userProfilesDTOList.add(userProfilesDTO); + String myJson = """ { "userId": "1", @@ -46,9 +58,10 @@ void testInsert() { } """; - when(userProfilesMapper.toEntityInsertion(any(UserProfilesInsertionDTO.class))).thenReturn(userProfilesList); - when(userProfilesService.insertUserProfiles(anyList())).thenReturn(Uni.createFrom().item(userProfilesList)); - when(userProfilesMapper.toDTO(any(UserProfiles.class))).thenReturn(userProfilesDTO); + when(userProfilesService.insertUserProfiles(any(UserProfilesInsertionDTO.class))) + .thenReturn(Uni.createFrom().item(userProfilesList)); + when(userProfilesMapper.toDtoList(userProfilesList)) + .thenReturn(userProfilesDTOList); List result = given() .contentType(ContentType.JSON) From 613590f11849dc7810b233a67dfb2d83353817eb Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Mon, 3 Jun 2024 17:08:57 +0200 Subject: [PATCH 22/36] adding mapper tests --- .../model/mapper/UserProfilesMapperTest.java | 110 +++++++++++++++++- 1 file changed, 108 insertions(+), 2 deletions(-) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java index a58adb4c..ec45eeca 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java @@ -1,24 +1,130 @@ package it.gov.pagopa.atmlayer.service.model.mapper; import io.quarkus.test.junit.QuarkusTest; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import jakarta.inject.Inject; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.mapstruct.factory.Mappers; +import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; +import static org.junit.jupiter.api.Assertions.assertEquals; + @QuarkusTest -public class UserProfilesMapperTest { +class UserProfilesMapperTest { @Inject UserProfilesMapper mapper; + @BeforeEach + void setUp() { + mapper = Mappers.getMapper(UserProfilesMapper.class); + } + @Test - void toEntityInsertionTest() { + void testToEntityInsertion() { UserProfilesInsertionDTO userProfilesInsertionDTO = new UserProfilesInsertionDTO(); List idsList = new ArrayList<>(); idsList.add(1); userProfilesInsertionDTO.setProfileIds(idsList); mapper.toEntityInsertion(userProfilesInsertionDTO); } + + @Test + void testToDtoList() { + UserProfilesPK userProfilesPK1 = new UserProfilesPK("1", 1); + Timestamp createdAt1 = new Timestamp(System.currentTimeMillis()); + Timestamp lastUpdatedAt1 = new Timestamp(System.currentTimeMillis()); + + UserProfiles userProfiles1 = new UserProfiles(); + userProfiles1.setUserProfilesPK(userProfilesPK1); + userProfiles1.setCreatedAt(createdAt1); + userProfiles1.setLastUpdatedAt(lastUpdatedAt1); + + UserProfilesPK userProfilesPK2 = new UserProfilesPK("2", 2); + Timestamp createdAt2 = new Timestamp(System.currentTimeMillis()); + Timestamp lastUpdatedAt2 = new Timestamp(System.currentTimeMillis()); + + UserProfiles userProfiles2 = new UserProfiles(); + userProfiles2.setUserProfilesPK(userProfilesPK2); + userProfiles2.setCreatedAt(createdAt2); + userProfiles2.setLastUpdatedAt(lastUpdatedAt2); + + List userProfilesList = new ArrayList<>(); + userProfilesList.add(userProfiles1); + userProfilesList.add(userProfiles2); + + UserProfilesDTO expectedUserProfilesDTO1 = UserProfilesDTO.builder() + .userId("1") + .profileId(1) + .createdAt(createdAt1) + .lastUpdatedAt(lastUpdatedAt1) + .build(); + + UserProfilesDTO expectedUserProfilesDTO2 = UserProfilesDTO.builder() + .userId("2") + .profileId(2) + .createdAt(createdAt2) + .lastUpdatedAt(lastUpdatedAt2) + .build(); + + List expectedUserProfilesDTOList = new ArrayList<>(); + expectedUserProfilesDTOList.add(expectedUserProfilesDTO1); + expectedUserProfilesDTOList.add(expectedUserProfilesDTO2); + + List actualUserProfilesDTOList = mapper.toDtoList(userProfilesList); + + assertEquals(expectedUserProfilesDTOList, actualUserProfilesDTOList); + } + + @Test + void testToDTO() { + + UserProfilesPK userProfilesPK = new UserProfilesPK("1", 1); + Timestamp createdAt = new Timestamp(System.currentTimeMillis()); + Timestamp lastUpdatedAt = new Timestamp(System.currentTimeMillis()); + + UserProfiles userProfiles = new UserProfiles(); + userProfiles.setUserProfilesPK(userProfilesPK); + userProfiles.setCreatedAt(createdAt); + userProfiles.setLastUpdatedAt(lastUpdatedAt); + + UserProfilesDTO expectedUserProfilesDTO = UserProfilesDTO.builder() + .userId("1") + .profileId(1) + .createdAt(createdAt) + .lastUpdatedAt(lastUpdatedAt) + .build(); + + UserProfilesDTO actualUserProfilesDTO = mapper.toDTO(userProfiles); + + assertEquals(expectedUserProfilesDTO, actualUserProfilesDTO); + } + + private String userProfilesUserProfilesPKUserId(UserProfiles userProfiles) { + if (userProfiles == null) { + return null; + } + UserProfilesPK userProfilesPK = userProfiles.getUserProfilesPK(); + if (userProfilesPK == null) { + return null; + } + return userProfilesPK.getUserId(); + } + + private int userProfilesUserProfilesPKProfileId(UserProfiles userProfiles) { + if (userProfiles == null) { + return 0; + } + UserProfilesPK userProfilesPK = userProfiles.getUserProfilesPK(); + if (userProfilesPK == null) { + return 0; + } + return userProfilesPK.getProfileId(); + } } From fb5615baac6be93068cef2a48b24877af3a4b558 Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Tue, 4 Jun 2024 16:26:40 +0200 Subject: [PATCH 23/36] added UserProfilesResource update test --- .../resource/UserProfilesResourceTest.java | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java index af083026..d16e4290 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java @@ -77,6 +77,52 @@ void testInsert() { assertEquals(userProfilesDTOList, result); } + @Test + void testUpdate() { + UserProfiles userProfiles = new UserProfiles(); + userProfiles.setUserProfilesPK(new UserProfilesPK("1", 1)); + userProfiles.setCreatedAt(new Timestamp(System.currentTimeMillis())); + userProfiles.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); + + List userProfilesList = new ArrayList<>(); + userProfilesList.add(userProfiles); + + UserProfilesDTO userProfilesDTO = UserProfilesDTO.builder() + .userId("1") + .profileId(1) + .createdAt(new Timestamp(System.currentTimeMillis())) + .lastUpdatedAt(new Timestamp(System.currentTimeMillis())) + .build(); + + List userProfilesDTOList = new ArrayList<>(); + userProfilesDTOList.add(userProfilesDTO); + + String myJson = """ + { + "userId": "1", + "profileIds": [1, 2, 3] + } + """; + + when(userProfilesService.updateUserProfiles(any(UserProfilesInsertionDTO.class))) + .thenReturn(Uni.createFrom().item(userProfilesList)); + when(userProfilesMapper.toDtoList(userProfilesList)) + .thenReturn(userProfilesDTOList); + + List result = given() + .contentType(ContentType.JSON) + .body(myJson) + .when() + .put("/api/v1/model/user_profiles/update") + .then() + .statusCode(200) + .extract() + .as(new TypeRef<>() { + }); + + assertEquals(userProfilesDTOList, result); + } + @Test void testGetById() { String userId = "1"; From 0442f1fb3e21ebcfd1ba9e4cb9d19fc44a3dcbbc Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Wed, 5 Jun 2024 16:42:36 +0200 Subject: [PATCH 24/36] update user --- .../service/model/dto/UserInsertionDTO.java | 5 +- .../model/enumeration/AppErrorCodeEnum.java | 3 +- .../model/enumeration/AppErrorType.java | 1 + .../service/model/resource/UserResource.java | 11 +++ .../service/model/service/UserService.java | 4 +- .../model/service/impl/UserServiceImpl.java | 24 ++++++ .../model/resource/UserResourceTest.java | 31 +++++++- .../service/impl/UserServiceImplTest.java | 76 +++++++++++++++++++ 8 files changed, 149 insertions(+), 6 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java index e02b78c3..d4c9a66c 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java @@ -2,6 +2,7 @@ import jakarta.validation.constraints.Email; import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; import lombok.*; import org.eclipse.microprofile.openapi.annotations.media.Schema; @@ -17,8 +18,8 @@ public class UserInsertionDTO { @Email(message = "must be an email address in the correct format") @Schema(required = true, example = "email@domain.com") private String userId; - @NotBlank + @NotNull private String name; - @NotBlank + @NotNull private String surname; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java index 0e95c9b6..e59b4fc2 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java @@ -68,7 +68,8 @@ public enum AppErrorCodeEnum { PROFILE_ALREADY_EXIST("ATMLM_4000057", "Esiste già un profilo con lo stesso id", CONSTRAINT_VIOLATION), PROFILE_NOT_FOUND("ATMLM_4000058", "Non esiste un profilo con l'id indicato", CONSTRAINT_VIOLATION), PROFILE_OR_USER_NOT_FOUND("ATMLM_4000059","Utente o profilo non trovato", CONSTRAINT_VIOLATION), - NO_ASSOCIATION_FOUND("ATMLM_4000060","Nessuna associazione trovata", CONSTRAINT_VIOLATION); + NO_ASSOCIATION_FOUND("ATMLM_4000060","Nessuna associazione trovata", CONSTRAINT_VIOLATION), + ALL_FIELDS_ARE_BLANK("ATMLM_4000061", "Tutti i campi sono vuoti", AppErrorType.BLANK_FIELDS); private final String errorCode; private final String errorMessage; private final AppErrorType type; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorType.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorType.java index 76dd1c6b..61a5776f 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorType.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorType.java @@ -26,4 +26,5 @@ public enum AppErrorType { CANNOT_ASSOCIATE, NOT_EXISTING_USER_ID, NOT_EXISTING_USER_PROFILE, CANNOT_REPLACE_ASSOCIATION, + BLANK_FIELDS } \ No newline at end of file diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index 0aef6723..33115617 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -39,6 +39,17 @@ public Uni insert(@RequestBody(required = true) @Valid User .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toProfilesDTO(insertedUser))); } + @PUT + @Path("/update") + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Uni update(@RequestBody(required = true) @Valid UserInsertionDTO userInsertionDTO) { + return this.userService.updateUser(userInsertionDTO) + .onItem() + .transformToUni(updatedUser -> Uni.createFrom().item(userMapper.toProfilesDTO(updatedUser))); + } + + @DELETE @Path("/delete/userId/{userId}") @Consumes(MediaType.APPLICATION_JSON) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java index a86d6961..33266871 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java @@ -8,7 +8,9 @@ public interface UserService { - public Uni insertUser(UserInsertionDTO userInsertionDTO); + Uni insertUser(UserInsertionDTO userInsertionDTO); + + Uni updateUser(UserInsertionDTO userInsertionDTO); Uni deleteUser(String userId); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java index 09668683..406878ab 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java @@ -16,6 +16,7 @@ import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; +import java.sql.Timestamp; import java.util.List; @ApplicationScoped @@ -45,6 +46,29 @@ public Uni insertUser(UserInsertionDTO userInsertionDTO) { })); } + @Override + @WithTransaction + public Uni updateUser(UserInsertionDTO userInsertionDTO) { + String userId = userInsertionDTO.getUserId(); + log.info("Updating user with userId : {}", userId); + return this.findById(userInsertionDTO.getUserId()) + .onItem() + .transformToUni(Unchecked.function(userFound -> { + if (userInsertionDTO.getName().isBlank() && userInsertionDTO.getSurname().isBlank()) { + throw new AtmLayerException(Response.Status.BAD_REQUEST, AppErrorCodeEnum.ALL_FIELDS_ARE_BLANK); + } else if (userInsertionDTO.getSurname().isBlank()) { + userFound.setName(userInsertionDTO.getName()); + } else if (userInsertionDTO.getName().isBlank()) { + userFound.setSurname(userInsertionDTO.getSurname()); + } else { + userFound.setName(userInsertionDTO.getName()); + userFound.setSurname(userInsertionDTO.getSurname()); + } + userFound.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); + return userRepository.persist(userFound); + })); + } + @Override @WithTransaction public Uni deleteUser(String userId) { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index 0c0a0b4e..049a67e9 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -43,14 +43,41 @@ void testInsert() { UserWithProfilesDTO result = given() .contentType(MediaType.APPLICATION_JSON) .body(userInsertionDTO) - .when().post("api/v1/model/user/insert") + .when() + .post("api/v1/model/user/insert") .then() .statusCode(200) - .extract().as(UserWithProfilesDTO.class); + .extract() + .as(UserWithProfilesDTO.class); assertEquals(userDTO, result); } + @Test + void testUpdate() { + User user = new User(); + UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); + UserInsertionDTO userInsertionDTO = new UserInsertionDTO(); + userInsertionDTO.setUserId("Paolo@Rossi.com"); + userInsertionDTO.setName("Paolo"); + userInsertionDTO.setSurname("Rossi"); + + when(userService.updateUser(any(UserInsertionDTO.class))).thenReturn(Uni.createFrom().item(user)); + when(userMapper.toProfilesDTO(user)).thenReturn(userWithProfilesDTO); + + UserWithProfilesDTO result = given() + .contentType(MediaType.APPLICATION_JSON) + .body(userInsertionDTO) + .when() + .put("api/v1/model/user/update") + .then() + .statusCode(200) + .extract() + .as(UserWithProfilesDTO.class); + + assertEquals(userWithProfilesDTO, result); + } + @Test void testDelete() { String userId = "testUserId"; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index 544d0610..e029a7e2 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -85,6 +85,82 @@ void testInsertUserExceptionCase() { verify(userRepository, never()).persist(any(User.class)); } + @Test + void testUpdateUser() { + UserInsertionDTO dto = new UserInsertionDTO(); + dto.setUserId("Paolo@Rossi.com"); + dto.setName("Paolo"); + dto.setSurname("Rossi"); + + User user = new User(); + user.setUserId(dto.getUserId()); + + when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); + + userService.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(user); + + verify(userRepository).persist(user); + } + + @Test + void testUpdateUserSuccessPartialNameOnly() { + UserInsertionDTO dto = new UserInsertionDTO(); + dto.setUserId("Paolo@Rossi.com"); + dto.setName("Paolo"); + dto.setSurname(""); + + User user = new User(); + user.setUserId(dto.getUserId()); + + when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); + + userService.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(user); + + verify(userRepository).persist(user); + } + + @Test + void testUpdateUserSuccessPartialSurnameOnly() { + UserInsertionDTO dto = new UserInsertionDTO(); + dto.setUserId("Paolo@Rossi.com"); + dto.setName(""); + dto.setSurname("Rossi"); + + User user = new User(); + user.setUserId(dto.getUserId()); + + when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); + + userService.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(user); + + verify(userRepository).persist(user); + } + + @Test + void testUpdateUserErrorAllFieldsBlank() { + UserInsertionDTO dto = new UserInsertionDTO(); + dto.setUserId("Paolo@Rossi.com"); + dto.setName(""); + dto.setSurname(""); + + when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(new User())); + + userService.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailed() + .assertFailedWith(AtmLayerException.class, "Tutti i campi sono vuoti"); + + verify(userRepository, never()).persist(any(User.class)); + } + @Test void testFindById() { String userId = "existentId"; From 7ad204fa97ee3064105230d2b0e0cc1a1ff9a915 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Thu, 6 Jun 2024 10:14:04 +0200 Subject: [PATCH 25/36] rollback test in workflowResource added --- .../WorkflowResourceResourceTest.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResourceTest.java index 913a809d..797de863 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResourceTest.java @@ -87,6 +87,29 @@ void testUpdate() throws NoSuchAlgorithmException, IOException { assertEquals(workflowResourceDTO, result); } + @Test + void testRollback() { + UUID uuid = UUID.randomUUID(); + WorkflowResource rolledBackWorkflowResource = new WorkflowResource(); + WorkflowResourceDTO expectedDto = new WorkflowResourceDTO(); + expectedDto.setWorkflowResourceId(uuid); + + when(workflowResourceService.rollback(any(UUID.class))).thenReturn(Uni.createFrom().item(rolledBackWorkflowResource)); + when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(expectedDto); + + WorkflowResourceDTO result = given() + .contentType(ContentType.JSON) + .pathParam("uuid", uuid) + .when().put("/api/v1/model/workflow-resource/rollback/{uuid}") + .then() + .statusCode(200) + .extract().as(WorkflowResourceDTO.class); + + verify(workflowResourceService, times(1)).rollback(uuid); + verify(workflowResourceMapper, times(1)).toDTO(rolledBackWorkflowResource); + + assertEquals(uuid, result.getWorkflowResourceId()); + } @Test void testDelete(){ From 947beab8c9344f651b80596dba9e8d0c7011f417 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Thu, 6 Jun 2024 12:10:08 +0200 Subject: [PATCH 26/36] pulizia del codice --- .../configurations/S3PreSignerLocalTest.java | 196 +++++---- .../mapper/BpmnConfigMapperImplTest.java | 47 +- .../mapper/BpmnVersionMapperImplTest.java | 29 +- .../model/mapper/BpmnVersionMapperTest.java | 7 +- .../model/mapper/ProfileMapperImplTest.java | 2 +- .../mapper/ResourceEntityMapperTest.java | 12 +- .../mapper/ResourceFileMapperImplTest.java | 6 +- .../service/model/mapper/UserMapperTest.java | 3 +- .../model/mapper/UserProfilesMapperTest.java | 21 - .../mapper/WorkflowResourceMapperTest.java | 166 ++++--- .../model/ATMLayerErrorResponseTest.java | 96 ++-- .../ATMLayerValidationErrorResponseTest.java | 80 ++-- .../model/model/BpmnBankConfigDTOTest.java | 179 ++++---- .../service/model/model/BpmnDTOTest.java | 6 +- .../service/model/model/BpmnIdDtoTest.java | 66 +-- .../model/model/ErrorResponseTest.java | 4 +- .../model/ObjectStorePutResponseTest.java | 5 +- .../model/filestorage/FileObjectTest.java | 9 +- .../model/resource/BpmnResourceTest.java | 73 +--- .../model/resource/InfoResourceTest.java | 10 +- .../model/resource/ProfileResourceTest.java | 2 +- .../resource/ResourceEntityResourceTest.java | 279 ++++++------ .../WorkflowResourceResourceTest.java | 409 +++++++++--------- .../impl/BpmnBankConfigServiceImplTest.java | 16 +- .../impl/BpmnVersionServiceImplTest.java | 42 +- .../service/impl/ProfileServiceImplTest.java | 11 +- .../impl/ResourceEntityServiceImplTest.java | 10 +- .../impl/S3ObjectStoreServiceImplTest.java | 86 +--- .../impl/WorkflowResourceServiceImplTest.java | 39 +- .../strategy/ObjectStoreStrategyTest.java | 4 +- .../service/model/utils/BpmnUtilsTest.java | 102 ++--- .../model/utils/FileStorageS3UtilsTest.java | 8 +- .../model/utils/FileUtilitiesTest.java | 91 ++-- 33 files changed, 937 insertions(+), 1179 deletions(-) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/configurations/S3PreSignerLocalTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/configurations/S3PreSignerLocalTest.java index 74d62e1c..82d5f3cf 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/configurations/S3PreSignerLocalTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/configurations/S3PreSignerLocalTest.java @@ -12,18 +12,16 @@ import java.util.Optional; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.when; @QuarkusTest class S3PreSignerLocalTest { @Mock - private ObjectStoreProperties objectStoreProperties; + ObjectStoreProperties objectStoreProperties; - private S3PreSignerLocal s3PreSignerLocal; + S3PreSignerLocal s3PreSignerLocal; @BeforeEach void setUp() { @@ -66,37 +64,37 @@ public Optional accessKey() { assertNotNull(s3Presigner); } - @Test - void testS3AsyncClientWithMissingEndpoint() { - when(objectStoreProperties.bucket()).thenReturn(new ObjectStoreProperties.Bucket() { - @Override - public String name() { - return "test-bucket"; - } - - @Override - public Optional endpointOverride() { - return Optional.empty(); - } - - @Override - public String region() { - return "us-east-1"; - } - - @Override - public Optional secretKey() { - return Optional.of("your-secret-key"); - } - - @Override - public Optional accessKey() { - return Optional.of("your-access-key"); - } - }); - - assertThrows(RuntimeException.class, () -> s3PreSignerLocal.s3AsyncClient()); - } + @Test + void testS3AsyncClientWithMissingEndpoint() { + when(objectStoreProperties.bucket()).thenReturn(new ObjectStoreProperties.Bucket() { + @Override + public String name() { + return "test-bucket"; + } + + @Override + public Optional endpointOverride() { + return Optional.empty(); + } + + @Override + public String region() { + return "us-east-1"; + } + + @Override + public Optional secretKey() { + return Optional.of("your-secret-key"); + } + + @Override + public Optional accessKey() { + return Optional.of("your-access-key"); + } + }); + + assertThrows(RuntimeException.class, () -> s3PreSignerLocal.s3AsyncClient()); + } @Test void testLocalPreSignerWithMissingEndpoint() { @@ -197,67 +195,67 @@ public Optional accessKey() { assertThrows(AtmLayerException.class, () -> s3PreSignerLocal.s3AsyncClient()); } - @Test - void testS3AsyncClientWithMissingAccessKey() { - when(objectStoreProperties.bucket()).thenReturn(new ObjectStoreProperties.Bucket() { - @Override - public String name() { - return "test-bucket"; - } - - @Override - public Optional endpointOverride() { - return Optional.of("http://localhost:9000"); - } - - @Override - public String region() { - return "us-east-1"; - } - - @Override - public Optional secretKey() { - return Optional.of("your-secret-key"); - } - - @Override - public Optional accessKey() { - return Optional.empty(); - } - }); - - assertThrows(AtmLayerException.class, () -> s3PreSignerLocal.s3AsyncClient()); - } - - @Test - void testS3AsyncClientWithMissingAccessKeyAndSecretKey() { - when(objectStoreProperties.bucket()).thenReturn(new ObjectStoreProperties.Bucket() { - @Override - public String name() { - return "test-bucket"; - } - - @Override - public Optional endpointOverride() { - return Optional.of("http://localhost:9000"); - } - - @Override - public String region() { - return "us-east-1"; - } - - @Override - public Optional secretKey() { - return Optional.empty(); - } - - @Override - public Optional accessKey() { - return Optional.empty(); - } - }); - - assertThrows(AtmLayerException.class, () -> s3PreSignerLocal.s3AsyncClient()); - } + @Test + void testS3AsyncClientWithMissingAccessKey() { + when(objectStoreProperties.bucket()).thenReturn(new ObjectStoreProperties.Bucket() { + @Override + public String name() { + return "test-bucket"; + } + + @Override + public Optional endpointOverride() { + return Optional.of("http://localhost:9000"); + } + + @Override + public String region() { + return "us-east-1"; + } + + @Override + public Optional secretKey() { + return Optional.of("your-secret-key"); + } + + @Override + public Optional accessKey() { + return Optional.empty(); + } + }); + + assertThrows(AtmLayerException.class, () -> s3PreSignerLocal.s3AsyncClient()); + } + + @Test + void testS3AsyncClientWithMissingAccessKeyAndSecretKey() { + when(objectStoreProperties.bucket()).thenReturn(new ObjectStoreProperties.Bucket() { + @Override + public String name() { + return "test-bucket"; + } + + @Override + public Optional endpointOverride() { + return Optional.of("http://localhost:9000"); + } + + @Override + public String region() { + return "us-east-1"; + } + + @Override + public Optional secretKey() { + return Optional.empty(); + } + + @Override + public Optional accessKey() { + return Optional.empty(); + } + }); + + assertThrows(AtmLayerException.class, () -> s3PreSignerLocal.s3AsyncClient()); + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnConfigMapperImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnConfigMapperImplTest.java index dd839ff3..f5cf57fe 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnConfigMapperImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnConfigMapperImplTest.java @@ -16,7 +16,7 @@ @QuarkusTest class BpmnConfigMapperImplTest { - public BpmnConfigMapperImpl bpmnConfigMapperImpl; + BpmnConfigMapperImpl bpmnConfigMapperImpl; @BeforeEach public void setUp() { @@ -24,14 +24,13 @@ public void setUp() { } @Test - void toDTOTest_null(){ - BpmnBankConfig resourceFile = null; - BpmnBankConfigDTO resource = bpmnConfigMapperImpl.toDTO(resourceFile); + void toDTOTest_null() { + BpmnBankConfigDTO resource = bpmnConfigMapperImpl.toDTO(null); assertNull(resource); } @Test - void toDTOTest(){ + void toDTOTest() { BpmnBankConfig bpmnBankConfig = new BpmnBankConfig(); BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); bpmnBankConfigPK.setBpmnId(UUID.randomUUID()); @@ -53,14 +52,13 @@ void toDTOTest(){ } @Test - void bpmnBankConfigDTOToBpmnBankConfigPKTest_null(){ - BpmnBankConfigDTO bankConfigDTO = null; - BpmnBankConfigPK resource = bpmnConfigMapperImpl.bpmnBankConfigDTOToBpmnBankConfigPK(bankConfigDTO); + void bpmnBankConfigDTOToBpmnBankConfigPKTest_null() { + BpmnBankConfigPK resource = bpmnConfigMapperImpl.bpmnBankConfigDTOToBpmnBankConfigPK(null); assertNull(resource); } @Test - void bpmnBankConfigDTOToBpmnBankConfigPKTest(){ + void bpmnBankConfigDTOToBpmnBankConfigPKTest() { BpmnBankConfigDTO bankConfigDTO = new BpmnBankConfigDTO(); BpmnBankConfigPK resource = bpmnConfigMapperImpl.bpmnBankConfigDTOToBpmnBankConfigPK(bankConfigDTO); @@ -74,14 +72,13 @@ void bpmnBankConfigDTOToBpmnBankConfigPKTest(){ @Test - void toEntity_null(){ - BpmnBankConfigDTO bankConfigDTO = null; - BpmnBankConfig resource = bpmnConfigMapperImpl.toEntity(bankConfigDTO); + void toEntity_null() { + BpmnBankConfig resource = bpmnConfigMapperImpl.toEntity(null); assertNull(resource); } @Test - void toEntity(){ + void toEntity() { BpmnBankConfigDTO bankConfigDTO = new BpmnBankConfigDTO(); BpmnBankConfig resource = bpmnConfigMapperImpl.toEntity(bankConfigDTO); @@ -95,7 +92,7 @@ void toEntity(){ } @Test - void bpmnBankConfigBpmnBankConfigPKBpmnIdTest_null_BpmnBankConfigPK(){ + void bpmnBankConfigBpmnBankConfigPKBpmnIdTest_null_BpmnBankConfigPK() { BpmnBankConfig bpmnBankConfig = new BpmnBankConfig(); bpmnBankConfig.setBpmnBankConfigPK(null); BpmnBankConfigDTO resource = bpmnConfigMapperImpl.toDTO(bpmnBankConfig); @@ -103,7 +100,7 @@ void bpmnBankConfigBpmnBankConfigPKBpmnIdTest_null_BpmnBankConfigPK(){ } @Test - void bpmnBankConfigBpmnBankConfigPKBpmnIdTest_null_BpmnId(){ + void bpmnBankConfigBpmnBankConfigPKBpmnIdTest_null_BpmnId() { BpmnBankConfig bpmnBankConfig = new BpmnBankConfig(); BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); bpmnBankConfigPK.setBpmnId(null); @@ -114,7 +111,7 @@ void bpmnBankConfigBpmnBankConfigPKBpmnIdTest_null_BpmnId(){ } @Test - void bpmnBankConfigBpmnBankConfigPKBpmnIdTest(){ + void bpmnBankConfigBpmnBankConfigPKBpmnIdTest() { BpmnBankConfig bpmnBankConfig = new BpmnBankConfig(); BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); bpmnBankConfigPK.setBpmnId(UUID.randomUUID()); @@ -128,7 +125,7 @@ void bpmnBankConfigBpmnBankConfigPKBpmnIdTest(){ @Test - void bpmnBankConfigBpmnBankConfigPKBpmnModelVersionTest(){ + void bpmnBankConfigBpmnBankConfigPKBpmnModelVersionTest() { BpmnBankConfig bpmnBankConfig = new BpmnBankConfig(); BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); bpmnBankConfigPK.setBpmnModelVersion(1L); @@ -141,7 +138,7 @@ void bpmnBankConfigBpmnBankConfigPKBpmnModelVersionTest(){ } @Test - void bpmnBankConfigBpmnBankConfigPKAcquirerIdTest(){ + void bpmnBankConfigBpmnBankConfigPKAcquirerIdTest() { BpmnBankConfig bpmnBankConfig = new BpmnBankConfig(); BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); bpmnBankConfigPK.setAcquirerId("id"); @@ -154,7 +151,7 @@ void bpmnBankConfigBpmnBankConfigPKAcquirerIdTest(){ } @Test - void bpmnBankConfigBpmnBankConfigPKBranchIdTest_null_BranchId(){ + void bpmnBankConfigBpmnBankConfigPKBranchIdTest_null_BranchId() { BpmnBankConfig bpmnBankConfig = new BpmnBankConfig(); BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); bpmnBankConfigPK.setBranchId(null); @@ -165,7 +162,7 @@ void bpmnBankConfigBpmnBankConfigPKBranchIdTest_null_BranchId(){ } @Test - void bpmnBankConfigBpmnBankConfigPKTerminalId_null_TerminalId(){ + void bpmnBankConfigBpmnBankConfigPKTerminalId_null_TerminalId() { BpmnBankConfig bpmnBankConfig = new BpmnBankConfig(); BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); bpmnBankConfigPK.setTerminalId(null); @@ -177,7 +174,7 @@ void bpmnBankConfigBpmnBankConfigPKTerminalId_null_TerminalId(){ @Test - public void testBpmnBankConfigBpmnBankConfigPKAcquirerId() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { + void testBpmnBankConfigBpmnBankConfigPKAcquirerId() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { Method privateMethod = BpmnConfigMapperImpl.class.getDeclaredMethod("bpmnBankConfigBpmnBankConfigPKAcquirerId", BpmnBankConfig.class); privateMethod.setAccessible(true); @@ -188,7 +185,7 @@ public void testBpmnBankConfigBpmnBankConfigPKAcquirerId() throws NoSuchMethodEx } @Test - public void testBpmnBankConfigBpmnBankConfigPKBpmnId() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { + void testBpmnBankConfigBpmnBankConfigPKBpmnId() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { Method privateMethod = BpmnConfigMapperImpl.class.getDeclaredMethod("bpmnBankConfigBpmnBankConfigPKBpmnId", BpmnBankConfig.class); privateMethod.setAccessible(true); @@ -199,7 +196,7 @@ public void testBpmnBankConfigBpmnBankConfigPKBpmnId() throws NoSuchMethodExcept } @Test - public void testBpmnBankConfigBpmnBankConfigPKBpmnModelVersion() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { + void testBpmnBankConfigBpmnBankConfigPKBpmnModelVersion() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { Method privateMethod = BpmnConfigMapperImpl.class.getDeclaredMethod("bpmnBankConfigBpmnBankConfigPKBpmnModelVersion", BpmnBankConfig.class); privateMethod.setAccessible(true); @@ -210,7 +207,7 @@ public void testBpmnBankConfigBpmnBankConfigPKBpmnModelVersion() throws NoSuchMe } @Test - public void testBpmnBankConfigBpmnBankConfigPKBranchId() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { + void testBpmnBankConfigBpmnBankConfigPKBranchId() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { Method privateMethod = BpmnConfigMapperImpl.class.getDeclaredMethod("bpmnBankConfigBpmnBankConfigPKBranchId", BpmnBankConfig.class); privateMethod.setAccessible(true); @@ -221,7 +218,7 @@ public void testBpmnBankConfigBpmnBankConfigPKBranchId() throws NoSuchMethodExce } @Test - public void testBpmnBankConfigBpmnBankConfigPKTerminalId() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { + void testBpmnBankConfigBpmnBankConfigPKTerminalId() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { Method privateMethod = BpmnConfigMapperImpl.class.getDeclaredMethod("bpmnBankConfigBpmnBankConfigPKTerminalId", BpmnBankConfig.class); privateMethod.setAccessible(true); diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnVersionMapperImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnVersionMapperImplTest.java index 31608bea..64fea5ed 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnVersionMapperImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnVersionMapperImplTest.java @@ -23,14 +23,13 @@ public void setUp() { } @Test - void toEntityTest_null(){ - BpmnDTO input = null; - BpmnVersion resource = bpmnVersionMapper.toEntity(input); + void toEntityTest_null() { + BpmnVersion resource = bpmnVersionMapper.toEntity(null); assertNull(resource); } @Test - void toEntityTest(){ + void toEntityTest() { BpmnDTO input = new BpmnDTO(); BpmnVersion resource = bpmnVersionMapper.toEntity(input); @@ -56,14 +55,13 @@ void toEntityTest(){ @Test - void resourceFileDTOToResourceFileTest_null(){ - ResourceFileDTO input = null; - ResourceFile resource = bpmnVersionMapper.resourceFileDTOToResourceFile(input); + void resourceFileDTOToResourceFileTest_null() { + ResourceFile resource = bpmnVersionMapper.resourceFileDTOToResourceFile(null); assertNull(resource); } @Test - void resourceFileDTOToResourceFileTest(){ + void resourceFileDTOToResourceFileTest() { ResourceFileDTO input = new ResourceFileDTO(); ResourceFile resource = bpmnVersionMapper.resourceFileDTOToResourceFile(input); @@ -80,14 +78,13 @@ void resourceFileDTOToResourceFileTest(){ } @Test - void toDtoCreationTest_null(){ - BpmnVersion input = null; - BpmnCreationDto resource = bpmnVersionMapper.toDtoCreation(input); + void toDtoCreationTest_null() { + BpmnCreationDto resource = bpmnVersionMapper.toDtoCreation(null); assertNull(resource); } @Test - void toDtoCreationTest(){ + void toDtoCreationTest() { BpmnVersion input = new BpmnVersion(); BpmnCreationDto resource = bpmnVersionMapper.toDtoCreation(input); @@ -96,14 +93,13 @@ void toDtoCreationTest(){ } @Test - void toProcessDTOTest_null(){ - BpmnDTO input = null; - BpmnProcessDTO resource = bpmnVersionMapper.toProcessDTO(input); + void toProcessDTOTest_null() { + BpmnProcessDTO resource = bpmnVersionMapper.toProcessDTO(null); assertNull(resource); } @Test - void toProcessDTOTest(){ + void toProcessDTOTest() { BpmnDTO input = new BpmnDTO(); BpmnProcessDTO resource = bpmnVersionMapper.toProcessDTO(input); @@ -111,5 +107,4 @@ void toProcessDTOTest(){ assertEquals(input.getCamundaDefinitionId(), resource.getCamundaDefinitionId()); } - } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnVersionMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnVersionMapperTest.java index 34e77745..b110aeea 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnVersionMapperTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/BpmnVersionMapperTest.java @@ -1,18 +1,19 @@ package it.gov.pagopa.atmlayer.service.model.mapper; import io.quarkus.test.junit.QuarkusTest; +import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersion; import it.gov.pagopa.atmlayer.service.model.entity.ResourceFile; +import it.gov.pagopa.atmlayer.service.model.model.BpmnDTO; import it.gov.pagopa.atmlayer.service.model.model.BpmnFrontEndDTO; import it.gov.pagopa.atmlayer.service.model.model.PageInfo; import jakarta.inject.Inject; - -import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersion; -import it.gov.pagopa.atmlayer.service.model.model.BpmnDTO; import org.junit.jupiter.api.Test; + import java.util.Arrays; import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; + @QuarkusTest class BpmnVersionMapperTest { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperImplTest.java index 947b32bf..7aa12ce9 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ProfileMapperImplTest.java @@ -9,7 +9,7 @@ import java.time.Instant; @QuarkusTest -public class ProfileMapperImplTest { +class ProfileMapperImplTest { @Inject ProfileMapper mapper; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ResourceEntityMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ResourceEntityMapperTest.java index 3afbf658..f5092259 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ResourceEntityMapperTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ResourceEntityMapperTest.java @@ -20,13 +20,8 @@ import java.util.Arrays; import java.util.List; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertNull; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; +import static org.junit.jupiter.api.Assertions.*; +import static org.mockito.Mockito.*; @QuarkusTest class ResourceEntityMapperTest { @@ -105,8 +100,7 @@ private ResourceEntity createResourceEntity(String filename, String noDeployable @Test void toDTOTest_null() { - ResourceEntity resourceFile = null; - ResourceDTO resource = mapper.toDTO(resourceFile); + ResourceDTO resource = mapper.toDTO(null); assertNull(resource); } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ResourceFileMapperImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ResourceFileMapperImplTest.java index 811ae2bb..f108260d 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ResourceFileMapperImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/ResourceFileMapperImplTest.java @@ -21,8 +21,7 @@ public void setUp() { @Test void toDTOTest_null(){ - ResourceFile resourceFile = null; - ResourceFileDTO resource = resourceFileMapper.toDTO(resourceFile); + ResourceFileDTO resource = resourceFileMapper.toDTO(null); assertNull(resource); } @@ -45,8 +44,7 @@ void toDTOTest(){ @Test void toEntity_null(){ - ResourceFileDTO resourceFile = null; - ResourceFile resource = resourceFileMapper.toEntity(resourceFile); + ResourceFile resource = resourceFileMapper.toEntity(null); assertNull(resource); } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java index c38d1533..35b10a88 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java @@ -13,7 +13,8 @@ import java.util.List; @QuarkusTest -public class UserMapperTest { +class UserMapperTest { + @Inject UserMapper mapper; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java index ec45eeca..c29897bd 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserProfilesMapperTest.java @@ -106,25 +106,4 @@ void testToDTO() { assertEquals(expectedUserProfilesDTO, actualUserProfilesDTO); } - private String userProfilesUserProfilesPKUserId(UserProfiles userProfiles) { - if (userProfiles == null) { - return null; - } - UserProfilesPK userProfilesPK = userProfiles.getUserProfilesPK(); - if (userProfilesPK == null) { - return null; - } - return userProfilesPK.getUserId(); - } - - private int userProfilesUserProfilesPKProfileId(UserProfiles userProfiles) { - if (userProfiles == null) { - return 0; - } - UserProfilesPK userProfilesPK = userProfiles.getUserProfilesPK(); - if (userProfilesPK == null) { - return 0; - } - return userProfilesPK.getProfileId(); - } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/WorkflowResourceMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/WorkflowResourceMapperTest.java index 7e88d555..abef569d 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/WorkflowResourceMapperTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/WorkflowResourceMapperTest.java @@ -1,18 +1,16 @@ package it.gov.pagopa.atmlayer.service.model.mapper; -import static org.junit.jupiter.api.Assertions.*; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; - import io.quarkus.test.junit.QuarkusTest; import it.gov.pagopa.atmlayer.service.model.dto.WorkflowResourceCreationDto; -import it.gov.pagopa.atmlayer.service.model.entity.ResourceEntity; import it.gov.pagopa.atmlayer.service.model.entity.WorkflowResource; import it.gov.pagopa.atmlayer.service.model.enumeration.DeployableResourceType; import it.gov.pagopa.atmlayer.service.model.enumeration.StatusEnum; -import it.gov.pagopa.atmlayer.service.model.model.ResourceDTO; import it.gov.pagopa.atmlayer.service.model.model.WorkflowResourceDTO; import it.gov.pagopa.atmlayer.service.model.utils.FileUtilities; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.mapstruct.factory.Mappers; + import java.io.File; import java.io.IOException; import java.nio.file.Files; @@ -20,85 +18,85 @@ import java.security.NoSuchAlgorithmException; import java.util.Arrays; import java.util.List; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.mapstruct.factory.Mappers; + +import static org.junit.jupiter.api.Assertions.*; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; @QuarkusTest class WorkflowResourceMapperTest { - private WorkflowResourceMapper mapper; - - @BeforeEach - void setUp() { - mapper = Mappers.getMapper(WorkflowResourceMapper.class); - } - - @Test - void testToEntityCreation() throws NoSuchAlgorithmException, IOException { - - WorkflowResourceCreationDto creationDto = mock(WorkflowResourceCreationDto.class); - File tempFile = createTemporaryFileWithContent(); - - when(creationDto.getFile()).thenReturn(tempFile); - when(creationDto.getFilename()).thenReturn("testFile"); - when(creationDto.getResourceType()).thenReturn(DeployableResourceType.DMN); - - String expectedSha256 = FileUtilities.calculateSha256(tempFile); - - WorkflowResource workflowResource = mapper.toEntityCreation(creationDto); - - assertNotNull(workflowResource); - assertEquals(StatusEnum.CREATED, workflowResource.getStatus()); - assertEquals(expectedSha256, workflowResource.getSha256()); - assertEquals("testFile.DMN", workflowResource.getDeployedFileName()); - } - - @Test - void toDto_null(){ - WorkflowResource resourceFile = null; - WorkflowResourceDTO resource = mapper.toDTO(resourceFile); - assertNull(resource); - } - @Test - void toDtoCreation_null(){ - WorkflowResourceCreationDto resourceFile = null; - WorkflowResourceCreationDto resource = mapper.toDtoCreation(resourceFile); - assertNull(resource); - } - - @Test - void toDtoCreation(){ - WorkflowResourceCreationDto resourceFile = new WorkflowResourceCreationDto();; - resourceFile.setResourceType(DeployableResourceType.BPMN); - WorkflowResourceCreationDto resource = mapper.toDtoCreation(resourceFile); - assertNotNull(resource); - assertEquals(DeployableResourceType.BPMN, resource.getResourceType()); - } - - private File createTemporaryFileWithContent() throws IOException { - Path tempFilePath = Files.createTempFile("temp-file", ".txt"); - Files.write(tempFilePath, "file content".getBytes()); - return tempFilePath.toFile(); - } - - @Test - void testToDTOList() { - - List workflowResourceList = Arrays.asList( - createWorkflowResource("file1", "BPMN"), - createWorkflowResource("file2", "DMN") - ); - - List dtoList = mapper.toDTOList(workflowResourceList); - - assertNotNull(dtoList); - assertEquals(workflowResourceList.size(), dtoList.size()); - } - - private WorkflowResource createWorkflowResource(String filename, String resourceType) { - WorkflowResource workflowResource = new WorkflowResource(); - workflowResource.setDeployedFileName(filename); - workflowResource.setResourceType(DeployableResourceType.valueOf(resourceType)); - return workflowResource; - } + private WorkflowResourceMapper mapper; + + @BeforeEach + void setUp() { + mapper = Mappers.getMapper(WorkflowResourceMapper.class); + } + + @Test + void testToEntityCreation() throws NoSuchAlgorithmException, IOException { + + WorkflowResourceCreationDto creationDto = mock(WorkflowResourceCreationDto.class); + File tempFile = createTemporaryFileWithContent(); + + when(creationDto.getFile()).thenReturn(tempFile); + when(creationDto.getFilename()).thenReturn("testFile"); + when(creationDto.getResourceType()).thenReturn(DeployableResourceType.DMN); + + String expectedSha256 = FileUtilities.calculateSha256(tempFile); + + WorkflowResource workflowResource = mapper.toEntityCreation(creationDto); + + assertNotNull(workflowResource); + assertEquals(StatusEnum.CREATED, workflowResource.getStatus()); + assertEquals(expectedSha256, workflowResource.getSha256()); + assertEquals("testFile.DMN", workflowResource.getDeployedFileName()); + } + + @Test + void toDto_null() { + WorkflowResourceDTO resource = mapper.toDTO(null); + assertNull(resource); + } + + @Test + void toDtoCreation_null() { + WorkflowResourceCreationDto resource = mapper.toDtoCreation(null); + assertNull(resource); + } + + @Test + void toDtoCreation() { + WorkflowResourceCreationDto resourceFile = new WorkflowResourceCreationDto(); + resourceFile.setResourceType(DeployableResourceType.BPMN); + WorkflowResourceCreationDto resource = mapper.toDtoCreation(resourceFile); + assertNotNull(resource); + assertEquals(DeployableResourceType.BPMN, resource.getResourceType()); + } + + private File createTemporaryFileWithContent() throws IOException { + Path tempFilePath = Files.createTempFile("temp-file", ".txt"); + Files.write(tempFilePath, "file content".getBytes()); + return tempFilePath.toFile(); + } + + @Test + void testToDTOList() { + + List workflowResourceList = Arrays.asList( + createWorkflowResource("file1", "BPMN"), + createWorkflowResource("file2", "DMN") + ); + + List dtoList = mapper.toDTOList(workflowResourceList); + + assertNotNull(dtoList); + assertEquals(workflowResourceList.size(), dtoList.size()); + } + + private WorkflowResource createWorkflowResource(String filename, String resourceType) { + WorkflowResource workflowResource = new WorkflowResource(); + workflowResource.setDeployedFileName(filename); + workflowResource.setResourceType(DeployableResourceType.valueOf(resourceType)); + return workflowResource; + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ATMLayerErrorResponseTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ATMLayerErrorResponseTest.java index d72a653f..dc73af6f 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ATMLayerErrorResponseTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ATMLayerErrorResponseTest.java @@ -4,66 +4,64 @@ import io.quarkus.test.junit.QuarkusTest; import jakarta.inject.Inject; import org.junit.jupiter.api.Test; + import java.io.IOException; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.junit.jupiter.api.Assertions.fail; +import static org.junit.jupiter.api.Assertions.*; @QuarkusTest class ATMLayerErrorResponseTest { - @Inject - ObjectMapper objectMapper; + @Inject + ObjectMapper objectMapper; - @Test - void testATMLayerErrorResponseSerialization() throws IOException { - ATMLayerErrorResponse errorResponse = ATMLayerErrorResponse.builder() - .errorCode("E001") - .type("Validation Error") - .statusCode(500) - .message("Invalid input data") - .build(); + @Test + void testATMLayerErrorResponseSerialization() throws IOException { + ATMLayerErrorResponse errorResponse = ATMLayerErrorResponse.builder() + .errorCode("E001") + .type("Validation Error") + .statusCode(500) + .message("Invalid input data") + .build(); - String json = objectMapper.writeValueAsString(errorResponse); - ATMLayerErrorResponse deserializedErrorResponse = objectMapper.readValue(json, ATMLayerErrorResponse.class); - assertNotEquals(errorResponse, deserializedErrorResponse); - } + String json = objectMapper.writeValueAsString(errorResponse); + ATMLayerErrorResponse deserializedErrorResponse = objectMapper.readValue(json, ATMLayerErrorResponse.class); + assertNotEquals(errorResponse, deserializedErrorResponse); + } - @Test - void testJsonPropertyOrder() { - ATMLayerErrorResponse errorResponse = ATMLayerErrorResponse.builder() - .errorCode("E001") - .type("Validation Error") - .statusCode(500) - .message("Invalid input data") - .build(); + @Test + void testJsonPropertyOrder() { + ATMLayerErrorResponse errorResponse = ATMLayerErrorResponse.builder() + .errorCode("E001") + .type("Validation Error") + .statusCode(500) + .message("Invalid input data") + .build(); - ObjectMapper objectMapper = new ObjectMapper(); - try { - String json = objectMapper.writeValueAsString(errorResponse); - assertTrue(json.contains("\"type\":\"Validation Error\"")); - assertTrue(json.contains("\"errorCode\":\"E001\"")); - assertTrue(json.contains("\"statusCode\":500")); - assertTrue(json.contains("\"message\":\"Invalid input data\"")); - } catch (Exception e) { - fail("JSON serialization failed: " + e.getMessage()); + ObjectMapper objectMapper = new ObjectMapper(); + try { + String json = objectMapper.writeValueAsString(errorResponse); + assertTrue(json.contains("\"type\":\"Validation Error\"")); + assertTrue(json.contains("\"errorCode\":\"E001\"")); + assertTrue(json.contains("\"statusCode\":500")); + assertTrue(json.contains("\"message\":\"Invalid input data\"")); + } catch (Exception e) { + fail("JSON serialization failed: " + e.getMessage()); + } } - } - @Test - void testGetterAnnotations() { - ATMLayerErrorResponse errorResponse = ATMLayerErrorResponse.builder() - .errorCode("E001") - .type("Validation Error") - .statusCode(500) - .message("Invalid input data") - .build(); + @Test + void testGetterAnnotations() { + ATMLayerErrorResponse errorResponse = ATMLayerErrorResponse.builder() + .errorCode("E001") + .type("Validation Error") + .statusCode(500) + .message("Invalid input data") + .build(); - assertEquals("E001", errorResponse.getErrorCode()); - assertEquals("Validation Error", errorResponse.getType()); - assertEquals(500, errorResponse.getStatusCode()); - assertEquals("Invalid input data", errorResponse.getMessage()); - } + assertEquals("E001", errorResponse.getErrorCode()); + assertEquals("Validation Error", errorResponse.getType()); + assertEquals(500, errorResponse.getStatusCode()); + assertEquals("Invalid input data", errorResponse.getMessage()); + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ATMLayerValidationErrorResponseTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ATMLayerValidationErrorResponseTest.java index ac44195a..85b1caf3 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ATMLayerValidationErrorResponseTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ATMLayerValidationErrorResponseTest.java @@ -3,52 +3,50 @@ import com.fasterxml.jackson.databind.ObjectMapper; import io.quarkus.test.junit.QuarkusTest; import org.junit.jupiter.api.Test; + import java.util.List; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.fail; +import static org.junit.jupiter.api.Assertions.*; @QuarkusTest class ATMLayerValidationErrorResponseTest { - @Test - void testGetterAnnotations() { - ATMLayerValidationErrorResponse errorResponse = ATMLayerValidationErrorResponse.builder() - .errorCode("E001") - .type("Validation Error") - .statusCode(500) - .message("Invalid input data") - .errors(List.of("Field xxx must be not null")) - .build(); - - assertEquals("E001", errorResponse.getErrorCode()); - assertEquals("Validation Error", errorResponse.getType()); - assertEquals(500, errorResponse.getStatusCode()); - assertEquals("Invalid input data", errorResponse.getMessage()); - assertNotNull(errorResponse.getErrors()); - assertEquals(1, errorResponse.getErrors().size()); - assertEquals("Field xxx must be not null", errorResponse.getErrors().get(0)); - } - - @Test - void testJsonPropertyOrder() { - ATMLayerValidationErrorResponse errorResponse = ATMLayerValidationErrorResponse.builder() - .errorCode("E001") - .type("Validation Error") - .statusCode(500) - .message("Invalid input data") - .errors(List.of("Field xxx must be not null")) - .build(); - - ObjectMapper objectMapper = new ObjectMapper(); - try { - String json = objectMapper.writeValueAsString(errorResponse); - String expectedJson = "{\"type\":\"Validation Error\",\"errorCode\":\"E001\",\"statusCode\":500,\"message\":\"Invalid input data\",\"errors\":[\"Field xxx must be not null\"]}"; - assertNotEquals(expectedJson, json); - } catch (Exception e) { - fail("JSON serialization failed: " + e.getMessage()); + @Test + void testGetterAnnotations() { + ATMLayerValidationErrorResponse errorResponse = ATMLayerValidationErrorResponse.builder() + .errorCode("E001") + .type("Validation Error") + .statusCode(500) + .message("Invalid input data") + .errors(List.of("Field xxx must be not null")) + .build(); + + assertEquals("E001", errorResponse.getErrorCode()); + assertEquals("Validation Error", errorResponse.getType()); + assertEquals(500, errorResponse.getStatusCode()); + assertEquals("Invalid input data", errorResponse.getMessage()); + assertNotNull(errorResponse.getErrors()); + assertEquals(1, errorResponse.getErrors().size()); + assertEquals("Field xxx must be not null", errorResponse.getErrors().get(0)); + } + + @Test + void testJsonPropertyOrder() { + ATMLayerValidationErrorResponse errorResponse = ATMLayerValidationErrorResponse.builder() + .errorCode("E001") + .type("Validation Error") + .statusCode(500) + .message("Invalid input data") + .errors(List.of("Field xxx must be not null")) + .build(); + + ObjectMapper objectMapper = new ObjectMapper(); + try { + String json = objectMapper.writeValueAsString(errorResponse); + String expectedJson = "{\"type\":\"Validation Error\",\"errorCode\":\"E001\",\"statusCode\":500,\"message\":\"Invalid input data\",\"errors\":[\"Field xxx must be not null\"]}"; + assertNotEquals(expectedJson, json); + } catch (Exception e) { + fail("JSON serialization failed: " + e.getMessage()); + } } - } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnBankConfigDTOTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnBankConfigDTOTest.java index 07b44bed..ef24f7c5 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnBankConfigDTOTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnBankConfigDTOTest.java @@ -2,101 +2,100 @@ import io.quarkus.test.junit.QuarkusTest; import org.junit.jupiter.api.Test; + import java.sql.Timestamp; import java.util.UUID; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.*; @QuarkusTest class BpmnBankConfigDTOTest { - @Test - void testNoArgsConstructor() { - BpmnBankConfigDTO dto = new BpmnBankConfigDTO(); - assertNotNull(dto); - } - - @Test - void testAllArgsConstructor() { - BpmnBankConfigDTO dto = new BpmnBankConfigDTO( - UUID.randomUUID(), 1L, "acquirer", "branch", "terminal", - "MENU", new Timestamp(System.currentTimeMillis()), - new Timestamp(System.currentTimeMillis()), "creator", "updator"); - assertNotNull(dto); - } - - @Test - void testGetterAndSetter() { - BpmnBankConfigDTO dto = new BpmnBankConfigDTO(); - - dto.setBpmnId(UUID.randomUUID()); - assertNotEquals(dto.getBpmnId(), UUID.randomUUID()); - - dto.setBpmnModelVersion(1L); - assertEquals(1L, dto.getBpmnModelVersion()); - - dto.setAcquirerId("acquirer"); - assertEquals("acquirer", dto.getAcquirerId()); - - dto.setBranchId("branch"); - assertEquals("branch", dto.getBranchId()); - - dto.setTerminalId("terminal"); - assertEquals("terminal", dto.getTerminalId()); - - dto.setFunctionType("MENU"); - assertEquals("MENU", dto.getFunctionType()); - - Timestamp createdAt = new Timestamp(System.currentTimeMillis()); - dto.setCreatedAt(createdAt); - assertEquals(dto.getCreatedAt(), createdAt); - - Timestamp lastUpdatedAt = new Timestamp(System.currentTimeMillis()); - dto.setLastUpdatedAt(lastUpdatedAt); - assertEquals(dto.getLastUpdatedAt(), lastUpdatedAt); - - dto.setCreatedBy("creator"); - assertEquals("creator", dto.getCreatedBy()); - - dto.setLastUpdatedBy("updator"); - assertEquals("updator", dto.getLastUpdatedBy()); - } - - @Test - void testEqualsAndHashCode() { - BpmnBankConfigDTO dto1 = new BpmnBankConfigDTO( - UUID.randomUUID(), 1L, "acquirer", "branch", "terminal", - "MENU", new Timestamp(System.currentTimeMillis()), - new Timestamp(System.currentTimeMillis()), "creator", "updator"); - BpmnBankConfigDTO dto2 = new BpmnBankConfigDTO( - UUID.randomUUID(), 1L, "acquirer", "branch", "terminal", - "MENU", new Timestamp(System.currentTimeMillis()), - new Timestamp(System.currentTimeMillis()), "creator", "updator"); - - assertNotEquals(dto1, dto2); - assertNotEquals(dto1.hashCode(), dto2.hashCode()); - } - - @Test - void testToString() { - BpmnBankConfigDTO dto = new BpmnBankConfigDTO( - UUID.randomUUID(), 1L, "acquirer", "branch", "terminal", - "MENU", new Timestamp(System.currentTimeMillis()), - new Timestamp(System.currentTimeMillis()), "creator", "updator"); - - String expectedToString = "BpmnBankConfigDTO(bpmnId=" + dto.getBpmnId() + - ", bpmnModelVersion=" + dto.getBpmnModelVersion() + - ", acquirerId=" + dto.getAcquirerId() + - ", branchId=" + dto.getBranchId() + - ", terminalId=" + dto.getTerminalId() + - ", functionType=" + dto.getFunctionType() + - ", createdAt=" + dto.getCreatedAt() + - ", lastUpdatedAt=" + dto.getLastUpdatedAt() + - ", createdBy=" + dto.getCreatedBy() + - ", lastUpdatedBy=" + dto.getLastUpdatedBy() + ")"; - - assertEquals(expectedToString, dto.toString()); - } + @Test + void testNoArgsConstructor() { + BpmnBankConfigDTO dto = new BpmnBankConfigDTO(); + assertNotNull(dto); + } + + @Test + void testAllArgsConstructor() { + BpmnBankConfigDTO dto = new BpmnBankConfigDTO( + UUID.randomUUID(), 1L, "acquirer", "branch", "terminal", + "MENU", new Timestamp(System.currentTimeMillis()), + new Timestamp(System.currentTimeMillis()), "creator", "updator"); + assertNotNull(dto); + } + + @Test + void testGetterAndSetter() { + BpmnBankConfigDTO dto = new BpmnBankConfigDTO(); + + dto.setBpmnId(UUID.randomUUID()); + assertNotEquals(dto.getBpmnId(), UUID.randomUUID()); + + dto.setBpmnModelVersion(1L); + assertEquals(1L, dto.getBpmnModelVersion()); + + dto.setAcquirerId("acquirer"); + assertEquals("acquirer", dto.getAcquirerId()); + + dto.setBranchId("branch"); + assertEquals("branch", dto.getBranchId()); + + dto.setTerminalId("terminal"); + assertEquals("terminal", dto.getTerminalId()); + + dto.setFunctionType("MENU"); + assertEquals("MENU", dto.getFunctionType()); + + Timestamp createdAt = new Timestamp(System.currentTimeMillis()); + dto.setCreatedAt(createdAt); + assertEquals(dto.getCreatedAt(), createdAt); + + Timestamp lastUpdatedAt = new Timestamp(System.currentTimeMillis()); + dto.setLastUpdatedAt(lastUpdatedAt); + assertEquals(dto.getLastUpdatedAt(), lastUpdatedAt); + + dto.setCreatedBy("creator"); + assertEquals("creator", dto.getCreatedBy()); + + dto.setLastUpdatedBy("updator"); + assertEquals("updator", dto.getLastUpdatedBy()); + } + + @Test + void testEqualsAndHashCode() { + BpmnBankConfigDTO dto1 = new BpmnBankConfigDTO( + UUID.randomUUID(), 1L, "acquirer", "branch", "terminal", + "MENU", new Timestamp(System.currentTimeMillis()), + new Timestamp(System.currentTimeMillis()), "creator", "updator"); + BpmnBankConfigDTO dto2 = new BpmnBankConfigDTO( + UUID.randomUUID(), 1L, "acquirer", "branch", "terminal", + "MENU", new Timestamp(System.currentTimeMillis()), + new Timestamp(System.currentTimeMillis()), "creator", "updator"); + + assertNotEquals(dto1, dto2); + assertNotEquals(dto1.hashCode(), dto2.hashCode()); + } + + @Test + void testToString() { + BpmnBankConfigDTO dto = new BpmnBankConfigDTO( + UUID.randomUUID(), 1L, "acquirer", "branch", "terminal", + "MENU", new Timestamp(System.currentTimeMillis()), + new Timestamp(System.currentTimeMillis()), "creator", "updator"); + + String expectedToString = "BpmnBankConfigDTO(bpmnId=" + dto.getBpmnId() + + ", bpmnModelVersion=" + dto.getBpmnModelVersion() + + ", acquirerId=" + dto.getAcquirerId() + + ", branchId=" + dto.getBranchId() + + ", terminalId=" + dto.getTerminalId() + + ", functionType=" + dto.getFunctionType() + + ", createdAt=" + dto.getCreatedAt() + + ", lastUpdatedAt=" + dto.getLastUpdatedAt() + + ", createdBy=" + dto.getCreatedBy() + + ", lastUpdatedBy=" + dto.getLastUpdatedBy() + ")"; + + assertEquals(expectedToString, dto.toString()); + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnDTOTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnDTOTest.java index 34e25928..34d8a17b 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnDTOTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnDTOTest.java @@ -4,12 +4,10 @@ import it.gov.pagopa.atmlayer.service.model.enumeration.StatusEnum; import org.junit.jupiter.api.Test; -import java.util.UUID; import java.sql.Timestamp; +import java.util.UUID; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.*; @QuarkusTest class BpmnDTOTest { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnIdDtoTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnIdDtoTest.java index f3122f45..6d6bf038 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnIdDtoTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/BpmnIdDtoTest.java @@ -11,38 +11,38 @@ @QuarkusTest class BpmnIdDtoTest { - @Test - void testEqualsAndHashCode() { - BpmnIdDto dto1 = new BpmnIdDto(UUID.randomUUID(), 1L); - BpmnIdDto dto2 = new BpmnIdDto(UUID.randomUUID(), 1L); - - assertNotEquals(dto1, dto2); - assertNotEquals(null, dto1); - - BpmnIdDto dto3 = new BpmnIdDto(UUID.randomUUID(), 2L); - assertNotEquals(dto1, dto3); - } - - @Test - void testToString() { - UUID uuid = UUID.randomUUID(); - BpmnIdDto dto = new BpmnIdDto(uuid, 1L); - - String expectedToString = "BpmnIdDto(bpmnId=" + uuid + ", modelVersion=1)"; - assertEquals(expectedToString, dto.toString()); - } - - @Test - void testGetterAndSetter() { - BpmnIdDto dto = new BpmnIdDto(UUID.randomUUID(), 1L); - - UUID newUuid = UUID.randomUUID(); - dto.setBpmnId(newUuid); - assertEquals(newUuid, dto.getBpmnId()); - - Long newModelVersion = 2L; - dto.setModelVersion(newModelVersion); - assertEquals(newModelVersion, dto.getModelVersion()); - } + @Test + void testEqualsAndHashCode() { + BpmnIdDto dto1 = new BpmnIdDto(UUID.randomUUID(), 1L); + BpmnIdDto dto2 = new BpmnIdDto(UUID.randomUUID(), 1L); + + assertNotEquals(dto1, dto2); + assertNotEquals(null, dto1); + + BpmnIdDto dto3 = new BpmnIdDto(UUID.randomUUID(), 2L); + assertNotEquals(dto1, dto3); + } + + @Test + void testToString() { + UUID uuid = UUID.randomUUID(); + BpmnIdDto dto = new BpmnIdDto(uuid, 1L); + + String expectedToString = "BpmnIdDto(bpmnId=" + uuid + ", modelVersion=1)"; + assertEquals(expectedToString, dto.toString()); + } + + @Test + void testGetterAndSetter() { + BpmnIdDto dto = new BpmnIdDto(UUID.randomUUID(), 1L); + + UUID newUuid = UUID.randomUUID(); + dto.setBpmnId(newUuid); + assertEquals(newUuid, dto.getBpmnId()); + + Long newModelVersion = 2L; + dto.setModelVersion(newModelVersion); + assertEquals(newModelVersion, dto.getModelVersion()); + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ErrorResponseTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ErrorResponseTest.java index 6c503165..1c334f2b 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ErrorResponseTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ErrorResponseTest.java @@ -5,9 +5,7 @@ import jakarta.inject.Inject; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.fail; +import static org.junit.jupiter.api.Assertions.*; @QuarkusTest class ErrorResponseTest { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ObjectStorePutResponseTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ObjectStorePutResponseTest.java index b0be8359..07dee62b 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ObjectStorePutResponseTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/ObjectStorePutResponseTest.java @@ -3,10 +3,7 @@ import io.quarkus.test.junit.QuarkusTest; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.*; @QuarkusTest class ObjectStorePutResponseTest { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/filestorage/FileObjectTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/filestorage/FileObjectTest.java index 9895daad..b363ff16 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/model/filestorage/FileObjectTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/model/filestorage/FileObjectTest.java @@ -1,13 +1,14 @@ package it.gov.pagopa.atmlayer.service.model.model.filestorage; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNull; -import static org.mockito.Mockito.*; - import io.quarkus.test.junit.QuarkusTest; import org.junit.jupiter.api.Test; import software.amazon.awssdk.services.s3.model.S3Object; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + @QuarkusTest class FileObjectTest { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResourceTest.java index 57da8092..a642eeb0 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResourceTest.java @@ -3,16 +3,8 @@ import io.quarkus.test.InjectMock; import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Uni; -import it.gov.pagopa.atmlayer.service.model.dto.BpmnAssociationDto; -import it.gov.pagopa.atmlayer.service.model.dto.BpmnCreationDto; -import it.gov.pagopa.atmlayer.service.model.dto.BpmnUpgradeDto; -import it.gov.pagopa.atmlayer.service.model.dto.BranchConfigs; -import it.gov.pagopa.atmlayer.service.model.dto.TerminalConfigs; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnBankConfig; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnBankConfigPK; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersion; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnVersionPK; -import it.gov.pagopa.atmlayer.service.model.entity.ResourceFile; +import it.gov.pagopa.atmlayer.service.model.dto.*; +import it.gov.pagopa.atmlayer.service.model.entity.*; import it.gov.pagopa.atmlayer.service.model.enumeration.BankConfigUtilityValues; import it.gov.pagopa.atmlayer.service.model.enumeration.S3ResourceTypeEnum; import it.gov.pagopa.atmlayer.service.model.mapper.BpmnConfigMapper; @@ -31,21 +23,14 @@ import java.io.File; import java.io.IOException; import java.security.NoSuchAlgorithmException; -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashSet; -import java.util.List; -import java.util.Optional; -import java.util.UUID; +import java.util.*; import static io.restassured.RestAssured.given; import static org.hamcrest.Matchers.is; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; +import static org.mockito.Mockito.*; @QuarkusTest class BpmnResourceTest { @@ -131,7 +116,7 @@ void testGetEncodedFileOK() { bpmnVersion.setModelVersion(version); BpmnDTO bpmnDTO = new BpmnDTO(); bpmnDTO.setDeployedFileName("testDTO"); - when(bpmnVersionService.findByPk(new BpmnVersionPK(uuid, version))).thenReturn(Uni.createFrom().item(Optional.ofNullable(bpmnVersion))); + when(bpmnVersionService.findByPk(new BpmnVersionPK(uuid, version))).thenReturn(Uni.createFrom().item(Optional.of(bpmnVersion))); when(bpmnVersionMapper.toDTO(bpmnVersion)).thenReturn(bpmnDTO); given() .pathParam("bpmnId", uuid) @@ -151,7 +136,7 @@ void testGetEncodedFileFileNotFound() { bpmnVersion.setModelVersion(version); BpmnDTO bpmnDTO = new BpmnDTO(); bpmnDTO.setDeployedFileName("testDTO"); - when(bpmnVersionService.findByPk(new BpmnVersionPK(uuid, version))).thenReturn(Uni.createFrom().item(Optional.ofNullable(null))); + when(bpmnVersionService.findByPk(new BpmnVersionPK(uuid, version))).thenReturn(Uni.createFrom().item(Optional.empty())); when(bpmnVersionMapper.toDTO(bpmnVersion)).thenReturn(bpmnDTO); given() .pathParam("bpmnId", uuid) @@ -243,30 +228,6 @@ void testDeployBPMN() { assertEquals(version, result.getModelVersion()); } -// @Test -// void downloadBpmn() { -// UUID bpmnId=UUID.randomUUID(); -// Long version=1L; -// BpmnVersionPK expectedKey=new BpmnVersionPK(bpmnId,version); -// BpmnVersion expectedBpmn=(new BpmnVersion()); -// expectedBpmn.setResourceFile(getResourceFileInstance()); -// //set storage key in resource file: that is the input -// BpmnDTO expectedDto=new BpmnDTO(); -// expectedDto.setBpmnId(bpmnId); -// expectedDto.setModelVersion(version); -// when(bpmnVersionService.findByPk(any(BpmnVersionPK.class))).thenReturn(Uni.createFrom().item(Optional.of(expectedBpmn))); -// when(bpmnFileStorageService.download(any(String.class))).thenReturn((RestMulti) buffer("downloaded")); -// -// given() -// .pathParam("uuid",bpmnId) -// .pathParam("version",version) -// .when().post("/api/v1/model/bpmn/deploy/{uuid}/version/{version}") -// .then() -// .statusCode(200); -// verify(bpmnVersionService,times(1)).findByPk(expectedKey); -// verify(bpmnFileStorageService,times(1)).download("storageKey"); -// } - @Test void testDownloadBpmnNullResourceFile() { UUID bpmnId = UUID.randomUUID(); @@ -351,7 +312,7 @@ void testFindBPMNByTriadThreeValues() { .statusCode(200); verify(bpmnBankConfigService, times(1)).findByConfigurationsAndFunction("ACQ", "BRANCH", "TERMINAL", "MENU"); verify(bpmnVersionService, times(1)).findByPk(expectedBpmnVersionPK); - BpmnProcessDTO bpmnProcessDTO=new BpmnProcessDTO(); + BpmnProcessDTO bpmnProcessDTO = new BpmnProcessDTO(); when(bpmnVersionMapper.toProcessDTO(any(BpmnDTO.class))).thenReturn(bpmnProcessDTO); given() .pathParam("functionType", "MENU") @@ -439,7 +400,6 @@ void testFindBPMNByTriadNotFoundException() { @Test void testUpgradeBPMN() { - BpmnUpgradeDto expectedUpmnUpgradeDto = new BpmnUpgradeDto(); when(bpmnVersionService.upgrade(any(BpmnUpgradeDto.class))).thenReturn(Uni.createFrom().item(new BpmnDTO())); given() .contentType(MediaType.MULTIPART_FORM_DATA) @@ -497,23 +457,4 @@ private static BpmnBankConfigPK getBpmnBankConfigPKThreeValueInstance() { return bpmnBankConfigPK; } - private static BpmnBankConfigPK getBpmnBankConfigPKTwoValueInstance() { - BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); - bpmnBankConfigPK.setBpmnId(UUID.randomUUID()); - bpmnBankConfigPK.setBpmnModelVersion(1L); - bpmnBankConfigPK.setAcquirerId("acquirer1"); - bpmnBankConfigPK.setBranchId("branch1"); - bpmnBankConfigPK.setTerminalId(BankConfigUtilityValues.NULL_VALUE.getValue()); - return bpmnBankConfigPK; - } - - private static BpmnBankConfigPK getBpmnBankConfigPKOneValueInstance() { - BpmnBankConfigPK bpmnBankConfigPK = new BpmnBankConfigPK(); - bpmnBankConfigPK.setBpmnId(UUID.randomUUID()); - bpmnBankConfigPK.setBpmnModelVersion(1L); - bpmnBankConfigPK.setAcquirerId("acquirer1"); - bpmnBankConfigPK.setBranchId(BankConfigUtilityValues.NULL_VALUE.getValue()); - bpmnBankConfigPK.setTerminalId(BankConfigUtilityValues.NULL_VALUE.getValue()); - return bpmnBankConfigPK; - } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/InfoResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/InfoResourceTest.java index ca8b3e2e..240690b2 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/InfoResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/InfoResourceTest.java @@ -1,21 +1,17 @@ package it.gov.pagopa.atmlayer.service.model.resource; -import static io.restassured.RestAssured.given; -import static org.junit.jupiter.api.Assertions.assertNotNull; - import com.fasterxml.jackson.databind.ObjectMapper; import io.quarkus.test.junit.QuarkusTest; import it.gov.pagopa.atmlayer.service.model.model.InfoResponse; -import jakarta.inject.Inject; import lombok.SneakyThrows; import org.junit.jupiter.api.Test; +import static io.restassured.RestAssured.given; +import static org.junit.jupiter.api.Assertions.assertNotNull; + @QuarkusTest class InfoResourceTest { - @Inject - InfoResource sut; - private final ObjectMapper objectMapper = new ObjectMapper(); @Test diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResourceTest.java index 62e4a521..027c4713 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ProfileResourceTest.java @@ -20,7 +20,7 @@ import static org.mockito.Mockito.*; @QuarkusTest -public class ProfileResourceTest { +class ProfileResourceTest { @InjectMock ProfileService profileService; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ResourceEntityResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ResourceEntityResourceTest.java index c17f40bd..d6edf27f 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ResourceEntityResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/ResourceEntityResourceTest.java @@ -1,22 +1,16 @@ package it.gov.pagopa.atmlayer.service.model.resource; -import static io.restassured.RestAssured.given; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; - import io.quarkus.test.InjectMock; import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.ResourceCreationDto; import it.gov.pagopa.atmlayer.service.model.entity.ResourceEntity; import it.gov.pagopa.atmlayer.service.model.mapper.ResourceEntityMapper; -import it.gov.pagopa.atmlayer.service.model.mapper.ResourceFileMapper; import it.gov.pagopa.atmlayer.service.model.model.ResourceDTO; import it.gov.pagopa.atmlayer.service.model.service.ResourceEntityService; import jakarta.ws.rs.core.MediaType; +import org.junit.jupiter.api.Test; + import java.io.File; import java.io.IOException; import java.security.NoSuchAlgorithmException; @@ -24,142 +18,143 @@ import java.util.List; import java.util.Optional; import java.util.UUID; -import org.junit.jupiter.api.Test; + +import static io.restassured.RestAssured.given; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.*; @QuarkusTest class ResourceEntityResourceTest { - @InjectMock - private ResourceEntityMapper resourceEntityMapper; - - @InjectMock - private ResourceFileMapper resourceFileMapper; - - @InjectMock - private ResourceEntityService resourceEntityService; - - @Test - void testCreateResource() throws NoSuchAlgorithmException, IOException { - ResourceEntity resourceEntity = new ResourceEntity(); - ResourceDTO resourceDTO = new ResourceDTO(); - - when(resourceEntityMapper.toEntityCreation(any(ResourceCreationDto.class))).thenReturn( - resourceEntity); - when(resourceEntityService.createResource(any(ResourceEntity.class), any(File.class), - any(String.class), any(String.class), any(String.class))) - .thenReturn(Uni.createFrom().item(resourceEntity)); - when(resourceEntityMapper.toDTO(any(ResourceEntity.class))).thenReturn(resourceDTO); - - ResourceDTO result = given() - .contentType(MediaType.MULTIPART_FORM_DATA) - .multiPart("file", new File("src/test/resources/TestMalformed.bpmn")) - .formParam("filename", "name.bpmn") - .formParam("resourceType", "OTHER") - .formParam("path", "").formParam("description", "") - .when().post("/api/v1/model/resources") - .then() - .statusCode(200) - .extract().as(ResourceDTO.class); - - assertEquals(resourceDTO, result); - } - - @Test - void testUpdateResource() { - ResourceEntity resourceEntity = new ResourceEntity(); - ResourceDTO resourceDTO = new ResourceDTO(); - UUID uuid = UUID.randomUUID(); - - when(resourceEntityService.updateResource(any(UUID.class), any(File.class))) - .thenReturn(Uni.createFrom().item(resourceEntity)); - when(resourceEntityMapper.toDTO(any(ResourceEntity.class))).thenReturn(resourceDTO); - - ResourceDTO result = given() - .contentType(MediaType.MULTIPART_FORM_DATA) - .multiPart("file", new File("src/test/resources/TestMalformed.bpmn")) - .pathParam("uuid", uuid.toString()) - .when().put("/api/v1/model/resources/{uuid}") - .then() - .statusCode(200) - .extract().as(ResourceDTO.class); - - assertEquals(resourceDTO, result); - } - - - @Test - void testGetAllResources() { - List resourceEntities = new ArrayList<>(); - ResourceEntity resourceEntity = new ResourceEntity(); - resourceEntities.add(resourceEntity); - List dtoList = new ArrayList<>(); - ResourceDTO resourceDTO = new ResourceDTO(); - dtoList.add(resourceDTO); - when(resourceEntityService.getAll()).thenReturn(Uni.createFrom().item(resourceEntities)); - when(resourceEntityMapper.toDTOList(any(ArrayList.class))).thenReturn(dtoList); - ArrayList result = given() - .when().get("/api/v1/model/resources") - .then() - .statusCode(200) - .extract() - .body() - .as(ArrayList.class); - assertEquals(1, result.size()); - verify(resourceEntityService, times(1)).getAll(); - verify(resourceEntityMapper, times(1)).toDTOList(resourceEntities); - } - - @Test - void testGetAllResourcesEmptyList() { - List emptyList = new ArrayList<>(); - - when(resourceEntityService.getAll()).thenReturn(Uni.createFrom().item(emptyList)); - - given() - .when().get("/api/v1/model/resources") - .then() - .statusCode(200); - - verify(resourceEntityService, times(1)).getAll(); - } - - @Test - void testGetResourceById() { - UUID uuid = UUID.randomUUID(); - - ResourceEntity resourceEntity = new ResourceEntity(); - - when(resourceEntityService.findByUUID(any(UUID.class))).thenReturn( - Uni.createFrom().item(Optional.of(resourceEntity))); - ResourceDTO resourceDTO = new ResourceDTO(); - when(resourceEntityMapper.toDTO(any(ResourceEntity.class))).thenReturn(resourceDTO); - - given() - .pathParam("uuid", uuid) - .when() - .get("/api/v1/model/resources/{uuid}") - .then() - .statusCode(200); - - verify(resourceEntityService, times(1)).findByUUID(any(UUID.class)); - verify(resourceEntityMapper, times(1)).toDTO(resourceEntity); - } - - @Test - void testByIdNotFound() { - UUID uuid = UUID.randomUUID(); - - when(resourceEntityService.findByUUID(any(UUID.class))).thenReturn( - Uni.createFrom().item(Optional.empty())); - - given() - .pathParam("uuid", uuid) - .when() - .get("/api/v1/model/resources/{uuid}") - .then() - .statusCode(404); - - verify(resourceEntityService, times(1)).findByUUID(any(UUID.class)); - verify(resourceEntityMapper, times(0)).toDTO(any()); - } + @InjectMock + ResourceEntityMapper resourceEntityMapper; + + @InjectMock + ResourceEntityService resourceEntityService; + + @Test + void testCreateResource() throws NoSuchAlgorithmException, IOException { + ResourceEntity resourceEntity = new ResourceEntity(); + ResourceDTO resourceDTO = new ResourceDTO(); + + when(resourceEntityMapper.toEntityCreation(any(ResourceCreationDto.class))).thenReturn( + resourceEntity); + when(resourceEntityService.createResource(any(ResourceEntity.class), any(File.class), + any(String.class), any(String.class), any(String.class))) + .thenReturn(Uni.createFrom().item(resourceEntity)); + when(resourceEntityMapper.toDTO(any(ResourceEntity.class))).thenReturn(resourceDTO); + + ResourceDTO result = given() + .contentType(MediaType.MULTIPART_FORM_DATA) + .multiPart("file", new File("src/test/resources/TestMalformed.bpmn")) + .formParam("filename", "name.bpmn") + .formParam("resourceType", "OTHER") + .formParam("path", "").formParam("description", "") + .when().post("/api/v1/model/resources") + .then() + .statusCode(200) + .extract().as(ResourceDTO.class); + + assertEquals(resourceDTO, result); + } + + @Test + void testUpdateResource() { + ResourceEntity resourceEntity = new ResourceEntity(); + ResourceDTO resourceDTO = new ResourceDTO(); + UUID uuid = UUID.randomUUID(); + + when(resourceEntityService.updateResource(any(UUID.class), any(File.class))) + .thenReturn(Uni.createFrom().item(resourceEntity)); + when(resourceEntityMapper.toDTO(any(ResourceEntity.class))).thenReturn(resourceDTO); + + ResourceDTO result = given() + .contentType(MediaType.MULTIPART_FORM_DATA) + .multiPart("file", new File("src/test/resources/TestMalformed.bpmn")) + .pathParam("uuid", uuid.toString()) + .when().put("/api/v1/model/resources/{uuid}") + .then() + .statusCode(200) + .extract().as(ResourceDTO.class); + + assertEquals(resourceDTO, result); + } + + + @Test + void testGetAllResources() { + List resourceEntities = new ArrayList<>(); + ResourceEntity resourceEntity = new ResourceEntity(); + resourceEntities.add(resourceEntity); + List dtoList = new ArrayList<>(); + ResourceDTO resourceDTO = new ResourceDTO(); + dtoList.add(resourceDTO); + when(resourceEntityService.getAll()).thenReturn(Uni.createFrom().item(resourceEntities)); + when(resourceEntityMapper.toDTOList(any(ArrayList.class))).thenReturn(dtoList); + ArrayList result = given() + .when().get("/api/v1/model/resources") + .then() + .statusCode(200) + .extract() + .body() + .as(ArrayList.class); + assertEquals(1, result.size()); + verify(resourceEntityService, times(1)).getAll(); + verify(resourceEntityMapper, times(1)).toDTOList(resourceEntities); + } + + @Test + void testGetAllResourcesEmptyList() { + List emptyList = new ArrayList<>(); + + when(resourceEntityService.getAll()).thenReturn(Uni.createFrom().item(emptyList)); + + given() + .when().get("/api/v1/model/resources") + .then() + .statusCode(200); + + verify(resourceEntityService, times(1)).getAll(); + } + + @Test + void testGetResourceById() { + UUID uuid = UUID.randomUUID(); + + ResourceEntity resourceEntity = new ResourceEntity(); + + when(resourceEntityService.findByUUID(any(UUID.class))).thenReturn( + Uni.createFrom().item(Optional.of(resourceEntity))); + ResourceDTO resourceDTO = new ResourceDTO(); + when(resourceEntityMapper.toDTO(any(ResourceEntity.class))).thenReturn(resourceDTO); + + given() + .pathParam("uuid", uuid) + .when() + .get("/api/v1/model/resources/{uuid}") + .then() + .statusCode(200); + + verify(resourceEntityService, times(1)).findByUUID(any(UUID.class)); + verify(resourceEntityMapper, times(1)).toDTO(resourceEntity); + } + + @Test + void testByIdNotFound() { + UUID uuid = UUID.randomUUID(); + + when(resourceEntityService.findByUUID(any(UUID.class))).thenReturn( + Uni.createFrom().item(Optional.empty())); + + given() + .pathParam("uuid", uuid) + .when() + .get("/api/v1/model/resources/{uuid}") + .then() + .statusCode(404); + + verify(resourceEntityService, times(1)).findByUUID(any(UUID.class)); + verify(resourceEntityMapper, times(0)).toDTO(any()); + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResourceTest.java index 797de863..f2e249c3 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResourceTest.java @@ -1,24 +1,17 @@ package it.gov.pagopa.atmlayer.service.model.resource; -import static io.restassured.RestAssured.given; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.ArgumentMatchers.eq; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; - import io.quarkus.test.InjectMock; import io.quarkus.test.junit.QuarkusTest; import io.restassured.http.ContentType; import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.WorkflowResourceCreationDto; import it.gov.pagopa.atmlayer.service.model.entity.WorkflowResource; -import it.gov.pagopa.atmlayer.service.model.mapper.ResourceFileMapper; import it.gov.pagopa.atmlayer.service.model.mapper.WorkflowResourceMapper; import it.gov.pagopa.atmlayer.service.model.model.WorkflowResourceDTO; import it.gov.pagopa.atmlayer.service.model.service.WorkflowResourceService; import jakarta.ws.rs.core.MediaType; +import org.junit.jupiter.api.Test; + import java.io.File; import java.io.IOException; import java.security.NoSuchAlgorithmException; @@ -26,207 +19,209 @@ import java.util.List; import java.util.Optional; import java.util.UUID; -import org.junit.jupiter.api.Test; + +import static io.restassured.RestAssured.given; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.*; @QuarkusTest class WorkflowResourceResourceTest { - @InjectMock - WorkflowResourceService workflowResourceService; - - @InjectMock - WorkflowResourceMapper workflowResourceMapper; - - @InjectMock - ResourceFileMapper resourceFileMapper; - - @Test - void testCreate() throws NoSuchAlgorithmException, IOException { - WorkflowResource workflowResource = new WorkflowResource(); - WorkflowResourceDTO workflowResourceDTO = new WorkflowResourceDTO(); - - when(workflowResourceMapper.toEntityCreation(any(WorkflowResourceCreationDto.class))).thenReturn( - workflowResource); - when(workflowResourceService.createWorkflowResource(any(WorkflowResource.class), any(File.class), - any(String.class))) - .thenReturn(Uni.createFrom().item(workflowResource)); - when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(workflowResourceDTO); - - WorkflowResourceDTO result = given() - .contentType(MediaType.MULTIPART_FORM_DATA) - .multiPart("file", new File("src/test/resources/diagram_1.dmn")) - .formParam("filename", "diagram_1") - .formParam("resourceType", "DMN") - .when().post("/api/v1/model/workflow-resource") - .then() - .statusCode(200) - .extract().as(WorkflowResourceDTO.class); - - assertEquals(workflowResourceDTO, result); - } - - @Test - void testUpdate() throws NoSuchAlgorithmException, IOException { - WorkflowResource workflowResource = new WorkflowResource(); - WorkflowResourceDTO workflowResourceDTO = new WorkflowResourceDTO(); - UUID uuid = UUID.randomUUID(); - - when(workflowResourceService.update(any(UUID.class), any(File.class),any(Boolean.class))) - .thenReturn(Uni.createFrom().item(workflowResource)); - when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(workflowResourceDTO); - - WorkflowResourceDTO result = given() - .contentType(MediaType.MULTIPART_FORM_DATA) - .multiPart("file", new File("src/test/resources/diagram_1.dmn")) - .pathParam("uuid", uuid.toString()) - .when().put("/api/v1/model/workflow-resource/update/{uuid}") - .then() - .statusCode(200) - .extract().as(WorkflowResourceDTO.class); - - assertEquals(workflowResourceDTO, result); - } - - @Test - void testRollback() { - UUID uuid = UUID.randomUUID(); - WorkflowResource rolledBackWorkflowResource = new WorkflowResource(); - WorkflowResourceDTO expectedDto = new WorkflowResourceDTO(); - expectedDto.setWorkflowResourceId(uuid); - - when(workflowResourceService.rollback(any(UUID.class))).thenReturn(Uni.createFrom().item(rolledBackWorkflowResource)); - when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(expectedDto); - - WorkflowResourceDTO result = given() - .contentType(ContentType.JSON) - .pathParam("uuid", uuid) - .when().put("/api/v1/model/workflow-resource/rollback/{uuid}") - .then() - .statusCode(200) - .extract().as(WorkflowResourceDTO.class); - - verify(workflowResourceService, times(1)).rollback(uuid); - verify(workflowResourceMapper, times(1)).toDTO(rolledBackWorkflowResource); - - assertEquals(uuid, result.getWorkflowResourceId()); - } - - @Test - void testDelete(){ - UUID uuid = UUID.randomUUID(); - - when(workflowResourceService.delete(any(UUID.class))).thenReturn(Uni.createFrom().item(true)); - - given() - .pathParam("uuid", uuid) - .when().delete("/api/v1/model/workflow-resource/{uuid}") - .then() - .statusCode(204); - - verify(workflowResourceService, times(1)).delete(uuid); - } - - @Test - void testDeploy(){ - UUID uuid = UUID.randomUUID(); - WorkflowResource workflowResource = new WorkflowResource(); - WorkflowResourceDTO expectedDto = new WorkflowResourceDTO(); - expectedDto.setWorkflowResourceId(uuid); - - when(workflowResourceService.findById(any(UUID.class))).thenReturn(Uni.createFrom().item(Optional.of(workflowResource))); - when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(expectedDto); - when(workflowResourceService.deploy(any(UUID.class), eq(Optional.of(workflowResource)))).thenReturn(Uni.createFrom().item(workflowResource)); - - WorkflowResourceDTO result = given() - .contentType(ContentType.JSON) - .pathParam("uuid", uuid) - .when().post("/api/v1/model/workflow-resource/deploy/{uuid}") - .then() - .statusCode(200) - .extract().as(WorkflowResourceDTO.class); - - verify(workflowResourceService, times(1)).findById(uuid); - verify(workflowResourceService, times(1)).deploy(uuid, Optional.of(workflowResource)); - verify(workflowResourceMapper, times(1)).toDTO(workflowResource); - assertEquals(uuid, result.getWorkflowResourceId()); - } - - @Test - void testGetAll() { - List workflowResources = new ArrayList<>(); - WorkflowResource workflowResource = new WorkflowResource(); - workflowResources.add(workflowResource); - List dtoList = new ArrayList<>(); - WorkflowResourceDTO workflowResourceDTO = new WorkflowResourceDTO(); - dtoList.add(workflowResourceDTO); - - when(workflowResourceService.getAll()).thenReturn(Uni.createFrom().item(workflowResources)); - when(workflowResourceMapper.toDTOList(any(ArrayList.class))).thenReturn(dtoList); - - ArrayList result = given() - .when().get("/api/v1/model/workflow-resource") - .then() - .statusCode(200) - .extract() - .body() - .as(ArrayList.class); - assertEquals(1, result.size()); - verify(workflowResourceService, times(1)).getAll(); - verify(workflowResourceMapper, times(1)).toDTOList(workflowResources); - } - - @Test - void testGetAllEmptyList() { - List emptyList = new ArrayList<>(); - - when(workflowResourceService.getAll()).thenReturn(Uni.createFrom().item(emptyList)); - - given() - .when().get("/api/v1/model/workflow-resource") - .then() - .statusCode(200); - - verify(workflowResourceService, times(1)).getAll(); - } - - @Test - void testById() { - UUID uuid = UUID.randomUUID(); - - WorkflowResource workflowResource = new WorkflowResource(); - - when(workflowResourceService.findById(any(UUID.class))).thenReturn( - Uni.createFrom().item(Optional.of(workflowResource))); - WorkflowResourceDTO dto = new WorkflowResourceDTO(); - when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(dto); - - given() - .pathParam("uuid", uuid) - .when() - .get("/api/v1/model/workflow-resource/{uuid}") - .then() - .statusCode(200); - - verify(workflowResourceService, times(1)).findById(any(UUID.class)); - verify(workflowResourceMapper, times(1)).toDTO(workflowResource); - } - - @Test - void testByIdNotFound() { - UUID uuid = UUID.randomUUID(); - - when(workflowResourceService.findById(any(UUID.class))).thenReturn( - Uni.createFrom().item(Optional.empty())); - - given() - .pathParam("uuid", uuid) - .when() - .get("/api/v1/model/workflow-resource/{uuid}") - .then() - .statusCode(404); - - verify(workflowResourceService, times(1)).findById(any(UUID.class)); - verify(workflowResourceMapper, times(0)).toDTO(any()); - } + @InjectMock + WorkflowResourceService workflowResourceService; + + @InjectMock + WorkflowResourceMapper workflowResourceMapper; + + @Test + void testCreate() throws NoSuchAlgorithmException, IOException { + WorkflowResource workflowResource = new WorkflowResource(); + WorkflowResourceDTO workflowResourceDTO = new WorkflowResourceDTO(); + + when(workflowResourceMapper.toEntityCreation(any(WorkflowResourceCreationDto.class))).thenReturn( + workflowResource); + when(workflowResourceService.createWorkflowResource(any(WorkflowResource.class), any(File.class), + any(String.class))) + .thenReturn(Uni.createFrom().item(workflowResource)); + when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(workflowResourceDTO); + + WorkflowResourceDTO result = given() + .contentType(MediaType.MULTIPART_FORM_DATA) + .multiPart("file", new File("src/test/resources/diagram_1.dmn")) + .formParam("filename", "diagram_1") + .formParam("resourceType", "DMN") + .when().post("/api/v1/model/workflow-resource") + .then() + .statusCode(200) + .extract().as(WorkflowResourceDTO.class); + + assertEquals(workflowResourceDTO, result); + } + + @Test + void testUpdate() throws NoSuchAlgorithmException, IOException { + WorkflowResource workflowResource = new WorkflowResource(); + WorkflowResourceDTO workflowResourceDTO = new WorkflowResourceDTO(); + UUID uuid = UUID.randomUUID(); + + when(workflowResourceService.update(any(UUID.class), any(File.class), any(Boolean.class))) + .thenReturn(Uni.createFrom().item(workflowResource)); + when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(workflowResourceDTO); + + WorkflowResourceDTO result = given() + .contentType(MediaType.MULTIPART_FORM_DATA) + .multiPart("file", new File("src/test/resources/diagram_1.dmn")) + .pathParam("uuid", uuid.toString()) + .when().put("/api/v1/model/workflow-resource/update/{uuid}") + .then() + .statusCode(200) + .extract().as(WorkflowResourceDTO.class); + + assertEquals(workflowResourceDTO, result); + } + + @Test + void testRollback() { + UUID uuid = UUID.randomUUID(); + WorkflowResource rolledBackWorkflowResource = new WorkflowResource(); + WorkflowResourceDTO expectedDto = new WorkflowResourceDTO(); + expectedDto.setWorkflowResourceId(uuid); + + when(workflowResourceService.rollback(any(UUID.class))).thenReturn(Uni.createFrom().item(rolledBackWorkflowResource)); + when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(expectedDto); + + WorkflowResourceDTO result = given() + .contentType(ContentType.JSON) + .pathParam("uuid", uuid) + .when().put("/api/v1/model/workflow-resource/rollback/{uuid}") + .then() + .statusCode(200) + .extract().as(WorkflowResourceDTO.class); + + verify(workflowResourceService, times(1)).rollback(uuid); + verify(workflowResourceMapper, times(1)).toDTO(rolledBackWorkflowResource); + + assertEquals(uuid, result.getWorkflowResourceId()); + } + + @Test + void testDelete() { + UUID uuid = UUID.randomUUID(); + + when(workflowResourceService.delete(any(UUID.class))).thenReturn(Uni.createFrom().item(true)); + + given() + .pathParam("uuid", uuid) + .when().delete("/api/v1/model/workflow-resource/{uuid}") + .then() + .statusCode(204); + + verify(workflowResourceService, times(1)).delete(uuid); + } + + @Test + void testDeploy() { + UUID uuid = UUID.randomUUID(); + WorkflowResource workflowResource = new WorkflowResource(); + WorkflowResourceDTO expectedDto = new WorkflowResourceDTO(); + expectedDto.setWorkflowResourceId(uuid); + + when(workflowResourceService.findById(any(UUID.class))).thenReturn(Uni.createFrom().item(Optional.of(workflowResource))); + when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(expectedDto); + when(workflowResourceService.deploy(any(UUID.class), eq(Optional.of(workflowResource)))).thenReturn(Uni.createFrom().item(workflowResource)); + + WorkflowResourceDTO result = given() + .contentType(ContentType.JSON) + .pathParam("uuid", uuid) + .when().post("/api/v1/model/workflow-resource/deploy/{uuid}") + .then() + .statusCode(200) + .extract().as(WorkflowResourceDTO.class); + + verify(workflowResourceService, times(1)).findById(uuid); + verify(workflowResourceService, times(1)).deploy(uuid, Optional.of(workflowResource)); + verify(workflowResourceMapper, times(1)).toDTO(workflowResource); + assertEquals(uuid, result.getWorkflowResourceId()); + } + + @Test + void testGetAll() { + List workflowResources = new ArrayList<>(); + WorkflowResource workflowResource = new WorkflowResource(); + workflowResources.add(workflowResource); + List dtoList = new ArrayList<>(); + WorkflowResourceDTO workflowResourceDTO = new WorkflowResourceDTO(); + dtoList.add(workflowResourceDTO); + + when(workflowResourceService.getAll()).thenReturn(Uni.createFrom().item(workflowResources)); + when(workflowResourceMapper.toDTOList(any(ArrayList.class))).thenReturn(dtoList); + + ArrayList result = given() + .when().get("/api/v1/model/workflow-resource") + .then() + .statusCode(200) + .extract() + .body() + .as(ArrayList.class); + assertEquals(1, result.size()); + verify(workflowResourceService, times(1)).getAll(); + verify(workflowResourceMapper, times(1)).toDTOList(workflowResources); + } + + @Test + void testGetAllEmptyList() { + List emptyList = new ArrayList<>(); + + when(workflowResourceService.getAll()).thenReturn(Uni.createFrom().item(emptyList)); + + given() + .when().get("/api/v1/model/workflow-resource") + .then() + .statusCode(200); + + verify(workflowResourceService, times(1)).getAll(); + } + + @Test + void testById() { + UUID uuid = UUID.randomUUID(); + + WorkflowResource workflowResource = new WorkflowResource(); + + when(workflowResourceService.findById(any(UUID.class))).thenReturn( + Uni.createFrom().item(Optional.of(workflowResource))); + WorkflowResourceDTO dto = new WorkflowResourceDTO(); + when(workflowResourceMapper.toDTO(any(WorkflowResource.class))).thenReturn(dto); + + given() + .pathParam("uuid", uuid) + .when() + .get("/api/v1/model/workflow-resource/{uuid}") + .then() + .statusCode(200); + + verify(workflowResourceService, times(1)).findById(any(UUID.class)); + verify(workflowResourceMapper, times(1)).toDTO(workflowResource); + } + + @Test + void testByIdNotFound() { + UUID uuid = UUID.randomUUID(); + + when(workflowResourceService.findById(any(UUID.class))).thenReturn( + Uni.createFrom().item(Optional.empty())); + + given() + .pathParam("uuid", uuid) + .when() + .get("/api/v1/model/workflow-resource/{uuid}") + .then() + .statusCode(404); + + verify(workflowResourceService, times(1)).findById(any(UUID.class)); + verify(workflowResourceMapper, times(0)).toDTO(any()); + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnBankConfigServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnBankConfigServiceImplTest.java index 0723076e..71c410af 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnBankConfigServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnBankConfigServiceImplTest.java @@ -19,20 +19,18 @@ import java.util.List; import java.util.Optional; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.*; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; @QuarkusTest class BpmnBankConfigServiceImplTest { @InjectMocks - private BpmnBankConfigService bankConfigService; + BpmnBankConfigService bankConfigService; @Mock - private BpmnBankConfigRepository bankConfigRepository; + BpmnBankConfigRepository bankConfigRepository; @Mock - private BpmnConfigMapperImpl bpmnConfigMapper; + BpmnConfigMapperImpl bpmnConfigMapper; @BeforeEach public void setUp() { @@ -107,7 +105,7 @@ void testFindByConfigurationsAndFunctionEmptyList() { } @Test - void testFindByAcquirerIdOK(){ + void testFindByAcquirerIdOK() { List expectedList = new ArrayList<>(); expectedList.add(new BpmnBankConfig()); when(bankConfigRepository.findByAcquirerId(any(String.class))).thenReturn(Uni.createFrom().item(expectedList)); @@ -118,12 +116,12 @@ void testFindByAcquirerIdOK(){ } @Test - void testfindByAcquirerIdEmptyList(){ + void testfindByAcquirerIdEmptyList() { List expectedList = new ArrayList<>(); when(bankConfigRepository.findByAcquirerId(any(String.class))).thenReturn(Uni.createFrom().item(expectedList)); bankConfigService.findByAcquirerId("acquirer") .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"Nessuna configurazione BPMN trovata per questa banca"); + .assertFailedWith(AtmLayerException.class, "Nessuna configurazione BPMN trovata per questa banca"); } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImplTest.java index ca704d91..b7b99ebe 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImplTest.java @@ -25,31 +25,17 @@ import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; -import software.amazon.awssdk.services.s3.model.ListObjectsResponse; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.security.NoSuchAlgorithmException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Optional; -import java.util.Random; -import java.util.Set; -import java.util.UUID; +import java.util.*; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.any; -import static org.mockito.Mockito.eq; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.never; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; +import static org.mockito.Mockito.*; @QuarkusTest class BpmnVersionServiceImplTest { @@ -251,7 +237,6 @@ void testSetBpmnVersionStatusOK() { @Test void testSetBpmnVersionStatusBpmnVersionDoesNotExist() { - ListObjectsResponse list = mock(ListObjectsResponse.class); BpmnVersionPK bpmnVersionPK = new BpmnVersionPK(UUID.randomUUID(), 1L); String expectedErrorMessage = String.format("La chiave BPMN a cui si fa riferimento non esiste: %s", bpmnVersionPK); when(bpmnVersionRepoMock.findById(bpmnVersionPK)).thenReturn(Uni.createFrom().nullItem()); @@ -263,16 +248,16 @@ void testSetBpmnVersionStatusBpmnVersionDoesNotExist() { } @Test - void testMethodsBpmnDoesNotExist(){ - BpmnVersionPK bpmnVersionPK=new BpmnVersionPK(UUID.randomUUID(),new Random().nextLong()); + void testMethodsBpmnDoesNotExist() { + BpmnVersionPK bpmnVersionPK = new BpmnVersionPK(UUID.randomUUID(), new Random().nextLong()); String expectedErrorMessageSetDisabled = String.format("La chiave BPMN a cui si fa riferimento non esiste: %s", bpmnVersionPK); bpmnVersionServiceImpl.setDisabledBpmnAttributes(bpmnVersionPK) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,expectedErrorMessageSetDisabled); - String expectedErrorMessageCheckExistence=String.format("Uno o alcuni dei file BPMN a cui si fa riferimento non esistono: %s",bpmnVersionPK); + .assertFailedWith(AtmLayerException.class, expectedErrorMessageSetDisabled); + String expectedErrorMessageCheckExistence = String.format("Uno o alcuni dei file BPMN a cui si fa riferimento non esistono: %s", bpmnVersionPK); bpmnVersionServiceImpl.checkBpmnFileExistenceDeployable(bpmnVersionPK) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,expectedErrorMessageCheckExistence); + .assertFailedWith(AtmLayerException.class, expectedErrorMessageCheckExistence); } @Test @@ -321,7 +306,6 @@ void testSaveAndUploadFailure() { BpmnVersion bpmnVersion = new BpmnVersion(); bpmnVersion.setSha256("sha256"); File file = new File("testFile"); - ResourceFile resourceFile = new ResourceFile(); when(bpmnFileStorageServiceMock.uploadFile(any(BpmnVersion.class), any(File.class), any(String.class))).thenThrow(new AtmLayerException("Caricamento file S3: filename non valido", Response.Status.INTERNAL_SERVER_ERROR, AppErrorType.INTERNAL.name())); bpmnVersionServiceImpl.saveAndUpload(bpmnVersion, file, "filename") .subscribe().withSubscriber(UniAssertSubscriber.create()) @@ -484,7 +468,7 @@ void testDeployNoFileForKey() throws MalformedURLException { } @Test - void testDeployURLGenerationFailure() throws MalformedURLException { + void testDeployURLGenerationFailure() { BpmnVersionPK bpmnVersionPK = new BpmnVersionPK(UUID.randomUUID(), 1L); BpmnVersion bpmnVersion = new BpmnVersion(); bpmnVersion.setStatus(StatusEnum.CREATED); @@ -496,7 +480,6 @@ void testDeployURLGenerationFailure() throws MalformedURLException { BpmnVersion bpmnVersionUpdated = new BpmnVersion(); bpmnVersionUpdated.setStatus(StatusEnum.WAITING_DEPLOY); bpmnVersionUpdated.setResourceFile(resourceFile); - URL url = new URL("http://localhost:8081/test"); DeployedBPMNProcessDefinitionDto processInfo = new DeployedBPMNProcessDefinitionDto(); DeployResponseDto response = new DeployResponseDto(); Map deployedProcessDefinitions = new HashMap<>(); @@ -562,7 +545,6 @@ void testSetDeployInfoFileNotFound() { void testSetDeployInfoEmptyProcessInfo() { BpmnVersion bpmnVersion = new BpmnVersion(); BpmnVersionPK bpmnVersionPK = new BpmnVersionPK(UUID.randomUUID(), 1L); - DeployedBPMNProcessDefinitionDto processInfo = new DeployedBPMNProcessDefinitionDto(); DeployResponseDto response = new DeployResponseDto(); Map deployedProcessDefinitions = new HashMap<>(); response.setDeployedProcessDefinitions(deployedProcessDefinitions); @@ -578,7 +560,7 @@ void testGetLatestVersionOK() { BpmnVersion bpmnVersion1 = new BpmnVersion(); BpmnVersion bpmnVersion2 = new BpmnVersion(); UUID uuid = UUID.randomUUID(); - List bpmnList = new ArrayList(); + List bpmnList = new ArrayList<>(); bpmnList.add(bpmnVersion1); bpmnList.add(bpmnVersion2); when(bpmnVersionRepoMock.findAllByIdAndFunction(any(UUID.class), any(String.class))).thenReturn(Uni.createFrom().item(bpmnList)); @@ -612,7 +594,7 @@ void testUpgradeOK() throws NoSuchAlgorithmException, IOException { bpmnVersion.setFunctionType("MENU"); bpmnVersion.setDefinitionKey("demo11_06"); bpmnVersion.setSha256("sha256"); - List bpmnList = new ArrayList(); + List bpmnList = new ArrayList<>(); bpmnList.add(bpmnVersion); bpmnVersion2.setModelVersion(2L); ResourceFile resourceFile = new ResourceFile(); @@ -640,7 +622,7 @@ void testUpgradeDifferentDefinitionKeys() throws NoSuchAlgorithmException, IOExc BpmnVersion bpmnVersion = new BpmnVersion(); bpmnVersion.setDefinitionKey("different key"); bpmnVersion.setSha256("sha256"); - List bpmnList = new ArrayList(); + List bpmnList = new ArrayList<>(); bpmnList.add(bpmnVersion); when(bpmnVersionRepoMock.findAllByIdAndFunction(any(UUID.class), any(String.class))).thenReturn(Uni.createFrom().item(bpmnList)); bpmnVersionServiceImpl.upgrade(bpmnUpgradeDto) @@ -661,7 +643,7 @@ void testUpgradeShaFailure() throws NoSuchAlgorithmException, IOException { BpmnVersion bpmnVersion = new BpmnVersion(); bpmnVersion.setDefinitionKey("demo11_06"); bpmnVersion.setSha256("sha256"); - List bpmnList = new ArrayList(); + List bpmnList = new ArrayList<>(); bpmnList.add(bpmnVersion); when(bpmnVersionRepoMock.findAllByIdAndFunction(any(UUID.class), any(String.class))).thenReturn(Uni.createFrom().item(bpmnList)); when(bpmnVersionMapperMock.toEntityUpgrade(any(BpmnUpgradeDto.class), any(Long.class), any(String.class))).thenThrow(new RuntimeException()); diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImplTest.java index a2bb6cac..4ab0556c 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ProfileServiceImplTest.java @@ -14,13 +14,14 @@ import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; + import java.util.Arrays; import java.util.List; import static org.mockito.Mockito.*; @QuarkusTest -public class ProfileServiceImplTest { +class ProfileServiceImplTest { @Mock ProfileRepository profileRepository; @Mock @@ -61,7 +62,7 @@ void createProfileTestKO() { service.createProfile(profileCreationDto) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"Esiste già un profilo con id 1"); + .assertFailedWith(AtmLayerException.class, "Esiste già un profilo con id 1"); verify(profileMapper).toEntity(profileCreationDto); verify(profileRepository).findById(1); @@ -83,7 +84,7 @@ void retriveProfileTestKO() { service.retrieveProfile(1) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"Non esiste un profilo con id 1"); + .assertFailedWith(AtmLayerException.class, "Non esiste un profilo con id 1"); } @Test @@ -109,7 +110,7 @@ void updateProfileTestKO() { service.updateProfile(profileCreationDto) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"Non esiste un profilo con id 1"); + .assertFailedWith(AtmLayerException.class, "Non esiste un profilo con id 1"); } @Test @@ -132,7 +133,7 @@ void deleteProfileKO() { service.deleteProfile(1) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"Non esiste un profilo con id 1"); + .assertFailedWith(AtmLayerException.class, "Non esiste un profilo con id 1"); } @Test diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ResourceEntityServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ResourceEntityServiceImplTest.java index 020a2b1b..68c6fa71 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ResourceEntityServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/ResourceEntityServiceImplTest.java @@ -29,20 +29,12 @@ class ResourceEntityServiceImplTest { @Mock ResourceFileServiceImpl resourceFileService; @InjectMocks - private ResourceEntityServiceImpl resourceEntityService; + ResourceEntityServiceImpl resourceEntityService; @BeforeEach public void setUp() { MockitoAnnotations.openMocks(this); } -// @Test -// public void getAll(){ -// ResourceEntity resourceEntity=new ResourceEntity(); -// when(resourceEntityRepository.findAll()).thenReturn((PanacheQuery)resourceEntity); -// resourceEntityService.getAll() -// .subscribe().withSubscriber(UniAssertSubscriber.create()) -// .assertCompleted(); -// } @Test void uploadFailure() { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/S3ObjectStoreServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/S3ObjectStoreServiceImplTest.java index 1fb6bd9d..f9e063f4 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/S3ObjectStoreServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/S3ObjectStoreServiceImplTest.java @@ -1,135 +1,57 @@ package it.gov.pagopa.atmlayer.service.model.service.impl; import io.quarkus.test.junit.QuarkusTest; -import it.gov.pagopa.atmlayer.service.model.configurations.S3PreSignerLocal; -import it.gov.pagopa.atmlayer.service.model.entity.BpmnBankConfig; import it.gov.pagopa.atmlayer.service.model.enumeration.S3ResourceTypeEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; -import it.gov.pagopa.atmlayer.service.model.properties.ObjectStoreProperties; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.InjectMocks; -import org.mockito.Mock; import org.mockito.MockitoAnnotations; import java.io.File; -import java.util.Collections; -import java.util.List; import static org.junit.jupiter.api.Assertions.assertThrows; @QuarkusTest -public class S3ObjectStoreServiceImplTest { - -// @Mock -// ObjectStoreProperties objectStoreProperties; +class S3ObjectStoreServiceImplTest { @InjectMocks S3ObjectStoreServiceImpl s3ObjectStoreService; -// S3PreSignerLocal s3PreSignerLocal; - @BeforeEach public void setUp() { MockitoAnnotations.openMocks(this); -// s3PreSignerLocal = new S3PreSignerLocal(); -// s3PreSignerLocal.objectStoreProperties = objectStoreProperties; } - @Test - public void testUploadFile_invalidFilename() { - List mockConfigs = Collections.singletonList(new BpmnBankConfig()); - + void testUploadFile_invalidFilename() { File file = new File("validFile.txt"); String path = "validPath"; S3ResourceTypeEnum fileType = S3ResourceTypeEnum.BPMN; String invalidFilename = ""; assertThrows(AtmLayerException.class, () -> s3ObjectStoreService.uploadFile(file, path, fileType, invalidFilename)); - } @Test - public void testUploadFile_invalidPath() { - List mockConfigs = Collections.singletonList(new BpmnBankConfig()); - + void testUploadFile_invalidPath() { File file = new File("validFile.txt"); String invalidPath = ""; S3ResourceTypeEnum fileType = S3ResourceTypeEnum.BPMN; String filename = "filename"; assertThrows(AtmLayerException.class, () -> s3ObjectStoreService.uploadFile(file, invalidPath, fileType, filename)); - } @Test - public void testUploadFile_invalidFile() { - List mockConfigs = Collections.singletonList(new BpmnBankConfig()); - + void testUploadFile_invalidFile() { File invalidFile = null; String path = "validPath"; S3ResourceTypeEnum fileType = S3ResourceTypeEnum.BPMN; String filename = "filename"; assertThrows(AtmLayerException.class, () -> s3ObjectStoreService.uploadFile(invalidFile, path, fileType, filename)); - } -// @Test -// public void testUploadFileWithError() { -// File file = new File("validFile.txt"); -// String path = "validPath"; -// S3ResourceTypeEnum fileType = S3ResourceTypeEnum.BPMN; -// String filename = "validFilename"; -// when(objectStoreProperties.bucket()).thenReturn(new ObjectStoreProperties.Bucket() { -// @Override -// public String name() { -// return "test-bucket"; -// } -// -// @Override -// public Optional endpointOverride() { -// return Optional.of("http://localhost:9000"); -// } -// -// @Override -// public String region() { -// return "us-east-1"; -// } -// -// @Override -// public Optional secretKey() { -// return Optional.of("your-secret-key"); -// } -// -// @Override -// public Optional accessKey() { -// return Optional.of("your-access-key"); -// } -// }); -// -// -// S3AsyncClient s3AsyncClient = s3PreSignerLocal.s3AsyncClient(); -// -// PutObjectRequest putObjectRequest = PutObjectRequest.builder() -// .bucket("test-bucket") -// .key("nome-del-tuo-oggetto") -// .build(); -// -//// Creare un oggetto AsyncRequestBody utilizzando il metodo fromFile -// AsyncRequestBody mockRequestBody = mock(AsyncRequestBody.class); -// -//// Quando viene chiamato il metodo fromFile con qualsiasi argomento, restituire il mock -// when(AsyncRequestBody.fromFile(any(File.class))).thenReturn(mockRequestBody); -// -// -// when(s3AsyncClient.putObject(putObjectRequest,mockRequestBody)) -// .thenReturn(CompletableFuture.failedFuture(new RuntimeException("Simulated error"))); -// -// assertThrows(AtmLayerException.class, () -> { -// s3ObjectStoreService.uploadFile(file, path, fileType, filename).await().indefinitely(); -// }); -// } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/WorkflowResourceServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/WorkflowResourceServiceImplTest.java index a77b405a..e51df2a6 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/WorkflowResourceServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/WorkflowResourceServiceImplTest.java @@ -30,10 +30,7 @@ import java.util.UUID; import static org.mockito.ArgumentMatchers.any; -import static org.mockito.Mockito.never; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; +import static org.mockito.Mockito.*; @QuarkusTest class WorkflowResourceServiceImplTest { @@ -139,6 +136,7 @@ void deployResourceWithNoFile() { .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertFailedWith(AtmLayerException.class, ("Nessun file associato alla risorsa aggiuntiva per processo o nessuna chiave di archiviazione trovata: ").concat(expectedId.toString())); } + @Test void deployResourceWithBlanckStorageKey() { UUID expectedId = UUID.randomUUID(); @@ -187,7 +185,6 @@ void deployResourceWithNullResourceFile() { } - @Test void deployPresignedURLFailure() { UUID expectedId = UUID.randomUUID(); @@ -323,70 +320,70 @@ void deleteNotDeletableStatus() { void updateResourceDoesNotExist() throws NoSuchAlgorithmException, IOException { File file = new File("src/test/resources/Test.bpmn"); when(workflowResourceRepository.findById(any(UUID.class))).thenReturn(Uni.createFrom().nullItem()); - workflowResourceService.update(UUID.randomUUID(), file,false) + workflowResourceService.update(UUID.randomUUID(), file, false) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertFailedWith(AtmLayerException.class, "La risorsa aggiuntiva di processo indicata non esiste"); } @Test - void testRollbackOK() throws NoSuchAlgorithmException, IOException { + void testRollbackOK() { File expectedFile = new File("src/test/resources/Test.bpmn"); - WorkflowResource expectedWorkflowResource=new WorkflowResource(); + WorkflowResource expectedWorkflowResource = new WorkflowResource(); expectedWorkflowResource.setStatus(StatusEnum.UPDATED_BUT_NOT_DEPLOYED); expectedWorkflowResource.setDeploymentId(UUID.randomUUID()); expectedWorkflowResource.setResourceType(DeployableResourceType.BPMN); expectedWorkflowResource.setSha256("sha256"); - ResourceFile resourceFile=new ResourceFile(); + ResourceFile resourceFile = new ResourceFile(); resourceFile.setStorageKey("storageKey"); expectedWorkflowResource.setResourceFile(resourceFile); expectedWorkflowResource.setDefinitionKey("demo11_06"); when(workflowResourceRepository.findById(any(UUID.class))).thenReturn(Uni.createFrom().item(expectedWorkflowResource)); when(processClient.getDeployedResource(any(String.class))).thenReturn(Uni.createFrom().item(expectedFile)); when(workflowResourceRepository.persist(any(WorkflowResource.class))).thenReturn(Uni.createFrom().item(expectedWorkflowResource)); - when(workflowResourceStorageService.updateFile(any(WorkflowResource.class),any(File.class))).thenReturn(Uni.createFrom().item(new ResourceFile())); + when(workflowResourceStorageService.updateFile(any(WorkflowResource.class), any(File.class))).thenReturn(Uni.createFrom().item(new ResourceFile())); workflowResourceService.rollback(UUID.randomUUID()) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted(); } @Test - void testRollbackResourceDoesNotExist(){ + void testRollbackResourceDoesNotExist() { when(workflowResourceRepository.findById(any(UUID.class))).thenReturn(Uni.createFrom().nullItem()); workflowResourceService.rollback(UUID.randomUUID()) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"La risorsa aggiuntiva per processo a cui si fa riferimento non esiste"); + .assertFailedWith(AtmLayerException.class, "La risorsa aggiuntiva per processo a cui si fa riferimento non esiste"); } @Test - void testRollbackResourceDeployed(){ - WorkflowResource expectedWorkflowResource=new WorkflowResource(); + void testRollbackResourceDeployed() { + WorkflowResource expectedWorkflowResource = new WorkflowResource(); expectedWorkflowResource.setStatus(StatusEnum.DEPLOYED); when(workflowResourceRepository.findById(any(UUID.class))).thenReturn(Uni.createFrom().item(expectedWorkflowResource)); workflowResourceService.rollback(UUID.randomUUID()) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"Impossibile ripristinare: la risorsa a cui si fa riferimento è l'ultima versione rilasciata"); + .assertFailedWith(AtmLayerException.class, "Impossibile ripristinare: la risorsa a cui si fa riferimento è l'ultima versione rilasciata"); } @Test - void testRollbackNeverDeployed(){ - WorkflowResource expectedWorkflowResource=new WorkflowResource(); + void testRollbackNeverDeployed() { + WorkflowResource expectedWorkflowResource = new WorkflowResource(); expectedWorkflowResource.setStatus(StatusEnum.UPDATED_BUT_NOT_DEPLOYED); when(workflowResourceRepository.findById(any(UUID.class))).thenReturn(Uni.createFrom().item(expectedWorkflowResource)); workflowResourceService.rollback(UUID.randomUUID()) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"CamundaDefinitionId della risorsa a cui si fa riferimento è NULL: impossibile ripristinare"); + .assertFailedWith(AtmLayerException.class, "CamundaDefinitionId della risorsa a cui si fa riferimento è NULL: impossibile ripristinare"); } @Test - void testRollbackProcessFailure(){ - WorkflowResource expectedWorkflowResource=new WorkflowResource(); + void testRollbackProcessFailure() { + WorkflowResource expectedWorkflowResource = new WorkflowResource(); expectedWorkflowResource.setStatus(StatusEnum.UPDATED_BUT_NOT_DEPLOYED); expectedWorkflowResource.setDeploymentId(UUID.randomUUID()); when(workflowResourceRepository.findById(any(UUID.class))).thenReturn(Uni.createFrom().item(expectedWorkflowResource)); when(processClient.getDeployedResource(any(String.class))).thenReturn(Uni.createFrom().failure(new RuntimeException())); workflowResourceService.rollback(UUID.randomUUID()) .subscribe().withSubscriber(UniAssertSubscriber.create()) - .assertFailedWith(AtmLayerException.class,"Errore durante il recupero della risorsa aggiuntiva per processo dal Process"); + .assertFailedWith(AtmLayerException.class, "Errore durante il recupero della risorsa aggiuntiva per processo dal Process"); } } \ No newline at end of file diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/strategy/ObjectStoreStrategyTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/strategy/ObjectStoreStrategyTest.java index 2dd4aa31..fd7373a9 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/strategy/ObjectStoreStrategyTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/strategy/ObjectStoreStrategyTest.java @@ -33,8 +33,6 @@ void testGetTypeWhenEnumNotFoundThenThrowException() { ObjectStoreStrategy objectStoreStrategy = new ObjectStoreStrategy(selectObjectStoreByType); when(selectObjectStoreByType.getOrDefault(any(ObjectStoreStrategyEnum.class), null)) .thenReturn(null); - Assertions.assertThrows(AtmLayerException.class, () -> { - objectStoreStrategy.getType(ObjectStoreStrategyEnum.AWS_S3); - }); + Assertions.assertThrows(AtmLayerException.class, () -> objectStoreStrategy.getType(ObjectStoreStrategyEnum.AWS_S3)); } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/BpmnUtilsTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/BpmnUtilsTest.java index 42c86335..68824d36 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/BpmnUtilsTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/BpmnUtilsTest.java @@ -1,83 +1,73 @@ package it.gov.pagopa.atmlayer.service.model.utils; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertFalse; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.verifyNoMoreInteractions; -import static org.mockito.Mockito.when; - import io.quarkus.test.junit.QuarkusTest; -import it.gov.pagopa.atmlayer.service.model.dto.BpmnAssociationDto; import it.gov.pagopa.atmlayer.service.model.dto.BranchConfigs; import it.gov.pagopa.atmlayer.service.model.entity.BpmnBankConfigPK; import it.gov.pagopa.atmlayer.service.model.enumeration.BankConfigUtilityValues; +import org.junit.jupiter.api.Test; + import java.util.Optional; import java.util.UUID; -import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.*; +import static org.mockito.Mockito.*; @QuarkusTest class BpmnUtilsTest { - @Test - void testGetBpmnBankConfigPK() { - - BpmnAssociationDto bpmnAssociationDto = new BpmnAssociationDto(); - String acquirerId = "ACQ123"; - BranchConfigs branchConfig = mock(BranchConfigs.class); + @Test + void testGetBpmnBankConfigPK() { + String acquirerId = "ACQ123"; + BranchConfigs branchConfig = mock(BranchConfigs.class); - when(branchConfig.getBranchDefaultTemplateId()).thenReturn( - UUID.fromString("b0ac312f-6f9b-462b-a6f5-6e817533f36a")); - when(branchConfig.getBranchDefaultTemplateVersion()).thenReturn(Long.valueOf("1")); - when(branchConfig.getBranchId()).thenReturn("Branch123"); + when(branchConfig.getBranchDefaultTemplateId()).thenReturn( + UUID.fromString("b0ac312f-6f9b-462b-a6f5-6e817533f36a")); + when(branchConfig.getBranchDefaultTemplateVersion()).thenReturn(Long.valueOf("1")); + when(branchConfig.getBranchId()).thenReturn("Branch123"); - Optional result = BpmnUtils.getBpmnBankConfigPK( - acquirerId, branchConfig); + Optional result = BpmnUtils.getBpmnBankConfigPK( + acquirerId, branchConfig); - assertTrue(result.isPresent(), "Result should be present"); - BpmnBankConfigPK bpmnBankConfigPK = result.get(); - assertEquals(UUID.fromString("b0ac312f-6f9b-462b-a6f5-6e817533f36a"), - bpmnBankConfigPK.getBpmnId()); - assertEquals(1L, bpmnBankConfigPK.getBpmnModelVersion()); - assertEquals("ACQ123", bpmnBankConfigPK.getAcquirerId()); - assertEquals("Branch123", bpmnBankConfigPK.getBranchId()); - assertEquals(BankConfigUtilityValues.NULL_VALUE.getValue(), bpmnBankConfigPK.getTerminalId()); - } + assertTrue(result.isPresent(), "Result should be present"); + BpmnBankConfigPK bpmnBankConfigPK = result.get(); + assertEquals(UUID.fromString("b0ac312f-6f9b-462b-a6f5-6e817533f36a"), + bpmnBankConfigPK.getBpmnId()); + assertEquals(1L, bpmnBankConfigPK.getBpmnModelVersion()); + assertEquals("ACQ123", bpmnBankConfigPK.getAcquirerId()); + assertEquals("Branch123", bpmnBankConfigPK.getBranchId()); + assertEquals(BankConfigUtilityValues.NULL_VALUE.getValue(), bpmnBankConfigPK.getTerminalId()); + } - @Test - public void testGetBpmnBankConfigPKWhenTemplateIdIsNull() { - BpmnAssociationDto bpmnAssociationDto = new BpmnAssociationDto(); - String acquirerId = "ACQ123"; - BranchConfigs branchConfig = mock(BranchConfigs.class); + @Test + void testGetBpmnBankConfigPKWhenTemplateIdIsNull() { + String acquirerId = "ACQ123"; + BranchConfigs branchConfig = mock(BranchConfigs.class); - when(branchConfig.getBranchDefaultTemplateId()).thenReturn(null); + when(branchConfig.getBranchDefaultTemplateId()).thenReturn(null); - Optional result = BpmnUtils.getBpmnBankConfigPK(acquirerId, branchConfig); + Optional result = BpmnUtils.getBpmnBankConfigPK(acquirerId, branchConfig); - assertFalse(result.isPresent(), - "Result should be empty when either templateId or version is null"); + assertFalse(result.isPresent(), + "Result should be empty when either templateId or version is null"); - verify(branchConfig, times(1)).getBranchDefaultTemplateId(); - verifyNoMoreInteractions(branchConfig); - } + verify(branchConfig, times(1)).getBranchDefaultTemplateId(); + verifyNoMoreInteractions(branchConfig); + } - @Test - public void testGetBpmnBankConfigPKWhenVersionIsNull() { - BpmnAssociationDto bpmnAssociationDto = new BpmnAssociationDto(); - String acquirerId = "ACQ123"; - BranchConfigs branchConfig = mock(BranchConfigs.class); + @Test + void testGetBpmnBankConfigPKWhenVersionIsNull() { + String acquirerId = "ACQ123"; + BranchConfigs branchConfig = mock(BranchConfigs.class); - when(branchConfig.getBranchDefaultTemplateId()).thenReturn(UUID.randomUUID()); - when(branchConfig.getBranchDefaultTemplateVersion()).thenReturn(null); + when(branchConfig.getBranchDefaultTemplateId()).thenReturn(UUID.randomUUID()); + when(branchConfig.getBranchDefaultTemplateVersion()).thenReturn(null); - Optional result = BpmnUtils.getBpmnBankConfigPK(acquirerId, branchConfig); + Optional result = BpmnUtils.getBpmnBankConfigPK(acquirerId, branchConfig); - assertFalse(result.isPresent(), - "Result should be empty when either templateId or version is null"); + assertFalse(result.isPresent(), + "Result should be empty when either templateId or version is null"); - verify(branchConfig, times(1)).getBranchDefaultTemplateVersion(); - } + verify(branchConfig, times(1)).getBranchDefaultTemplateVersion(); + } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/FileStorageS3UtilsTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/FileStorageS3UtilsTest.java index 91219263..4adc2d68 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/FileStorageS3UtilsTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/FileStorageS3UtilsTest.java @@ -2,13 +2,13 @@ import io.quarkus.test.junit.QuarkusTest; import it.gov.pagopa.atmlayer.service.model.properties.ObjectStoreProperties; -import software.amazon.awssdk.services.s3.model.GetObjectRequest; -import software.amazon.awssdk.services.s3.model.PutObjectRequest; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; +import software.amazon.awssdk.services.s3.model.GetObjectRequest; +import software.amazon.awssdk.services.s3.model.PutObjectRequest; import java.util.HashMap; import java.util.Map; @@ -21,10 +21,10 @@ class FileStorageS3UtilsTest { @InjectMocks - private FileStorageS3Utils fileStorageS3Utils; + FileStorageS3Utils fileStorageS3Utils; @Mock - private ObjectStoreProperties objectStoreProperties; + ObjectStoreProperties objectStoreProperties; @BeforeEach void setUp() { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/FileUtilitiesTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/FileUtilitiesTest.java index c1764791..f58682f4 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/FileUtilitiesTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/utils/FileUtilitiesTest.java @@ -1,59 +1,60 @@ package it.gov.pagopa.atmlayer.service.model.utils; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertThrows; -import static org.mockito.ArgumentMatchers.anyString; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; - import io.quarkus.test.junit.QuarkusTest; import it.gov.pagopa.atmlayer.service.model.enumeration.DeployableResourceType; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import org.junit.jupiter.api.Test; +import org.w3c.dom.Element; + import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.security.NoSuchAlgorithmException; import java.util.Random; -import org.junit.jupiter.api.Test; -import org.w3c.dom.Element; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; @QuarkusTest -public class FileUtilitiesTest { - - @Test - public void testExtractIdValueFromXMLBlankDefinitionKey() { - File file = new File("src/test/resources/TestMalformed.bpmn"); - DeployableResourceType resourceType = DeployableResourceType.BPMN; - Element element = mock(Element.class); - when(element.getAttribute(anyString())).thenReturn(""); - assertThrows( - AtmLayerException.class, () -> FileUtilities.extractIdValueFromXML(file, resourceType)); - } - - @Test - public void testCalculateSha256HashLength() throws IOException, NoSuchAlgorithmException { - File tempFile = createTempFileWithRandomContent(); - String hash = FileUtilities.calculateSha256(tempFile); - assertEquals(64, hash.length()); - } - - private File createTempFileWithRandomContent() throws IOException { - Path tempFilePath = Files.createTempFile("testFile", ".txt"); - File tempFile = tempFilePath.toFile(); - byte[] randomBytes = new byte[1024]; - new Random().nextBytes(randomBytes); - Files.write(tempFilePath, randomBytes); - return tempFile; - } - - @Test - public void testExtractIdValueFromJSONBlankDefinitionKey() { - File file = new File("src/test/resources/TestMalformed.form"); - DeployableResourceType resourceType = DeployableResourceType.FORM; - Element element = mock(Element.class); - when(element.getAttribute(anyString())).thenReturn(""); - assertThrows( - AtmLayerException.class, () -> FileUtilities.extractIdValue(file, resourceType)); - } +class FileUtilitiesTest { + + @Test + void testExtractIdValueFromXMLBlankDefinitionKey() { + File file = new File("src/test/resources/TestMalformed.bpmn"); + DeployableResourceType resourceType = DeployableResourceType.BPMN; + Element element = mock(Element.class); + when(element.getAttribute(anyString())).thenReturn(""); + assertThrows( + AtmLayerException.class, () -> FileUtilities.extractIdValueFromXML(file, resourceType)); + } + + @Test + void testCalculateSha256HashLength() throws IOException, NoSuchAlgorithmException { + File tempFile = createTempFileWithRandomContent(); + String hash = FileUtilities.calculateSha256(tempFile); + assertEquals(64, hash.length()); + } + + private File createTempFileWithRandomContent() throws IOException { + Path tempFilePath = Files.createTempFile("testFile", ".txt"); + File tempFile = tempFilePath.toFile(); + byte[] randomBytes = new byte[1024]; + new Random().nextBytes(randomBytes); + Files.write(tempFilePath, randomBytes); + return tempFile; + } + + @Test + void testExtractIdValueFromJSONBlankDefinitionKey() { + File file = new File("src/test/resources/TestMalformed.form"); + DeployableResourceType resourceType = DeployableResourceType.FORM; + Element element = mock(Element.class); + when(element.getAttribute(anyString())).thenReturn(""); + assertThrows( + AtmLayerException.class, () -> FileUtilities.extractIdValue(file, resourceType)); + } } From 65f270fe2adfa5ff933c3e10eb3c6483ea011206 Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Thu, 6 Jun 2024 13:10:25 +0200 Subject: [PATCH 27/36] added insertUserWithProfiles and its relatives' tests --- .../dto/UserInsertionWithProfilesDTO.java | 32 ++++++ .../service/model/resource/UserResource.java | 14 +++ .../service/model/service/UserService.java | 6 ++ .../model/service/impl/UserServiceImpl.java | 23 +++++ .../model/resource/UserResourceTest.java | 60 +++++++++++- .../service/impl/UserServiceImplTest.java | 98 +++++++++++++++++-- 6 files changed, 222 insertions(+), 11 deletions(-) create mode 100644 src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionWithProfilesDTO.java diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionWithProfilesDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionWithProfilesDTO.java new file mode 100644 index 00000000..c47b5020 --- /dev/null +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionWithProfilesDTO.java @@ -0,0 +1,32 @@ +package it.gov.pagopa.atmlayer.service.model.dto; + +import jakarta.validation.constraints.Email; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; +import jakarta.validation.constraints.Size; +import lombok.*; +import org.eclipse.microprofile.openapi.annotations.media.Schema; +import org.hibernate.validator.constraints.Range; + +import java.util.List; + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@Builder +@ToString +@EqualsAndHashCode +public class UserInsertionWithProfilesDTO { + @NotBlank + @Email(message = "must be an email address in the correct format") + @Schema(required = true, example = "email@domain.com") + private String userId; + @NotBlank + private String name; + @NotBlank + private String surname; + @NotNull + @Size(min = 1) + private List<@Range(min=1) Integer> profileIds; +} diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index 33115617..dc83626b 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -3,6 +3,7 @@ import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; import it.gov.pagopa.atmlayer.service.model.service.UserService; @@ -50,6 +51,19 @@ public Uni update(@RequestBody(required = true) @Valid User } + @POST + @Path("/insert-with-profiles") + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Uni insertWithProfiles(@RequestBody(required = true) @Valid UserInsertionWithProfilesDTO userInsertionWithProfilesDTO) { + return this.userService.insertUserWithProfiles(userInsertionWithProfilesDTO) + .onItem() + .transformToUni(insertedProfiles -> userService.findUser(userInsertionWithProfilesDTO.getUserId())) + .onItem() + .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toProfilesDTO(insertedUser))); + } + + @DELETE @Path("/delete/userId/{userId}") @Consumes(MediaType.APPLICATION_JSON) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java index 33266871..a01729b1 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java @@ -2,7 +2,9 @@ import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import java.util.List; @@ -10,6 +12,10 @@ public interface UserService { Uni insertUser(UserInsertionDTO userInsertionDTO); + Uni> insertUserWithProfiles(UserInsertionWithProfilesDTO userInsertionWithProfilesDTO); + + Uni findUser(String userId); + Uni updateUser(UserInsertionDTO userInsertionDTO); Uni deleteUser(String userId); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java index 406878ab..8eae2284 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java @@ -5,11 +5,15 @@ import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; +import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -29,6 +33,9 @@ public class UserServiceImpl implements UserService { @Inject UserMapper userMapper; + @Inject + UserProfilesService userProfilesService; + @Override @WithTransaction public Uni insertUser(UserInsertionDTO userInsertionDTO) { @@ -46,6 +53,22 @@ public Uni insertUser(UserInsertionDTO userInsertionDTO) { })); } + @Override + @WithSession + public Uni findUser (String userId) { + return this.userRepository.findById(userId); + } + + @Override + @WithTransaction + public Uni> insertUserWithProfiles(UserInsertionWithProfilesDTO userInsertionWithProfilesDTO) { + UserInsertionDTO userInsertionDTO = new UserInsertionDTO(userInsertionWithProfilesDTO.getUserId(), userInsertionWithProfilesDTO.getName(), userInsertionWithProfilesDTO.getSurname()); + UserProfilesInsertionDTO userProfilesInsertionDTO = new UserProfilesInsertionDTO(userInsertionWithProfilesDTO.getUserId(), userInsertionWithProfilesDTO.getProfileIds()); + return insertUser(userInsertionDTO) + .onItem() + .transformToUni(createdUser -> userProfilesService.insertUserProfiles(userProfilesInsertionDTO)); + } + @Override @WithTransaction public Uni updateUser(UserInsertionDTO userInsertionDTO) { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index 049a67e9..0b12869b 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -4,13 +4,18 @@ import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; +import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.ws.rs.core.MediaType; import org.junit.jupiter.api.Test; +import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; @@ -43,12 +48,10 @@ void testInsert() { UserWithProfilesDTO result = given() .contentType(MediaType.APPLICATION_JSON) .body(userInsertionDTO) - .when() - .post("api/v1/model/user/insert") + .when().post("api/v1/model/user/insert") .then() .statusCode(200) - .extract() - .as(UserWithProfilesDTO.class); + .extract().as(UserWithProfilesDTO.class); assertEquals(userDTO, result); } @@ -78,6 +81,55 @@ void testUpdate() { assertEquals(userWithProfilesDTO, result); } + @Test + void testInsertWithProfiles() { + UserInsertionWithProfilesDTO userInsertionWithProfilesDTO = new UserInsertionWithProfilesDTO(); + List profilesId = new ArrayList<>(); + userInsertionWithProfilesDTO.setUserId("prova@test.com"); + userInsertionWithProfilesDTO.setName("prova"); + userInsertionWithProfilesDTO.setSurname("test"); + profilesId.add(1); + userInsertionWithProfilesDTO.setProfileIds(profilesId); + + UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); + + ProfileDTO profileDTO = new ProfileDTO(); + profileDTO.setProfileId(1); + profileDTO.setDescription("prova"); + + List profileDTOList = new ArrayList<>(); + profileDTOList.add(profileDTO); + + userWithProfilesDTO.setUserId(userInsertionWithProfilesDTO.getUserId()); + userWithProfilesDTO.setName(userInsertionWithProfilesDTO.getName()); + userWithProfilesDTO.setSurname(userInsertionWithProfilesDTO.getSurname()); + userWithProfilesDTO.setProfiles(profileDTOList); + + UserProfiles userProfiles = new UserProfiles(); + userProfiles.setUserProfilesPK(new UserProfilesPK("1", 1)); + userProfiles.setCreatedAt(new Timestamp(System.currentTimeMillis())); + userProfiles.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); + + List userProfilesList = new ArrayList<>(); + userProfilesList.add(userProfiles); + + User user = new User(); + + when(userService.insertUserWithProfiles(userInsertionWithProfilesDTO)).thenReturn(Uni.createFrom().item(userProfilesList)); + when(userService.findUser(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userMapper.toProfilesDTO(any(User.class))).thenReturn(userWithProfilesDTO); + + UserWithProfilesDTO result = given() + .contentType(MediaType.APPLICATION_JSON) + .body(userInsertionWithProfilesDTO) + .when().post("api/v1/model/user/insert-with-profiles") + .then() + .statusCode(200) + .extract().as(UserWithProfilesDTO.class); + + assertEquals(userWithProfilesDTO, result); + } + @Test void testDelete() { String userId = "testUserId"; diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index e029a7e2..a7ffdfc7 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -5,19 +5,29 @@ import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.helpers.test.UniAssertSubscriber; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; +import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; +import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; +import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; +import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @@ -30,12 +40,51 @@ class UserServiceImplTest { @Mock UserMapper userMapper; + @Mock + UserProfilesService userProfilesService; + + @Mock + UserProfilesMapper userProfilesMapper; + + @Mock + UserProfilesRepository userProfilesRepository; + @InjectMocks - UserServiceImpl userService; + UserServiceImpl userServiceImpl; + + private User user; + private UserProfiles userProfiles; + private List userProfilesList; + private UserInsertionDTO userInsertionDTO; + private UserInsertionWithProfilesDTO userInsertionWithProfilesDTO; @BeforeEach void setup() { MockitoAnnotations.openMocks(this); + user = new User(); + userProfiles = new UserProfiles(); + userProfiles.setUserProfilesPK(new UserProfilesPK("prova@test.com", 1)); + userProfiles.setCreatedAt(new Timestamp(System.currentTimeMillis())); + userProfiles.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); + + userProfilesList = new ArrayList<>(); + userProfilesList.add(userProfiles); + + user.setUserId("prova@test.com"); + user.setName("prova"); + user.setSurname("test"); + user.setUserProfiles(userProfilesList); + + userInsertionDTO = new UserInsertionDTO(); + userInsertionDTO.setUserId("prova@test.com"); + userInsertionDTO.setName("prova"); + userInsertionDTO.setSurname("test"); + + userInsertionWithProfilesDTO = new UserInsertionWithProfilesDTO(); + userInsertionWithProfilesDTO.setUserId("prova@test.com"); + userInsertionWithProfilesDTO.setName("prova"); + userInsertionWithProfilesDTO.setSurname("test"); + userInsertionWithProfilesDTO.setProfileIds(List.of(1)); } @Test @@ -52,7 +101,7 @@ void testInsertUserOK() { when(userRepository.findById(user.getUserId())).thenReturn(Uni.createFrom().nullItem()); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); - userService.insertUser(userInsertionDTO) + userServiceImpl.insertUser(userInsertionDTO) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(user); @@ -61,6 +110,41 @@ void testInsertUserOK() { verify(userRepository, times(1)).persist(user); } + @Test + void findUserTest() { + userServiceImpl.findUser(user.getUserId()) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .getItem(); + + verify(userRepository, times(1)).findById(user.getUserId()); + } + + @Test + void insertUserWithProfilesTest() { + when(userMapper.toEntityInsertion(any(UserInsertionDTO.class))).thenReturn(user); + when(userRepository.findById(user.getUserId())).thenReturn(Uni.createFrom().nullItem()); + when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); + when(userProfilesMapper.toEntityInsertion(any(UserProfilesInsertionDTO.class))).thenReturn(userProfilesList); + when(userProfilesRepository.findById(any(UserProfilesPK.class))).thenReturn(Uni.createFrom().nullItem()); + when(userProfilesRepository.persist(any(UserProfiles.class))).thenReturn(Uni.createFrom().item(userProfiles)); + when(userProfilesService.insertUserProfiles(any(UserProfilesInsertionDTO.class))).thenReturn(Uni.createFrom().item(userProfilesList)); + + List result = userServiceImpl.insertUserWithProfiles(userInsertionWithProfilesDTO) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .getItem(); + + assertNotNull(result); + assertEquals(1, result.size()); + assertEquals(userProfiles, result.get(0)); + + verify(userMapper, times(1)).toEntityInsertion(any(UserInsertionDTO.class)); + verify(userRepository, times(1)).findById(user.getUserId()); + verify(userRepository, times(1)).persist(any(User.class)); + verify(userProfilesService, times(1)).insertUserProfiles(any(UserProfilesInsertionDTO.class)); + } + @Test void testInsertUserExceptionCase() { @@ -77,7 +161,7 @@ void testInsertUserExceptionCase() { when(userRepository.findById("prova@test.com")).thenReturn(Uni.createFrom().item(user)); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); - userService.insertUser(userInsertionDTO) + userServiceImpl.insertUser(userInsertionDTO) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertFailed() .assertFailedWith(AtmLayerException.class, "Un utente con lo stesso id esiste già"); @@ -169,7 +253,7 @@ void testFindById() { when(userRepository.findById(userId)).thenReturn(Uni.createFrom().item(user)); - userService.findById(userId) + userServiceImpl.findById(userId) .subscribe() .withSubscriber(UniAssertSubscriber.create()) .assertCompleted() @@ -184,7 +268,7 @@ void testFindByIdExceptionCase() { when(userRepository.findById(userId)).thenReturn(Uni.createFrom().nullItem()); - userService.findById(userId) + userServiceImpl.findById(userId) .subscribe() .withSubscriber(UniAssertSubscriber.create()) .assertFailed() @@ -202,7 +286,7 @@ void testGetAllUsers() { when(userRepository.findAll()).thenReturn(panacheQuery); when(panacheQuery.list()).thenReturn(Uni.createFrom().item(userList)); - Uni> result = userService.getAllUsers(); + Uni> result = userServiceImpl.getAllUsers(); result.subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() @@ -217,7 +301,7 @@ void testDeleteOK() { when(userRepository.findById(userId)).thenReturn(Uni.createFrom().item(user)); when(userRepository.deleteById(userId)).thenReturn(Uni.createFrom().item(true)); - userService.deleteUser(userId) + userServiceImpl.deleteUser(userId) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(true); From acd1b7512650bb375ecbcd4742277315dcc00e40 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Thu, 6 Jun 2024 16:07:04 +0200 Subject: [PATCH 28/36] test error fix --- .../model/service/impl/UserServiceImplTest.java | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index a7ffdfc7..04dda1b3 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -16,6 +16,7 @@ import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.InjectMocks; @@ -26,8 +27,6 @@ import java.util.ArrayList; import java.util.List; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @@ -135,9 +134,9 @@ void insertUserWithProfilesTest() { .assertCompleted() .getItem(); - assertNotNull(result); - assertEquals(1, result.size()); - assertEquals(userProfiles, result.get(0)); + Assertions.assertNotNull(result); + Assertions.assertEquals(1, result.size()); + Assertions.assertEquals(userProfiles, result.get(0)); verify(userMapper, times(1)).toEntityInsertion(any(UserInsertionDTO.class)); verify(userRepository, times(1)).findById(user.getUserId()); @@ -182,7 +181,7 @@ void testUpdateUser() { when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); - userService.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) + userServiceImpl.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(user); @@ -202,7 +201,7 @@ void testUpdateUserSuccessPartialNameOnly() { when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); - userService.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) + userServiceImpl.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(user); @@ -222,7 +221,7 @@ void testUpdateUserSuccessPartialSurnameOnly() { when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); - userService.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) + userServiceImpl.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(user); @@ -238,7 +237,7 @@ void testUpdateUserErrorAllFieldsBlank() { when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(new User())); - userService.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) + userServiceImpl.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) .assertFailed() .assertFailedWith(AtmLayerException.class, "Tutti i campi sono vuoti"); From bc3dfc9f339589079e2a387d45457bcb6a54e42e Mon Sep 17 00:00:00 2001 From: Giacomo Brancazi Date: Thu, 6 Jun 2024 17:12:05 +0200 Subject: [PATCH 29/36] add first access --- .../service/model/dto/UserInsertionDTO.java | 2 -- .../dto/UserInsertionWithProfilesDTO.java | 2 -- .../service/model/resource/UserResource.java | 11 ++++++++ .../service/model/service/UserService.java | 4 +++ .../service/impl/UserProfilesServiceImpl.java | 2 ++ .../model/service/impl/UserServiceImpl.java | 28 +++++++++++++++++++ 6 files changed, 45 insertions(+), 4 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java index d4c9a66c..3df77325 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionDTO.java @@ -18,8 +18,6 @@ public class UserInsertionDTO { @Email(message = "must be an email address in the correct format") @Schema(required = true, example = "email@domain.com") private String userId; - @NotNull private String name; - @NotNull private String surname; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionWithProfilesDTO.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionWithProfilesDTO.java index c47b5020..481d91c8 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionWithProfilesDTO.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/dto/UserInsertionWithProfilesDTO.java @@ -22,9 +22,7 @@ public class UserInsertionWithProfilesDTO { @Email(message = "must be an email address in the correct format") @Schema(required = true, example = "email@domain.com") private String userId; - @NotBlank private String name; - @NotBlank private String surname; @NotNull @Size(min = 1) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index e24cf429..f914ba7d 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -40,6 +40,17 @@ public Uni insert(@RequestBody(required = true) @Valid User .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toProfilesDTO(insertedUser))); } + @POST + @Path("/first-access/{userId}") + @Produces(MediaType.APPLICATION_JSON) + public Uni firstAccess(@PathParam("userId") String userId) { + return this.userService.checkFirstAccess(userId) + .onItem() + .transformToUni(insertedProfiles -> userService.findUser(userId)) + .onItem() + .transformToUni(user -> Uni.createFrom().item(this.userMapper.toProfilesDTO(user))); + } + @PUT @Path("/update") @Consumes(MediaType.APPLICATION_JSON) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java index a01729b1..caca3c66 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java @@ -23,4 +23,8 @@ public interface UserService { Uni findById(String userId); Uni> getAllUsers(); + + Uni countUsers(); + + Uni checkFirstAccess(String userId); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java index 97e12c3c..8e4814f6 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -14,11 +14,13 @@ import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; +import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; +import java.util.ArrayList; import java.util.List; @ApplicationScoped diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java index 8eae2284..4a6ce62d 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java @@ -21,6 +21,7 @@ import lombok.extern.slf4j.Slf4j; import java.sql.Timestamp; +import java.util.ArrayList; import java.util.List; @ApplicationScoped @@ -107,6 +108,11 @@ public Uni> getAllUsers() { return this.userRepository.findAll().list(); } + @Override + public Uni countUsers() { + return this.userRepository.count(); + } + @Override @WithSession public Uni findById(String userId) { @@ -119,4 +125,26 @@ public Uni findById(String userId) { .onItem() .transformToUni(Unchecked.function(x -> Uni.createFrom().item(x))); } + + @Override + @WithTransaction + public Uni checkFirstAccess(String userId) { + + return countUsers() + .onItem() + .transformToUni(count -> { + if (count == 0) { + UserInsertionWithProfilesDTO userInsertionWithProfilesDTO = new UserInsertionWithProfilesDTO(); + List profile = new ArrayList<>(); + profile.add(5); + userInsertionWithProfilesDTO.setUserId(userId); + userInsertionWithProfilesDTO.setProfileIds(profile); + return insertUserWithProfiles(userInsertionWithProfilesDTO) + .onItem() + .transformToUni(list -> Uni.createFrom().voidItem()); + + } + return Uni.createFrom().voidItem(); + }); + } } From fcd6fa3779c449003ed61467ab70811b0bcf4db2 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Fri, 7 Jun 2024 14:17:25 +0200 Subject: [PATCH 30/36] test error fix --- .../service/model/resource/UserResourceTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index 0b12869b..6ee09c5a 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -48,7 +48,7 @@ void testInsert() { UserWithProfilesDTO result = given() .contentType(MediaType.APPLICATION_JSON) .body(userInsertionDTO) - .when().post("api/v1/model/user/insert") + .when().post("api/v1/model/users/insert") .then() .statusCode(200) .extract().as(UserWithProfilesDTO.class); @@ -72,7 +72,7 @@ void testUpdate() { .contentType(MediaType.APPLICATION_JSON) .body(userInsertionDTO) .when() - .put("api/v1/model/user/update") + .put("api/v1/model/users/update") .then() .statusCode(200) .extract() @@ -122,7 +122,7 @@ void testInsertWithProfiles() { UserWithProfilesDTO result = given() .contentType(MediaType.APPLICATION_JSON) .body(userInsertionWithProfilesDTO) - .when().post("api/v1/model/user/insert-with-profiles") + .when().post("api/v1/model/users/insert-with-profiles") .then() .statusCode(200) .extract().as(UserWithProfilesDTO.class); @@ -138,7 +138,7 @@ void testDelete() { given() .pathParam("userId", userId) - .when().delete("/api/v1/model/user/delete/userId/{userId}") + .when().delete("/api/v1/model/users/delete/userId/{userId}") .then() .statusCode(204); @@ -158,7 +158,7 @@ void testGetAll() { when(userMapper.toDTOList(any(List.class))).thenReturn(dtoList); ArrayList result = given() - .when().get("/api/v1/model/user") + .when().get("/api/v1/model/users") .then() .statusCode(200) .extract() @@ -179,7 +179,7 @@ void testGetAllEmpty() { when(userMapper.toDTOList(any(List.class))).thenReturn(dtoList); ArrayList result = given() - .when().get("/api/v1/model/user") + .when().get("/api/v1/model/users") .then() .statusCode(200) .extract() @@ -203,7 +203,7 @@ void testGetByIdWithProfiles() { UserWithProfilesDTO result = given() .pathParam("userId", userId) .when() - .get("/api/v1/model/user/{userId}") + .get("/api/v1/model/users/{userId}") .then() .statusCode(200) .extract() From dfbbef42e99c08031f34df383d13e1397335a4e2 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Fri, 7 Jun 2024 15:07:49 +0200 Subject: [PATCH 31/36] test first access --- .../model/resource/UserResourceTest.java | 26 +++++++++++ .../service/impl/UserServiceImplTest.java | 43 +++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index 6ee09c5a..f12f6ce6 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -56,6 +56,32 @@ void testInsert() { assertEquals(userDTO, result); } + @Test + void testFirstAccess() { + String userId = "testUserId"; + User user = new User(); + UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); + + when(userService.checkFirstAccess(userId)).thenReturn(Uni.createFrom().voidItem()); + when(userService.findUser(userId)).thenReturn(Uni.createFrom().item(user)); + when(userMapper.toProfilesDTO(user)).thenReturn(userWithProfilesDTO); + + UserWithProfilesDTO result = given() + .pathParam("userId", userId) + .when() + .post("/api/v1/model/users/first-access/{userId}") + .then() + .statusCode(200) + .extract() + .as(UserWithProfilesDTO.class); + + assertEquals(userWithProfilesDTO, result); + verify(userService, times(1)).checkFirstAccess(userId); + verify(userService, times(1)).findUser(userId); + verify(userMapper, times(1)).toProfilesDTO(user); + } + + @Test void testUpdate() { User user = new User(); diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index 04dda1b3..3203e3ed 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -306,4 +306,47 @@ void testDeleteOK() { .assertItem(true); } + @Test + void testCheckFirstAccessWhenNoUsers() { + String userId = "testUserId"; + long userCount = 0; + + when(userRepository.count()).thenReturn(Uni.createFrom().item(userCount)); + when(userProfilesService.insertUserProfiles(any(UserProfilesInsertionDTO.class))) + .thenReturn(Uni.createFrom().item(new ArrayList<>())); + + User mockedUser = new User(); + mockedUser.setUserId(userId); + when(userMapper.toEntityInsertion(any(UserInsertionDTO.class))).thenReturn(mockedUser); + + when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(mockedUser)); + + userServiceImpl.checkFirstAccess(userId) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(null); + + verify(userRepository, times(1)).count(); + verify(userProfilesService, times(1)).insertUserProfiles(any(UserProfilesInsertionDTO.class)); + verify(userRepository, times(1)).persist(any(User.class)); + } + + + @Test + void testCheckFirstAccessWhenUsersExist() { + String userId = "testUserId"; + long userCount = 5; + + when(userRepository.count()).thenReturn(Uni.createFrom().item(userCount)); + + userServiceImpl.checkFirstAccess(userId) + .subscribe() + .withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(null); + + verify(userRepository, times(1)).count(); + verify(userProfilesService, never()).insertUserProfiles(any(UserProfilesInsertionDTO.class)); + } + } From 52b0161ac4538f809f7971b21d328878b9f4f3eb Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Fri, 7 Jun 2024 16:53:53 +0200 Subject: [PATCH 32/36] updated insertUserWithProfiles and its relatives' files and tests --- .../atmlayer/service/model/entity/User.java | 2 +- .../service/model/entity/UserProfiles.java | 3 + .../service/model/mapper/UserMapper.java | 14 +++++ .../model/repository/UserRepository.java | 10 ++++ .../service/model/service/UserService.java | 3 +- .../model/service/impl/UserServiceImpl.java | 20 +++---- .../service/model/mapper/UserMapperTest.java | 50 +++++++++++++++-- .../model/resource/UserResourceTest.java | 44 ++++++--------- .../service/impl/UserServiceImplTest.java | 55 ++++++++++--------- 9 files changed, 129 insertions(+), 72 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java index 6ae537c8..d38f9791 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/User.java @@ -33,7 +33,7 @@ public class User extends PanacheEntityBase implements Serializable { private String surname; @JsonIgnore - @OneToMany(mappedBy = "user", orphanRemoval = true, fetch = FetchType.EAGER) + @OneToMany(mappedBy = "user", cascade = CascadeType.ALL) private List userProfiles; @CreationTimestamp diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java index 56146c12..d0b139a4 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/entity/UserProfiles.java @@ -35,4 +35,7 @@ public class UserProfiles extends PanacheEntityBase implements Serializable { @UpdateTimestamp @Column(name = "last_updated_at") private Timestamp lastUpdatedAt; + public UserProfiles(UserProfilesPK userProfilesPK) { + this.userProfilesPK = userProfilesPK; + }; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java index d868d2a1..6e0299be 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java @@ -1,9 +1,11 @@ package it.gov.pagopa.atmlayer.service.model.mapper; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; import jakarta.inject.Inject; import org.mapstruct.IterableMapping; @@ -11,6 +13,7 @@ import org.mapstruct.Mapping; import org.mapstruct.Named; +import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; @@ -27,6 +30,17 @@ public User toEntityInsertion(UserInsertionDTO userInsertionDTO) { return user; } + public User toEntityInsertionWithProfiles(UserInsertionWithProfilesDTO userInsertionWithProfilesDTO) { + User user = new User(); + List userProfilesList = new ArrayList<>(); + user.setUserId(userInsertionWithProfilesDTO.getUserId()); + user.setName(userInsertionWithProfilesDTO.getName()); + user.setSurname(userInsertionWithProfilesDTO.getSurname()); + userInsertionWithProfilesDTO.getProfileIds().stream().forEach(x -> userProfilesList.add(new UserProfiles(new UserProfilesPK(user.getUserId(), x)))); + user.setUserProfiles(userProfilesList); + return user; + } + @IterableMapping(qualifiedByName = "toProfilesDTO") public abstract List toDTOList(List list); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java index 38fe4d0c..2710914f 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java @@ -1,10 +1,20 @@ package it.gov.pagopa.atmlayer.service.model.repository; +import io.quarkus.hibernate.reactive.panache.PanacheQuery; import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase; +import io.quarkus.panache.common.Parameters; +import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.entity.User; import jakarta.enterprise.context.ApplicationScoped; @ApplicationScoped public class UserRepository implements PanacheRepositoryBase { + public Uni findById(String userId) { + return find("select u from User u left join fetch u.userProfiles where u.userId = :userId", + Parameters.with("userId", userId)).firstResult(); + } + public PanacheQuery findAll() { + return find("select u from User u left join fetch u.userProfiles"); + } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java index caca3c66..01bfd4fb 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java @@ -4,7 +4,6 @@ import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import java.util.List; @@ -12,7 +11,7 @@ public interface UserService { Uni insertUser(UserInsertionDTO userInsertionDTO); - Uni> insertUserWithProfiles(UserInsertionWithProfilesDTO userInsertionWithProfilesDTO); + Uni insertUserWithProfiles(UserInsertionWithProfilesDTO userInsertionWithProfilesDTO); Uni findUser(String userId); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java index 4a6ce62d..01e8e290 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java @@ -6,9 +6,7 @@ import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; -import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; -import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; @@ -34,9 +32,6 @@ public class UserServiceImpl implements UserService { @Inject UserMapper userMapper; - @Inject - UserProfilesService userProfilesService; - @Override @WithTransaction public Uni insertUser(UserInsertionDTO userInsertionDTO) { @@ -62,12 +57,17 @@ public Uni findUser (String userId) { @Override @WithTransaction - public Uni> insertUserWithProfiles(UserInsertionWithProfilesDTO userInsertionWithProfilesDTO) { - UserInsertionDTO userInsertionDTO = new UserInsertionDTO(userInsertionWithProfilesDTO.getUserId(), userInsertionWithProfilesDTO.getName(), userInsertionWithProfilesDTO.getSurname()); - UserProfilesInsertionDTO userProfilesInsertionDTO = new UserProfilesInsertionDTO(userInsertionWithProfilesDTO.getUserId(), userInsertionWithProfilesDTO.getProfileIds()); - return insertUser(userInsertionDTO) + public Uni insertUserWithProfiles(UserInsertionWithProfilesDTO userInsertionWithProfilesDTO) { + User user = userMapper.toEntityInsertionWithProfiles(userInsertionWithProfilesDTO); + return this.userRepository.findById(user.getUserId()) .onItem() - .transformToUni(createdUser -> userProfilesService.insertUserProfiles(userProfilesInsertionDTO)); + .transformToUni(Unchecked.function(x -> { + if (x != null) { + log.error("userId {} already exists", user.getUserId()); + throw new AtmLayerException(Response.Status.BAD_REQUEST, AppErrorCodeEnum.USER_WITH_SAME_ID_ALREADY_EXIST); + } + return userRepository.persist(user); + })); } @Override diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java index 35b10a88..e6a9422a 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapperTest.java @@ -2,22 +2,39 @@ import io.quarkus.test.junit.QuarkusTest; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; -import jakarta.inject.Inject; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.mockito.Mock; +import org.mockito.MockitoAnnotations; import java.sql.Timestamp; import java.time.Instant; import java.util.ArrayList; import java.util.List; +import static org.junit.jupiter.api.Assertions.assertNotNull; + @QuarkusTest class UserMapperTest { - @Inject UserMapper mapper; + @Mock + ProfileMapper profileMapper; + + @BeforeEach + void setUp() { + MockitoAnnotations.openMocks(this); + + // Creare un'istanza concreta del mapper e iniettare le dipendenze + mapper = new UserMapperImpl(); + mapper.profileMapper = profileMapper; + } + @Test void toEntityInsertionTest() { UserInsertionDTO userInsertionDTO = new UserInsertionDTO(); @@ -25,7 +42,22 @@ void toEntityInsertionTest() { userInsertionDTO.setName("prova"); userInsertionDTO.setSurname("test"); - mapper.toEntityInsertion(userInsertionDTO); + User user = mapper.toEntityInsertion(userInsertionDTO); + assertNotNull(user); + } + + @Test + void toEntityInsertionWithProfilesTest() { + UserInsertionWithProfilesDTO userInsertionWithProfilesDTO = new UserInsertionWithProfilesDTO(); + userInsertionWithProfilesDTO.setUserId("prova@test.com"); + userInsertionWithProfilesDTO.setName("prova"); + userInsertionWithProfilesDTO.setSurname("test"); + List profileIds = new ArrayList<>(); + profileIds.add(1); + userInsertionWithProfilesDTO.setProfileIds(profileIds); + + User user = mapper.toEntityInsertionWithProfiles(userInsertionWithProfilesDTO); + assertNotNull(user); } @Test @@ -41,13 +73,13 @@ void toProfilesDTOTestNotNullWithListNotNull() { user.setCreatedAt(Timestamp.from(fixedInstant)); user.setLastUpdatedAt(Timestamp.from(fixedInstant)); - mapper.toProfilesDTO(user); + UserWithProfilesDTO dto = mapper.toProfilesDTO(user); + assertNotNull(dto); } @Test void toProfilesDTOTestNullWithListNull() { User user = new User(); - mapper.toProfilesDTO(null); Instant fixedInstant = Instant.parse("2024-10-01T00:00:00Z"); user.setUserId("prova@test.com"); @@ -57,6 +89,12 @@ void toProfilesDTOTestNullWithListNull() { user.setCreatedAt(Timestamp.from(fixedInstant)); user.setLastUpdatedAt(Timestamp.from(fixedInstant)); - mapper.toProfilesDTO(user); + UserWithProfilesDTO dto = mapper.toProfilesDTO(user); + assertNotNull(dto); + } + + @Test + void toProfilesDTOUserNull() { + mapper.toProfilesDTO(null); } } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index f12f6ce6..26926a10 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -109,41 +109,31 @@ void testUpdate() { @Test void testInsertWithProfiles() { - UserInsertionWithProfilesDTO userInsertionWithProfilesDTO = new UserInsertionWithProfilesDTO(); - List profilesId = new ArrayList<>(); - userInsertionWithProfilesDTO.setUserId("prova@test.com"); - userInsertionWithProfilesDTO.setName("prova"); - userInsertionWithProfilesDTO.setSurname("test"); - profilesId.add(1); - userInsertionWithProfilesDTO.setProfileIds(profilesId); - - UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); - - ProfileDTO profileDTO = new ProfileDTO(); - profileDTO.setProfileId(1); - profileDTO.setDescription("prova"); - - List profileDTOList = new ArrayList<>(); - profileDTOList.add(profileDTO); - - userWithProfilesDTO.setUserId(userInsertionWithProfilesDTO.getUserId()); - userWithProfilesDTO.setName(userInsertionWithProfilesDTO.getName()); - userWithProfilesDTO.setSurname(userInsertionWithProfilesDTO.getSurname()); - userWithProfilesDTO.setProfiles(profileDTOList); - + User user = new User(); UserProfiles userProfiles = new UserProfiles(); - userProfiles.setUserProfilesPK(new UserProfilesPK("1", 1)); + userProfiles.setUserProfilesPK(new UserProfilesPK("prova@test.com", 1)); userProfiles.setCreatedAt(new Timestamp(System.currentTimeMillis())); userProfiles.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); List userProfilesList = new ArrayList<>(); userProfilesList.add(userProfiles); - User user = new User(); + user.setUserId("prova@test.com"); + user.setName("prova"); + user.setSurname("test"); + user.setUserProfiles(userProfilesList); - when(userService.insertUserWithProfiles(userInsertionWithProfilesDTO)).thenReturn(Uni.createFrom().item(userProfilesList)); - when(userService.findUser(any(String.class))).thenReturn(Uni.createFrom().item(user)); - when(userMapper.toProfilesDTO(any(User.class))).thenReturn(userWithProfilesDTO); + UserInsertionWithProfilesDTO userInsertionWithProfilesDTO = new UserInsertionWithProfilesDTO(); + userInsertionWithProfilesDTO.setUserId("prova@test.com"); + userInsertionWithProfilesDTO.setName("prova"); + userInsertionWithProfilesDTO.setSurname("test"); + userInsertionWithProfilesDTO.setProfileIds(List.of(1)); + + UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); + + when(userMapper.toEntityInsertionWithProfiles(userInsertionWithProfilesDTO)).thenReturn(user); + when(userService.findUser(userInsertionWithProfilesDTO.getUserId())).thenReturn(Uni.createFrom().item(user)); + when(userMapper.toProfilesDTO(user)).thenReturn(userWithProfilesDTO); UserWithProfilesDTO result = given() .contentType(MediaType.APPLICATION_JSON) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index 3203e3ed..711a1663 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -42,12 +42,6 @@ class UserServiceImplTest { @Mock UserProfilesService userProfilesService; - @Mock - UserProfilesMapper userProfilesMapper; - - @Mock - UserProfilesRepository userProfilesRepository; - @InjectMocks UserServiceImpl userServiceImpl; @@ -120,28 +114,33 @@ void findUserTest() { } @Test - void insertUserWithProfilesTest() { - when(userMapper.toEntityInsertion(any(UserInsertionDTO.class))).thenReturn(user); + void insertUserWithProfilesTestWithInitialUserNotFound() { + when(userMapper.toEntityInsertionWithProfiles(any(UserInsertionWithProfilesDTO.class))).thenReturn(user); when(userRepository.findById(user.getUserId())).thenReturn(Uni.createFrom().nullItem()); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); - when(userProfilesMapper.toEntityInsertion(any(UserProfilesInsertionDTO.class))).thenReturn(userProfilesList); - when(userProfilesRepository.findById(any(UserProfilesPK.class))).thenReturn(Uni.createFrom().nullItem()); - when(userProfilesRepository.persist(any(UserProfiles.class))).thenReturn(Uni.createFrom().item(userProfiles)); - when(userProfilesService.insertUserProfiles(any(UserProfilesInsertionDTO.class))).thenReturn(Uni.createFrom().item(userProfilesList)); - List result = userServiceImpl.insertUserWithProfiles(userInsertionWithProfilesDTO) + User result = userServiceImpl.insertUserWithProfiles(userInsertionWithProfilesDTO) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .getItem(); Assertions.assertNotNull(result); - Assertions.assertEquals(1, result.size()); - Assertions.assertEquals(userProfiles, result.get(0)); + Assertions.assertEquals(user, result); - verify(userMapper, times(1)).toEntityInsertion(any(UserInsertionDTO.class)); + verify(userMapper, times(1)).toEntityInsertionWithProfiles(any(UserInsertionWithProfilesDTO.class)); verify(userRepository, times(1)).findById(user.getUserId()); verify(userRepository, times(1)).persist(any(User.class)); - verify(userProfilesService, times(1)).insertUserProfiles(any(UserProfilesInsertionDTO.class)); + } + + @Test + void insertUserWithProfilesTestWithInitialUserFound() { + when(userMapper.toEntityInsertionWithProfiles(any(UserInsertionWithProfilesDTO.class))).thenReturn(user); + when(userRepository.findById(user.getUserId())).thenReturn(Uni.createFrom().item(user)); + when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); + + userServiceImpl.insertUserWithProfiles(userInsertionWithProfilesDTO) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertFailedWith(AtmLayerException.class, "Un utente con lo stesso id esiste già"); } @Test @@ -308,26 +307,30 @@ void testDeleteOK() { @Test void testCheckFirstAccessWhenNoUsers() { - String userId = "testUserId"; long userCount = 0; - when(userRepository.count()).thenReturn(Uni.createFrom().item(userCount)); - when(userProfilesService.insertUserProfiles(any(UserProfilesInsertionDTO.class))) - .thenReturn(Uni.createFrom().item(new ArrayList<>())); - User mockedUser = new User(); - mockedUser.setUserId(userId); - when(userMapper.toEntityInsertion(any(UserInsertionDTO.class))).thenReturn(mockedUser); + mockedUser.setUserId("test@test.com"); + + UserInsertionWithProfilesDTO userInsertionWithProfilesDTO = new UserInsertionWithProfilesDTO(); + userInsertionWithProfilesDTO.setUserId("test@test.com"); + List profileIds = new ArrayList<>(); + profileIds.add(5); + userInsertionWithProfilesDTO.setProfileIds(profileIds); + when(userRepository.count()).thenReturn(Uni.createFrom().item(userCount)); + when(userMapper.toEntityInsertionWithProfiles(any(UserInsertionWithProfilesDTO.class))).thenReturn(mockedUser); + when(userRepository.findById(anyString())).thenReturn(Uni.createFrom().nullItem()); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(mockedUser)); - userServiceImpl.checkFirstAccess(userId) + userServiceImpl.checkFirstAccess(mockedUser.getUserId()) .subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(null); verify(userRepository, times(1)).count(); - verify(userProfilesService, times(1)).insertUserProfiles(any(UserProfilesInsertionDTO.class)); + verify(userMapper, times(1)).toEntityInsertionWithProfiles(any(UserInsertionWithProfilesDTO.class)); + verify(userRepository, times(1)).findById(anyString()); verify(userRepository, times(1)).persist(any(User.class)); } From 11b72cc7246c0b7f927a486a7776a90e34bb1a5c Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Mon, 10 Jun 2024 17:33:19 +0200 Subject: [PATCH 33/36] undeploy test of bpmnResource --- .../model/resource/BpmnResourceTest.java | 18 ++++++ .../impl/BpmnVersionServiceImplTest.java | 55 +++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResourceTest.java index a642eeb0..1c82588e 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResourceTest.java @@ -228,6 +228,24 @@ void testDeployBPMN() { assertEquals(version, result.getModelVersion()); } + @Test + void testUndeployBPMN() { + UUID bpmnId = UUID.randomUUID(); + + when(bpmnVersionService.undeploy(any(UUID.class))) + .thenReturn(Uni.createFrom().voidItem()); + + given() + .pathParam("uuid", bpmnId) + .when() + .post("/api/v1/model/bpmn/undeploy/{uuid}") + .then() + .statusCode(204); + + verify(bpmnVersionService, times(1)).undeploy(bpmnId); + } + + @Test void testDownloadBpmnNullResourceFile() { UUID bpmnId = UUID.randomUUID(); diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImplTest.java index b7b99ebe..21717312 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/BpmnVersionServiceImplTest.java @@ -22,6 +22,7 @@ import jakarta.ws.rs.core.Response; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.mockito.ArgumentCaptor; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; @@ -34,6 +35,7 @@ import java.util.*; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @@ -57,6 +59,59 @@ public void setup() { MockitoAnnotations.openMocks(this); } + @Test + void testUndeployWithNonExistingUUID() { + UUID uuid = UUID.randomUUID(); + + when(bpmnVersionRepoMock.findAllById(uuid)).thenReturn(Uni.createFrom().item(List.of())); + + AtmLayerException thrown = assertThrows(AtmLayerException.class, () -> { + bpmnVersionServiceImpl.undeploy(uuid).await().indefinitely(); + }); + + assertEquals("Il file BPMN di riferimento non può essere undeployed", thrown.getMessage()); + verify(bpmnVersionRepoMock, times(1)).findAllById(uuid); + verify(processClientMock, never()).undeploy(any(String.class)); + } + + @Test + void testUndeployExistingUUID() { + UUID uuid = UUID.randomUUID(); + String validDeploymentId = UUID.randomUUID().toString(); + BpmnVersion bpmnVersion = new BpmnVersion(); + bpmnVersion.setDeploymentId(UUID.fromString(validDeploymentId)); + + when(bpmnVersionRepoMock.findAllById(uuid)).thenReturn(Uni.createFrom().item(List.of(bpmnVersion))); + when(processClientMock.undeploy(validDeploymentId)).thenReturn(Uni.createFrom().voidItem()); + + bpmnVersionServiceImpl.undeploy(uuid) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted(); + + verify(bpmnVersionRepoMock, times(1)).findAllById(uuid); + verify(processClientMock, times(1)).undeploy(validDeploymentId); + } + + @Test + void testUndeployErrorDuringProcessClient() { + UUID uuid = UUID.randomUUID(); + String validDeploymentId = UUID.randomUUID().toString(); + BpmnVersion bpmnVersion = new BpmnVersion(); + bpmnVersion.setDeploymentId(UUID.fromString(validDeploymentId)); + + when(bpmnVersionRepoMock.findAllById(uuid)).thenReturn(Uni.createFrom().item(List.of(bpmnVersion))); + when(processClientMock.undeploy(validDeploymentId)).thenReturn(Uni.createFrom().failure(new RuntimeException("Errore nel processClient"))); + + RuntimeException thrown = assertThrows(RuntimeException.class, () -> { + bpmnVersionServiceImpl.undeploy(uuid).await().indefinitely(); + }); + + assertEquals("Errore nel processClient", thrown.getMessage()); + + verify(bpmnVersionRepoMock, times(1)).findAllById(uuid); + verify(processClientMock, times(1)).undeploy(validDeploymentId); + } + @Test void testFindByPKSetOK() { Set bpmnVersionPKSet = new HashSet<>(); From 7983d219d0e96affd41439306d3b128acd834cf2 Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Tue, 11 Jun 2024 17:31:53 +0200 Subject: [PATCH 34/36] fixed the insert in userprofiles --- .../model/enumeration/AppErrorCodeEnum.java | 2 +- .../service/impl/UserProfilesServiceImpl.java | 38 +++++++++++++++---- 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java index e59b4fc2..9772a375 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java @@ -62,7 +62,7 @@ public enum AppErrorCodeEnum { BPMN_INTERNAL_ERROR("ATMLM_4000051", "Nessun file associato a BPMN o nessuna storageKey trovata", INTERNAL), BPMN_FILE_CANNOT_BE_UNDEPLOYED("ATMLM_4000052", "La risorsa di processo indicata non può essere rilasciata", INTERNAL), USER_WITH_SAME_ID_ALREADY_EXIST("ATMLM_4000053", "Un utente con lo stesso id esiste già", CONSTRAINT_VIOLATION), - USER_PROFILE_ALREADY_EXIST("ATMLM_4000054", "Esiste già un utente associato a quel profilo", CONSTRAINT_VIOLATION), + USER_PROFILE_ALREADY_EXIST("ATMLM_4000054", "Profilo già associato all'utente", CONSTRAINT_VIOLATION), NO_USER_PROFILE_FOUND("ATMLM_4000055", "Nessun user profile trovato", CONSTRAINT_VIOLATION), NO_USER_FOUND_FOR_ID("ATMLM_4000056", "Nessun utente trovato per l'id selezionato", NOT_EXISTING_USER_ID), PROFILE_ALREADY_EXIST("ATMLM_4000057", "Esiste già un profilo con lo stesso id", CONSTRAINT_VIOLATION), diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java index 8e4814f6..aacd2fc0 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -14,14 +14,13 @@ import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; -import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; -import java.util.ArrayList; import java.util.List; +import java.util.Objects; @ApplicationScoped @Slf4j @@ -77,13 +76,32 @@ public Uni checkUser(String userId) { @Override public Uni> insertUserProfiles(UserProfilesInsertionDTO userProfilesInsertionDTO) { List userProfilesList = userProfilesMapper.toEntityInsertion(userProfilesInsertionDTO); - List> insertUnis = userProfilesList.stream() - .map(this::insertSingleUserProfile) + List> checks = userProfilesList.stream() + .map(this::isUserProfileExisting) .toList(); - return Uni.join().all(insertUnis) - .usingConcurrencyOf(1) - .andFailFast(); + return Uni.join().all(checks) + .andCollectFailures() + .onItem() + .transform(existingFlags -> { + boolean anyProfileAlreadyExists = existingFlags.stream().anyMatch(exists -> exists); + if (anyProfileAlreadyExists) { + throw new AtmLayerException(Response.Status.BAD_REQUEST, AppErrorCodeEnum.USER_PROFILE_ALREADY_EXIST); + } + return userProfilesList; + }) + .onItem() + .transformToUni(profilesToInsert -> { + List> insertUnis = profilesToInsert.stream() + .map(this::insertSingleUserProfile) + .toList(); + + return Uni.join().all(insertUnis) + .usingConcurrencyOf(1) + .andCollectFailures() + .onItem() + .transform(list -> list); + }); } @WithTransaction @@ -103,6 +121,12 @@ protected Uni insertSingleUserProfile(UserProfiles userProfiles) { }); } + @WithTransaction + protected Uni isUserProfileExisting(UserProfiles userProfiles) { + return this.userProfilesRepository.findById(userProfiles.getUserProfilesPK()) + .onItem().transform(Objects::nonNull); + } + @Override @WithSession public Uni findById(String userId, int profileId) { From 7a6a06b1e6440bb48a9c39c9802f25863c75bb39 Mon Sep 17 00:00:00 2001 From: Gabriele Maiocchi Date: Fri, 14 Jun 2024 11:14:19 +0200 Subject: [PATCH 35/36] made some update and added some test --- .../service/model/mapper/UserMapper.java | 2 +- .../model/repository/UserRepository.java | 8 +- .../model/resource/UserProfilesResource.java | 2 +- .../service/model/resource/UserResource.java | 8 +- .../model/service/UserProfilesService.java | 2 +- .../service/model/service/UserService.java | 3 +- .../service/impl/UserProfilesServiceImpl.java | 9 +- .../model/service/impl/UserServiceImpl.java | 17 +- .../resource/UserProfilesResourceTest.java | 4 +- .../model/resource/UserResourceTest.java | 17 +- .../impl/UserProfilesServiceImplTest.java | 146 +++++++++++++++++- .../service/impl/UserServiceImplTest.java | 27 ++-- 12 files changed, 200 insertions(+), 45 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java index 6e0299be..cf508f7b 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/mapper/UserMapper.java @@ -36,7 +36,7 @@ public User toEntityInsertionWithProfiles(UserInsertionWithProfilesDTO userInser user.setUserId(userInsertionWithProfilesDTO.getUserId()); user.setName(userInsertionWithProfilesDTO.getName()); user.setSurname(userInsertionWithProfilesDTO.getSurname()); - userInsertionWithProfilesDTO.getProfileIds().stream().forEach(x -> userProfilesList.add(new UserProfiles(new UserProfilesPK(user.getUserId(), x)))); + userInsertionWithProfilesDTO.getProfileIds().forEach(x -> userProfilesList.add(new UserProfiles(new UserProfilesPK(user.getUserId(), x)))); user.setUserProfiles(userProfilesList); return user; } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java index 2710914f..94de7dbf 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/repository/UserRepository.java @@ -9,12 +9,12 @@ @ApplicationScoped public class UserRepository implements PanacheRepositoryBase { - public Uni findById(String userId) { - return find("select u from User u left join fetch u.userProfiles where u.userId = :userId", - Parameters.with("userId", userId)).firstResult(); + public Uni findByIdCustom(String userId) { + return find("select u from User u left join fetch u.userProfiles where u.userId = :userId", + Parameters.with("userId", userId)).firstResult(); } - public PanacheQuery findAll() { + public PanacheQuery findAllCustom() { return find("select u from User u left join fetch u.userProfiles"); } } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java index 31e67fe7..ea847929 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResource.java @@ -54,7 +54,7 @@ public Uni> update(@RequestBody(required = true) @Valid Us @Produces(MediaType.APPLICATION_JSON) public Uni getById(@PathParam("userId") String userId, @PathParam("profileId") int profileId) { - return this.userProfilesService.findById(userId, profileId) + return this.userProfilesService.getById(userId, profileId) .onItem() .transform(user -> userProfilesMapper.toDTO(user)); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java index f914ba7d..3f1ff806 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/UserResource.java @@ -6,6 +6,7 @@ import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; +import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -30,6 +31,9 @@ public class UserResource { @Inject UserService userService; + @Inject + UserRepository userRepository; + @POST @Path("/insert") @Consumes(MediaType.APPLICATION_JSON) @@ -69,7 +73,7 @@ public Uni update(@RequestBody(required = true) @Valid User public Uni insertWithProfiles(@RequestBody(required = true) @Valid UserInsertionWithProfilesDTO userInsertionWithProfilesDTO) { return this.userService.insertUserWithProfiles(userInsertionWithProfilesDTO) .onItem() - .transformToUni(insertedProfiles -> userService.findUser(userInsertionWithProfilesDTO.getUserId())) + .transformToUni(insertedProfiles -> userRepository.findByIdCustom(userInsertionWithProfilesDTO.getUserId())) .onItem() .transformToUni(insertedUser -> Uni.createFrom().item(this.userMapper.toProfilesDTO(insertedUser))); } @@ -90,7 +94,7 @@ public Uni delete(@PathParam("userId") String userId) { @Path("/{userId}") @Produces(MediaType.APPLICATION_JSON) public Uni getByIdWithProfiles(@PathParam("userId") String userId) { - return this.userService.findById(userId) + return this.userService.getById(userId) .onItem() .transform(foundUser -> userMapper.toProfilesDTO(foundUser)); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java index bb2ef9df..c4021788 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserProfilesService.java @@ -11,7 +11,7 @@ public interface UserProfilesService { Uni> insertUserProfiles(UserProfilesInsertionDTO userProfilesInsertionDTO); - Uni findById(String userId, int profileId); + Uni getById(String userId, int profileId); Uni deleteUserProfiles(UserProfilesPK userProfilesIDs); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java index 01bfd4fb..cb0de949 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/UserService.java @@ -3,6 +3,7 @@ import io.smallrye.mutiny.Uni; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; import java.util.List; @@ -19,7 +20,7 @@ public interface UserService { Uni deleteUser(String userId); - Uni findById(String userId); + Uni getById(String userId); Uni> getAllUsers(); diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java index aacd2fc0..d4866968 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImpl.java @@ -129,11 +129,16 @@ protected Uni isUserProfileExisting(UserProfiles userProfiles) { @Override @WithSession - public Uni findById(String userId, int profileId) { + public Uni getById(String userId, int profileId) { UserProfilesPK userProfilesPK = new UserProfilesPK(userId, profileId); return userProfilesRepository.findById(userProfilesPK) .onItem() - .transformToUni(userProfile -> Uni.createFrom().item(userProfile)); + .transform(userProfile -> { + if (userProfile == null) { + throw new AtmLayerException(Response.Status.NOT_FOUND, AppErrorCodeEnum.NO_ASSOCIATION_FOUND); + } + return userProfile; + }); } @Override diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java index 01e8e290..fac88d1a 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImpl.java @@ -6,12 +6,13 @@ import io.smallrye.mutiny.unchecked.Unchecked; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionDTO; import it.gov.pagopa.atmlayer.service.model.dto.UserInsertionWithProfilesDTO; +import it.gov.pagopa.atmlayer.service.model.dto.UserWithProfilesDTO; import it.gov.pagopa.atmlayer.service.model.entity.User; +import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; -import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -51,8 +52,8 @@ public Uni insertUser(UserInsertionDTO userInsertionDTO) { @Override @WithSession - public Uni findUser (String userId) { - return this.userRepository.findById(userId); + public Uni findUser(String userId) { + return this.userRepository.findById(userId); } @Override @@ -75,7 +76,7 @@ public Uni insertUserWithProfiles(UserInsertionWithProfilesDTO userInserti public Uni updateUser(UserInsertionDTO userInsertionDTO) { String userId = userInsertionDTO.getUserId(); log.info("Updating user with userId : {}", userId); - return this.findById(userInsertionDTO.getUserId()) + return this.getById(userInsertionDTO.getUserId()) .onItem() .transformToUni(Unchecked.function(userFound -> { if (userInsertionDTO.getName().isBlank() && userInsertionDTO.getSurname().isBlank()) { @@ -97,7 +98,7 @@ public Uni updateUser(UserInsertionDTO userInsertionDTO) { @WithTransaction public Uni deleteUser(String userId) { log.info("Deleting user with userId : {}", userId); - return this.findById(userId) + return this.getById(userId) .onItem() .transformToUni(x -> this.userRepository.deleteById(userId)); } @@ -105,7 +106,7 @@ public Uni deleteUser(String userId) { @Override @WithSession public Uni> getAllUsers() { - return this.userRepository.findAll().list(); + return this.userRepository.findAllCustom().list(); } @Override @@ -115,8 +116,8 @@ public Uni countUsers() { @Override @WithSession - public Uni findById(String userId) { - return this.userRepository.findById(userId) + public Uni getById(String userId) { + return this.userRepository.findByIdCustom(userId) .onItem() .ifNull() .switchTo(() -> { diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java index d16e4290..00cc965d 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserProfilesResourceTest.java @@ -129,7 +129,7 @@ void testGetById() { int profileId = 1; UserProfiles userProfiles = new UserProfiles(); - when(userProfilesService.findById(userId, profileId)).thenReturn( + when(userProfilesService.getById(userId, profileId)).thenReturn( Uni.createFrom().item(userProfiles)); UserProfilesDTO dto = new UserProfilesDTO(); when(userProfilesMapper.toDTO(userProfiles)).thenReturn(dto); @@ -142,7 +142,7 @@ void testGetById() { .then() .statusCode(200); - verify(userProfilesService, times(1)).findById(userId, profileId); + verify(userProfilesService, times(1)).getById(userId, profileId); verify(userProfilesMapper, times(1)).toDTO(userProfiles); } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java index 26926a10..9eac367d 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/resource/UserResourceTest.java @@ -11,6 +11,7 @@ import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; import it.gov.pagopa.atmlayer.service.model.model.ProfileDTO; +import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import it.gov.pagopa.atmlayer.service.model.service.UserService; import jakarta.ws.rs.core.MediaType; import org.junit.jupiter.api.Test; @@ -28,7 +29,8 @@ class UserResourceTest { @InjectMock UserMapper userMapper; - + @InjectMock + UserRepository userRepository; @InjectMock UserService userService; @@ -118,6 +120,9 @@ void testInsertWithProfiles() { List userProfilesList = new ArrayList<>(); userProfilesList.add(userProfiles); + List profileIds = new ArrayList<>(); + profileIds.add(1); + user.setUserId("prova@test.com"); user.setName("prova"); user.setSurname("test"); @@ -127,12 +132,12 @@ void testInsertWithProfiles() { userInsertionWithProfilesDTO.setUserId("prova@test.com"); userInsertionWithProfilesDTO.setName("prova"); userInsertionWithProfilesDTO.setSurname("test"); - userInsertionWithProfilesDTO.setProfileIds(List.of(1)); + userInsertionWithProfilesDTO.setProfileIds(profileIds); UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); - when(userMapper.toEntityInsertionWithProfiles(userInsertionWithProfilesDTO)).thenReturn(user); - when(userService.findUser(userInsertionWithProfilesDTO.getUserId())).thenReturn(Uni.createFrom().item(user)); + when(userService.insertUserWithProfiles(userInsertionWithProfilesDTO)).thenReturn(Uni.createFrom().item(user)); + when(userRepository.findByIdCustom(userInsertionWithProfilesDTO.getUserId())).thenReturn(Uni.createFrom().item(user)); when(userMapper.toProfilesDTO(user)).thenReturn(userWithProfilesDTO); UserWithProfilesDTO result = given() @@ -213,7 +218,7 @@ void testGetByIdWithProfiles() { User user = new User(); UserWithProfilesDTO userWithProfilesDTO = new UserWithProfilesDTO(); - when(userService.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userService.getById(any(String.class))).thenReturn(Uni.createFrom().item(user)); when(userMapper.toProfilesDTO(any(User.class))).thenReturn(userWithProfilesDTO); UserWithProfilesDTO result = given() @@ -226,7 +231,7 @@ void testGetByIdWithProfiles() { .as(UserWithProfilesDTO.class); assertEquals(userWithProfilesDTO, result); - verify(userService, times(1)).findById(any(String.class)); + verify(userService, times(1)).getById(any(String.class)); verify(userMapper, times(1)).toProfilesDTO(user); } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImplTest.java index 4b8cbfb1..f4654b3f 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserProfilesServiceImplTest.java @@ -3,37 +3,70 @@ import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.helpers.test.UniAssertSubscriber; +import it.gov.pagopa.atmlayer.service.model.dto.UserProfilesInsertionDTO; import it.gov.pagopa.atmlayer.service.model.entity.Profile; import it.gov.pagopa.atmlayer.service.model.entity.User; import it.gov.pagopa.atmlayer.service.model.entity.UserProfiles; import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; +import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; import it.gov.pagopa.atmlayer.service.model.repository.ProfileRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; +import org.junit.Assert; +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @QuarkusTest class UserProfilesServiceImplTest { - @Mock - UserProfilesRepository userProfilesRepository; @Mock ProfileRepository profileRepository; @Mock UserRepository userRepository; + @Mock + UserProfilesRepository userProfilesRepository; + @Mock + UserProfilesMapper userProfilesMapper; @InjectMocks UserProfilesServiceImpl userProfilesService; + private UserProfilesPK userProfilesPK; + private UserProfiles userProfiles; + private UserProfilesInsertionDTO userProfilesInsertionDTO; @BeforeEach void setup() { MockitoAnnotations.openMocks(this); + userProfilesPK = new UserProfilesPK("prova@test.com", 2); + userProfiles = new UserProfiles(); + userProfiles.setUserProfilesPK(userProfilesPK); + userProfiles.setCreatedAt(new Timestamp(System.currentTimeMillis())); + userProfiles.setLastUpdatedAt(new Timestamp(System.currentTimeMillis())); + + User user = new User(); + user.setUserId(userProfilesPK.getUserId()); + user.setName("prova"); + user.setSurname("test"); + + userProfiles.setUser(user); + + List profilesIdList = new ArrayList<>(); + profilesIdList.add(2); + userProfilesInsertionDTO = new UserProfilesInsertionDTO(); + userProfilesInsertionDTO.setProfileIds(profilesIdList); + userProfilesInsertionDTO.setUserId("prova@test.com"); } @Test @@ -64,6 +97,89 @@ void testCheckProfileExceptionCase() { verify(profileRepository).findById(profileId); } + @Test + void testCheckProfilesList() { + List intLIst = new ArrayList<>(); + intLIst.add(1); + intLIst.add(2); + + Uni> result = userProfilesService.checkProfileList(intLIst); + result.subscribe().with(Assertions::assertNotNull); + } + + @Test + void testInsertUserProfilesOK() { + List userProfilesList = new ArrayList<>(); + userProfilesList.add(userProfiles); + when(userProfilesMapper.toEntityInsertion(any(UserProfilesInsertionDTO.class))).thenReturn(userProfilesList); + when(userProfilesService.isUserProfileExisting(userProfiles)).thenReturn(Uni.createFrom().item(true)); + when(userProfilesRepository.findById(userProfiles.getUserProfilesPK())).thenReturn(Uni.createFrom().nullItem()); + when(userProfilesRepository.persist(any(UserProfiles.class))).thenReturn(Uni.createFrom().item(userProfiles)); + when(profileRepository.findById(userProfiles.getUserProfilesPK().getProfileId())).thenReturn(Uni.createFrom().item(new Profile())); + when(userRepository.findById(userProfiles.getUserProfilesPK().getUserId())).thenReturn(Uni.createFrom().item(new User())); + + userProfilesService.insertSingleUserProfile(userProfiles) + .subscribe().withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(userProfiles); + Uni> result = userProfilesService.insertUserProfiles(userProfilesInsertionDTO); + result.subscribe() + .withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(userProfilesList); + } + + @Test + void testFindByIdOk() { + when(userProfilesRepository.findById(any(UserProfilesPK.class))).thenReturn(Uni.createFrom().item(userProfiles)); + + Uni result = userProfilesService.getById("prova@test.com", 2); + + result.subscribe() + .withSubscriber(UniAssertSubscriber.create()) + .assertCompleted() + .assertItem(userProfiles); + + verify(userProfilesRepository).findById(any(UserProfilesPK.class)); + } + + @Test + void testFindByIdNull() { + UserProfilesPK userProfilesPK = new UserProfilesPK("prova@test.com", 2); + when(userProfilesRepository.findById(userProfilesPK)).thenReturn(Uni.createFrom().nullItem()); + + userProfilesService.getById(userProfilesPK.getUserId(), userProfilesPK.getProfileId()) + .subscribe() + .withSubscriber(UniAssertSubscriber.create()) + .assertFailed(); + } + + @Test + void testDeleteUserProfilesOk() { + when(userProfilesRepository.findById(any(UserProfilesPK.class))).thenReturn(Uni.createFrom().item(userProfiles)); + when(userProfilesRepository.delete(any(UserProfiles.class))).thenReturn(Uni.createFrom().voidItem()); + + Uni result = userProfilesService.deleteUserProfiles(userProfilesPK); + + result.subscribe() + .withSubscriber(UniAssertSubscriber.create()) + .assertCompleted(); + + verify(userProfilesRepository).findById(any(UserProfilesPK.class)); + verify(userProfilesRepository).delete(any(UserProfiles.class)); + } + + @Test + void testDeleteUserProfilesNull() { + UserProfilesPK userProfilesPK = new UserProfilesPK("prova@test.com", 2); + when(userProfilesRepository.findById(userProfilesPK)).thenReturn(Uni.createFrom().nullItem()); + + userProfilesService.deleteUserProfiles(userProfilesPK) + .subscribe() + .withSubscriber(UniAssertSubscriber.create()) + .assertFailed(); + } + @Test void testCheckUser() { String userId = "existingUserId"; @@ -136,4 +252,30 @@ void testInsertSingleUserProfileAlreadyExists() { verify(userRepository, times(0)).findById(anyString()); } + @Test + public void testUpdateUserProfiles_Success() { + UserProfilesInsertionDTO dto = new UserProfilesInsertionDTO(); + dto.setUserId("prova@test.com"); + dto.setProfileIds(List.of(1, 2, 3)); + + List userProfilesToUpdate = new ArrayList<>(); + userProfilesToUpdate.add(userProfiles); + + when(userProfilesMapper.toEntityInsertion(dto)).thenReturn(userProfilesToUpdate); + when(userRepository.findById(dto.getUserId())).thenReturn(Uni.createFrom().item(new User())); + when(profileRepository.findById(anyInt())).thenReturn(Uni.createFrom().item(new Profile())); + when(userProfilesRepository.findByUserId(dto.getUserId())).thenReturn(Uni.createFrom().item(new ArrayList<>())); + when(userProfilesRepository.deleteUserProfiles(anyList())).thenReturn(Uni.createFrom().item(1L)); + when(userProfilesRepository.persist(userProfilesToUpdate)).thenReturn(Uni.createFrom().voidItem()); + + userProfilesService.updateUserProfiles(dto) + .subscribe().with(Assertions::assertNotNull); + + verify(userProfilesMapper).toEntityInsertion(dto); + verify(userRepository).findById(dto.getUserId()); + verify(profileRepository, times(3)).findById(anyInt()); + verify(userProfilesRepository).deleteUserProfiles(anyList()); + verify(userProfilesRepository).persist(anyList()); + } + } diff --git a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java index 711a1663..f3bfc08d 100644 --- a/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java +++ b/src/test/java/it/gov/pagopa/atmlayer/service/model/service/impl/UserServiceImplTest.java @@ -12,8 +12,6 @@ import it.gov.pagopa.atmlayer.service.model.entity.UserProfilesPK; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.UserMapper; -import it.gov.pagopa.atmlayer.service.model.mapper.UserProfilesMapper; -import it.gov.pagopa.atmlayer.service.model.repository.UserProfilesRepository; import it.gov.pagopa.atmlayer.service.model.repository.UserRepository; import it.gov.pagopa.atmlayer.service.model.service.UserProfilesService; import org.junit.jupiter.api.Assertions; @@ -177,7 +175,7 @@ void testUpdateUser() { User user = new User(); user.setUserId(dto.getUserId()); - when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userServiceImpl.getById(any(String.class))).thenReturn(Uni.createFrom().item(user)); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); userServiceImpl.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) @@ -197,7 +195,7 @@ void testUpdateUserSuccessPartialNameOnly() { User user = new User(); user.setUserId(dto.getUserId()); - when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userServiceImpl.getById(any(String.class))).thenReturn(Uni.createFrom().item(user)); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); userServiceImpl.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) @@ -217,24 +215,23 @@ void testUpdateUserSuccessPartialSurnameOnly() { User user = new User(); user.setUserId(dto.getUserId()); - when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(user)); + when(userServiceImpl.getById(any(String.class))).thenReturn(Uni.createFrom().item(user)); when(userRepository.persist(any(User.class))).thenReturn(Uni.createFrom().item(user)); userServiceImpl.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(user); - verify(userRepository).persist(user); } @Test void testUpdateUserErrorAllFieldsBlank() { UserInsertionDTO dto = new UserInsertionDTO(); - dto.setUserId("Paolo@Rossi.com"); + dto.setUserId(""); dto.setName(""); dto.setSurname(""); - when(userRepository.findById(any(String.class))).thenReturn(Uni.createFrom().item(new User())); + when(userServiceImpl.getById(any(String.class))).thenReturn(Uni.createFrom().item(new User())); userServiceImpl.updateUser(dto).subscribe().withSubscriber(UniAssertSubscriber.create()) .assertFailed() @@ -244,20 +241,20 @@ void testUpdateUserErrorAllFieldsBlank() { } @Test - void testFindById() { + void testGetById() { String userId = "existentId"; User user = new User(); user.setUserId(userId); - when(userRepository.findById(userId)).thenReturn(Uni.createFrom().item(user)); + when(userRepository.findByIdCustom(userId)).thenReturn(Uni.createFrom().item(user)); - userServiceImpl.findById(userId) + userServiceImpl.getById(userId) .subscribe() .withSubscriber(UniAssertSubscriber.create()) .assertCompleted() .assertItem(user); - verify(userRepository).findById(userId); + verify(userRepository).findByIdCustom(userId); } @Test @@ -266,7 +263,7 @@ void testFindByIdExceptionCase() { when(userRepository.findById(userId)).thenReturn(Uni.createFrom().nullItem()); - userServiceImpl.findById(userId) + userServiceImpl.getById(userId) .subscribe() .withSubscriber(UniAssertSubscriber.create()) .assertFailed() @@ -281,7 +278,7 @@ void testGetAllUsers() { PanacheQuery panacheQuery = mock(PanacheQuery.class); - when(userRepository.findAll()).thenReturn(panacheQuery); + when(userRepository.findAllCustom()).thenReturn(panacheQuery); when(panacheQuery.list()).thenReturn(Uni.createFrom().item(userList)); Uni> result = userServiceImpl.getAllUsers(); @@ -296,7 +293,7 @@ void testDeleteOK() { String userId = "testUserId"; User user = new User(); - when(userRepository.findById(userId)).thenReturn(Uni.createFrom().item(user)); + when(userServiceImpl.getById(userId)).thenReturn(Uni.createFrom().item(user)); when(userRepository.deleteById(userId)).thenReturn(Uni.createFrom().item(true)); userServiceImpl.deleteUser(userId) From 974c6e6ee85fefc79593278a27fdc35f4cc5c67d Mon Sep 17 00:00:00 2001 From: ElisKina-dev Date: Thu, 18 Jul 2024 12:39:51 +0200 Subject: [PATCH 36/36] merged dev into userProfile --- .../model/enumeration/AppErrorCodeEnum.java | 2 - .../service/model/resource/BpmnResource.java | 134 +++++++++--------- .../service/model/resource/InfoResource.java | 6 - .../resource/ResourceEntityResource.java | 52 +++---- .../resource/WorkflowResourceResource.java | 99 +++++-------- 5 files changed, 124 insertions(+), 169 deletions(-) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java index 9ed06813..9772a375 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/enumeration/AppErrorCodeEnum.java @@ -10,8 +10,6 @@ @Getter public enum AppErrorCodeEnum { ATMLM_500("ATMLM_500", "Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni", GENERIC), - ATMLM_401("ATMLM_401", "Richiesta non autorizzata", UNAUTHORIZED), - ATMLM_429("ATMLM_429", "Rate limit raggiunto; riprovare in seguito", RATE_LIMIT), BPMN_FILE_WITH_SAME_CONTENT_ALREADY_EXIST("ATMLM_4000001", "Una risorsa di processo con lo stesso contenuto esiste già", CONSTRAINT_VIOLATION), BPMN_FILE_DOES_NOT_EXIST("ATMLM_4000002", "La risorsa di processo indicata non esiste", NOT_EXISTING_REFERENCED_ENTITY), BPMN_FILE_NOT_DEPLOYED("ATMLM_4000003", "La risorsa di processo indicata non è stata rilasciata", NOT_DEPLOYED_STATUS), diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResource.java index e3a6dc19..d19b0197 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/BpmnResource.java @@ -34,17 +34,11 @@ import org.apache.commons.lang3.StringUtils; import org.eclipse.microprofile.openapi.annotations.Operation; import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; -import org.eclipse.microprofile.openapi.annotations.enums.SecuritySchemeType; import org.eclipse.microprofile.openapi.annotations.media.Content; import org.eclipse.microprofile.openapi.annotations.media.Schema; import org.eclipse.microprofile.openapi.annotations.parameters.Parameter; import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; import org.eclipse.microprofile.openapi.annotations.responses.APIResponse; -import org.eclipse.microprofile.openapi.annotations.security.OAuthFlow; -import org.eclipse.microprofile.openapi.annotations.security.OAuthFlows; -import org.eclipse.microprofile.openapi.annotations.security.SecurityRequirement; -import org.eclipse.microprofile.openapi.annotations.security.SecurityScheme; -import org.eclipse.microprofile.openapi.annotations.security.SecuritySchemes; import org.eclipse.microprofile.openapi.annotations.tags.Tag; import java.io.IOException; @@ -72,7 +66,7 @@ public class BpmnResource { @Inject public BpmnResource(BpmnVersionService bpmnVersionService, BpmnBankConfigService bpmnBankConfigService, BpmnEntityValidator bpmnEntityValidator, BpmnFileStorageService bpmnFileStorageService, - BpmnVersionMapper bpmnVersionMapper, BpmnConfigMapper bpmnConfigMapper, Tracer tracer){ + BpmnVersionMapper bpmnVersionMapper, BpmnConfigMapper bpmnConfigMapper, Tracer tracer) { this.bpmnVersionService = bpmnVersionService; this.bpmnBankConfigService = bpmnBankConfigService; this.bpmnEntityValidator = bpmnEntityValidator; @@ -103,11 +97,11 @@ public BpmnResource(BpmnVersionService bpmnVersionService, BpmnBankConfigService operationId = "getEncodedFile", description = "Recupera il file BPMN codificato" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni getEncodedFile(@PathParam("bpmnId") UUID bpmnId, - @PathParam("version") @Schema(minimum="1", maximum="10000") Long version) { + @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version) { BpmnVersionPK key = BpmnVersionPK.builder() .bpmnId(bpmnId) .modelVersion(version) @@ -130,8 +124,8 @@ public Uni getEncodedFile(@PathParam("bpmnId") UUID bpmnId, operationId = "associateBPMN", description = "Associa BPMN a un acquirer specifico" ) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public @Schema(maxItems = 50000) Uni> associateBPMN( @PathParam("acquirerId") @Schema(format = "byte", maxLength = 255) String acquirerId, @PathParam("functionType") @Schema(format = "byte", maxLength = 255) String functionType, @@ -155,9 +149,9 @@ public Uni getEncodedFile(@PathParam("bpmnId") UUID bpmnId, operationId = "createBPMN", description = "Crea un nuovo BPMN" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni createBPMN( @RequestBody(required = true) @Valid BpmnCreationDto bpmnCreationDto) throws NoSuchAlgorithmException, IOException { @@ -176,11 +170,11 @@ public Uni createBPMN( operationId = "deleteBpmn", description = "Elimina BPMN" ) - @APIResponse(responseCode= "204", description = "Ok") - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "204", description = "Ok") + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni deleteBpmn(@PathParam("bpmnId") UUID bpmnId, - @PathParam("version") @Schema(minimum="1", maximum="10000") Long version) { + @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version) { return this.bpmnVersionService.delete(new BpmnVersionPK(bpmnId, version)) .onItem() .ignore() @@ -194,11 +188,11 @@ public Uni deleteBpmn(@PathParam("bpmnId") UUID bpmnId, operationId = "deployBpmn", description = "Rilascio BPMN" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni deployBPMN(@PathParam("uuid") UUID uuid, - @PathParam("version") @Schema(minimum="1", maximum="10000") Long version) { + @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version) { return this.bpmnVersionService.deploy(new BpmnVersionPK(uuid, version)) .onItem() .transformToUni(bpmn -> Uni.createFrom().item(this.bpmnVersionMapper.toDTO(bpmn))); @@ -211,9 +205,9 @@ public Uni deployBPMN(@PathParam("uuid") UUID uuid, operationId = "undeployBpmn", description = "Disattiva il rilascio di un file BPMN specifico" ) - @APIResponse(responseCode= "204", description = "Ok") - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "204", description = "Ok") + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni undeployBPMN(@PathParam("uuid") UUID uuid) { return this.bpmnVersionService.undeploy(uuid) .onItem() @@ -227,11 +221,11 @@ public Uni undeployBPMN(@PathParam("uuid") UUID uuid) { operationId = "downloadBpmn", description = "Scarica file BPMN" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = Buffer.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = Buffer.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Multi downloadBpmn(@PathParam("uuid") UUID bpmnId, - @PathParam("version") @Schema(minimum="1", maximum="10000") Long version) { + @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version) { BpmnVersionPK key = BpmnVersionPK.builder() .bpmnId(bpmnId) .modelVersion(version) @@ -262,11 +256,11 @@ public Multi downloadBpmn(@PathParam("uuid") UUID bpmnId, operationId = "downloadBpmnFrontEnd", description = "Scarica il file BPMN dal front-end" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = FileS3Dto.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = FileS3Dto.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni downloadBpmnFrontEnd(@PathParam("uuid") UUID bpmnId, - @PathParam("version") @Schema(minimum="1", maximum="10000") Long version) { + @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version) { BpmnVersionPK key = BpmnVersionPK.builder() .bpmnId(bpmnId) .modelVersion(version) @@ -297,9 +291,9 @@ public Uni downloadBpmnFrontEnd(@PathParam("uuid") UUID bpmnId, operationId = "findBPMNByTriad", description = "Cerca file BPMN per tripletta: acquirerId, branchId e terminalId" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni findBPMNByTriad(@PathParam("functionType") @Schema(format = "byte", maxLength = 255) String functionType, @PathParam("acquirerId") @Schema(format = "byte", maxLength = 255) String acquirerId, @PathParam("branchId") @Schema(format = "byte", maxLength = 255) String branchId, @@ -354,9 +348,9 @@ public Uni findBPMNByTriad(@PathParam("functionType") @Schema(format = operationId = "findBPMNByTriadForProcessService", description = "Cerca file BPMN per tripletta acquirerId, branchId e terminalId per Process Service" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnProcessDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnProcessDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni findBPMNByTriadForProcessService( @PathParam("functionType") @Schema(format = "byte", maxLength = 255) String functionType, @PathParam("acquirerId") @Schema(format = "byte", maxLength = 255) String acquirerId, @@ -375,9 +369,9 @@ public Uni findBPMNByTriadForProcessService( operationId = "upgradeBPMN", description = "Aggiorna il file BPMN aumentando la versione" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni upgradeBPMN(@Valid BpmnUpgradeDto bpmnUpgradeDto) { bpmnUpgradeDto.setFunctionType(bpmnUpgradeDto.getFunctionType().toUpperCase()); return bpmnVersionService.upgrade(bpmnUpgradeDto); @@ -391,8 +385,8 @@ public Uni upgradeBPMN(@Valid BpmnUpgradeDto bpmnUpgradeDto) { description = "cerca associazioni di un acquirerId" ) @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(type = SchemaType.ARRAY, implementation = BpmnBankConfigDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni> getAssociations(@PathParam("acquirerId") @Schema(format = "byte", maxLength = 255) String acquirerId) { return bpmnBankConfigService.findByAcquirerId(acquirerId); } @@ -403,10 +397,10 @@ public Uni> getAssociations(@PathParam("acquirerId") @Sc operationId = "disableBPMN", description = "disabilita un file BPMN" ) - @APIResponse(responseCode= "204", description = "Ok") - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) - public Uni disableBPMN(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum="1", maximum="10000") Long version) { + @APIResponse(responseCode = "204", description = "Ok") + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) + public Uni disableBPMN(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version) { BpmnVersionPK bpmnVersionPK = new BpmnVersionPK(bpmnId, version); return bpmnVersionService.disable(bpmnVersionPK); } @@ -418,13 +412,13 @@ public Uni disableBPMN(@PathParam("uuid") UUID bpmnId, @PathParam("version operationId = "getBpmnFiltered", description = "cerca BPMN mettendo dei filtri" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = PageInfo.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = PageInfo.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni> getBpmnFiltered(@QueryParam("pageIndex") @DefaultValue("0") @Parameter(required = true, schema = @Schema(minimum = "0", maximum = "10000")) int pageIndex, @QueryParam("pageSize") @DefaultValue("10") - @Parameter(required = true, schema = @Schema(minimum = "1", maximum="100")) int pageSize, + @Parameter(required = true, schema = @Schema(minimum = "1", maximum = "100")) int pageSize, @QueryParam("functionType") @Schema(format = "byte", maxLength = 255) String functionType, @QueryParam("modelVersion") @Schema(format = "byte", maxLength = 5) String modelVersion, @QueryParam("definitionVersionCamunda") @Schema(format = "byte", maxLength = 5) String definitionVersionCamunda, @@ -458,10 +452,10 @@ public Uni> getBpmnFiltered(@QueryParam("pageIndex") @ operationId = "getAssociationsByBpmn", description = "cerca associazioni di un BPMN" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = PageInfo.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) - public Uni> getAssociationsByBpmn(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum="1", maximum="10000") Long version, + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = PageInfo.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) + public Uni> getAssociationsByBpmn(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version, @QueryParam("pageIndex") @DefaultValue("0") @Schema(minimum = "0", maximum = "10000") int pageIndex, @QueryParam("pageSize") @DefaultValue("10") @Schema(minimum = "1", maximum = "100") int pageSize) { return bpmnBankConfigService.findByBpmnPKPaged(new BpmnVersionPK(bpmnId, version), pageIndex, pageSize) @@ -482,10 +476,10 @@ public Uni> getAssociationsByBpmn(@PathParam("uuid") operationId = "addSingleAssociation", description = "aggiungi una singola associazione" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnBankConfigDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) - public Uni addSingleAssociation(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum="1", maximum="10000") Long version, + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnBankConfigDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) + public Uni addSingleAssociation(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version, @RequestBody(required = true) BankConfigTripletDto bankConfigTripletDto) { validateBankConfigTriplet(bankConfigTripletDto); return bpmnVersionService.addSingleAssociation(new BpmnVersionPK(bpmnId, version), bankConfigTripletDto) @@ -498,10 +492,10 @@ public Uni addSingleAssociation(@PathParam("uuid") UUID bpmnI operationId = "deleteSingleAssociation", description = "elimina una singola associazione" ) - @APIResponse(responseCode= "204", description = "Ok") - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) - public Uni deleteSingleAssociation(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum="1", maximum="10000") Long version, + @APIResponse(responseCode = "204", description = "Ok") + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) + public Uni deleteSingleAssociation(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version, @QueryParam("acquirerId") @NotEmpty @Schema(format = "byte", maxLength = 255) String acquirerId, @QueryParam("branchId") @Schema(format = "byte", maxLength = 255) String branchId, @QueryParam("terminalId") @Schema(format = "byte", maxLength = 255) String terminalId) { @@ -518,10 +512,10 @@ public Uni deleteSingleAssociation(@PathParam("uuid") UUID bpmnId, @PathPa operationId = "replaceSingleAssociation", description = "sostituisci una singola associazione" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnBankConfigDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) - public Uni replaceSingleAssociation(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum="1", maximum="10000") Long version, + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = BpmnBankConfigDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) + public Uni replaceSingleAssociation(@PathParam("uuid") UUID bpmnId, @PathParam("version") @Schema(minimum = "1", maximum = "10000") Long version, @RequestBody(required = true) BankConfigTripletDto bankConfigTripletDto) { validateBankConfigTriplet(bankConfigTripletDto); return bpmnVersionService.replaceSingleAssociation(new BpmnVersionPK(bpmnId, version), bankConfigTripletDto) diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/InfoResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/InfoResource.java index ee5b360d..6706fd9b 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/InfoResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/InfoResource.java @@ -7,16 +7,10 @@ import jakarta.ws.rs.core.MediaType; import org.eclipse.microprofile.config.inject.ConfigProperty; import org.eclipse.microprofile.openapi.annotations.Operation; -import org.eclipse.microprofile.openapi.annotations.enums.SecuritySchemeType; import org.eclipse.microprofile.openapi.annotations.media.Content; import org.eclipse.microprofile.openapi.annotations.media.Schema; import org.eclipse.microprofile.openapi.annotations.responses.APIResponse; import org.eclipse.microprofile.openapi.annotations.responses.APIResponses; -import org.eclipse.microprofile.openapi.annotations.security.OAuthFlow; -import org.eclipse.microprofile.openapi.annotations.security.OAuthFlows; -import org.eclipse.microprofile.openapi.annotations.security.SecurityRequirement; -import org.eclipse.microprofile.openapi.annotations.security.SecurityScheme; -import org.eclipse.microprofile.openapi.annotations.security.SecuritySchemes; import org.eclipse.microprofile.openapi.annotations.tags.Tag; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ResourceEntityResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ResourceEntityResource.java index 11c533ee..c349baf3 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ResourceEntityResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/ResourceEntityResource.java @@ -9,7 +9,6 @@ import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; import it.gov.pagopa.atmlayer.service.model.mapper.ResourceEntityMapper; import it.gov.pagopa.atmlayer.service.model.mapper.ResourceFileMapper; -import it.gov.pagopa.atmlayer.service.model.model.BpmnDTO; import it.gov.pagopa.atmlayer.service.model.model.PageInfo; import it.gov.pagopa.atmlayer.service.model.model.ResourceDTO; import it.gov.pagopa.atmlayer.service.model.model.ResourceFrontEndDTO; @@ -17,30 +16,21 @@ import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; import jakarta.validation.Valid; -import jakarta.validation.constraints.Size; import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; import org.eclipse.microprofile.openapi.annotations.Operation; -import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; -import org.eclipse.microprofile.openapi.annotations.enums.SecuritySchemeType; import org.eclipse.microprofile.openapi.annotations.media.Content; import org.eclipse.microprofile.openapi.annotations.media.Schema; import org.eclipse.microprofile.openapi.annotations.parameters.Parameter; import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; import org.eclipse.microprofile.openapi.annotations.responses.APIResponse; -import org.eclipse.microprofile.openapi.annotations.security.OAuthFlow; -import org.eclipse.microprofile.openapi.annotations.security.OAuthFlows; -import org.eclipse.microprofile.openapi.annotations.security.SecurityRequirement; -import org.eclipse.microprofile.openapi.annotations.security.SecurityScheme; -import org.eclipse.microprofile.openapi.annotations.security.SecuritySchemes; import org.eclipse.microprofile.openapi.annotations.tags.Tag; import java.io.File; import java.io.IOException; import java.security.NoSuchAlgorithmException; -import java.util.List; import java.util.UUID; import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.RESOURCE_FILE_DOES_NOT_EXIST; @@ -56,7 +46,7 @@ public class ResourceEntityResource { @Inject public ResourceEntityResource(ResourceEntityMapper resourceEntityMapper, ResourceFileMapper resourceFileMapper, - ResourceEntityService resourceEntityService){ + ResourceEntityService resourceEntityService) { this.resourceEntityMapper = resourceEntityMapper; this.resourceEntityService = resourceEntityService; } @@ -69,9 +59,9 @@ public ResourceEntityResource(ResourceEntityMapper resourceEntityMapper, Resourc operationId = "createResource", description = "creazione file" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = ResourceDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = ResourceDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni createResource( @RequestBody(required = true) @Valid ResourceCreationDto resourceCreationDto) throws NoSuchAlgorithmException, IOException { @@ -90,9 +80,9 @@ public Uni createResource( operationId = "updateResource", description = "aggiorna file" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = ResourceDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = ResourceDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni updateResource(@RequestBody(required = true) @FormParam("file") File file, @PathParam("uuid") UUID uuid) { return resourceEntityService.updateResource(uuid, file) @@ -120,9 +110,9 @@ public Uni updateResource(@RequestBody(required = true) @FormParam( operationId = "getResourceById", description = "cerca per Id" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = ResourceDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = ResourceDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni getById(@PathParam("uuid") UUID uuid) { return this.resourceEntityService.findByUUID(uuid) .onItem() @@ -141,9 +131,9 @@ public Uni getById(@PathParam("uuid") UUID uuid) { operationId = "getResourceFiltered", description = "filtra tra tutti i Resource file" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = PageInfo.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = PageInfo.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni> getResourceFiltered(@QueryParam("pageIndex") @DefaultValue("0") @Parameter(required = true, schema = @Schema(minimum = "1", maximum = "10000")) int pageIndex, @QueryParam("pageSize") @DefaultValue("10") @@ -153,7 +143,7 @@ public Uni> getResourceFiltered(@QueryParam("pageI @QueryParam("noDeployableResourceType") NoDeployableResourceType noDeployableResourceType, @QueryParam("fileName") @Schema(format = "byte", maxLength = 255) String fileName, @QueryParam("storageKey") @Schema(format = "byte", maxLength = 255) String storageKey, - @QueryParam("extension") @Schema(format = "byte", maxLength = 255) String extension){ + @QueryParam("extension") @Schema(format = "byte", maxLength = 255) String extension) { return resourceEntityService.findResourceFiltered(pageIndex, pageSize, resourceId, sha256, noDeployableResourceType, fileName, storageKey, extension) .onItem() .transform(Unchecked.function(pagedList -> { @@ -171,9 +161,9 @@ public Uni> getResourceFiltered(@QueryParam("pageI operationId = "disableResource", description = "disabilita file" ) - @APIResponse(responseCode= "204", description = "Ok") - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "204", description = "Ok") + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni disable(@PathParam("uuid") UUID uuid) { return this.resourceEntityService.disable(uuid); } @@ -184,10 +174,10 @@ public Uni disable(@PathParam("uuid") UUID uuid) { operationId = "deleteResource", description = "elimina file" ) - @APIResponse(responseCode= "204", description = "Ok") - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) - public Uni deleteResource(@PathParam("uuid") UUID uuid){ + @APIResponse(responseCode = "204", description = "Ok") + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) + public Uni deleteResource(@PathParam("uuid") UUID uuid) { return resourceEntityService.deleteResource(uuid); } diff --git a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResource.java b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResource.java index 7dead991..77f2a4c4 100644 --- a/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResource.java +++ b/src/main/java/it/gov/pagopa/atmlayer/service/model/resource/WorkflowResourceResource.java @@ -12,10 +12,8 @@ import it.gov.pagopa.atmlayer.service.model.enumeration.DeployableResourceType; import it.gov.pagopa.atmlayer.service.model.enumeration.StatusEnum; import it.gov.pagopa.atmlayer.service.model.exception.AtmLayerException; -import it.gov.pagopa.atmlayer.service.model.mapper.ResourceFileMapper; import it.gov.pagopa.atmlayer.service.model.mapper.WorkflowResourceMapper; import it.gov.pagopa.atmlayer.service.model.model.PageInfo; -import it.gov.pagopa.atmlayer.service.model.model.ResourceDTO; import it.gov.pagopa.atmlayer.service.model.model.WorkflowResourceDTO; import it.gov.pagopa.atmlayer.service.model.model.WorkflowResourceFrontEndDTO; import it.gov.pagopa.atmlayer.service.model.service.WorkflowResourceService; @@ -23,41 +21,22 @@ import jakarta.inject.Inject; import jakarta.validation.Valid; import jakarta.validation.constraints.NotNull; -import jakarta.validation.constraints.Size; -import jakarta.ws.rs.Consumes; -import jakarta.ws.rs.DELETE; -import jakarta.ws.rs.DefaultValue; -import jakarta.ws.rs.FormParam; -import jakarta.ws.rs.GET; -import jakarta.ws.rs.POST; -import jakarta.ws.rs.PUT; -import jakarta.ws.rs.Path; -import jakarta.ws.rs.PathParam; -import jakarta.ws.rs.Produces; -import jakarta.ws.rs.QueryParam; +import jakarta.ws.rs.*; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang3.StringUtils; import org.eclipse.microprofile.openapi.annotations.Operation; import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; -import org.eclipse.microprofile.openapi.annotations.enums.SecuritySchemeType; import org.eclipse.microprofile.openapi.annotations.media.Content; import org.eclipse.microprofile.openapi.annotations.media.Schema; import org.eclipse.microprofile.openapi.annotations.parameters.Parameter; import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; import org.eclipse.microprofile.openapi.annotations.responses.APIResponse; -import org.eclipse.microprofile.openapi.annotations.security.OAuthFlow; -import org.eclipse.microprofile.openapi.annotations.security.OAuthFlows; -import org.eclipse.microprofile.openapi.annotations.security.SecurityRequirement; -import org.eclipse.microprofile.openapi.annotations.security.SecurityScheme; -import org.eclipse.microprofile.openapi.annotations.security.SecuritySchemes; import org.eclipse.microprofile.openapi.annotations.tags.Tag; import java.io.File; import java.io.IOException; import java.security.NoSuchAlgorithmException; -import java.util.List; import java.util.UUID; import static it.gov.pagopa.atmlayer.service.model.enumeration.AppErrorCodeEnum.WORKFLOW_FILE_DOES_NOT_EXIST; @@ -73,7 +52,7 @@ public class WorkflowResourceResource { @Inject public WorkflowResourceResource(WorkflowResourceService workflowResourceService, WorkflowResourceMapper workflowResourceMapper, - Tracer tracer){ + Tracer tracer) { this.workflowResourceService = workflowResourceService; this.workflowResourceMapper = workflowResourceMapper; this.tracer = tracer; @@ -97,11 +76,11 @@ public WorkflowResourceResource(WorkflowResourceService workflowResourceService, @Produces(MediaType.APPLICATION_JSON) @Operation( operationId = "getAllFiltered", - description = "filtra tra tutti i Workflow Resource file" + description = "Filtra tra tutti i Workflow Resource file" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = PageInfo.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = PageInfo.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni> getAllFiltered(@QueryParam("pageIndex") @DefaultValue("0") @Parameter(required = true, schema = @Schema(minimum = "1", maximum = "10000")) Integer page, @QueryParam("pageSize") @DefaultValue("10") @@ -134,11 +113,11 @@ public Uni> getAllFiltered(@QueryParam("pa @Produces(MediaType.APPLICATION_JSON) @Operation( operationId = "getById", - description = "cerca per Id" + description = "Cerca per Id" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni getById(@PathParam("uuid") UUID id) { return this.workflowResourceService.findById(id) .onItem() @@ -156,11 +135,11 @@ public Uni getById(@PathParam("uuid") UUID id) { @NonBlocking @Operation( operationId = "create", - description = "creazione file" + description = "Creazione file" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni create(@RequestBody(required = true) @Valid WorkflowResourceCreationDto workflowResourceCreationDto) throws NoSuchAlgorithmException, IOException { WorkflowResource workflowResource = workflowResourceMapper.toEntityCreation(workflowResourceCreationDto); return this.workflowResourceService.createWorkflowResource(workflowResource, workflowResourceCreationDto.getFile(), workflowResourceCreationDto.getFilename()) @@ -172,11 +151,11 @@ public Uni create(@RequestBody(required = true) @Valid Work @Produces(MediaType.APPLICATION_JSON) @Operation( operationId = "deploy", - description = "rilascia file" + description = "Rilascia file" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni deploy(@PathParam("uuid") UUID uuid) { return this.workflowResourceService.findById(uuid) .onItem() @@ -188,11 +167,11 @@ public Uni deploy(@PathParam("uuid") UUID uuid) { @Path("/disable/{uuid}") @Operation( operationId = "disable", - description = "disabilita file" + description = "Disabilita file" ) - @APIResponse(responseCode= "204", description = "Ok") - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "204", description = "Ok") + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni disable(@PathParam("uuid") UUID uuid) { return this.workflowResourceService.disable(uuid); } @@ -203,11 +182,11 @@ public Uni disable(@PathParam("uuid") UUID uuid) { @Path("/{uuid}") @Operation( operationId = "delete", - description = "elimina file" + description = "Elimina file" ) - @APIResponse(responseCode= "204", description = "Ok") - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "204", description = "Ok") + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni delete(@PathParam("uuid") UUID uuid) { return this.workflowResourceService.delete(uuid) .onItem().ignore().andSwitchTo(Uni.createFrom().voidItem()); @@ -219,11 +198,11 @@ public Uni delete(@PathParam("uuid") UUID uuid) { @Produces(MediaType.APPLICATION_JSON) @Operation( operationId = "update", - description = "aggiorna file" + description = "Aggiorna file" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni update(@RequestBody(required = true) @FormParam("file") @NotNull(message = "input file is required") File file, @PathParam("uuid") UUID uuid) throws NoSuchAlgorithmException, IOException { return workflowResourceService.update(uuid, file, false) @@ -238,9 +217,9 @@ public Uni update(@RequestBody(required = true) @FormParam( operationId = "rollback", description = "Rollback" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = WorkflowResourceDTO.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni rollback(@PathParam("uuid") UUID uuid) { return workflowResourceService.rollback(uuid) .onItem() @@ -254,9 +233,9 @@ public Uni rollback(@PathParam("uuid") UUID uuid) { operationId = "download", description = "Scarica file" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = Buffer.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = Buffer.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Multi download(@PathParam("uuid") UUID uuid) { return this.workflowResourceService.download(uuid); } @@ -268,9 +247,9 @@ public Multi download(@PathParam("uuid") UUID uuid) { operationId = "downloadFrontEnd", description = "Scarica file front-end" ) - @APIResponse(responseCode= "200", description = "Ok", content = @Content(schema = @Schema(implementation = FileS3Dto.class))) - @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" )) - @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" )) + @APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(implementation = FileS3Dto.class))) + @APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}")) + @APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}")) public Uni downloadFrontEnd(@PathParam("uuid") UUID uuid) { return this.workflowResourceService.downloadForFrontEnd(uuid) .onItem().transform(FileS3Dto::new);