Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Workflows written in Python may assume the following is available:

  • sys,.path set to include the user’s workspace directory

  • the PyYAML package (https://pypi.org/project/PyYAML/) is available for import (to help with parsing YAML files)

  • the docker package (https://docker-py.readthedocs.io/en/stable/) is available for import (to help with interacting with the Docker system running on the RC)

  • all of the Airflow packages are available

  • the RC will create a POD.py file in the workspace which will contain all the data (written as Python variables) describing the Blueprint, Edgesite, and user data to be used for the workflow. (BLUEPRINT, EDGESITE, USER_DATA, POD_UUID, NODES[])

  • the RC will also create a INPUT.yaml file in the workspace which will contain all the data (in YAML form) that was provided to the RC in the POST or PUT request. This data should match the input_schema in the Blueprint, with optional extra values not specified in the input_schema.

...