[java-opensaml COMMIT] in /trunk: opensaml-parent/pom.xml opensaml-storage-impl/pom.xml opensaml-storage-impl/src/mai...

noreply at shibboleth.net noreply at shibboleth.net
Thu Oct 9 16:41:48 EDT 2014


Author: serac
Date: Thu Oct  9 16:41:48 2014
New Revision: 4104

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4104&view=rev
Log:
Add StorageService impl for memcached.

Added:
    trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/
    trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/MemcachedStorageCapabilities.java
    trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/MemcachedStorageRecord.java
    trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/MemcachedStorageService.java
    trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/StorageRecordTranscoder.java
    trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/StringTranscoder.java
    trunk/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/memcached/
    trunk/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/memcached/MemcachedStorageRecordTest.java
    trunk/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/memcached/MemcachedStorageServiceTest.java
    trunk/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/memcached/StorageRecordTranscoderTest.java
    trunk/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/memcached/StringTranscoderTest.java
Modified:
    trunk/opensaml-parent/pom.xml
    trunk/opensaml-storage-impl/pom.xml

Modified: trunk/opensaml-parent/pom.xml
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-parent/pom.xml?rev=4104&r1=4103&r2=4104&view=diff
==============================================================================
--- trunk/opensaml-parent/pom.xml (original)
+++ trunk/opensaml-parent/pom.xml Thu Oct  9 16:41:48 2014
@@ -112,6 +112,11 @@
               <artifactId>hibernate-jpa-2.0-api</artifactId>
               <version>1.0.1.Final</version>
           </dependency>
+          <dependency>
+              <groupId>net.spy</groupId>
+              <artifactId>spymemcached</artifactId>
+              <version>2.11.4</version>
+          </dependency>
 
             <!-- Provided Dependencies -->
 

Modified: trunk/opensaml-storage-impl/pom.xml
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-storage-impl/pom.xml?rev=4104&r1=4103&r2=4104&view=diff
==============================================================================
--- trunk/opensaml-storage-impl/pom.xml (original)
+++ trunk/opensaml-storage-impl/pom.xml Thu Oct  9 16:41:48 2014
@@ -37,6 +37,14 @@
         <dependency>
             <groupId>org.hibernate.javax.persistence</groupId>
             <artifactId>hibernate-jpa-2.0-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>net.spy</groupId>
+            <artifactId>spymemcached</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.cryptacular</groupId>
+            <artifactId>cryptacular</artifactId>
         </dependency>
 
         <!-- Provided Dependencies -->
@@ -102,5 +110,38 @@
 
         <!-- Managed Dependencies -->
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <excludedGroups>${excluded.test.groups}</excludedGroups>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <profiles>
+        <!--
+          Use a profile-based system to exclude tests that need external test fixtures to run
+          (e.g. org.opensaml.storage.impl.memcached.MemcachedStorageServiceTest).
+          Those tests are executed only under explicit profile activation, e.g. mvn -Pall clean package.
+        -->
+        <profile>
+            <id>default</id>
+            <activation><activeByDefault>true</activeByDefault></activation>
+            <properties>
+                <excluded.test.groups>needs-external-fixture</excluded.test.groups>
+            </properties>
+        </profile>
+        <profile>
+            <id>all</id>
+            <properties>
+                <excluded.test.groups/>
+            </properties>
+        </profile>
+    </profiles>
     
 </project>



More information about the commits mailing list