Skip to content

Local publication plugin

This publication plugin uploads reports and attachments to a directory, which may be mounted.

Configuration

This plugin has a configuration file (localpublisher.yaml by default) that describes the common service configuration options.

The configuration file also specifies a target.

If no configuration file is found it will default to the following values:

apiVersion: opentestfactory.org/v1beta2
kind: ServiceConfig
current-context: default
contexts:
- name: default
  context:
    port: 443
    host: 127.0.0.1
    ssl_context: adhoc
    eventbus:
      endpoint: https://127.0.0.1:38368
      token: invalid-token
    target: /app/data

Target

The target entry in the context specifies a target directory. Attachments will be stored in this directory, under a {workflow_id}/{filename} key.

This directory is typically a mount point, linked to an external volume.