I'm new to Groovy and I've a task. I have a Map looks like: [sessionCampaignName:renins_KASKO_May23, sessionMedium:Yandex_banners, sessionSource:Medi ...
I'm new to Groovy and I've a task. I have a Map looks like: [sessionCampaignName:renins_KASKO_May23, sessionMedium:Yandex_banners, sessionSource:Medi ...
I have several choices in my jenkins pipeline script: I'm trying to make a map like a ["microservice1": true, "microservice2": true, etc.] if I cho ...
I want to delete all load balancers returned form my query below. The problem is creating an array, then looping through each item to delete from my G ...
I need to create a Script from a String and execute it in the context of the current test class. Here's my simplified code: This gives me the follo ...
I would like to override ONLY the behavior of the constructor in a groovy class. Like so when I run this, the def f = new Foo(1, 2) line run succes ...
Using the custom WebClient below: @Slf4j @RequiredArgsConstructor @Component public class TransitApiClient { private final TransitApiClientPrope ...
How to loop the array of objects in groovy? I have tried below logic and got the No such property error. error: Caught: groovy.lang.MissingPro ...
Just started with learning Grails. I have some knowledge of Groovy, but I am mainly a Java developer. https://docs.grails.org/5.2.5/guide/single.html ...
I have an XSD schema which defines a complex type hierarchy: <xsd:complexType abstract="true" name="Node"> <xsd:complexContent> ...
How to access Gravitee HTTP CALLOUT context variable in Gravitee Groovy Script name : callout-attribute value : {#jsonPath(#calloutResponse.cont ...
I'm currently trying to build a contract like this: But getting an exception If reading the documentation here this should be possible. If I us ...
I am using Groovy to create a package that I use in ReadyApi. In a Groovy script test step, I do the following: And I get the following error: ...
I have this collection I want to add a numerator to each sub-collection so that the result will be I know of eachWithIndex() but it adds the num ...
We are continuously receiving user creation/removal in our JIRA instance as the team is growing. I am looking for possible options to automate this u ...
very new to Kotlin and trying to make some of my API work in Kotlin without changing API much. I have a method, let's call it client that receives a ...
`I am using Active Choice Reactive Reference Parameter to get the option loaded based on the previous Active choice parameter(VMConfiguration). Howeve ...
I have a list containing the name of workspaces in groovy Jenkinsfile. I wrote an each() loop to iterate through the list and use the names in the end ...
I am trying to read the contents of a web page using a Groovy script. The page contains the readings from one of my temperature sensors that I want to ...
I am using this groovy script to parameterize a Jenkins Job: If I use this script as is, On the Jenkins job, parameters will be shown in this order ...
I haven't installed the Groovy Eclipse plugin for a while because I mostly did not need it anymore. However, I'm now looking at one project that I nee ...