UNOMI-446 improve increment action and make it generic#265
Merged
Conversation
6384ba5 to
f5ac910
Compare
f5ac910 to
3188425
Compare
3188425 to
48a0294
Compare
sergehuber
requested changes
Mar 22, 2021
Contributor
sergehuber
left a comment
There was a problem hiding this comment.
Hello Taybou, I found a few issues/improvements that I put directly in the comments. Thanks.
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
itests/src/test/java/org/apache/unomi/itests/IncrementPropertyIT.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
services/src/main/java/org/apache/unomi/services/actions/ActionExecutorDispatcher.java
Show resolved
Hide resolved
sergehuber
requested changes
Mar 22, 2021
services/src/main/java/org/apache/unomi/services/actions/ActionExecutorDispatcher.java
Show resolved
Hide resolved
Contributor
Small update on what we discussed about in the call:
Real exemple coming from JEXperience:the increment page count: We should be able to do it with this kind of conf:
The increment interest from jexperience: We should be able to replace it, with:
This way we will be able to replace the script usage we have in the rules in JExperience to use a generic increment action. |
2bfde31 to
3d5fdf3
Compare
jkevan
reviewed
Mar 24, 2021
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
jkevan
requested changes
Mar 25, 2021
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
...lugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IncrementPropertyAction.java
Outdated
Show resolved
Hide resolved
itests/src/test/java/org/apache/unomi/itests/IncrementPropertyIT.java
Outdated
Show resolved
Hide resolved
itests/src/test/java/org/apache/unomi/itests/IncrementPropertyIT.java
Outdated
Show resolved
Hide resolved
jkevan
approved these changes
Mar 29, 2021
a71469c to
31316c3
Compare
Taybou
added a commit
that referenced
this pull request
Mar 29, 2021
(cherry picked from commit 486aff8)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please following this checklist to help us incorporate your contribution quickly and easily:
for the change (usually before you start working on it). Trivial changes like typos do not
require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
[UNOMI-XXX] - Title of the pull requestsignificant new parts of code.
Copy the description to the related JIRA issue
mvn clean install -P integration-teststo make sure basic checks pass. A more thorough check will beperformed on your pull request automatically.
Trivial changes like typos do not require a JIRA issue (javadoc, project build changes, small doc changes, comments...).
If this is your first contribution, you have to read the Contribution Guidelines
If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement
if you are unsure please ask on the developers list.
To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.