Self-Service Tetra Data Pipelines
A self-service pipeline is a pipeline that you create yourself with custom protocols and task scripts built using the TetraScience Software Development Kit (TS SDK).
Custom Scripts Availability
Custom scripts (such as the ones you would create with self-service pipelines), are only available in select single-tenant instances of the Tetra Data Platform (TDP). Contact your Customer Success Manager (CSM) if you are interested in this feature.
In the multi-tenant instance of TDP, the self-service feature is only available to the "tetrascience" and "tetrascience-xyz" organizations.
Supported Program Language for Self-Service Pipelines
Currently, Python is the only supported program language that you can use to write a self-service pipeline. Additionally, it must be backwards-compatible with Python 3.7.
Self-Service Pipeline Prerequisites
- Building your own pipeline requires that you know how to program in Python and JavaScript. If you aren't familiar with Python, consider using one of our standard Out Of the Box (OOB) pipelines or by contacting Professional Services.
- Review the Pipeline Overview to learn more before starting.
To build a self-service pipeline:
- Set Up Your Environment and initialize the Tetrascience Software Development Kit - This includes installing Python, setting your environment variables, and setting up your development environment. It also involves initializing the TS SDK, which will create a working sample in your development environment and specifying the packages needed for the scripts to run.
- Create and Test Protocols and Task Scripts - This involves creating and testing the protocols and task scripts. Artifacts and namespaces are also addressed.
- Deploy Artifacts to TDP - This includes deploying artifacts to the Tetra Data Platform (TDP) and viewing them there.
We've also added a few references to provide more details for you:
- Multi-Step Self-Service Pipeline Example - Provides an example of a multi-step protocol.
- Context API - Provides details about the context object, which can be used in your scripts.
- Slugs and Self-Service Pipeline Protocols - Provides more information about organization, protocol, and task slugs, and how they map between files needed to deploy custom protocols and task scripts.
- TS Raw-to-IDS Task Scripts - If you plan to use TS raw-to-ids task script as part of your protocol, this topic shows how to see the input and output of those task scripts.
Updated 2 months ago