Internal models used in the implementation of apibuilder
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
guid | uuid | Yes | - |
|
data | task_data | Yes | - |
|
number_attempts | long | Yes | 0 | Records the number of times we have attempted to run this task. Commonly we increment number attempts, process the task, and if succeeds we then delete the task. If it fails, we update last_error. This allows us to retry a task say twice; after which we no longer process the task (can notify an admin of the error).
|
last_error | string | No | - |
|
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
old_version_guid | uuid | Yes | - |
|
new_version_guid | uuid | Yes | - |
|
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
application_guid | uuid | Yes | - |
|
Interfaces: None
Type | Discriminator Value | Example Json | Description |
---|---|---|---|
task_data_index_application | task_data_index_application | Minimal | Full | Task to update the search index following a change in application
|
task_data_diff_version | task_data_diff_version | Minimal | Full | Task triggered whenever a version changes. Diffs the service to record what actually changed
|