From 5916eaad134a984faca0c782d904e52c164ae5f8 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 12 Nov 2013 15:19:55 +0000 Subject: [PATCH] Removed mongo dependencies from services --- .../server/src/main/webapp/WEB-INF/web.xml | 4 -- .../MongoDBSessionFactoryTestContext.java | 0 .../models/mongo}/MongoRunnerListener.java | 0 services/pom.xml | 42 +------------------ 4 files changed, 1 insertion(+), 45 deletions(-) rename {services/src/test/java/org/keycloak/test/common => model/mongo/src/main/java/org/keycloak/models/mongo}/MongoDBSessionFactoryTestContext.java (100%) rename {services/src/main/java/org/keycloak/services/listeners => model/mongo/src/main/java/org/keycloak/models/mongo}/MongoRunnerListener.java (100%) diff --git a/examples/as7-eap-demo/server/src/main/webapp/WEB-INF/web.xml b/examples/as7-eap-demo/server/src/main/webapp/WEB-INF/web.xml index fafd74452f..6829b0e56e 100755 --- a/examples/as7-eap-demo/server/src/main/webapp/WEB-INF/web.xml +++ b/examples/as7-eap-demo/server/src/main/webapp/WEB-INF/web.xml @@ -21,10 +21,6 @@ true - - org.keycloak.services.listeners.MongoRunnerListener - - Keycloak Session Management org.keycloak.services.filters.KeycloakSessionServletFilter diff --git a/services/src/test/java/org/keycloak/test/common/MongoDBSessionFactoryTestContext.java b/model/mongo/src/main/java/org/keycloak/models/mongo/MongoDBSessionFactoryTestContext.java similarity index 100% rename from services/src/test/java/org/keycloak/test/common/MongoDBSessionFactoryTestContext.java rename to model/mongo/src/main/java/org/keycloak/models/mongo/MongoDBSessionFactoryTestContext.java diff --git a/services/src/main/java/org/keycloak/services/listeners/MongoRunnerListener.java b/model/mongo/src/main/java/org/keycloak/models/mongo/MongoRunnerListener.java similarity index 100% rename from services/src/main/java/org/keycloak/services/listeners/MongoRunnerListener.java rename to model/mongo/src/main/java/org/keycloak/models/mongo/MongoRunnerListener.java diff --git a/services/pom.xml b/services/pom.xml index 56b23b12fe..084f6dfebc 100755 --- a/services/pom.xml +++ b/services/pom.xml @@ -58,31 +58,6 @@ jboss-logging provided - - org.picketlink - picketlink-idm-api - provided - - - org.picketlink - picketlink-common - provided - - - org.picketlink - picketlink-idm-impl - provided - - - org.picketlink - picketlink-idm-simple-schema - provided - - - org.picketlink - picketlink-config - provided - org.jboss.resteasy resteasy-jaxrs @@ -157,21 +132,6 @@ jackson-xc provided - - org.picketlink - picketlink-common - provided - - - org.mongodb - mongo-java-driver - provided - - - de.flapdoodle.embed - de.flapdoodle.embed.mongo - provided - com.google.zxing javase @@ -184,7 +144,7 @@ org.hibernate.javax.persistence hibernate-jpa-2.0-api - provided + test com.h2database