UNOMI-482 SetPropertyAction eventArrivalTime#309
UNOMI-482 SetPropertyAction eventArrivalTime#309amitco1 wants to merge 1 commit intoapache:masterfrom
Conversation
|
@amitco1 Could you please provide integration tests for this ? |
| propertyValue = format.format(date); | ||
| } | ||
|
|
||
| if (propertyValue != null && propertyValue.equals("eventArrivalTime")) { |
There was a problem hiding this comment.
I would rename "eventArrivalTime" to "timeStamp" or "actionExecutionTimeStamp" or "currentDate".
Because it's not really true that this timeStamp is the real event arrival time. Event could arrive sooner and the action being executed few seconds after.
|
Overal I approve this because of the explaination I provided on the ticket: https://issues.apache.org/jira/browse/UNOMI-482 |
jkevan
left a comment
There was a problem hiding this comment.
just need to rename the "eventArrivalTime" to something more meaningful
|
@amitco1 would love your answer on this or we'll have to close the PR. |
|
I'm working on implementing this in a proper way, it will be part of version 2.0.0-SNAPSHOT and 1.6.0-SNAPSHOT.
using the value of the parameter: setPropertyValue was not a good idea for people that would like to set the value: "now" or "eventArrivalTime". That is why I prefer to implement dedicated parameters to handle this cases. |
…Time
PR Title format:
Please add a meaningful description for your change here
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.