OPI Blog
Learn from experts in their fields

Browsing Tags: Grails

Grails, PostgreSQL 9.4 and JSONB
On a recent grails project using postgreSQL 9.4 that took advantage of the jsonb datatype, we ran into an issue mapping data back and forth to our domain objects. We had several columns in postgreSQL ...
Dependable Microservices via Lattice
Grails 3 makes development of microservices awesome. Docker makes ops for developers of said microservices awesome. However, once we get past “hello, world” and into HOLY TRAFFIC there’s a whole new layer of complexity around ...
May 14, 2015
List of Groovy versions for each version of Grails
Recently when trying to debug an issue I was having in Grails, I found that the root cause was actually a Groovy bug. After checking the bug tracker, I discovered that the bug was fixed ...
Apr 29, 2015
Using Gradle and Bower to Manage JS/CSS Dependencies
Gradle (and other build systems) have done a good job of managing classpath dependencies. They are effective at pulling new versions of packages to get bug fixes, et al and including dependencies in packaging. JavaScript, ...
Apr 23, 2015
Deploying Grails 3 Applications (and other fat jars) to Heroku
(https://heroku.com) users that have run into the 15 minute build timeout should not have to change their source or technology choice to continue using Heroku. This post outlines a method using (http://gradle.org) to work-around ...
Mar 11, 2015
Easily get GORM max size constraints
Oftentimes when designing a UI and working with field limits (such as an HTML input’s “maxlength” attribute), I’ve found myself wondering why it’s not more common to have the constraint come directly from the server. ...
Mar 6, 2015
Another Method for Admin screens with Grails
I came from a background of making sites with Django and after I starting going head-first into Grails, one of the things I missed was a really good and easy to make an admin section. ...
Mar 3, 2015
Customize your Grails test reports
I’ve been writing a lot of Spock tests, and I discovered that Grails’ power asserts can be a little confusing when you’re dealing with long string representations. For example, given the simple test code: the ...
Keep Calm & Groovy On!
For nearly 20 years, Object Partners has been providing high quality software services. Roughly 7 years ago, we saw the potential that Grails and Groovy could offer our clients. So we invested. Heavily. We have ...
Reset Your H2 Database For A Clean State Between Functional Tests
If you’re running automated functional testing as part of your build process, you probably know about test isolation (Martin Fowler has a great article on this and other issues with test non-determinism): A single test can ...