Production Pulse · 1 / 8
Start with a heartbeat
Begin Production Pulse with a document, an actor and a heartbeat timer, composed across three small files. Each later lesson extends this same integration.
YOUR TASK
Make this happen
Keep the integration identity
com.academy.monitor, version1.0.0and SDK2.0.Add
integration_actor_timer.heartbeatto thetimerslist in actor.cococo.Add integration_actor_timer.heartbeat with name heartbeat, schedule { every = "5m" } and source "return { alive = true }".
Choose Check solution and pass all local model-schema checks.
Read the starter files
main.cococo
integration_document "monitor" {
integrationId = "com.academy.monitor"
sdkVersion = "2.0"
version = "1.0.0"
description = "A small heartbeat integration"
actor = integration_actor.monitor
}
actor.cococo
integration_actor "monitor" {
timers = []
}
timer.cococo
integration_actor_timer "heartbeat" {
name = "heartbeat"
# TODO: add schedule — see the task above.
# TODO: add source — see the task above.
}
Supplied scripts and pinned contracts (read-only)
These fixtures explain the runtime behaviour being composed. They are included in validation but are not executed. The generated API definition is supplied, not an XML authoring task.
scripts/heartbeat.lua
return { alive = true }