Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 3aab0cb

Browse files
committed
restore examples grails data services tests
1 parent 63881c9 commit 3aab0cb

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

examples/grails-data-service/src/main/groovy/example/LoginAuthenticationSucessHandler.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import grails.plugin.springsecurity.rest.RestAuthenticationSuccessHandler
55
import groovy.transform.CompileStatic
66
import org.springframework.security.core.Authentication
77

8-
import javax.servlet.ServletException
9-
import javax.servlet.http.HttpServletRequest
10-
import javax.servlet.http.HttpServletResponse
8+
import jakarta.servlet.ServletException
9+
import jakarta.servlet.http.HttpServletRequest
10+
import jakarta.servlet.http.HttpServletResponse
1111

1212
@CompileStatic
1313
class LoginAuthenticationSucessHandler extends RestAuthenticationSuccessHandler implements EventPublisher {

settings.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ project(":examples-standalone-hibernate5").projectDir = new File(settingsDir, "e
5757
include "examples-spring-boot-hibernate5"
5858
project(":examples-spring-boot-hibernate5").projectDir = new File(settingsDir, "examples/spring-boot-hibernate5")
5959

60-
// 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]]]]]
61-
//include "examples-grails-data-service"
62-
//project(":examples-grails-data-service").projectDir = new File(settingsDir, "examples/grails-data-service")
60+
include "examples-grails-data-service"
61+
project(":examples-grails-data-service").projectDir = new File(settingsDir, "examples/grails-data-service")
6362

6463
include "examples-grails-hibernate-groovy-proxy"
6564
project(":examples-grails-hibernate-groovy-proxy").projectDir = new File(settingsDir, "examples/grails-hibernate-groovy-proxy")

0 commit comments

Comments
 (0)