File Components
All file component types share the prefix file-
and what they have in common is that they work with files.
The file component types are:
Type | Description | Interface |
---|---|---|
file-source | Reads a file from "somewhere" | FileSourceAppComponent |
file-storage | Stores a file "somewhere" | FileStorageAppComponent |
file-filter | Applies filter to file | FileFilterAppComponent |
file-parser | Parses file into structured data | FileParserAppComponent |
All file component types share the same specification schema - which supports the following properties:
Property | Description | Required? |
---|---|---|
endpoint | The primary endpoint of the component which performs the actual operation the component implements. See Endpoints for the structure. | Yes |
validate | An endpoint to allow your service to validate the component configuration. See Endpoints for the structure. See ComponentValidatesConfiguration for implementation details. | No |
configuration | Static configuration for the component. See Configuration Field Types for structure and options | No |
dynamicConfiguration | This allows the configuration to be generated by your service instead of being defined directly in the YML. See Endpoints for structure See ComponentHasDynamicConfigurationSchema for implementation details. | No |
outputs | Static configuration of the output schema for your component. This schema is expected to be for a single "result" row. See Data Field Types for structure and options. | Either this or dynamicOutputs is required for file-parser |
dynamicOutputs | This allows you to generate the outputs schema within your service. See Endpoints for structure. See ComponentHasDynamicDataSchema for implementation details. | Either this or outputs is required for file-parser |
Updated almost 5 years ago