removed jackson indentation
This commit is contained in:
parent
27063e601e
commit
096afda31c
|
@ -14,9 +14,6 @@ import org.gcube.spatial.data.sdi.model.ScopeConfiguration;
|
|||
import org.gcube.spatial.data.sdi.model.ServiceConstants;
|
||||
import org.gcube.spatial.data.sdi.model.health.HealthReport;
|
||||
|
||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||
import com.fasterxml.jackson.jaxrs.annotation.JacksonFeatures;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Path(ServiceConstants.INTERFACE)
|
||||
|
@ -31,7 +28,7 @@ public class SDI {
|
|||
|
||||
@GET
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@JacksonFeatures(serializationEnable = { SerializationFeature.INDENT_OUTPUT })
|
||||
// @JacksonFeatures(serializationEnable = { SerializationFeature.INDENT_OUTPUT })
|
||||
public ScopeConfiguration getConfiguration(){
|
||||
|
||||
return sdiManager.getContextConfiguration();
|
||||
|
@ -40,7 +37,7 @@ public class SDI {
|
|||
|
||||
@GET
|
||||
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
|
||||
@JacksonFeatures(serializationEnable = { SerializationFeature.INDENT_OUTPUT })
|
||||
// @JacksonFeatures(serializationEnable = { SerializationFeature.INDENT_OUTPUT })
|
||||
@Path("status")
|
||||
public HealthReport getReport() {
|
||||
try{
|
||||
|
|
Loading…
Reference in New Issue