Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 57 lines (48 sloc) 2.069 kB
4d76a43 @bflorian Initial commit
authored
1 import com.reachlocal.grails.plugins.cassandra.astyanax.AstyanaxDynamicMethods
2
3 /*
4 * Copyright 2012 ReachLocal Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19 class CassandraAstyanaxGrailsPlugin
20 {
21 // the plugin version
a9517df @bflorian Version 0.4.5, Updated Astyanax library version to 1.56.44
authored
22 def version = "0.4.5"
5cae307 @bflorian Version 0.0.4.
authored
23
4d76a43 @bflorian Initial commit
authored
24 // the version or versions of Grails the plugin is designed for
9000e5e @bflorian Version 0.2.3
authored
25 def grailsVersion = "2.0.0 > *"
5cae307 @bflorian Version 0.0.4.
authored
26
4d76a43 @bflorian Initial commit
authored
27 // the other plugins this plugin depends on
2acb3de @bflorian Added .jar file with persistence provider interface from cassandra-or…
authored
28 def dependsOn = [:]
5cae307 @bflorian Version 0.0.4.
authored
29
4d76a43 @bflorian Initial commit
authored
30 // resources that are excluded from plugin packaging
31 def pluginExcludes = [
d3c66f5 @bflorian Ported counter builder to Java (interface dependency issue still need…
authored
32 "grails-app/views/error.gsp",
33 'src/docs/**'
4d76a43 @bflorian Initial commit
authored
34 ]
35
dbd48eb @bflorian Renamed service methods.
authored
36 def author = "Bob Florian"
5cae307 @bflorian Version 0.0.4.
authored
37 def authorEmail = "bob.florian@reachlocal.com"
dbd48eb @bflorian Renamed service methods.
authored
38 def title = "Astyanax Cassandra Client"
20b0450 @bflorian Version 0.1.0 (requesting publishing to Grails repo)
authored
39 def license = 'APACHE'
40 def organization = [name: 'ReachLocal', url: 'http://www.reachlocal.com/']
41 def issueManagement = [system: 'JIRA', url: 'http://jira.grails.org/browse/GPCASSANDRAASTYANAX']
42 def scm = [url: 'https://github.com/bflorian/cassandra-astyanax']
43
b13e8fb @bflorian Updated documentation. Version 0.0.11.
authored
44 def description = '''This plugin exposes the Astyanax Cassandra client as a Grails service and adds dynamic methods
20b0450 @bflorian Version 0.1.0 (requesting publishing to Grails repo)
authored
45 to make using it from Groovy more convenient. It also implements the interface defined by the cassandra-orm plugin
5cf7db3 @bflorian Release 0.4.0 to support Grails 2.2.* and Cassandre 1.2.*.
authored
46 that provides GORM-like dynamic methods for storing Groovy objects and relationships in Cassandra.
20b0450 @bflorian Version 0.1.0 (requesting publishing to Grails repo)
authored
47 Note that this plugin does not implement the GORM API.
4d76a43 @bflorian Initial commit
authored
48 '''
49 // URL to the plugin's documentation
45449c0 @bflorian Version 0.4.3, Added additional configuration options.
authored
50 def documentation = "http://bflorian.github.io/cassandra-astyanax/"
4d76a43 @bflorian Initial commit
authored
51
52 def doWithDynamicMethods = { ctx ->
53 // Dynamic methods to make Astyanax groovier
54 AstyanaxDynamicMethods.addAll()
55 }
56 }
Something went wrong with that request. Please try again.