Groovy
Analyzing Groovy/Grails/Gradle source files from Github with BigQuery
@glaforge analyzes with the help of Google Cloud BigQuery a huge amount of Github public repositories.
Discover which are the most common Groovy files, average number of lines per file etc.
Companion blog post with embedded slides.
Grails
How to change languages in a Grails app?
Learn how to change the default language used in your application, switch between languages or access the current locale in the latest Grails Guide.
Why you should avoid using autowiring for Grails Domain Classes?
You may not be aware of this change. Starting with Grails 3.2.8 auto wiring of GORM entities is disabled when you create an app from scratch. Thus, services will not be injected into Domain Classes unless you explicitly turn GORM autowire on.
For example, Spring Security Core Plugin v3.1.2 s2-quickstart script no longer injects a service to handle password encoding into the generated User class. See Testing a Secured App Guide for an example.
Deploy a Grails app to Google Cloud
Learn how to deploy a Grails 3 application to Google App Engine Java Flexible Environment, integrate with Google Cloud Storage and Google Cloud SQL.
For those coming from a AWS background: Google Cloud Storage is similar to S3 and Google Clouds SQL is similar to RDS.
Google Cloud Bookshelf with Grails
The Bookshelf app for Java is a sample web app written in Java that shows how to use a variety of Google Cloud Platform products. We took that app and migrated it to Grails.
We got fancy and added a couple of additional features to the sample app:
- Image to Text recognition with Google Cloud Vision
- Automatic English to Spanish and Italian translation with Google Cloud Translation Api.
[SPANISH] AppEngine profile para Grails 3.1
@jagedn talks about the deployment of Grails to Google AppEngine. Moreover, he creates his own Grails profile to simplify the creation of an app ready to be deployed to Google Cloud.
Comment
This issue explores Grails in the world of Google Cloud. Many of you probably deploy to AWS. Google Cloud is another option for Grails deployment. Moreover, Google Cloud Services (beyond hosting, file storage and persistence) are interesting tools at our disposal for application development (e.g. Translation API). This issue contains several links to information about how to connect your Grails Application into Google Cloud.
Sergio del Amo