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

feat : code changes for new serial part submodel with multi version and removed not supported maven modules #139

Conversation

ChetanT-System
Copy link
Contributor

@ChetanT-System ChetanT-System commented Apr 25, 2024

Description

  • Supported new serial part submodel with multi version support.
  • Removed maven modules serial-part-typization and assembly-part-relationship for update.

Pre-review checks

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


@SneakyThrows
public String lookupTwinRemotely(Integer rowIndex, Map<String, String> specificAssetIds,
String bpnForRemoteRegistry, ObjectNode jsonObject, JsonObject asJsonObject) {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'asJsonObject' is never used.
private final DigitalTwinsFacilitator digitalTwinFacilitator;

@SneakyThrows
public String lookupTwinInLocalRrgistry(Integer rowIndex, Map<String, String> specificAssetIds,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'rowIndex' is never used.

@SneakyThrows
public String lookupTwinInLocalRrgistry(Integer rowIndex, Map<String, String> specificAssetIds,
ObjectNode jsonObject, JsonObject asJsonObject) {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'jsonObject' is never used.

@SneakyThrows
public String lookupTwinInLocalRrgistry(Integer rowIndex, Map<String, String> specificAssetIds,
ObjectNode jsonObject, JsonObject asJsonObject) {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'asJsonObject' is never used.

@SneakyThrows
private String getChildSubmodelDetails(Integer rowIndex, ShellLookupRequest shellLookupRequest, String endpoint,
Map<String, String> header, ObjectNode jsonObject, String dtOfferUrl, List<String> childshellIds)

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'jsonObject' is never used.
private final SubmoduleUtility submoduleUtility;

@SneakyThrows
public JsonNode run(Integer rowIndex, ObjectNode jsonObject, String processId, PolicyModel policy) {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
DatabaseUsecaseStep.run
; it is advisable to add an Override annotation.
}
}

public void delete(Integer rowIndex, JsonObject jsonObject, String delProcessId, String refProcessId) {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
EDCUsecaseStep.delete
; it is advisable to add an Override annotation.
private final DeleteEDCFacilitator deleteEDCFacilitator;

@SneakyThrows
public ObjectNode run(Integer rowNumber, ObjectNode objectNode, String processId, PolicyModel policy) {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
EDCUsecaseStep.run
; it is advisable to add an Override annotation.
}

@SneakyThrows
public JsonNode run(Integer rowIndex, ObjectNode jsonObject, String processId, PolicyModel policy) {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
DigitalTwinUsecaseStep.run
; it is advisable to add an Override annotation.

private final DigitalTwinLookUpInRegistry digitalTwinLookUpInRegistry;

public void delete(Integer rowIndex, JsonObject jsonObject, String delProcessId, String refProcessId) {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
DigitalTwinUsecaseStep.delete
; it is advisable to add an Override annotation.
Copy link
Contributor

@sachinargade123 sachinargade123 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@adityagajbhiye9 adityagajbhiye9 left a comment

Choose a reason for hiding this comment

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

LGTM

almadigabor
almadigabor previously approved these changes Apr 29, 2024
@almadigabor almadigabor dismissed their stale review April 29, 2024 07:46

still verifying some stuff

@ChetanT-System
Copy link
Contributor Author

@almadigabor I have updated changelog file and PR discription about removed maven modules.

@ChetanT-System ChetanT-System changed the title feat : code changes for new serial part submodel with multi version support feat : code changes for new serial part submodel with multi version and removed not supported maven modules Apr 29, 2024
@almadigabor almadigabor merged commit ba3d3f6 into eclipse-tractusx:main Apr 29, 2024
6 checks passed
@almadigabor almadigabor deleted the CX_R24.05_multi_version_submodel_impl_part_4 branch April 29, 2024 11:23
sachinargade123 pushed a commit to sachinargade123/dft-backend that referenced this pull request May 9, 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.

4 participants