You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by GitBox <gi...@apache.org> on 2021/07/01 15:56:35 UTC

[GitHub] [unomi] jkevan commented on a change in pull request #309: UNOMI-482 SetPropertyAction eventArrivalTime

jkevan commented on a change in pull request #309:
URL: https://github.com/apache/unomi/pull/309#discussion_r662412180



##########
File path: plugins/baseplugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/SetPropertyAction.java
##########
@@ -102,6 +102,12 @@ public int execute(Action action, Event event) {
             propertyValue = format.format(date);
         }
 
+        if (propertyValue != null && propertyValue.equals("eventArrivalTime")) {

Review comment:
       I would rename "eventArrivalTime" to "timeStamp" or "actionExecutionTimeStamp".
   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.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@unomi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org