Skip to content

Commit

Permalink
Added cassandra 6.0 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
wolpert committed Apr 8, 2010
1 parent df66fc0 commit 08bd606
Show file tree
Hide file tree
Showing 55 changed files with 12,133 additions and 21 deletions.
37 changes: 24 additions & 13 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/java"/>
<classpathentry kind="src" path="src/groovy"/>
<classpathentry kind="src" path="grails-app/conf"/>
<classpathentry kind="src" path="grails-app/controllers"/>
<classpathentry kind="src" path="grails-app/domain"/>
<classpathentry kind="src" path="grails-app/services"/>
<classpathentry kind="src" path="grails-app/taglib"/>
<classpathentry kind="src" path="test/integration"/>
<classpathentry kind="src" path="test/unit"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="com.springsource.sts.grails.core.CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="web-app/WEB-INF/classes"/>
</classpath>
<classpathentry kind="src" path="src/java"/>
<classpathentry kind="src" path="src/groovy"/>
<classpathentry kind="src" path="grails-app/conf"/>
<classpathentry kind="src" path="grails-app/controllers"/>
<classpathentry kind="src" path="grails-app/domain"/>
<classpathentry kind="src" path="grails-app/services"/>
<classpathentry kind="src" path="grails-app/taglib"/>
<classpathentry kind="src" path="test/integration"/>
<classpathentry kind="src" path="test/unit"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="com.springsource.sts.grails.core.CLASSPATH_CONTAINER"/>
<classpathentry kind="src" path="hibernate-1.2.1-grails-app-i18n">
<attributes>
<attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="tomcat-1.2.1-src-groovy">
<attributes>
<attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="web-app/WEB-INF/classes"/>
</classpath>
20 changes: 19 additions & 1 deletion .project
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,33 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.springsource.sts.grails.core.nature</nature>
<nature>com.springsource.sts.grails.core.nature</nature>
<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
<linkedResources>
<link>
<name>hibernate-1.2.1-grails-app-i18n</name>
<type>2</type>
<location>/home/wolpert/.grails/1.2.1/projects/cassandra/plugins/hibernate-1.2.1/grails-app/i18n</location>
</link>
<link>
<name>tomcat-1.2.1-src-groovy</name>
<type>2</type>
<location>/home/wolpert/.grails/1.2.1/projects/cassandra/plugins/tomcat-1.2.1/src/groovy</location>
</link>
</linkedResources>
</projectDescription>
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
http://www.opensource.org/licenses/apache2.0.php

Cassandra Version: 0.5.1
Hector Version: 0.5.1-8
Grails: 1.2.1
Cassandra Version: 0.6.0 rc1
Hector Version: 0.6.0-10
Grails: 1.2.2



Expand Down
8 changes: 4 additions & 4 deletions application.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Grails Metadata file
#Fri Mar 12 10:41:05 MST 2010
app.grails.version=1.2.1
#Thu Apr 08 13:27:16 MST 2010
app.grails.version=1.2.2
app.name=cassandra
plugins.hibernate=1.2.1
plugins.tomcat=1.2.1
plugins.hibernate=1.2.2
plugins.tomcat=1.2.2
Empty file.
Binary file removed lib/apache-cassandra-0.5.1.jar
Binary file not shown.
Binary file added lib/apache-cassandra-0.6.0-rc1.jar
Binary file not shown.
Binary file added lib/cassandra-javautils.jar
Binary file not shown.
Binary file added lib/clhm-production.jar
Binary file not shown.
Binary file added lib/commons-codec-1.4.jar
Binary file not shown.
Binary file added lib/commons-pool-1.5.3.jar
Binary file not shown.
Binary file added lib/google-collections-1.0.jar
Binary file not shown.
Binary file removed lib/hector-0.5.1-8.jar
Binary file not shown.
Binary file added lib/hector-0.6.0-10-sources.jar
Binary file not shown.
Binary file added lib/hector-0.6.0-10.jar
Binary file not shown.
Binary file added lib/high-scale-lib.jar
Binary file not shown.
Binary file removed lib/libthrift-r820831.jar
Binary file not shown.
Binary file added lib/libthrift-r917130.jar
Binary file not shown.
Binary file added lib/log4j-1.2.14.jar
Binary file not shown.
Binary file renamed lib/perf4j-0.9.13.jar → lib/perf4j-0.9.12.jar
Binary file not shown.
Binary file added lib/slf4j-api-1.5.8.jar
Binary file not shown.
Binary file added lib/slf4j-log4j12-1.5.8.jar
Binary file not shown.
60 changes: 60 additions & 0 deletions src/groovy/codehead/CassandraMap.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
package codehead

import java.util.Map

/**
*
* @author wolpert
*/
class CassandraMap implements Map{

public int size() {
throw new UnsupportedOperationException("Not supported yet.");
}

public boolean isEmpty() {
throw new UnsupportedOperationException("Not supported yet.");
}

public boolean containsKey(Object o) {
throw new UnsupportedOperationException("Not supported yet.");
}

public boolean containsValue(Object o) {
throw new UnsupportedOperationException("Not supported yet.");
}

public Object get(Object o) {
throw new UnsupportedOperationException("Not supported yet.");
}

public Object put(Object k, Object v) {
throw new UnsupportedOperationException("Not supported yet.");
}

public Object remove(Object o) {
throw new UnsupportedOperationException("Not supported yet.");
}

public void putAll(Map map) {
throw new UnsupportedOperationException("Not supported yet.");
}

public void clear() {
throw new UnsupportedOperationException("Not supported yet.");
}

public Set keySet() {
throw new UnsupportedOperationException("Not supported yet.");
}

public Collection values() {
throw new UnsupportedOperationException("Not supported yet.");
}

public Set entrySet() {
throw new UnsupportedOperationException("Not supported yet.");
}

}

Loading

0 comments on commit 08bd606

Please sign in to comment.