eclipse-tractusx / sig-release

https://eclipse-tractusx.github.io/sig-release
Apache License 2.0
9 stars 10 forks source link

[Connector] Provide event information in logs #1305

Open lgblaumeiser opened 3 weeks ago

lgblaumeiser commented 3 weeks ago

Overview

Explain the topic in 2 sentences

The Tractus-X connector has an embedded event mechanism that informs potential listeners about specific incidents, like finalized contract negotiations. These events should be routed using the standard log mechanism to provide the information for further processing, e.g., in Dashboards

What's the benefit?

Better transparency of domain activities within the connector

What are the Risks/Dependencies ?

There is a relationship to the activities in TAP 7.4 of Catena-X Next, as there it is planned to route the same events as Cloud events using a standard eventing mechanism instead of the log stream.

Detailed explanation

An event listener will be implemented that receives the internal events and transforms them into a log entry. This is related to the issue https://github.com/eclipse-tractusx/sig-release/issues/1280, as the log entry would then be logged in a structured way, that allows further processing steps to work with semantically richer data.

Feature Team

Contributor

Committer

Acceptance Criteria

Test Cases

Test Case 1

Observe the log entries for events

Steps

  1. Setup a provider/consumer connector setup
  2. Execute a discover/negotiate/transfer scenario

Expected Result

  1. All relevant events are logged in the log stream

Architectural Relevance

The following items are ensured (answer: yes) after this issue is implemented.

In the context of the standards 126 and 127, typically only one is applicable, depending on the specific use case. Please cross out one of the two standards that does not apply.

Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)

Additional information

lgblaumeiser commented 3 weeks ago

Hi @kkotowiczz, I added Schaeffler here, as Thomas already has some prototype for that, please inform Thomas and Siggi, as they are not an official contributor

stephanbcbauer commented 2 weeks ago

was presented during open planning for release 25.09

th0masgl commented 1 week ago

i created the following issue : https://github.com/eclipse-tractusx/tractusx-edc/issues/1949