Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

support for couchdb-lucene with couchdb < 1.1

  • Loading branch information...
commit 9294b127370a868eefc3f127b4d3085d19d0b719 1 parent ee558c0
Thomas Westphal authored
Showing with 68 additions and 35 deletions.
  1. +1 −2  COPYRIGHT
  2. +26 −26 build.gradle
  3. +2 −0  src/main/groovy/de/aonnet/gcouch/CouchDbBeanSupport.groovy
  4. +2 −0  src/main/groovy/de/aonnet/gcouch/CouchDbHelper.groovy
  5. +2 −0  src/main/groovy/de/aonnet/gcouch/CouchDbSupport.groovy
  6. +2 −0  src/main/groovy/de/aonnet/gcouch/CouchDbSupportTransformation.groovy
  7. +2 −0  src/main/groovy/de/aonnet/gcouch/DataAccessException.groovy
  8. +2 −0  src/main/groovy/de/aonnet/gcouch/DataAccessResourceFailureException.groovy
  9. +2 −0  src/main/groovy/de/aonnet/gcouch/DataRetrievalFailureException.groovy
  10. +2 −0  src/main/groovy/de/aonnet/gcouch/DataStorageFailureException.groovy
  11. +2 −0  src/main/groovy/de/aonnet/gcouch/DbNotFoundException.groovy
  12. +2 −0  src/main/groovy/de/aonnet/gcouch/GroovyCouchDb.groovy
  13. +2 −0  src/main/groovy/de/aonnet/lucene/LuceneHelper.groovy
  14. +2 −0  src/test/groovy/de/aonnet/gcouch/Author.groovy
  15. +2 −0  src/test/groovy/de/aonnet/gcouch/Book.groovy
  16. +7 −7 src/test/groovy/de/aonnet/gcouch/CouchDbBeanSupportTest.groovy
  17. +2 −0  src/test/groovy/de/aonnet/gcouch/CouchDbHelperTest.groovy
  18. +2 −0  src/test/groovy/de/aonnet/gcouch/CouchDbSupportTransformationTest.groovy
  19. +2 −0  src/test/groovy/de/aonnet/gcouch/GroovyCouchDbTest.groovy
  20. +2 −0  src/test/groovy/de/aonnet/lucene/LuceneHelperTest.groovy
3  COPYRIGHT
View
@@ -1,4 +1,4 @@
-Copyright (c) 2011, Thomas Westphal
+Copyright (c) 2012, Thomas Westphal
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -23,4 +23,3 @@ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
52 build.gradle
View
@@ -1,30 +1,30 @@
/*
-* Copyright (c) 2012, Thomas Westphal
-* All rights reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are
-* met:
-*
-* - Redistributions of source code must retain the above copyright notice,
-* this list of conditions and the following disclaimer.
-*
-* - Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-*
-* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
-* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Copyright (c) 2012, Thomas Westphal
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
group = 'de.aonnet'
version = 'SNAPSHOT'
2  src/main/groovy/de/aonnet/gcouch/CouchDbBeanSupport.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import de.aonnet.json.JsonConverter
2  src/main/groovy/de/aonnet/gcouch/CouchDbHelper.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
class CouchDbHelper {
2  src/main/groovy/de/aonnet/gcouch/CouchDbSupport.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import org.codehaus.groovy.transform.GroovyASTTransformationClass
2  src/main/groovy/de/aonnet/gcouch/CouchDbSupportTransformation.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import org.codehaus.groovy.ast.ASTNode
2  src/main/groovy/de/aonnet/gcouch/DataAccessException.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import groovy.transform.InheritConstructors
2  src/main/groovy/de/aonnet/gcouch/DataAccessResourceFailureException.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import groovy.transform.InheritConstructors
2  src/main/groovy/de/aonnet/gcouch/DataRetrievalFailureException.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import groovy.transform.InheritConstructors
2  src/main/groovy/de/aonnet/gcouch/DataStorageFailureException.groovy
View
@@ -28,6 +28,8 @@
+
+
package de.aonnet.gcouch
import groovy.transform.InheritConstructors
2  src/main/groovy/de/aonnet/gcouch/DbNotFoundException.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import groovy.transform.InheritConstructors
2  src/main/groovy/de/aonnet/gcouch/GroovyCouchDb.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import de.aonnet.lucene.LuceneHelper
2  src/main/groovy/de/aonnet/lucene/LuceneHelper.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.lucene
class LuceneHelper {
2  src/test/groovy/de/aonnet/gcouch/Author.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import de.aonnet.json.JsonExclude
2  src/test/groovy/de/aonnet/gcouch/Book.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import de.aonnet.json.JsonSupport
14 src/test/groovy/de/aonnet/gcouch/CouchDbBeanSupportTest.groovy
View
@@ -1,14 +1,14 @@
/*
* Copyright (c) 2012, Thomas Westphal
- * All rights reserve
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
* - Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
- *d.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
+ *
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
2  src/test/groovy/de/aonnet/gcouch/CouchDbHelperTest.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import groovyx.net.http.ContentType
2  src/test/groovy/de/aonnet/gcouch/CouchDbSupportTransformationTest.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import org.junit.BeforeClass
2  src/test/groovy/de/aonnet/gcouch/GroovyCouchDbTest.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.gcouch
import groovyx.net.http.ContentType
2  src/test/groovy/de/aonnet/lucene/LuceneHelperTest.groovy
View
@@ -26,6 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
package de.aonnet.lucene
import org.junit.Test
Please sign in to comment.
Something went wrong with that request. Please try again.