Epsilon3
![Epsilon3 Bug.jpg](../__attachments/2486992926/Epsilon3%20Bug.jpg?inst-v=06dc8543-c86b-474b-8373-a5305e368ba8)
This integration consists of two scripts that connect to the Valispace and Epsilon3 APIs. They are designed to be run from the Valispace 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 Valispace and automates the verification process within Valispace 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 Valispace 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 Valispace 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 Valispace 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 Valispace.
Integration Setup
These scripts are intended to run on specific projects and should be set up once per Valispace project.
Prerequisites:
Create a custom Verification Method "Epsilon3 Test" in Valispace with "Upload" as the close-out reference.
Create user secrets in Valispace:
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 Valispace 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 Valispace and Epsilon3 workflows.
Limitations
These scripts currently only work with the original Valispace 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 Valispace Support at support@valispace.com.