X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fswitchmanager%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fswitchmanager%2Fnorthbound%2FSwitchNorthboundRSApplication.java;h=1cdfd31e3ff6c6f5da224ed76340e007e7807cf4;hp=d33c3c99fc635803fa5b9624aec2ef3d8c992597;hb=e383b2e0b9072b7b5b3e3903b8a42ab3917b7f63;hpb=29f7cfb54b580928c7feac63abce028a7014b0d5 diff --git a/opendaylight/northbound/switchmanager/src/main/java/org/opendaylight/controller/switchmanager/northbound/SwitchNorthboundRSApplication.java b/opendaylight/northbound/switchmanager/src/main/java/org/opendaylight/controller/switchmanager/northbound/SwitchNorthboundRSApplication.java index d33c3c99fc..1cdfd31e3f 100644 --- a/opendaylight/northbound/switchmanager/src/main/java/org/opendaylight/controller/switchmanager/northbound/SwitchNorthboundRSApplication.java +++ b/opendaylight/northbound/switchmanager/src/main/java/org/opendaylight/controller/switchmanager/northbound/SwitchNorthboundRSApplication.java @@ -13,6 +13,8 @@ import java.util.HashSet; import java.util.Set; import javax.ws.rs.core.Application; +import org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider; + /** * Instance of javax.ws.rs.core.Application used to return the classes * that will be instantiated for JAXRS processing, this is necessary @@ -25,6 +27,7 @@ public class SwitchNorthboundRSApplication extends Application { public Set> getClasses() { Set> classes = new HashSet>(); classes.add(SwitchNorthbound.class); + classes.add(JacksonJaxbJsonProvider.class); return classes; } }