Skip to content

Tag: groovy

Grails scaffolding does show nothing

I use grails 2.4.4 I added dependenci in my BuildConfig: and add plugin: Create domain Person: And controller: Also try to use: static scaffold = true, it also doesn’t work. I try to delete my package target. But in my url (http://localhost:8090/grails-com.learning/person) I see nothing There is no the …

Groovy Shell Sandboxing Best Practices

I am trying to set up a Groovy Shell sandbox that can execute untrusted code. These untrusted codes are provided by the end users (developers) as behaviour configurations, e.g. how to determine if a person is high net worth. So, they really are part of the main program. I need to make sure that I am not vulne…

Why does my Gremlin traversal add only one edge?

As described in another question, I am attempting to add several “identity” vertices into a “group” vertex. Based on the recipe recommendation, I’m trying to write the traversal steps in such a way that the traversers iterate the identity vertices instead of appending extra steps…

Unable to load a groovy classes

I am trying to serialize and deserialize a groovy object with the below class in the jenkins pipeline. SerializationUtil.groovy Test.groovy Jenkins pipeline script I was able to serialize the object but not deserialize. I am getting the below exception. From the exception, I could see that GroovyClassLoader i…