Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(backend):783 added validation to notification service not allowing… #1230

Merged
merged 4 commits into from
May 8, 2024

Conversation

ds-mwesener
Copy link

@ds-mwesener ds-mwesener commented May 8, 2024

… bpn mismatch

resolves eclipse-tractusx#783

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Please add a short description of the feature/fix to the Changelog.md.

Copy link

github-actions bot commented May 8, 2024

Integration Test Results

342 tests   341 ✅  1m 38s ⏱️
 39 suites    0 💤
 39 files      1 ❌

For more details on these failures, see this check.

Results for commit 11e2127.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented May 8, 2024

Unit Test Results

210 tests   210 ✅  19s ⏱️
 56 suites    0 💤
 56 files      0 ❌

Results for commit 11e2127.

♻️ This comment has been updated with latest results.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Please add a short description of the feature/fix to the Changelog.md.

Copy link

github-actions bot commented May 8, 2024

✅ No Dependency Check findings were found

@@ -74,7 +74,7 @@
throw new InvestigationReceiverBpnMismatchException("BPN of sender cannot be null.");
}
if (applicationBPN.value().equals(senderBPN)) {
throw new NotificationSenderAndReceiverBPNEqualException(BPN.of(senderBPN), edcNotification.getNotificationId());
throw new NotificationSenderAndReceiverBPNEqualException(senderBPN, Long.valueOf(edcNotification.getNotificationId()));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException

Potential uncaught 'java.lang.NumberFormatException'.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Please add a short description of the feature/fix to the Changelog.md.

Copy link

sonarqubecloud bot commented May 8, 2024

Quality Gate Failed Quality Gate failed for 'Trace-X Root'

Failed conditions
78.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@ds-mwesener ds-mwesener changed the title chore(helm):783 added validation to notification service not allowing… chore(backend):783 added validation to notification service not allowing… May 8, 2024
…egration/notification/EditNotificationIT.java
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Please add a short description of the feature/fix to the Changelog.md.

Copy link

sonarqubecloud bot commented May 8, 2024

Quality Gate Passed Quality Gate passed for 'TX Traceability FOSS frontend'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ds-mwesener ds-mwesener merged commit b3981e7 into main May 8, 2024
@ds-mwesener ds-mwesener deleted the feature/783-reject-notifications branch May 8, 2024 11:33
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.

[Backend] Reject notifications to the own BPN
2 participants