Version 1.1: Added support for web timelines.
Web timelines as defined by the JDB Labs Web TimeStamper tool are now supported. * `TimelineSource` now also takes the timeline config file as constructor input. * Refactored `Timeline` to use reduce implementation redundencies: internal implementations do not duplicate functionality. * Improved comments in `TimelineProperties`. * Updated `TimelineSourceFactory` to handle timelines that need to use `JDBLabsWebTimelineSource`.
This commit is contained in:
12
resources/main/test.groovy
Normal file
12
resources/main/test.groovy
Normal file
@ -0,0 +1,12 @@
|
||||
import groovyx.net.http.HTTPBuilder
|
||||
import com.jdbernard.util.SmartConfig
|
||||
import com.jdblabs.timestamper.core.*
|
||||
|
||||
smartConfig = new SmartConfig("temp.config")
|
||||
smartConfig."web.username" = "jdbernard"
|
||||
smartConfig."web.password" = "Y0uthc"
|
||||
smartConfig."web.timelineId" = "work"
|
||||
|
||||
uri = new URI("http://timestamper-local:8000")
|
||||
|
||||
wtls = new JDBLabsWebTimelineSource(uri, smartConfig)
|
Reference in New Issue
Block a user