/[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 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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 , to selected 830
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) - [select for diffs]
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 , to selected 830
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
Trim status field for white-space


Revision 830 - (view) (download) (annotate) - [selected]
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
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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 830
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