Skip to content

Instantly share code, notes, and snippets.

@paoloantinori
Created January 25, 2018 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paoloantinori/339e6c3760f12bf36691d0575af01166 to your computer and use it in GitHub Desktop.
Save paoloantinori/339e6c3760f12bf36691d0575af01166 to your computer and use it in GitHub Desktop.
{
"items": [
{
"name": "Syndesis Extension - Groovy",
"description": "An extension to Syndesis to invoke Groovy Scripts inyour pipelines",
"extensionId": "io.syndesis.extensions:syndesis-extension-groovy",
"version": "1.0.0",
"tags": [
"dynamic",
"script"
],
"actions": [
{
"id": "groovy",
"name": "groovy",
"description": "Run Groovy scripts.",
"descriptor": {
"kind": "BEAN",
"entrypoint": "io.syndesis.extension.GroovyExtension::runScript",
"inputDataShape": {
"kind": "any"
},
"outputDataShape": {
"kind": "any"
},
"propertyDefinitionSteps": [
{
"description": "Here you can write Groovy script. You can also refer to the following variables, already in scope: body, exchange, sys, env.",
"name": "script",
"properties": {
"script": {
"componentProperty": false,
"defaultValue": "println \"Hello World, this is current body: $body\"",
"deprecated": false,
"description": "Here you can write Groovy script. You can also refer to the following variables, already in scope: body, exchange, sys, env.",
"displayName": "script",
"javaType": "java.lang.String",
"kind": "parameter",
"required": false,
"secret": false,
"type": "textarea",
"tags": [],
"enum": []
}
},
"configuredProperties": {}
}
]
},
"tags": [],
"actionType": "extension"
}
],
"dependencies": [
{
"type": "MAVEN",
"id": "io.syndesis:extension-api:jar:1.2-SNAPSHOT"
},
{
"type": "MAVEN",
"id": "org.apache.camel:camel-core:jar:2.20.1"
},
{
"type": "MAVEN",
"id": "org.codehaus.groovy:groovy-all:jar:2.4.12"
},
{
"type": "MAVEN",
"id": "org.springframework.boot:spring-boot-starter:jar:1.5.8.RELEASE"
}
],
"schemaVersion": "v1",
"status": "Installed",
"uses": 0,
"userId": "developer",
"lastUpdated": 1516894251165,
"createdDate": 1516894249401,
"id": "-L3hwL5tQompLalAsiny",
"properties": {},
"metadata": {}
}
],
"totalCount": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment