Skip to content

feat: implemented edc data exchange for DemandAndCapacityNotification#447

Merged
tom-rm-meyer-ISST merged 12 commits intoeclipse-tractusx:mainfrom
achtzig20:feat/demand-and-capacity-notification-edc-integration
Jun 21, 2024
Merged

feat: implemented edc data exchange for DemandAndCapacityNotification#447
tom-rm-meyer-ISST merged 12 commits intoeclipse-tractusx:mainfrom
achtzig20:feat/demand-and-capacity-notification-edc-integration

Conversation

@ReneSchroederLJ
Copy link
Copy Markdown
Member

@ReneSchroederLJ ReneSchroederLJ commented Jun 13, 2024

Description

  • implemented SAMM model for DemandAndCapacityNotification 2.0
  • created the logic for sending Notifications as POST requests through the EDC

resolves #193 and #196

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

@ReneSchroederLJ ReneSchroederLJ marked this pull request as ready for review June 13, 2024 11:38
Copy link
Copy Markdown
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing! As always great quality. We have some misunderstanding regarding notifications: these are not added as submodels at the registry for a material.

Let's have a Chat on that :)

Comment thread charts/puris/values.yaml Outdated
Copy link
Copy Markdown
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great refactoring! Only had a few smaller findings. Please merge main; then I'll gonna check it in action :)

}
try {
var data = objectMapper.readTree(body);
log.info("Received POST request for DemandAndCapacityNotification 2.0.0 with BPNL: " + bpnl);

Check failure

Code scanning / CodeQL

Log Injection

This log entry depends on a [user-provided value](1).
Copy link
Copy Markdown
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, works as a charm. I just realized that we have the semanticId set in the notificationId Asset Defintion which is not needed. Beside that, please check open conversations :)

}
try {
var data = objectMapper.readTree(body);
log.info("Received POST request for DemandAndCapacityNotification 2.0.0 with BPNL: " + bpnl);

Check failure

Code scanning / CodeQL

Log Injection

This log entry depends on a [user-provided value](1).
Copy link
Copy Markdown
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, please decrease chart version again, as no 2.6.4 has been released yet

Comment thread charts/puris/Chart.yaml Outdated
@tom-rm-meyer-ISST tom-rm-meyer-ISST linked an issue Jun 21, 2024 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot!

Helm version stays as stated in earlier comments

@tom-rm-meyer-ISST tom-rm-meyer-ISST merged commit b63d226 into eclipse-tractusx:main Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Message Receiving Endpoints Provide Messaging Interfaces via EDC

3 participants