Epsilon3

This integration consists of two scripts that connect to Requirements & Systems Portal and Epsilon3 APIs. They are designed to be run from Requirements & Systems Portal's Scripting Module but can also be adapted for use from a user's desktop environment.
Table of Contents
Overview
This integration facilitates the synchronization of Master Procedures from Epsilon3 to Requirements & Systems Portal and automates the verification process within Requirements & Systems Portal using these procedures.
Integration Files
The integration consists of two main Python scripts which can be downloaded from this repository on Github:
-
fetch_master_procedures.py
-
create_check_run.py
Usage
fetch_master_procedures.py
This script logs into Epsilon3 and fetches the Master Procedures. It then recreates these procedures as symbolic files in Requirements & Systems Portal with the format [P] {Procedure Code} - {Procedure Title}
.
Steps:
-
Run
fetch_master_procedures.py
to login to Epsilon3 and fetch Master Procedures. -
Procedures will be recreated in Requirements & Systems Portal as symbolic files with the format
[P] {Procedure Code} - {Procedure Title}
. -
Add these procedure files as a close-out reference for a Verification Method "Epsilon3 Test" applied to a Requirements & Systems Portal's requirement.
create_check_run.py
This script checks each "Epsilon3 Test" verification method for a procedure file. If found, it creates a run for that procedure in Epsilon3, creates a run file with the format [R] {Procedure Code} - {Procedure Title}_{Date and Time Stamp}
, and replaces the procedure file with the corresponding run file as a close-out reference.
Steps:
-
Trigger
create_check_run.py
. -
The script will check for each "Epsilon3 Test" verification method and create a corresponding run in Epsilon3.
-
If the close-out reference is already a run file, the script checks for the current state and status in Epsilon3 and updates the verification status in Requirements & Systems Portal.
Integration Setup
These scripts are intended to run on specific projects and should be set up once per Requirements & Systems Portal project.
Prerequisites:
-
Create a custom Verification Method "Epsilon3 Test" in Requirements & Systems Portal with "Upload" as the close-out reference.
-
Create user secrets in Requirements & Systems Portal:
-
EPSILON3_API_KEY
: Key generated in Epsilon3. -
EPSILON3_TEAM_KEY
: Key in the Epsilon3 deployment's URL following the "team/" part of the URL.
-
Steps:
-
Clone this repository.
-
Create the user secrets as described above.
-
Edit the scripts to point to the correct Requirements & Systems Portal and Epsilon3 deployment base URLs.
Customization
Users are encouraged to create their own branches of this repository and customize the scripts to better suit their Requirements & Systems Portal and Epsilon3 workflows.
Limitations
-
These scripts currently only work with the original Requirements & Systems Portal's Requirements Verification Methods.
-
They are not yet compatible with the new Verification & Validations Module workflow.
Support
For further assistance, please refer to the Epsilon3 helpdesk or contact Altium Support at the Altium Support Page.