ConductScience Sequences
Contents

Installation guide · Sign-in and tokens

Connectors for document systems

What the server needs for connectors that send claims and listings into cases.

A connector lets your document system send an application's claims and sequence listing into a case. The user guide's Connectors section is for the person who sets one up: the connector token, the manifest, the answer and the folder program. For the server:

  • The people in BIOSEQUENCE_ADMINS make connector tokens on the API tokens page, with sign-in on. BIOSEQUENCE_TOKEN_DAYS sets how long they may last, as for API tokens, and 0 turns them off too.
  • POST /api/connector/imports takes a whole document set in one request: a listing up to BIOSEQUENCE_LISTING_BYTES and up to four files of claims of 15 MiB each. The nginx example above, with client_max_body_size 2g, takes that. Behind another proxy, let this route take at least 320 MB.
  • While a call arrives, its files wait in /data/connector/incoming/, which empties when the call answers and at each start. /data/connector/sets/ records which case each source and ID went into.
  • The folder program is in the image at /app/scripts/sequences-connector.mjs, and the server hands it out at /docs/sequences-connector.mjs.

Guide version 1.63.0 · For Sequences 0.155.0