GNPy client refactor
[transportpce.git] / pce / src / test / java / org / opendaylight / transportpce / pce / gnpy / JerseyServer.java
1 /*
2  * Copyright © 2020 Orange Labs, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.transportpce.pce.gnpy;
10
11 import javax.ws.rs.core.Application;
12 import org.glassfish.jersey.server.ResourceConfig;
13 import org.glassfish.jersey.test.JerseyTest;
14 import org.opendaylight.transportpce.pce.gnpy.consumer.GnpyStub;
15
16
17 public class JerseyServer extends JerseyTest {
18
19     @Override
20     protected Application configure() {
21         return new ResourceConfig(GnpyStub.class);
22     }
23 }