Using Cassandra-unit with TestNG

I just started some tests with Cassandra and Spring Data Cassandra. I want to write some unit tests for this using TestNG. The Cassandra Unit project uses JUnit by default, but can be used with TestNG as well with some tweaking. To start, add the following dependencies in your Maven pom: Now we can setup…

Release JIRA Database Values plugin 3.3

Just a quick note that I released version 3.3 of my JIRA database values plugin. It has only 1 bugfix: https://bitbucket.org/wimdeblauwe/jdvp/issue/14/ajax-style-field-dont-run-in-popup-screen but an important one given the 5 votes it got. Note that I cannot take any credit for the fix, user Mirek Hankus provide it. Thanks for it!

Switching easily between Java JDKs on Mac OS X

I just came upon a neat little trick to easily switch what JDK you are using on the command line on Mac OS X (10.9.2 is the version I am using), courtesy of this AskDifferent answer. First, add the following aliases in ~/.profile file: alias setJdk6=’export JAVA_HOME=$(/usr/libexec/java_home -v 1.6)’alias setJdk7=’export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)’alias setJdk8=’export JAVA_HOME=$(/usr/libexec/java_home…

Synchronizing LiquidPlanner with Exchange calendars

Quite some time ago I wrote Groovy code to synchronize Atlassian JIRA with LiquidPlanner. You can find my 2 part blog post on that here and here. In case you don’t know LiquidPlanner, be sure to check it out, it is the best project management/scheduling tool I know. One thing that was missing is the…

Creating a REST web application in 4 classes

After visiting Spring Exchange in London, I wanted to try Spring Boot and Spring Data. I managed to it this weekend and was quite impressed. First, I needed an entity class: My entity just has an id which will be used as primary key in the database, a descriptive name and an other String (purpose…