From 3aab0cb3610a909e4b4fbc8545605375f7a913d5 Mon Sep 17 00:00:00 2001 From: James Fredley Date: Wed, 6 Nov 2024 19:48:02 -0500 Subject: [PATCH] restore examples grails data services tests --- .../groovy/example/LoginAuthenticationSucessHandler.groovy | 6 +++--- settings.gradle | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/grails-data-service/src/main/groovy/example/LoginAuthenticationSucessHandler.groovy b/examples/grails-data-service/src/main/groovy/example/LoginAuthenticationSucessHandler.groovy index de04002a5..7b3574b50 100644 --- a/examples/grails-data-service/src/main/groovy/example/LoginAuthenticationSucessHandler.groovy +++ b/examples/grails-data-service/src/main/groovy/example/LoginAuthenticationSucessHandler.groovy @@ -5,9 +5,9 @@ import grails.plugin.springsecurity.rest.RestAuthenticationSuccessHandler import groovy.transform.CompileStatic import org.springframework.security.core.Authentication -import javax.servlet.ServletException -import javax.servlet.http.HttpServletRequest -import javax.servlet.http.HttpServletResponse +import jakarta.servlet.ServletException +import jakarta.servlet.http.HttpServletRequest +import jakarta.servlet.http.HttpServletResponse @CompileStatic class LoginAuthenticationSucessHandler extends RestAuthenticationSuccessHandler implements EventPublisher { diff --git a/settings.gradle b/settings.gradle index ab59e0c88..cbb4e9d41 100644 --- a/settings.gradle +++ b/settings.gradle @@ -57,9 +57,8 @@ project(":examples-standalone-hibernate5").projectDir = new File(settingsDir, "e include "examples-spring-boot-hibernate5" project(":examples-spring-boot-hibernate5").projectDir = new File(settingsDir, "examples/spring-boot-hibernate5") -// TODO: General error during canonicalization: No signature of method: org.codehaus.groovy.ast.ClassCodeExpressionTransformer.transform() is applicable for argument types: (org.codehaus.groovy.ast.expr.MethodCallExpression) values: [org.codehaus.groovy.ast.expr.MethodCallExpression@776b49b2[object: org.codehaus.groovy.ast.expr.VariableExpression@30b9eadd[variable: response] method: org.codehaus.groovy.ast.expr.ConstantExpression@497570fb[status] arguments: org.codehaus.groovy.ast.expr.ArgumentListExpression@412c995d[org.codehaus.groovy.ast.expr.PropertyExpression@3249a1ce[object: org.codehaus.groovy.ast.expr.ClassExpression@4dd94a58[type: org.springframework.http.HttpStatus] property: org.codehaus.groovy.ast.expr.ConstantExpression@2f4919b0[UNPROCESSABLE_ENTITY]]]]] -//include "examples-grails-data-service" -//project(":examples-grails-data-service").projectDir = new File(settingsDir, "examples/grails-data-service") +include "examples-grails-data-service" +project(":examples-grails-data-service").projectDir = new File(settingsDir, "examples/grails-data-service") include "examples-grails-hibernate-groovy-proxy" project(":examples-grails-hibernate-groovy-proxy").projectDir = new File(settingsDir, "examples/grails-hibernate-groovy-proxy")