2 * Copyright © 2020 Orange Labs, Inc. and others. All rights reserved.
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
9 package org.opendaylight.transportpce.pce.gnpy;
11 import javax.ws.rs.core.Application;
12 import org.glassfish.jersey.server.ResourceConfig;
13 import org.glassfish.jersey.test.JerseyTest;
16 public class JerseyServer extends JerseyTest {
19 //we must hardcode port because it's hardcoded in ConnectToGnpyServer
20 System.setProperty("jersey.config.test.container.port", "8008");
24 protected Application configure() {
25 return new ResourceConfig(GnpyStub.class);