![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
github.com/tntworks/flogo-contrib/trigger/timer
This trigger provides your flogo application the ability to schedule an action
flogo install github.com/TNTworks/flogo-contrib/trigger/timer
Name | Type | Description |
---|---|---|
startDelay | string | The start delay (ex. 1m, 1h, etc.), immediate if not specified |
repeatInterval | string | The repeat interval (ex. 1m, 1h, etc.), doesn't repeat if not specified |
Triggers are configured via the triggers.json of your application. The following are some example configuration of the Timer Trigger.
Configure the Trigger to run a flow immediately
{
"triggers": [
{
"id": "flogo-timer",
"ref": "github.com/TNTworks/flogo-contrib/trigger/timer",
"handlers": [
{
"action": {
"ref": "#flow",
"settings": {
"flowURI": "res://flow:myflow"
}
}
}
]
}
]
}
Configure the Trigger to run a flow once with a delay of one minute. "startDelay" settings format = "[hours]h[minutes]m[seconds]s"
{
"triggers": [
{
"id": "flogo-timer",
"ref": "github.com/TNTworks/flogo-contrib/trigger/timer",
"handlers": [
{
"settings": {
"startDelay": "1m"
},
"action": {
"ref": "#flow",
"settings": {
"flowURI": "res://flow:myflow"
}
}
}
]
}
]
}
Configure the Trigger to run a flow repeating every 10 minutes. "repeatInterval" settings format = "[hours]h[minutes]m[seconds]s"
{
"triggers": [
{
"id": "flogo-timer",
"ref": "github.com/TNTworks/flogo-contrib/trigger/timer",
"handlers": [
{
"settings": {
"repeatInterval": "10m"
},
"action": {
"ref": "github.com/project-flogo/flow",
"settings": {
"flowURI": "res://flow:myflow"
}
}
}
]
}
]
}
Configure the Trigger to run a flow every minute, with a delayed start of 10 minutes and 30 seconds.
{
"triggers": [
{
"id": "flogo-timer",
"ref": "github.com/TNTworks/flogo-contrib/trigger/timer",
"handlers": [
{
"settings": {
"repeatInterval": "1m",
"startDelay": "10m30s"
},
"action": {
"ref": "github.com/project-flogo/flow",
"settings": {
"flowURI": "res://flow:myflow"
}
}
}
]
}
]
}
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.