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.ServiceConstants;
|
||||||
import org.gcube.spatial.data.sdi.model.health.HealthReport;
|
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;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
@Path(ServiceConstants.INTERFACE)
|
@Path(ServiceConstants.INTERFACE)
|
||||||
|
@ -31,7 +28,7 @@ public class SDI {
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
@JacksonFeatures(serializationEnable = { SerializationFeature.INDENT_OUTPUT })
|
// @JacksonFeatures(serializationEnable = { SerializationFeature.INDENT_OUTPUT })
|
||||||
public ScopeConfiguration getConfiguration(){
|
public ScopeConfiguration getConfiguration(){
|
||||||
|
|
||||||
return sdiManager.getContextConfiguration();
|
return sdiManager.getContextConfiguration();
|
||||||
|
@ -40,7 +37,7 @@ public class SDI {
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
|
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
|
||||||
@JacksonFeatures(serializationEnable = { SerializationFeature.INDENT_OUTPUT })
|
// @JacksonFeatures(serializationEnable = { SerializationFeature.INDENT_OUTPUT })
|
||||||
@Path("status")
|
@Path("status")
|
||||||
public HealthReport getReport() {
|
public HealthReport getReport() {
|
||||||
try{
|
try{
|
||||||
|
|
Loading…
Reference in New Issue