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

Feature/trx xxx upstream contribution #1385

Conversation

ds-lcapellino
Copy link
Contributor

@ds-lcapellino ds-lcapellino commented Feb 3, 2025

Description

This PR introduces several contributions from Cofinity-X. A full List of contributions will follow.

Pre-review checks

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

bmunguli and others added 30 commits September 2, 2024 14:56
Co-authored-by: Pooja Patel <[email protected]>
(cherry picked from commit ba3ddd9968cb5f6315df6052969b9bb5f019d9b5)
(cherry picked from commit 32191755c2b6cedfcb0fb036dd0f1944de9f2652)
(cherry picked from commit b543c7c5bd4ba8fd30e2d42d11e8841cfd0db351)
(cherry picked from commit ed0d8c3c49218e015c0e273e8cacb8c47bc8c321)
…clipse-tractusx#19)

(cherry picked from commit 5632b68e94c5a43b73aeeea856ed74ad819e6688)
(cherry picked from commit 7c2c2c2d71ad23085239137688139563e607895d)
(cherry picked from commit 0085e72e0599e16b14d3e7e29e69161743e9e666)
networks:
- tracex-net

keycloak:

Check warning

Code scanning / KICS

Container Capabilities Unrestricted Warning

Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.
networks:
- tracex-net

keycloak:

Check warning

Code scanning / KICS

Healthcheck Not Set Warning

Healthcheck is not defined.
networks:
- tracex-net

keycloak:

Check warning

Code scanning / KICS

Security Opt Not Set Warning

Docker compose file does not have 'security_opt' attribute
volumes:
# Mount path can be customized according to the project folder structure
- ./cx_keycloak_realm/cx-realm.json:/opt/keycloak/data/import/realm.json
ports:

Check warning

Code scanning / KICS

Container Traffic Not Bound To Host Interface Warning

Docker compose file doesn't have 'ports' attribute bound to a specific host interface
networks:
- tracex-net

wiremock:

Check warning

Code scanning / KICS

Container Capabilities Unrestricted Warning

Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.
networks:
- tracex-net

wiremock:

Check warning

Code scanning / KICS

Healthcheck Not Set Warning

Healthcheck is not defined.
networks:
- tracex-net

wiremock:

Check warning

Code scanning / KICS

Security Opt Not Set Warning

Docker compose file does not have 'security_opt' attribute
image: wiremock/wiremock:3.4.2
volumes:
- ./wiremock:/home/wiremock
ports:

Check warning

Code scanning / KICS

Container Traffic Not Bound To Host Interface Warning

Docker compose file doesn't have 'ports' attribute bound to a specific host interface
@ds-lcapellino ds-lcapellino force-pushed the feature/TRX-XXX-upstream-contribution branch from d64061b to 22376e7 Compare February 4, 2025 09:01
ds-lcapellino and others added 9 commits February 4, 2025 10:07
# Conflicts:
#	.github/workflows/_cfx-docker-image.yml
#	CFX-CHANGELOG.md
#	cfx-frontend/Dockerfile
#	cfx-frontend/build/nginx.conf
#	cfx-frontend/scripts/add-license-header.js
#	cfx-frontend/scripts/custom-injector.sh
#	cfx-frontend/scripts/eclipse_dash.sh
#	cfx-frontend/scripts/inject-dynamic-env.js
#	cfx-frontend/scripts/replace-base-href.js
#	cfx-frontend/scripts/xray-download-feature-files.sh
#	cfx-frontend/scripts/xray-push-test-results.sh
}
return manufacturerName;

String manufacturerName = bpnRepository.findManufacturerName(bpn);

Check notice

Code scanning / CodeQL

Unread local variable Note

Variable 'String manufacturerName' is never read.
.build();
}

log.info("Saving BpnEntity: {}", entity);

Check notice

Code scanning / CodeQL

Use of default toString() Note

Default toString(): BpnEntity inherits toString() from Object, and so is not suitable for printing.
@@ -58,4 +59,5 @@

void deleteByIdIn(List<String> messageIds);

long countPartsByStatusAndOwnershipAndTypeAndNotificationType(List<NotificationStatus> received, Owner owner, NotificationType notificationType);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'notificationType' is never used.
String jobState = "COMPLETED";
irsApiSupport.irsApiReturnsOrderAndBatchDetailsAsPlanned();
String orderId = "ebb79c45-7bba-4169-bf17-3e719989ab57";
String batchId = "ebb79c45-7bba-4169-bf17-3e719989ab58";

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'String batchId' is never read.
@ds-lcapellino
Copy link
Contributor Author

Copy link
Contributor

@ds-mwesener ds-mwesener left a comment

Choose a reason for hiding this comment

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

@ds-mwesener ds-mwesener merged commit 074fd3b into eclipse-tractusx:main Feb 7, 2025
19 of 27 checks passed
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.