I'm currently trying out GraphAware's timetree plugin.
However I have not been able to stop using the default resolution of 1 day.
My configuration in neo4j.conf is as follows:
#For the framework to work at all, you need this
dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware
# Runtime must be enabled like this
com.graphaware.runtime.enabled=true
# A Runtime module that takes care of attaching the events like this (TT is the ID of the module)
com.graphaware.module.TT.1=com.graphaware.module.timetree.module.TimeTreeModuleBootstrapper
# autoAttach must be set to true
com.graphaware.module.TT.autoAttach=true
# Optionally, nodes which represent events and should be attached automatically have to be defined (defaults to nodes with label Event)
com.graphaware.module.TT.event=hasLabel('Message')
# Optionally, a resolution can be specified (defaults to DAY)
com.graphaware.module.TT.resolution=MILLISECOND
# Optionally, a time zone can be specified (defaults to UTC)
com.graphaware.module.TT.timezone=GMT+1
The interesting part of the config I think is com.graphaware.module.TT.resolution=MILLISECOND
.
When I make the call CREATE (e:Email {text: "I used the timetree"}) WITH e
CALL ga.timetree.events.attach({node: e, time: 1463659567468, relationshipType: "SENT_ON"}) YIELD node RETURN node;
I get the following data created:
Can anyone see something I'm missing?