/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureFetcher.java
ViewVC logotype

Log of /android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureFetcher.java

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2465)

Revision 1305 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 19 15:07:23 2011 UTC (13 years, 1 month ago) by torben
File length: 12915 byte(s)
Diff to previous 1303 , to selected 939
Remove extra ';'

Revision 1303 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 19 11:52:39 2011 UTC (13 years, 1 month ago) by torben
File length: 12916 byte(s)
Diff to previous 1255 , to selected 939
first step towards a settings system

Revision 1255 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 4 10:56:44 2011 UTC (13 years, 1 month ago) by torben
File length: 12883 byte(s)
Diff to previous 1252 , to selected 939
Move database related classes to it's own package

Revision 1252 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 4 08:27:24 2011 UTC (13 years, 1 month ago) by torben
File length: 12880 byte(s)
Diff to previous 1248 , to selected 939
No need to sort if we only have either S-tog or regional trains

Revision 1248 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 31 17:13:19 2011 UTC (13 years, 2 months ago) by torben
File length: 12768 byte(s)
Diff to previous 1188 , to selected 939
Add support for fetching just one of regional or s-tog departures

Revision 1188 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 8 12:39:27 2010 UTC (13 years, 6 months ago) by torben
File length: 12501 byte(s)
Diff to previous 1063 , to selected 939
Remove filtering of those departures that have left or should have left the station by now.

Revision 1063 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 16 15:30:27 2010 UTC (13 years, 8 months ago) by torben
File length: 12485 byte(s)
Diff to previous 1061 , to selected 939
Exprimental #3: update to changes in databeans

Revision 1061 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 16 14:04:28 2010 UTC (13 years, 8 months ago) by torben
File length: 12557 byte(s)
Diff to previous 1060 , to selected 939
Experimental commit #2, move databeans to common

Revision 1060 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 16 13:32:10 2010 UTC (13 years, 8 months ago) by torben
File length: 12430 byte(s)
Diff to previous 1048 , to selected 939
Experimental: use Simple (simple.sourceforge.net) for XML serialization

Revision 1048 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 06:10:30 2010 UTC (13 years, 8 months ago) by torben
File length: 12416 byte(s)
Diff to previous 1047 , to selected 939
Re-add Debug log statements but with loglevel=fine

Revision 1047 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 05:51:58 2010 UTC (13 years, 8 months ago) by torben
File length: 12378 byte(s)
Diff to previous 1046 , to selected 939
remove debug info

Revision 1046 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 05:33:30 2010 UTC (13 years, 8 months ago) by torben
File length: 12409 byte(s)
Diff to previous 1045 , to selected 939
on www.bane.dk, dont get departures that already has left the station

Revision 1045 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 05:20:17 2010 UTC (13 years, 8 months ago) by torben
File length: 11974 byte(s)
Diff to previous 1040 , to selected 939
URLencode the stationID used in request URL

Revision 1040 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 12 19:37:56 2010 UTC (13 years, 8 months ago) by torben
File length: 11873 byte(s)
Diff to previous 1039 , to selected 939
Also clean the timetable strings from www.bane.dk

Revision 1039 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 12 19:03:32 2010 UTC (13 years, 8 months ago) by torben
File length: 11866 byte(s)
Diff to previous 1038 , to selected 939
Also make trainnumber extraction work with old site

Revision 1038 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 12 18:41:17 2010 UTC (13 years, 8 months ago) by torben
File length: 11349 byte(s)
Diff to previous 1037 , to selected 939
Make jsoup act correct with old site

Revision 1037 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 11 07:43:09 2010 UTC (13 years, 8 months ago) by torben
File length: 11071 byte(s)
Diff to previous 1035 , to selected 939
Write a log entry if no departures was found

Revision 1035 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 8 12:38:26 2010 UTC (13 years, 8 months ago) by torben
File length: 10944 byte(s)
Diff to previous 1034 , to selected 939
Remove debug output

Revision 1034 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 8 12:31:55 2010 UTC (13 years, 8 months ago) by torben
File length: 11126 byte(s)
Diff to previous 1026 , to selected 939
Enable usage of either the new azure parser or the old www.bane.dk parser

Revision 1026 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 2 18:37:49 2010 UTC (13 years, 8 months ago) by torben
File length: 10522 byte(s)
Diff to previous 1021 , to selected 939
Bake bane.dk http timeout configurable

Revision 1021 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 30 13:59:54 2010 UTC (13 years, 9 months ago) by torben
File length: 10431 byte(s)
Diff to previous 1020 , to selected 939
Lookup the stationName in the fetcher and put it in the departureBean

That way we don't need db acccess on a cache hit and on a cache miss we saves one DB lookup operation

Revision 1020 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 30 11:53:34 2010 UTC (13 years, 9 months ago) by torben
File length: 10377 byte(s)
Diff to previous 994 , to selected 939
Don't show departures that already has departured

Revision 994 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 14 19:22:23 2010 UTC (13 years, 10 months ago) by torben
File length: 9949 byte(s)
Diff to previous 992 , to selected 939
Stationcode muste be URLencoded or bane.dk will use a lot of time on parsing the request

Revision 992 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 14 08:05:31 2010 UTC (13 years, 10 months ago) by torben
File length: 9851 byte(s)
Diff to previous 980 , to selected 939
Experiment: switch to jsoup instead of htmlunit

Revision 980 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 10 11:01:07 2010 UTC (13 years, 10 months ago) by torben
File length: 10429 byte(s)
Diff to previous 978 , to selected 939
Re-enable caching of depatures

Revision 978 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 10 10:53:44 2010 UTC (13 years, 10 months ago) by torben
File length: 10484 byte(s)
Diff to previous 974 , to selected 939
Add code to extract notifications

Revision 974 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 22:30:18 2010 UTC (13 years, 10 months ago) by torben
File length: 9765 byte(s)
Diff to previous 973 , to selected 939
outcomment the temp site code - until we know whether it ever will be needed again

Revision 973 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 22:28:07 2010 UTC (13 years, 10 months ago) by torben
File length: 9744 byte(s)
Diff to previous 972 , to selected 939
make extraction of s-tog number a little more elegant

Revision 972 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 22:14:46 2010 UTC (13 years, 10 months ago) by torben
File length: 10008 byte(s)
Diff to previous 971 , to selected 939
Use enum instead of strings to determine the train-types (this saves some string comparisons)

Revision 971 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 21:46:45 2010 UTC (13 years, 10 months ago) by torben
File length: 9577 byte(s)
Diff to previous 970 , to selected 939
remove debug log statements

Revision 970 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 21:23:48 2010 UTC (13 years, 10 months ago) by torben
File length: 9635 byte(s)
Diff to previous 939
Switch banedk fetchers to bane.dk's new site (http://trafikinfo.bane.dk/) ... this new site is some microsoft azure-based cloud thingie so hopefully it will have a better uptime/stability once we reach winter 

Revision 939 - (view) (download) (annotate) - [selected]
Modified Mon Jun 28 12:35:35 2010 UTC (13 years, 11 months ago) by torben
File length: 9253 byte(s)
Diff to previous 860
HtmlunitInvocation is a more correct name

Revision 860 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 16 08:57:15 2010 UTC (13 years, 11 months ago) by torben
File length: 9245 byte(s)
Diff to previous 830 , to selected 939
Trim status field for white-space


Revision 830 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 10 22:36:25 2010 UTC (13 years, 11 months ago) by torben
File length: 9238 byte(s)
Diff to previous 829 , to selected 939
remove debug output

Revision 829 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 10 22:26:09 2010 UTC (13 years, 11 months ago) by torben
File length: 9320 byte(s)
Diff to previous 711 , to selected 939
Add backend support for reading arrivals

Revision 711 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 5 20:11:03 2010 UTC (14 years ago) by torben
File length: 9025 byte(s)
Diff to previous 697 , to selected 939
First take on some statistics

Revision 697 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 3 07:42:02 2010 UTC (14 years ago) by torben
File length: 8917 byte(s)
Diff to previous 591 , to selected 939
Better handling of train-types (regional vs s-train)

Revision 591 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 10 14:07:04 2010 UTC (14 years, 3 months ago) by torben
File length: 8873 byte(s)
Diff to previous 588 , to selected 939
Act as a Firefox 3 browser, and cleanup HtmlUnit WebClient instance when done

Revision 588 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 8 19:12:15 2010 UTC (14 years, 3 months ago) by torben
File length: 8696 byte(s)
Diff to previous 584 , to selected 939
Rewrite to use a DAO class for DB access

Revision 584 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 5 13:57:39 2010 UTC (14 years, 3 months ago) by torben
File length: 9053 byte(s)
Diff to previous 583 , to selected 939
Move some various parameters to web.xml

Revision 583 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 2 19:18:20 2010 UTC (14 years, 3 months ago) by torben
File length: 9023 byte(s)
Diff to previous 582 , to selected 939
Forgot to remove debug log statement

Revision 582 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 2 19:05:08 2010 UTC (14 years, 3 months ago) by torben
File length: 9058 byte(s)
Diff to previous 580 , to selected 939
Bug fix in temp site parser

Revision 580 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 2 18:42:38 2010 UTC (14 years, 3 months ago) by torben
File length: 9238 byte(s)
Diff to previous 468 , to selected 939
Added a screenscraper for bane.dk's temporary site

Revision 468 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 22 06:04:45 2009 UTC (14 years, 7 months ago) by torben
File length: 6578 byte(s)
Diff to previous 451 , to selected 939
Updated with new circuitbreaker package names

Revision 451 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 20 10:32:19 2009 UTC (14 years, 7 months ago) by torben
File length: 6578 byte(s)
Diff to previous 428 , to selected 939
Degrade from throwable to exception

Revision 428 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 9 08:52:37 2009 UTC (14 years, 7 months ago) by torben
File length: 6578 byte(s)
Diff to previous 421 , to selected 939
Refactor TimeoutCache into a real Map

Revision 421 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 8 12:19:42 2009 UTC (14 years, 7 months ago) by torben
File length: 6566 byte(s)
Diff to previous 410 , to selected 939
Enabled the usage of Circuit breaker to guard agains bane.dk failures

Revision 410 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 7 13:37:37 2009 UTC (14 years, 7 months ago) by torben
File length: 6264 byte(s)
Diff to previous 389 , to selected 939
Bugfix, better extraction of  trainnumbers for S-trains

Revision 389 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 2 17:18:31 2009 UTC (14 years, 7 months ago) by torben
File length: 6214 byte(s)
Diff to previous 387 , to selected 939
Don't log on cache miss - and loglevel=info should be sufficient for cache hit messages

Revision 387 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 2 15:06:08 2009 UTC (14 years, 7 months ago) by torben
File length: 6302 byte(s)
Diff to previous 386 , to selected 939
Enable caching for departures and timetables

Revision 386 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 2 13:44:31 2009 UTC (14 years, 7 months ago) by torben
File length: 5781 byte(s)
Diff to previous 375 , to selected 939
When bane.dk is pressed it needs some more time to respond

Revision 375 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 30 20:58:37 2009 UTC (14 years, 8 months ago) by torben
File length: 5781 byte(s)
Diff to previous 349 , to selected 939
Always save a time string, no matter whether bane.dk has one for us :)

Revision 349 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 28 19:14:18 2009 UTC (14 years, 8 months ago) by torben
File length: 5700 byte(s)
Diff to previous 348 , to selected 939
Extract trainNumbers for S-train

Revision 348 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 27 19:14:39 2009 UTC (14 years, 8 months ago) by torben
File length: 5051 byte(s)
Diff to previous 342 , to selected 939
Improve on error handling and logging

Revision 342 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 24 20:20:49 2009 UTC (14 years, 8 months ago) by torben
File length: 4830 byte(s)
Diff to previous 313 , to selected 939
Make sure that the required table is present

Revision 313 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 11 07:13:46 2009 UTC (14 years, 8 months ago) by torben
File length: 4759 byte(s)
Diff to previous 308 , to selected 939
Remove that frickin information 'i' from the note

Revision 308 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 10 18:13:52 2009 UTC (14 years, 8 months ago) by torben
File length: 4365 byte(s)
Diff to previous 307 , to selected 939
Minor code tweaks

Revision 307 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 10 18:11:53 2009 UTC (14 years, 8 months ago) by torben
File length: 4396 byte(s)
Diff to previous 305 , to selected 939
Finish new bane.dk screen-scraper

Revision 305 - (view) (download) (annotate) - [select for diffs]
Added Thu Sep 10 09:40:27 2009 UTC (14 years, 8 months ago) by torben
File length: 3425 byte(s)
Diff to selected 939
first version of new departure provider (this is supposed to replace the php mess)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.20