diff --git a/ch.psi.fda/Readme.md b/ch.psi.fda/Readme.md index 3971a30..4249546 100644 --- a/ch.psi.fda/Readme.md +++ b/ch.psi.fda/Readme.md @@ -21,6 +21,7 @@ After checking out the project execute `mvn compile` to create the folder and th To build project use `mvn clean install`. To upload the latest version to the central artifact repository use `mvn clean deploy`. +Create Zip file via `mvn clean compile assembly:assembly` ## REST FDA offers a rest service to execute scans. There are 3 distinct service for fda scan, fdaq and cdump. \ No newline at end of file diff --git a/ch.psi.fda/pom.xml b/ch.psi.fda/pom.xml index 16bc864..60dca16 100644 --- a/ch.psi.fda/pom.xml +++ b/ch.psi.fda/pom.xml @@ -27,19 +27,19 @@ org.glassfish.jersey.containers jersey-container-grizzly2-http - 2.3.1 + 2.5.1 org.glassfish.jersey.media jersey-media-sse - 2.3.1 + 2.5.1 org.glassfish.jersey.media jersey-media-json-jackson - 2.3.1 + 2.5.1 diff --git a/ch.psi.fda/src/main/java/ch/psi/fda/rest/FdaServer.java b/ch.psi.fda/src/main/java/ch/psi/fda/rest/FdaServer.java index fdf077f..8100e9a 100644 --- a/ch.psi.fda/src/main/java/ch/psi/fda/rest/FdaServer.java +++ b/ch.psi.fda/src/main/java/ch/psi/fda/rest/FdaServer.java @@ -95,7 +95,9 @@ public class FdaServer { latch.await(); } catch (InterruptedException e) { } - - server.stop(); + + server.shutdownNow(); + logger.info("Server terminated"); + System.exit(0); // TODO need to shutdown ChannelService correctly !!!! } } \ No newline at end of file diff --git a/ch.psi.fda/src/main/java/ch/psi/fda/rest/ResourceBinder.java b/ch.psi.fda/src/main/java/ch/psi/fda/rest/ResourceBinder.java index 298d979..60f0c51 100644 --- a/ch.psi.fda/src/main/java/ch/psi/fda/rest/ResourceBinder.java +++ b/ch.psi.fda/src/main/java/ch/psi/fda/rest/ResourceBinder.java @@ -25,5 +25,4 @@ public class ResourceBinder extends AbstractBinder { bind(CdumpEngine.class).to(CdumpEngine.class).in(Singleton.class); bind(CdumpConfiguration.class).to(CdumpConfiguration.class).in(Singleton.class); } - } \ No newline at end of file diff --git a/ch.psi.fda/src/test/resources/jcae.properties b/ch.psi.fda/src/test/resources/jcae.properties index 6dbdcb1..a6da78d 100644 --- a/ch.psi.fda/src/test/resources/jcae.properties +++ b/ch.psi.fda/src/test/resources/jcae.properties @@ -1,4 +1,4 @@ # Test properties file -ch.psi.jcae.ContextFactory.addressList=129.129.130.255 129.129.130.37 129.129.145.26 129.129.130.88 129.129.130.142 +ch.psi.jcae.ContextFactory.addressList=129.129.130.188 129.129.130.255 129.129.130.37 129.129.145.26 129.129.130.88 129.129.130.142 ch.psi.jcae.ChannelBeanFactory.retries=4 \ No newline at end of file