StartupProperties.get().getProperty("application.services")
.replace("org.apache.ivory.service.ProcessSubscriberService", ""));
String store = StartupProperties.get().getProperty("config.store.uri");
StartupProperties.get().setProperty("config.store.uri", store + System.currentTimeMillis());
if (new File("webapp/src/main/webapp").exists()) {
this.server = new EmbeddedServer(15000, "webapp/src/main/webapp");
} else if (new File("src/main/webapp").exists()) {
this.server = new EmbeddedServer(15000, "src/main/webapp");
} else {
throw new RuntimeException("Cannot run jersey tests");
}
ClientConfig config = new DefaultClientConfig();
Client client = Client.create(config);