This article originally appeared in the January 2013 issue of GroovyMag. There’s no denying that the World Wide Web has become absolutely integral for information storage and delivery. There are more than 600 million sites serving up over 80 billion individual pages and many more pages and web services being added every day(http://news.netcraft.com/archives/2012/09/10/september-2012-web-server-survey.html). And behind […]
Tags:
github,
Gradle,
Groovlet,
Groovy,
HTTPBuilder,
HttpServer,
Java,
kellyrob99,
Programming,
Restlet,
Spock,
theKaptain,
vert.x
This article originally appeared in the December 2012 issue of GroovyMag. Some different ways that Groovy makes interacting with the web easier One of the major benefits of Groovy is how it simplifies some of the common scenarios we deal with in Java. Complex code with conditionals, error handling and many other concerns can be […]
Tags:
git,
github,
Gradle,
Groovy,
HTTPBuilder,
HttpClient,
Java,
JSON,
kellyrob99,
REST,
Spock,
theKaptain,
XML
The Goal Using the GitHub API, Groovy and GraphViz to determine, interpret and render a graph of the relationships between GitHub users based on the watchers of their repositories. The end result can look something like this. [singlepic id=81 w=900 h=450 mode=watermark] The GitHub V3 API You can find the full documentation for the GitHub […]
Tags:
GAE,
Gaelyk,
github,
GitHub API,
Google App Engine,
GPars,
Gradle,
Graphviz,
Groovy,
HTTPBuilder,
Java,
kellyrob99,
Open source,
Programming,
theKaptain
1. Ensure all of your Jenkins builds are building the correct branch from source control I manage a large number of builds at work, spread across several build servers. When we release a new version all of the builds need to be updated to point to new working branches. This script takes advantage of the […]
Tags:
API,
gist,
github,
Gradle,
Groovy,
Hudson,
Java,
jenkins,
JSON,
JsonSlurper,
kellyrob99,
Programming,
REST,
theKaptain
TestNG is a great tool for testing in Java, and it works even better with a little Groovy thrown in. Just lately I’ve had a lot of success using the DataProvider pattern. A DataProvider method in TestNG can return either a two dimensional Object array or an Iterator over each of the test parameters. A […]