-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename bulk-execution to background-execution
- Loading branch information
1 parent
148a8db
commit 0462516
Showing
16 changed files
with
218 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FindBugsFilter | ||
xmlns="https://github.com/spotbugs/filter/3.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd"> | ||
|
||
|
||
<!-- https://spotbugs.readthedocs.io/en/stable/filter.html --> | ||
<Match> | ||
<Bug | ||
pattern="REC_CATCH_EXCEPTION,RV_CHECK_FOR_POSITIVE_INDEXOF,BC_UNCONFIRMED_CAST_OF_RETURN_VALUE,THROWS_METHOD_THROWS_CLAUSE_THROWABLE,PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES" /> | ||
</Match> | ||
|
||
<Match> | ||
<Class name="~com.sitepark.ies.contentrepository.core.usecase.*" /> | ||
<Method name="<init>"/> | ||
<Bug pattern="EI_EXPOSE_REP2" /> | ||
</Match> | ||
|
||
<!-- False positive: https://github.com/spotbugs/spotbugs/issues/2628 --> | ||
<Match> | ||
<Class name="~.*\.*Test" /> | ||
<Bug pattern="RV_EXCEPTION_NOT_THROWN" /> | ||
</Match> | ||
|
||
</FindBugsFilter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ruleset xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
name="M2Eclipse PMD RuleSet" | ||
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"> | ||
<description>M2Eclipse PMD RuleSet</description> | ||
<exclude-pattern>.*/home/veltrup/git/ies-4-contentrepository-core/target.*</exclude-pattern> | ||
</ruleset> |
4 changes: 2 additions & 2 deletions
4
.../core/domain/entity/BulkOperationKey.java → ...domain/entity/BackgroundOperationKey.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/main/java/com/sitepark/ies/contentrepository/core/port/EntityBackgroundExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.sitepark.ies.contentrepository.core.port; | ||
|
||
import com.sitepark.ies.contentrepository.core.domain.entity.EntityBackgroundExecution; | ||
|
||
public interface EntityBackgroundExecutor { | ||
/** | ||
* @return BulkExecution ID that can be used to track the progress | ||
*/ | ||
String execute(EntityBackgroundExecution execution); | ||
} |
7 changes: 0 additions & 7 deletions
7
src/main/java/com/sitepark/ies/contentrepository/core/port/EntityBulkExecutor.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.