X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frest%2Fimpl%2FRestconfApplication.java;h=6166a084c19c1e9e80480c2d3745e04bc9b28eca;hb=510561642a3d699673140da8879d4eb5bc88534e;hp=6dc74840810a195d7e8a1bd8771a947530ce307a;hpb=b5daa3678322a764f9b0e2483f82781f4d39d263;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfApplication.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfApplication.java index 6dc7484081..6166a084c1 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfApplication.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfApplication.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ package org.opendaylight.controller.sal.rest.impl; import java.util.HashSet; @@ -24,6 +31,8 @@ public class RestconfApplication extends Application { singletons.add(restconfImpl); singletons.add(XmlToCompositeNodeProvider.INSTANCE); singletons.add(StructuredDataToXmlProvider.INSTANCE); + singletons.add(JsonToCompositeNodeProvider.INSTANCE); + singletons.add(StructuredDataToJsonProvider.INSTANCE); return singletons; }