BP-772 fix missing constructor
diff --git a/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/dto/PostcodeDto.java b/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/dto/PostcodeDto.java
index ca1bef7..3311a78 100644
--- a/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/dto/PostcodeDto.java
+++ b/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/dto/PostcodeDto.java
@@ -38,6 +38,11 @@
@Size(max = 256, message = "PLZ mit max. 256 Zeichen")
private String pcode;
+ public PostcodeDto() {
+ super();
+ this.pcode = "";
+ }
+
public PostcodeDto(String string) {
super();
this.pcode = string;
diff --git a/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/rest/ArchiveStandbyScheduleRestService.java b/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/rest/ArchiveStandbyScheduleRestService.java
index 0db84e9..6e5f5f0 100644
--- a/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/rest/ArchiveStandbyScheduleRestService.java
+++ b/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/rest/ArchiveStandbyScheduleRestService.java
@@ -27,6 +27,7 @@
import org.apache.log4j.Logger;
import org.eclipse.openk.common.Globals;
import org.eclipse.openk.resources.BaseResource;
+import org.eclipse.openk.sp.annotations.Compress;
import org.eclipse.openk.sp.controller.planning.ArchiveController;
import org.eclipse.openk.sp.dto.ArchiveStandbyScheduleHeaderDto;
import org.eclipse.openk.sp.dto.ArchiveStandbyScheduleHeaderSelectionDto;
@@ -94,6 +95,7 @@
}
@GET
+ @Compress
@Path("/{id}")
public Response getOneArchiveHeader(@PathParam("id") Long id,
@ApiParam(name = "Authorization", value = "JWT Token", required = true) @HeaderParam(value = Globals.KEYCLOAK_AUTH_TAG) String jwt) {
diff --git a/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/rest/StandbyScheduleRestService.java b/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/rest/StandbyScheduleRestService.java
index d5fe457..8ada2b2 100644
--- a/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/rest/StandbyScheduleRestService.java
+++ b/oKBereitschaftsplanungBackend/src/main/java/org/eclipse/openk/sp/rest/StandbyScheduleRestService.java
@@ -67,6 +67,7 @@
}
@GET
+ @Compress
@Path("/import/archive/{id}")
public Response importArchiveHeader(@PathParam("id") Long id,
@ApiParam(name = "Authorization", value = "JWT Token", required = true) @HeaderParam(value = Globals.KEYCLOAK_AUTH_TAG) String jwt) {
@@ -80,6 +81,7 @@
}
@PUT
+ @Compress
@Path("/filter/bodies/{statusId}")
public Response filterPlanningDataByStatusId(@PathParam("statusId") Long statusId,
@ApiParam(name = "Authorization", value = "JWT Token", required = true) @HeaderParam(value = Globals.KEYCLOAK_AUTH_TAG) String jwt,
@@ -196,6 +198,7 @@
}
@PUT
+ @Compress
@Path("/searchnow")
public Response searchnow(
@ApiParam(name = "Authorization", value = "JWT Token", required = true) @HeaderParam(value = Globals.KEYCLOAK_AUTH_TAG) String jwt,