nimavat.me

Java, Groovy, Grails, Spring, Vue, Ionic + Fun blog

10 Feb 2018

How to externalize logback configuration

Grails 3 comes with a default logback.groovy file which is bundled in war. This post shows How to externalize the logback configuration so that logback configuration can be changed without requiring a to deploy the war again.

7 Feb 2018

Configure session timeout for Grails 3 applications

How to configure session timeout for Grails 3 applications

10 Jan 2018

Hibernate custom UserType to store field value as Json string

Hibernate custom UserType to store field value as Json string

7 Nov 2017

How to use inplace plugins with Grails 3

How to use inplace plugins with Grails 3

1 Oct 2017

How to package common base test classes in plugin jar

How to package common base test classes in plugin jar

10 Sep 2017

How to secure Rest Api with spring security rest plugin

Step by step guide for how to secure grails rest api with spring security rest plugin

3 Sep 2017

Gorm Hibernate criteria subqueries with exists restriction

How to use detached criteria as a subquery for a criteria query

24 Aug 2017

Integration testing controllers with Grails 3

How to write integration tests for controller with Grails 3

20 Aug 2017

Spring Security Core : Redirect users to different screen based on role

How to redirect users to different screens after login based on roles

5 Aug 2017

Deploying grails application war to tomcat with docker and docker compose

How to deploy the grails application war to tomcat docker container using docker compose

20 Jul 2017

Make @Enhances, TraitInjectors and AST transforms work in same project using gradle custom sourceset

Make @Enhances, TraitInjectors and AST transforms work in same project using gradle custom sourceset. How to get ast transformations work in same same project using a gradle ast sourceset

17 Jul 2017

Grails 3 - Adding build date and other custom info to war

Gradle - How to add build date and other custom information to war

10 Jul 2017

Gradle - Adding external directory to classpath during development

How to add external directory to gradle classpath during development

4 Jul 2017

Grails Asset pipeline - Serve static files with nginx

How to configure nginx to serve serve static files for Grails Asset pipeline

4 Jul 2017

Publishing Grails 3 plugins to artifactory

How to publish Grails 3 plugins to artifactory

10 Jun 2017

Logback rolling file appender example

How to configure logback rolling file appender