Skip to content

ProgressAPI

thalli000 edited this page Apr 23, 2020 · 1 revision

API: Agenda Progress

Data Service Endpoints

Agenda Progress

This is the parent object for progress/status tracking as related to any Agenda.

/progress/agenda/{id}

Header

Field Type Description
contentType String This will be application/json for the immediate term, but we might also support application/xml later

Request Fields

Field Type Notes
id String
cid String
customerId String
agendaId String
linkId String Multiple AgendaProgress objects may have the same linkId
externalId String (optional) External identifier
title String Type of Agenda
processingState Enum waiting
* ** added
** scheduled
** queued
** executing
complete
* failed
** succeeded
processingStateMessage String Percents, sub states, whatever
operationProgress OperationProgress[] See Operation Progress
updatedTime Timestamp
addedTime Timestamp Time the Agenda was added
startedTime Timestamp Time the Agenda started
completedTime Timestamp Time the Agenda was completed
percentComplete Double Rolled up computed from the ops. Gathered by combining the ops
params ParamsMap Free form map of parameters.May eventually contain a copy of the AgendaParameters (TBD)

Creation

Created when a payload is submitted.

When Agendas are submitted directly without a template we will need to go through the same creation process and response (to include the progress details).

Removal

Reaped (or possibly ttl)

Priority Operation Processing

  1. Submission
  2. Scheduling
  3. Execution
    the ResourcePool

Data Object API

Agenda
the workflow
Agenda Template
the workflow definition
Customer
Insight
the scheduling queue definition
Operation Progress
the state of the running Agenda operations
Progress
the state of the running Agendas
ResourcePool
the processing resources

Service Agenda

Agenda Service
the workflow submission
Progress Service
rolled up agenda progress summary
ResourcePool Service
getting work and updating progress

Timed Processes

AgendaReclaimer
restarting stuck Agendas
AgendaRetry
retrying failed Agendas
DataObjectReaper
reaping expired data objects
PodReaper
reaping stuck Kubernetes pods

Installation

Install

Development

DevKubernetesSetup
RunLocalExecution
- RunWithMiniKube

Demo / Examples

SampleAuthorizer
SampleHandler

Product Comparison

Netflix Conductor

Clone this wiki locally