# tricentis/toscaexecutionclient architecture

> Architecture diagram of the GitHub repository tricentis/toscaexecutionclient, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tricentis/toscaexecutionclient
- Repository: https://github.com/tricentis/toscaexecutionclient

## Overview

ToscaExecutionClient provides PowerShell and Shell entry points for triggering Tosca TestEvents from CI/CD or other environments. The documented workflow supplies a server URL, project, and event selection or configuration file; the client uses Tosca Server’s Execution API, then can poll or fetch results and save them locally. DEX supports full execution functionality, while Elastic Execution Grid is documented for enqueue-only use. The README describes these capabilities, but no script excerpts were provided, so the graph shows only documented relationships.

Main entry points: [`tosca_execution_client.ps1`](https://github.com/tricentis/toscaexecutionclient/blob/main/tosca_execution_client.ps1) (PowerShell client), [`tosca_execution_client.sh`](https://github.com/tricentis/toscaexecutionclient/blob/main/tosca_execution_client.sh) (Shell client)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_initiator(("CI/CD or user"))
node_windows["PowerShell client"]
node_linux["Shell client"]
node_server{{"Tosca Server API"}}
node_results["Result files"]
node_logs["Log files"]

node_initiator -->|"launches with options"| node_windows
node_initiator -->|"launches with options"| node_linux
node_windows -->|"requests execution"| node_server
node_linux -->|"requests execution"| node_server
node_windows -->|"fetches results"| node_server
node_linux -->|"fetches results"| node_server
node_windows -->|"saves results"| node_results
node_linux -->|"saves results"| node_results
node_windows -->|"saves logs"| node_logs
node_linux -->|"saves logs"| node_logs

click node_windows "https://github.com/tricentis/toscaexecutionclient/blob/main/tosca_execution_client.ps1"
click node_linux "https://github.com/tricentis/toscaexecutionclient/blob/main/tosca_execution_client.sh"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_initiator,node_windows,node_linux toneBlue
class node_server toneMint
class node_results,node_logs toneIndigo
```

## Components

### Other components

- **CI/CD or user**
- [PowerShell client](https://github.com/tricentis/toscaexecutionclient/blob/main/tosca_execution_client.ps1): `tosca_execution_client.ps1`
- [Shell client](https://github.com/tricentis/toscaexecutionclient/blob/main/tosca_execution_client.sh): `tosca_execution_client.sh`
- **Tosca Server API**
- **Result files**
- **Log files**

## Connections

- CI/CD or user → PowerShell client: launches with options (evidence: `README.md`)
- CI/CD or user → Shell client: launches with options (evidence: `README.md`)
- PowerShell client → Tosca Server API: requests execution (evidence: `README.md`)
- Shell client → Tosca Server API: requests execution (evidence: `README.md`)
- PowerShell client → Tosca Server API: fetches results (evidence: `README.md`)
- Shell client → Tosca Server API: fetches results (evidence: `README.md`)
- PowerShell client → Result files: saves results (evidence: `README.md`)
- Shell client → Result files: saves results (evidence: `README.md`)
- PowerShell client → Log files: saves logs (evidence: `README.md`)
- Shell client → Log files: saves logs (evidence: `README.md`)
