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`.
13 lines
378 B
Groovy
13 lines
378 B
Groovy
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)
|