Skip to content

eclipse-tractusx/item-relationship-service

Folders and files

NameName
Last commit message
Last commit date
Oct 11, 2023
Nov 16, 2023
Sep 2, 2022
Jan 19, 2023
Nov 8, 2022
Nov 28, 2023
Nov 27, 2023
Dec 7, 2023
Oct 18, 2023
Nov 22, 2023
Dec 11, 2023
Nov 14, 2023
Nov 2, 2023
Nov 17, 2023
Oct 5, 2023
Nov 7, 2023
Nov 8, 2023
Oct 18, 2023
Oct 5, 2023
Oct 19, 2023
Nov 28, 2023
Apr 26, 2023
Mar 9, 2023
Nov 14, 2023
Nov 28, 2023
May 8, 2023
Nov 17, 2023
Nov 23, 2023
Apr 26, 2023
Nov 20, 2023
Apr 26, 2023
Mar 10, 2022
Nov 10, 2022
Aug 31, 2023
Aug 25, 2023
Jun 21, 2022
Jun 19, 2023
Mar 10, 2022
Mar 10, 2022
Nov 23, 2023

Repository files navigation

Item Relationship Service (IRS)

Apache 2 License
Build Coverage Quality Gate Status CodeQL
Kics Trivy Trivy Docker Hub Scan VeraCode OWASP Dependency Check Spotbugs Eclipse-dash Tavern IRS API test

What is the IRS?

Within the Catena-X network, the so-called Item Relationship Service (IRS) forms an essential foundation for various services and products. Within the Catena-X use cases, the IRS serves to increase business value. For example, the IRS provides functionalities to serve requirements, such as occasion-based Traceability, from the Supply Chain Act. In doing so, IDSA and Gaia-X principles, such as data interoperability and sovereignty, are maintained on the Catena-X network and access to dispersed data is enabled. Data chains are established as a common asset.

With the help of the IRS, data chains are to be provided ad-hoc across n-tiers within the Catena-X network. To realize these data chains, the IRS relies on data models of the Traceability use case and provides the federated data chains to customers or applications. Furthermore, the target picture of the IRS includes the enablement of new business areas by means of data chains along the value chain in the automotive industry.

Usage

Local deployment

The following subsection provides instructions for running the infrastructure on docker-compose and the application in the IDE.

Docker-compose + IDE

  • Start the necessary infrastructure by running docker-compose up

  • Start the application from your favorite IDE. For IntelliJ, a run configuration is available in the .run folder.

Local IRS API

Helm deployment

see INSTALL.md

Sample calls

Start a job for a globalAssetId:

curl -X 'POST' \
  'http://localhost:8080/irs/jobs' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <token_value>' \
  -d '{
  "aspects": [
    "SerialPart"
  ],
  "bomLifecycle": "asBuilt",
  "depth": 1,
  "direction": "downward",
  "globalAssetId": "urn:uuid:8a61c8db-561e-4db0-84ec-a693fc5ffdf6"
}'

Retrieve the job results by using the jobId returned by the previous call:

curl -X 'GET' 'http://localhost:8080/irs/jobs/<jobID>' -H 'accept: application/json' -H 'Authorization: Bearer <token_value>'

Documentation

Licenses

For used licenses, please see the NOTICE.

Notice for Docker image

This application provides container images for demonstration purposes.

DockerHub: https://hub.docker.com/r/tractusx/irs-api

Eclipse Tractus-X product(s) installed within the image:

Used base image

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.