{{ title }}
{% if not read_only %}Edit pipeline{% endif %}- Workflow{{ spec.workflow.id }}
- Runs{{ 'after each update' if spec.delivery.policy == 'on_update' else 'by hand' }}
- Destination{{ destination_title }}
- Delivery{{ spec.delivery.mode | replace('_', ' ') }}
Definition
{{ spec.workflow.id }} to {{ destination_title }}, revision {{ revision }}, created {{ created_at | when }}
- Workflow
- {{ spec.workflow.id }} {% for a in arguments %}
- {{ a.name }}
- {{ a.value }} {% endfor %}
- Source kept current
- {{ source_schedule }}
- Runs
- {{ 'after each update of a source dataset, over the updated interval' if spec.delivery.policy == 'on_update' else 'only when run by hand' }}{% if automation_since %}; updates since {{ automation_since | when }}{% endif %}
- Destination
- {{ destination_title }}
- Revision
- {{ revision }}
- Created
- {{ created_at | when }}
Destination settings
{% if settings_items %}-
{% for item in settings_items %}
- {{ item.title }}
-
{% if item.rows is not none %}
{% if item.rows %}
-
{% for row in item.rows %}
- {% for cell in row %}{{ cell.title }} {% if cell.label %}{{ cell.label }} {{ cell.value }}{% else %}{{ cell.value }}{% endif %}{% endfor %} {% endfor %}
{% endfor %}
Names were read from the destination at the last validation; the ids are what the pipeline stores.
Settings as JSON
{{ settings }}
{{ settings }}
{% endif %}
{% if export %}
Export definition
Compiled by the destination plugin at the last validation. Runs save, and deliveries send, through this export, named after the pipeline.
{{ export }}
{% endif %}
Validation
{% if validation %}{{ 'valid' if validation.valid else 'invalid' }}{% if validation.valid %}every check passed{% else %}{{ validation.checks | selectattr('status', 'equalto', 'fail') | list | length }} check(s) failed{% endif %}, {{ validation.checked_at | when }}{% else %}not checked{% endif %}
Checked when the pipeline was saved. The workflow, its inputs and the destination can all change afterwards, so re-check before relying on an old result. Going live always re-checks.
{% if validation %}-
{% for c in validation.checks %}
- {{ c.status }}{{ c.id }}{{ c.message }} {% endfor %}
Checked {{ validation.checked_at | when }}.
{% endif %} {% if not read_only %} {% endif %}
Dry run
{% if not dry_run %}not run
{% elif approved %}passedapproves the current bindings, {{ dry_run.ran_at | when }}
{% elif dry_run_passed %}stalepassed for earlier bindings; dry-run again
{% else %}failed{{ dry_run.error or 'the destination did not accept it' }}{% endif %}
Runs the pipeline over the range below without storing anything at the destination: its workflow is executed, the result rendered through the destination and, where the destination supports it, submitted as a dry run, validated there and stored nowhere. A passed dry run approves these exact bindings for live delivery; changing the workflow, its arguments or the destination needs a new one.
{% if dry_run %} {% if dry_run.error %}- Range
- {{ dry_run.start }} to {{ dry_run.end }} {% if dry_run.report %}
- Destination outcome
- {{ dry_run.report.outcome }}{% if dry_run.report.message %}: {{ dry_run.report.message }}{% endif %}
- Counts
- submitted {{ dry_run.report.submitted }}, would import {{ dry_run.report.imported }}, would update {{ dry_run.report.updated }}, ignored {{ dry_run.report.ignored }} {% elif dry_run.rendered_only %}
- Destination outcome
- rendered only; this destination cannot validate a dry run {% endif %}
- Approval
- {% if approved %}approves the current bindings{% elif dry_run_passed %}passed for earlier bindings; dry-run again{% else %}not passed{% endif %}
| Object | Value |
|---|---|
| {{ c.object }} | {{ c.value }} |
A sample of {{ dry_run.sample | length }} of the {{ dry_run.values }} values, as the destination picked them; the whole payload was {% if dry_run.report %}submitted{% else %}rendered{% endif %}.
{% set columns = dry_run.sample[0].keys() | list %}| {{ k }} | {% endfor %}
|---|
| {% if cell is mapping %}{{ cell.label }}{% else %}{{ cell }}{% endif %} | {% endfor %}
Ran {{ dry_run.ran_at | when }}.
{% endif %} {% if not read_only %} {% endif %}Delivery
{% if spec.delivery.mode == 'live' %}Live: runs deliver to the destination and are stored there. {% elif spec.delivery.mode == 'dry_run' %}Dry run: runs deliver as dry runs; the destination validates and stores nothing. {% else %}Paused: no run starts by itself and no result is sent by itself. Running jobs finish and keep their results; their deliveries are held until delivered by hand.{% endif %}
{% if not read_only %}Runs
Every run of the pipeline, by hand or after an update, executes its workflow over an explicit interval as a batch job, saves the result through the pipeline's export, and delivers it when the job finishes. A live run needs the pipeline to be live.
{% if runs %}| Submitted | Trigger | Interval | Mode | Job | Delivery |
|---|---|---|---|---|---|
| {{ r.submitted_at | when }} | {{ r.trigger | replace('_', ' ') }}{% if r.source.dataset_id %} {{ r.source.dataset_id }}{% endif %} | {{ r.start }} to {{ r.end }} | {{ r.mode | replace('_', ' ') }} | {% set stopped = r.submission == 'failed' or r.job_outcome or r.job_status in ['error', 'canceled'] %}{% if r.submission == 'submitted' %}{{ r.job_id[:8] }} {% endif %}{% if r.submission == 'failed' %}submission failed{% elif r.submission == 'pending' %}submitting{% if r.submission_attempts %}, attempt {{ r.submission_attempts + 1 }}{% endif %}{% elif r.job_outcome == 'missing' %}job deleted{% else %}{{ r.job_status }}{% endif %} {% if r.submission != 'submitted' and r.error %}{{ r.error }}{% endif %} {% if stopped and not read_only %}{% endif %} | {% if r.delivery_job_id %}{{ r.delivery_status }}{% if r.delivery_outcome %} {{ r.delivery_outcome }}{% if r.delivery_submitted is not none %} {{ r.delivery_submitted }} values, {{ r.delivery_conflicts }} conflicts{% endif %}{% endif %} {% if r.delivery_result %}{{ r.delivery_result }}{% endif %} {% if r.delivery_result in ['partial', 'rejected', 'unknown', 'failed', 'cancelled'] and not read_only %} {% if r.error %}{{ r.error }}{% endif %} {% endif %} {% elif r.submission == 'submitted' and not r.job_outcome %} {% if r.delivery == 'held' %}held until the pipeline is resumed{% if r.mode == 'live' %} and live{% endif %} {% elif r.delivery == 'failed' %}hand-off failed {% elif r.error %}retrying (attempt {{ r.delivery_attempts }}): {{ r.error }}{% endif %} {% if r.delivery == 'failed' and r.error %}{{ r.error }}{% endif %} {% if r.job_status == 'finished' and not read_only %} {% elif r.job_status != 'finished' %}after the job finishes{% endif %} {% else %}nothing to deliver {% endif %} |
Updates not run
Dataset updates this pipeline did not run, and why. None is run later by itself; to cover one, run its interval once. This is a bounded list of the most recent {{ skipped_kept }}, not an audit trail.
{% if skipped_discarded %}| Update | Dataset | Interval | Reason |
|---|---|---|---|
| {{ u.time | when }} | {{ u.dataset_id or '' }} | {% if u.start %}{{ u.start }} to {{ u.end }}{% endif %} | {{ u.reason }} |
Delete
removes this pipeline from the geoservice
Removes this pipeline and its run history from the geoservice. Jobs, results and deliveries already made are kept.