Skip to content

blendededge/jsonl-component-oih

Repository files navigation

JSONL Component

The JSONL Component is a component that allows you to convert a JSONL file stored in attachment storage service into a JSON array.

Configuration

Configuration options can be added to the component's fields object.

Pattern

pattern (string)

A JavaScript regular expression used to match file names in the attachments object to be processed. If not provided it will default to the regular expression .jsonl.

Validate Extension

validateExtension (boolean)

Whether to only process files that match the regular expression pattern.

Attachment Storage Service Interaction

The url for the Attachment Storage Service can be supplied, in descending order of precedence:

  • specifying a attachmentServiceUrl value in the node's fields object
  • environment variable ELASTICIO_ATTACHMENT_STORAGE_SERVICE_BASE_URL
  • default value of http://attachment-storage-service.oih-prod-ns.svc.cluster.local:3002