Skip to content

About

The home of the Eclipse Tractus-X Tutorials

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

19 stars

Watchers

9 watching

Forks

Eclipse Tractus-X Tutorials

Hands-on tutorials from the Eclipse Tractus-X community: run a dataspace on your laptop, write connector policies, build a product passport, give your product an end-to-end test.

Website: https://eclipse-tractusx.github.io/tutorial-resources/. The home page lists every tutorial, and every tutorial opens there as a site. Web apps open ready to try. Tutorials marked deprecated are kept for reference and may not match the current Tractus-X release.

Tutorials

Tutorial Level What you do Open
E2E Tests in Eclipse Tractus-X ★☆☆ Beginner Create automated tests for Eclipse Tractus-X products using AI, with the Eclipse Tractus-X TestLab testing framework: build an end-to-end test in about an hour and run it on every pull request Site · Source
EDC Policy Playground ★☆☆ Beginner Put together Tractus-X connector policies in the browser and see the policy JSON they become Site · Try the app · Source
Minimum Tractus-X Dataspace (MXD) · ⚠️ deprecated ★★☆ Intermediate Deploy your own Tractus-X connectors, or a whole small dataspace, on a local Kubernetes cluster. Follow-up guides cover access policies, file transfers and EDR transfers Site · Source
Digital Product Passport · ⚠️ deprecated ★★☆ Intermediate Create a passport for your part and read it over the dataspace (Tractus-X Community Days workstream) Site · Source
IRS frontend challenge with GenAI ★★☆ Intermediate Build a frontend for the Item Relationship Service with an AI assistant, in three phases Site · Source
Migration guides ★★★ Advanced Move the PostgreSQL and Keycloak of a deployment from the Bitnami Helm charts to the CloudPirates charts Site · PostgreSQL · Keycloak

What is in this repository

Folder Contents
e2e-testing/ The E2E testing tutorial: pages, product catalog, template test project, worked example, administrator kit
edc-policy-playground/ The Policy Playground, an Angular app
mxd/, mxd-runtimes/ The MXD Terraform setup and the runtime images it builds and loads into the cluster
dpp-tutorial/ The Digital Product Passport workstream
icc-irs-challenges/ The IRS frontend challenge and its AI assistant
migration-guides/ Helm chart migration guides
pages/ The home page of the website

The website

pages.yml builds the website and publishes it with GitHub Pages whenever main changes:

Address Built from
/ pages/index.html, with MkDocs (pages/mkdocs.yml)
/e2e-testing/ e2e-testing/, with MkDocs
/policy-playground/ edc-policy-playground/, with Angular
/edc-policy-playground/, /mxd/, /dpp-tutorial/, /icc-irs-challenges/, /migration-guides/ The Markdown in those folders, listed in pages/markdown-sites.yml

A tutorial that is only Markdown needs no site setup of its own. Add its folder to pages/markdown-sites.yml and the workflow builds a site from it with the Tractus-X look: its README.md is the home page (a contents page is made when there is none), the other Markdown files and pictures become pages, and links to anything else (a Postman collection, Terraform, test data) open the file on GitHub. deprecated: true puts a note on every page; app: gives the home page a "Try the app" button for a web app built from the tutorial, over a blurred screenshot of the app when app_image: names one; version: and history: fill its About panel.

Every page of the website has the same header and footer: the logo (back to the list of tutorials), the site's name, search, the repository, an About button and the light/dark switch. They come from one theme, pages/theme/, that the home page, the E2E tutorial and the Markdown sites all build with:

File What it is
mkdocs-base.yml The shared settings; a site's mkdocs.yml starts with INHERIT: ../pages/theme/mkdocs-base.yml
overrides/assets/tractusx/ The Tractus-X stylesheet, logo and favicon
hooks/about.py The About panel: version and history (extra.tutorial), dates from git, authors from GitHub

To preview a site on your machine:

pip install -r e2e-testing/requirements.txt

# The home page, on http://localhost:8000
cd pages && mkdocs serve

# E2E testing tutorial, on http://localhost:8000
cd e2e-testing && mkdocs serve

# Policy Playground, on http://localhost:4200
cd edc-policy-playground && npm ci && npm start

# The Markdown tutorials, into _site/ (open _site/mxd/index.html)
python .github/scripts/build_markdown_sites.py --out _site

Add a tutorial

  1. Put it in its own folder with a README.md that says what you build, what you need and how long it takes.
  2. Add a row to the Tutorials table above.
  3. Add a card to pages/index.html, so it shows on the website. Put its picture in pages/home/media/, with a .license file next to it. Set data-path to its folder: when the site is built, the card's Added and Updated dates and its authors (the GitHub accounts with commits in that folder) are filled in from the history. Give it version 1.0 and add it to Versions. Set its level in data-level and on the card.
  4. If it is only Markdown, add its folder to pages/markdown-sites.yml and point the card to <folder>/. If it has a site or a web app of its own, build it into its own folder of _site in pages.yml and point the card there. A MkDocs site starts its mkdocs.yml with INHERIT: ../pages/theme/mkdocs-base.yml, so it gets the same header.

Levels

Every card shows how hard the tutorial is, in one to three stars, and the home page can show one level only (?level=beginner).

Level Stars For whom
Beginner ★☆☆ New to Tractus-X: a browser or the steps on the page are enough, nothing to install or deploy
Intermediate ★★☆ Knows a dataspace and its connectors; runs tools or deploys on a laptop
Advanced ★★★ Operates a Tractus-X deployment: Kubernetes, Helm, databases, upgrades

Versions

Every tutorial has its own version, separate from the versions of the software it uses. It starts at 1.0 when it is published. The minor number goes up when the steps change, for example a new chapter or an update for a new Tractus-X release. The major number goes up when the tutorial is rebuilt. Change it on the tutorial's card in pages/index.html, in its About panel (version and history in pages/markdown-sites.yml, or extra.tutorial in its own mkdocs.yml), and add a line below.

Tutorial Version History
E2E Tests in Eclipse Tractus-X 1.0 1.0 (Nov 2026): first published
EDC Policy Playground 1.1 1.0 (Aug 2023): first published · 1.1 (May 2024): policies for Tractus-X EDC 0.7
IRS frontend challenge with GenAI 1.0 1.0 (Dec 2024): the Community Days challenge, with fixes since
Migration guides 1.2 1.0 (Jan 2026): PostgreSQL guide · 1.1 (Feb 2026): Keycloak guide · 1.2 (Apr 2026): PostgreSQL guide reworked
Minimum Tractus-X Dataspace (MXD) 2.2 1.0 (Aug 2023): first published · 2.0 (Nov 2024): IdentityHub and STS replace MIW and Keycloak · 2.1 (Jan 2025): IdentityHub upgrade · 2.2 (Mar 2025): DCP issuance, Tractus-X EDC 0.9
Digital Product Passport 1.0 1.0 (Dec 2024): the Community Days workstream

Contributing

Read CONTRIBUTING.md and the pull request etiquette before you open a pull request. Report security issues as described in SECURITY.md. This project follows the Code of Conduct.

NOTICE

This work is licensed under the CC-BY-4.0. Code in this repository is licensed under Apache-2.0.

About

The home of the Eclipse Tractus-X Tutorials

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

19 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages