Composite
Collects artifacts by trying multiple collectors in sequence. For example, if an RPM artifact is not found by
the DNF collector, try the Nexus Search collector as a backup. The composite collector supports the purl types specified by the first child plugin listed (in the below example, collect_dnf_plugin
). Each child plugin may optionally have its own config block.
Details
Transfer Tag
hoppr.core_plugins.composite_collector
Supported PURLs
ALL
System Dependencies
NONE
Transfer File Example
---
schemaVersion: v1
kind: transfer
stages:
collect:
plugins:
- name: hoppr.core_plugins.composite_collector
config:
plugins:
- name: "hoppr.core_plugins.collect_dnf_plugin"
- name: "hoppr.core_plugins.collect_nexus_search"
max_processes: 3
tip
At least one plugin must be specified in the config of a Composite Collector, and two must be specified to be useful.
Configuration Options​
Option | Details |
---|---|
plugins | Array of plugins to be used (Required) |
process_timeout | Number of seconds to attempt collect before timeout. Default: 60 |