Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@ public interface NewActionServiceCE extends CrudService<NewAction, String> {

Mono<NewAction> validateAction(NewAction newAction, boolean isDryOps);

Mono<Tuple2<List<NewAction>, List<NewAction>>> validateActionsBeforeImport(
String artifactId, List<NewAction> freshActions, List<NewAction> existingActions);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nit: What does freshActions mean here? Does it refer only to the new actions from the incoming list that will be inserted, or does it refer to the entire incoming actions list?


Mono<Void> bulkValidateAndInsertActionInRepository(List<NewAction> newActionList);

Mono<Void> bulkValidateAndUpdateActionInRepository(List<NewAction> newActionList);

Mono<Void> bulkInsertActions(List<NewAction> newActionList);

/**
* General purpose bulk update method that directly saves actions to the database without validation.
* This method is optimized for scenarios where the actions are already validated or when
Expand Down
Loading
Loading