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

[STREAMPIPES-616] refactor cumsum processor #132

Merged
merged 5 commits into from
Nov 7, 2022
Merged

Conversation

bossenti
Copy link
Contributor

@bossenti bossenti commented Nov 5, 2022

Co-authored-by: smlabt [email protected]

Purpose

Collaboratively with @smlabt, I've refactored cusum processor from the old three-class-based approach to the new one-class-based approach for designing processing elements.

Approach

We marked the three abstract class that have been used for describing processing elements as deprecated from the current version on. Additionally, we decided to rename the refactored processing element to better reflect it's intention.
For backwards compatibility, we decided to keep the old processing element and mark it as deprecated too. So we can remove it after one or two releases.

Remarks

Fixes: STREAMPIPES-616
We will use STREAMPIPES-615 to refactor the existing processing elements step by step.

Deprecation

@bossenti bossenti added java Pull requests that update Java code processing-elements refactoring Indicates when a pull request or issue contains larger refactoring aspects. deprecation Assigned to pull requests or issues that introduce a deprecation. labels Nov 5, 2022
@bossenti bossenti self-assigned this Nov 5, 2022
@bossenti bossenti force-pushed the chore/STREAMPIPES-616 branch from 94f7671 to 75e0bba Compare November 5, 2022 19:33
bossenti and others added 4 commits November 6, 2022 11:50
…-jvm/src/main/java/org/apache/streampipes/processors/changedetection/jvm/welford/WelfordChangeDetection.java


remove empty line

Co-authored-by: Grainier Perera <[email protected]>
…-jvm/src/main/resources/org.apache.streampipes.processors.changedetection.jvm.cusum/documentation.md

Co-authored-by: Grainier Perera <[email protected]>
…-jvm/src/main/resources/org.apache.streampipes.processors.changedetection.jvm.cusum/strings.en

Co-authored-by: Grainier Perera <[email protected]>
…-jvm/src/main/resources/org.apache.streampipes.processors.changedetection.jvm.welford/strings.en

Co-authored-by: Grainier Perera <[email protected]>
@bossenti
Copy link
Contributor Author

bossenti commented Nov 6, 2022

thanks a lot @grainier!

@tenthe
Copy link
Contributor

tenthe commented Nov 7, 2022

Hey @smlabt & @bossenti thanks a lot for refactoring the processor

@tenthe tenthe merged commit 70a2757 into dev Nov 7, 2022
@bossenti bossenti linked an issue Nov 27, 2022 that may be closed by this pull request
@bossenti bossenti deleted the chore/STREAMPIPES-616 branch February 19, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Assigned to pull requests or issues that introduce a deprecation. java Pull requests that update Java code refactoring Indicates when a pull request or issue contains larger refactoring aspects.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor streampipes-processors-change-detection-jvm
3 participants