we have a Grails 3.3.2 app that is using Spring Security Core and Spring Security CAS plugins. With a custom userDetailsService class for getting the user information from a Oracle Database. This app logs in through CAS just fine when hitting the…
I am using grails 3.3.9 to build a sample hello app. When the app is deployed it works fine. When i check after a day or so the app has already crashed. Checking the logs, i see an error "no operations allowed after connection closed.". Looks like…
We are currently in the process of implementing SSO using PingFederate with SAML. In this process we are also upgrading from Grails 2.4.4 to Grails 3.3.9.
We have no issues when working in development, however when deploying a war file of our…
I have a problem migrating my old unit tests from grails 2.5.4 to grails 3.3
I have a lot of commands using shared preferences. An example, the UserCommand inside de UserController:
class UserCommand implements Validateable {
String firstName
…
We're migrating from Grails 2.x to 3.x. I can observe some different behaviour when using the forward function:
class FooController {
def index() {
forward controller: 'foo', action : 'bar', params: params
}
def bar() {
…
While building my grails 3 application i am getting below warning. Can some body help regarding this.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual…
I am trying to write a simple grails 3.3.8 app that I would like to deploy to heroku.
I started with a simple grails app:
$ grails create-app example
I then added a Procfile:
web: ./gradlew bootRun -Dgrails.server.port=$PORT
And a stage task to…
We use a abstract classes for services like this pseudocode
abstract class AbstractApiService {
@Timed(value="get", useClassPrefix=true)
def get(Long id) {
... returns sth ....
}
@Timed(value="create", useClassPrefix=true)
…
We are upgrading grails 2.4.4 to 3.6.6, but the code failed at grailsApplication.config.grails.binRange. Any idea why I am not able to access grails from config. anyone can solve this?
if (Environment.current == Environment.TEST)
I am trying to upgrade Grails 2.4 to 3.3.6 and not able to change environments: from Development to test, Can someone help me?
Grails version : 3.3.5
I am porting a legacy web app to latest grails. There are 500+ integration tests. Each integration test method needs to load complex data in the database before the test begins and clean it up at the end. Data loading and…