ol.clave.automation.impl.system

System lifecycle and component wiring for the automation layer.

The system map contains all components and is passed to internal functions. Components access what they need via destructuring.

maintenance-interval-ms

Maintenance loop interval in milliseconds (1 hour).


maintenance-jitter-ms

Maximum jitter for maintenance loop (5 minutes).


fast-semaphore-permits

Concurrent fast command permits (OCSP, ARI).


slow-semaphore-permits

Concurrent slow command permits (obtain, renew).


shutdown-timeout-ms

Timeout for graceful shutdown in milliseconds (30 seconds).


config-fn-timeout-ms

Timeout for config-fn calls in milliseconds (5 seconds). If config-fn takes longer than this, the domain is skipped.


submit-command!

trigger-maintenance!

(trigger-maintenance! system)

create

(create config)

start!

(start! system)

stop

(stop system)

started?

(started? system)

lookup-cert

(lookup-cert system hostname)

manage-domains

(manage-domains system domains)

unmanage-domains

(unmanage-domains system domains)

list-domains

(list-domains system)

get-domain-status

(get-domain-status system domain)

has-valid-cert?

(has-valid-cert? system domain)

get-event-queue

(get-event-queue system)

renew-managed

(renew-managed system)

revoke

(revoke system certificate opts)