Script files for Valispace<->Epsilon3 integration through their respective APIs.
This repository holds the integration scripts for connecting Valispace and Epsilon3 by leveraging each tool's APIs. These scripts are designed to be run from the Valispace Scripting module but can also be adapted for use from a user's desktop environment.
This integration facilitates the synchronization of Master Procedures from Epsilon3 to Valispace and automates the verification process within Valispace using these procedures.
The integration consists of two main Python scripts:
fetch_master_procedures.py
create_check_run.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}
.
- 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.
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.
- 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.
These scripts are intended to run on specific projects and should be set up once per Valispace project.
- 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.
- Clone this repository.
- Create the user secrets as described above.
- Edit the scripts to point to the correct Valispace and Epsilon3 deployment base URLs.
Users are encouraged to create their own branches of this repository and customize the scripts to better suit their Valispace and Epsilon3 workflows.
- These scripts currently only work with the original Valispace Requirements Verification Methods.
- They are not yet compatible with the new Verification & Validations Module workflow.
For further assistance, please refer to the Epsilon3 helpdesk or contact Valispace Support at support@valispace.com.