Skip to content

Uploading Files

John Darrington edited this page Nov 1, 2021 · 6 revisions

Users can now upload files into the DeepLynx data warehouse. At time of writing (August 2020) files will either be stored on the local filesystem, or using Azure's Blob Storage service.

Configuration

Users must configure the FILE_STORAGE_METHOD environment variable and set it to be either azure_blob or filesystem. Users must set additional environment variables with each of the methods, those are described inside the .env-sample file at the project's root.

Here is a brief diagram illustrating how file upload and storage works. image of file upload

How-to

  1. User POSTS a multipart form to /containers/:id/datasources/:id/files. That multipart form can have numerous files and normal field/values attached.
  2. Deep Lynx separates the files from the metadata and uploads them to the configured file storage.
  3. Deep Lynx creates a record in the files table with the files location on the configured storage method and some metadata about the file along with the user provided metadata.
  4. The endpoint returns an array of File objects, which contains the newly assigned Deep Lynx ID.
  5. Users can query files directly from the files table using the GraphQL query layer.

DeepLynx Wiki

Sections marked with ! are in progress.

Building DeepLynx

DeepLynx Overview

Getting Started

Building From Source

Admin Web App


Deploying DeepLynx


Integrating with DeepLynx


Using DeepLynx

Ontology

Data Ingestion

Timeseries Data

Manual Path
Automated Path
File/Blob Storage

Data Querying

Event System

Data Targets


Developing DeepLynx

Developer Overview

Project Structure and Patterns

Data Access Layer

Development Process

Current Proposals

Clone this wiki locally