-
Notifications
You must be signed in to change notification settings - Fork 11
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 : Refactored partasplanned and SingleLevelBoMAsPlanned maven module to support multi versions #143
feat : Refactored partasplanned and SingleLevelBoMAsPlanned maven module to support multi versions #143
Conversation
@Modifying | ||
@Transactional | ||
@SneakyThrows | ||
public int saveSubmodelData(List<String> colNames, String tableEntityName, String processId, JsonNode submodelData, |
Check notice
Code scanning / CodeQL
Useless parameter Note
JsonObject calculatedPCFValue = jsonObjectList.stream() | ||
.filter(ele -> request.getProductId() | ||
.equals(JsonObjectUtility.getValueFromJsonObject(ele, PRODUCT_ID))) | ||
.findAny().orElseThrow(() -> new NoDataFoundException( | ||
"No data found for product_id " + request.getProductId())); |
Check notice
Code scanning / CodeQL
Unread local variable Note
} | ||
|
||
@SneakyThrows | ||
public String checkShellAndGetIdIfExist(ObjectNode jsonObject, Map<String, String> specificAssetIds) |
Check notice
Code scanning / CodeQL
Useless parameter Note
} | ||
|
||
@SneakyThrows | ||
public int getUpdatedData(String processId) { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note
DatabaseUsecaseStep.getUpdatedData
} | ||
|
||
@SneakyThrows | ||
public JsonObject readCreatedTwinsDetails(String uuid) { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note
DatabaseUsecaseStep.readCreatedTwinsDetails
...bmodules/serial-part/src/main/java/org/eclipse/tractusx/sde/submodels/sp/SerialPartV300.java
Fixed
Show fixed
Hide fixed
...-built/src/main/java/org/eclipse/tractusx/sde/submodels/slbab/SingleLevelBomAsBuiltV300.java
Fixed
Show fixed
Hide fixed
...nformation/src/main/java/org/eclipse/tractusx/sde/submodels/pti/PartTypeInformationV100.java
Fixed
Show fixed
Hide fixed
...s/sde-submodules/batch/src/main/java/org/eclipse/tractusx/sde/submodels/batch/BatchV300.java
Fixed
Show fixed
Hide fixed
|
||
String resource = "single-level-bom-as-planned-v3.0.0.json"; | ||
// this is the path within the jar file | ||
InputStream input = this.getClass().getResourceAsStream("/resources/" + resource); |
Check warning
Code scanning / CodeQL
Unsafe use of getResource Warning
into CX_R24.05_batch_multi_version_support
...-built/src/main/java/org/eclipse/tractusx/sde/submodels/slbab/SingleLevelBomAsBuiltV100.java
Fixed
Show fixed
Hide fixed
…pport' into CX_R24.05_part_as_planned_multi_version_support
…pport' into CX_R24.05_part_as_planned_multi_version_support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ulti_version_support
@almadigabor Please review and approve the PR. |
Update DEPENDENCIES after IP check
Description
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review: