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

Log of /android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk

View Directory Listing Directory Listing


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

Revision 1417 - Directory Listing
Modified Mon May 2 16:21:37 2011 UTC (13 years, 2 months ago) by torben
Use a simpler getbyname

Revision 1412 - Directory Listing
Modified Mon May 2 12:21:49 2011 UTC (13 years, 2 months ago) by torben
Use stationentry instead of stationID, take #2

Revision 1411 - Directory Listing
Modified Mon May 2 12:19:12 2011 UTC (13 years, 2 months ago) by torben
Adapt fetcher to get entire stationentry instead of just the stationID

Revision 1410 - Directory Listing
Modified Mon May 2 12:02:54 2011 UTC (13 years, 2 months ago) by torben
That debug line should never have reached SVN - re-enabling cache

Revision 1409 - Directory Listing
Modified Mon May 2 11:59:40 2011 UTC (13 years, 2 months ago) by torben
Adapt service to new StationEntry location

Revision 1406 - Directory Listing
Modified Mon May 2 09:34:53 2011 UTC (13 years, 2 months ago) by torben
Move station name correction to one single function

Revision 1401 - Directory Listing
Modified Thu Apr 28 19:03:04 2011 UTC (13 years, 2 months ago) by torben
Either all metro lookups should be included in statistics or none of them shall - and for now it's none of them

Revision 1396 - Directory Listing
Modified Thu Apr 28 10:13:36 2011 UTC (13 years, 2 months ago) by torben
don't send error xml for a single(?) failure - that is currently reserved for circuitbreaker

Revision 1373 - Directory Listing
Modified Sat Apr 23 08:01:57 2011 UTC (13 years, 2 months ago) by torben
Send an error xml doc when banedk is unavailable

Revision 1372 - Directory Listing
Modified Thu Apr 21 05:51:25 2011 UTC (13 years, 2 months ago) by torben
Use a enum to select backend

Revision 1368 - Directory Listing
Modified Wed Apr 20 20:40:35 2011 UTC (13 years, 2 months ago) by torben
make log level=fine so we don't get it on prod. server

Revision 1367 - Directory Listing
Modified Wed Apr 20 20:33:22 2011 UTC (13 years, 2 months ago) by torben
Add mobile timetable parser

Revision 1366 - Directory Listing
Modified Wed Apr 20 20:04:05 2011 UTC (13 years, 2 months ago) by torben
More complete mobile site parser

Revision 1355 - Directory Listing
Modified Wed Apr 20 19:01:33 2011 UTC (13 years, 2 months ago) by torben
Move timeoutmap to GenericJavaUtils

Revision 1335 - Directory Listing
Modified Wed Apr 20 06:35:13 2011 UTC (13 years, 2 months ago) by torben
use a logger instead

Revision 1334 - Directory Listing
Modified Wed Apr 20 06:28:04 2011 UTC (13 years, 2 months ago) by torben
typo

Revision 1333 - Directory Listing
Modified Wed Apr 20 06:26:19 2011 UTC (13 years, 2 months ago) by torben
make temp mobile site parser work with stog

Revision 1332 - Directory Listing
Modified Wed Apr 20 06:20:27 2011 UTC (13 years, 2 months ago) by torben
origin field must not be empty

Revision 1331 - Directory Listing
Modified Wed Apr 20 05:25:48 2011 UTC (13 years, 2 months ago) by torben
dummy function so timetablefetcher kan work when useazuresite == false

Revision 1330 - Directory Listing
Modified Wed Apr 20 05:20:43 2011 UTC (13 years, 2 months ago) by torben
First stab at parsing mobile.bane.dk

Revision 1305 - Directory Listing
Modified Tue Apr 19 15:07:23 2011 UTC (13 years, 2 months ago) by torben
Remove extra ';'

Revision 1303 - Directory Listing
Modified Tue Apr 19 11:52:39 2011 UTC (13 years, 2 months ago) by torben
first step towards a settings system

Revision 1255 - Directory Listing
Modified Mon Apr 4 10:56:44 2011 UTC (13 years, 2 months ago) by torben
Move database related classes to it's own package

Revision 1253 - Directory Listing
Modified Mon Apr 4 08:59:46 2011 UTC (13 years, 2 months ago) by torben
Outcomment XSLT code 

Revision 1252 - Directory Listing
Modified Mon Apr 4 08:27:24 2011 UTC (13 years, 2 months ago) by torben
No need to sort if we only have either S-tog or regional trains

Revision 1248 - Directory Listing
Modified Thu Mar 31 17:13:19 2011 UTC (13 years, 3 months ago) by torben
Add support for fetching just one of regional or s-tog departures

Revision 1206 - Directory Listing
Modified Tue Dec 21 08:24:19 2010 UTC (13 years, 6 months ago) by torben
DepartureServlet.java Switch back to old jsp view
ViewDepartures.jsp Set bgcolor for table header
web.xml azure site is now the only source available

Revision 1191 - Directory Listing
Modified Fri Nov 12 18:38:30 2010 UTC (13 years, 7 months ago) by torben
Also use StringReader

Revision 1190 - Directory Listing
Modified Fri Nov 12 18:33:38 2010 UTC (13 years, 7 months ago) by torben
the StringWriter method is apparently better at handling charsets

Revision 1188 - Directory Listing
Modified Mon Nov 8 12:39:27 2010 UTC (13 years, 7 months ago) by torben
Remove filtering of those departures that have left or should have left the station by now.

Revision 1168 - Directory Listing
Modified Mon Oct 18 11:49:01 2010 UTC (13 years, 8 months ago) by torben
Handle a missing format station parameter

Revision 1158 - Directory Listing
Modified Mon Oct 4 05:51:55 2010 UTC (13 years, 8 months ago) by torben
Also log which request the circuitbreaker has stopped

Revision 1147 - Directory Listing
Modified Fri Oct 1 05:44:20 2010 UTC (13 years, 9 months ago) by torben
Make metrofetcher work again (m.dk removed the departure time list)

Revision 1145 - Directory Listing
Modified Fri Oct 1 05:30:32 2010 UTC (13 years, 9 months ago) by torben
Handle invalid station ID's in request

Revision 1091 - Directory Listing
Modified Tue Sep 21 15:46:02 2010 UTC (13 years, 9 months ago) by torben
Load the xslt stylesheet on init()

Revision 1075 - Directory Listing
Modified Thu Sep 16 19:14:47 2010 UTC (13 years, 9 months ago) by torben
Just for fun use XSLT to produce html output

Revision 1074 - Directory Listing
Modified Thu Sep 16 17:48:17 2010 UTC (13 years, 9 months ago) by torben
remember to put the arrival parameter in the output

Revision 1063 - Directory Listing
Modified Thu Sep 16 15:30:27 2010 UTC (13 years, 9 months ago) by torben
Exprimental #3: update to changes in databeans

Revision 1061 - Directory Listing
Modified Thu Sep 16 14:04:28 2010 UTC (13 years, 9 months ago) by torben
Experimental commit #2, move databeans to common

Revision 1060 - Directory Listing
Modified Thu Sep 16 13:32:10 2010 UTC (13 years, 9 months ago) by torben
Experimental: use Simple (simple.sourceforge.net) for XML serialization

Revision 1056 - Directory Listing
Modified Tue Sep 14 17:01:24 2010 UTC (13 years, 9 months ago) by torben
Seperate the metro-line identifiers with space

Revision 1051 - Directory Listing
Modified Tue Sep 14 11:09:55 2010 UTC (13 years, 9 months ago) by torben
no need to check _all_ elements

Revision 1050 - Directory Listing
Modified Tue Sep 14 11:04:08 2010 UTC (13 years, 9 months ago) by torben
Hopefully it works now ?!?

Revision 1048 - Directory Listing
Modified Tue Sep 14 06:10:30 2010 UTC (13 years, 9 months ago) by torben
Re-add Debug log statements but with loglevel=fine

Revision 1047 - Directory Listing
Modified Tue Sep 14 05:51:58 2010 UTC (13 years, 9 months ago) by torben
remove debug info

Revision 1046 - Directory Listing
Modified Tue Sep 14 05:33:30 2010 UTC (13 years, 9 months ago) by torben
on www.bane.dk, dont get departures that already has left the station

Revision 1045 - Directory Listing
Modified Tue Sep 14 05:20:17 2010 UTC (13 years, 9 months ago) by torben
URLencode the stationID used in request URL

Revision 1043 - Directory Listing
Modified Mon Sep 13 18:53:30 2010 UTC (13 years, 9 months ago) by torben
Make metro plan extraction works in all cases ... and increase cache timeout to 1 minute

Revision 1042 - Directory Listing
Modified Mon Sep 13 17:57:31 2010 UTC (13 years, 9 months ago) by torben
Add backend for fetching metro data

Revision 1041 - Directory Listing
Modified Mon Sep 13 13:47:32 2010 UTC (13 years, 9 months ago) by torben
Sandbox: first try at making a parser for copenhagen metro

Revision 1040 - Directory Listing
Modified Sun Sep 12 19:37:56 2010 UTC (13 years, 9 months ago) by torben
Also clean the timetable strings from www.bane.dk

Revision 1039 - Directory Listing
Modified Sun Sep 12 19:03:32 2010 UTC (13 years, 9 months ago) by torben
Also make trainnumber extraction work with old site

Revision 1038 - Directory Listing
Modified Sun Sep 12 18:41:17 2010 UTC (13 years, 9 months ago) by torben
Make jsoup act correct with old site

Revision 1037 - Directory Listing
Modified Sat Sep 11 07:43:09 2010 UTC (13 years, 9 months ago) by torben
Write a log entry if no departures was found

Revision 1036 - Directory Listing
Modified Wed Sep 8 12:49:22 2010 UTC (13 years, 9 months ago) by torben
also enable timetables to use both new azure and old www

Revision 1035 - Directory Listing
Modified Wed Sep 8 12:38:26 2010 UTC (13 years, 9 months ago) by torben
Remove debug output

Revision 1034 - Directory Listing
Modified Wed Sep 8 12:31:55 2010 UTC (13 years, 9 months ago) by torben
Enable usage of either the new azure parser or the old www.bane.dk parser

Revision 1026 - Directory Listing
Modified Thu Sep 2 18:37:49 2010 UTC (13 years, 9 months ago) by torben
Bake bane.dk http timeout configurable

Revision 1021 - Directory Listing
Modified Mon Aug 30 13:59:54 2010 UTC (13 years, 10 months ago) by torben
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 - Directory Listing
Modified Mon Aug 30 11:53:34 2010 UTC (13 years, 10 months ago) by torben
Don't show departures that already has departured

Revision 995 - Directory Listing
Modified Wed Jul 14 19:48:34 2010 UTC (13 years, 11 months ago) by torben
Not used anymore

Revision 994 - Directory Listing
Modified Wed Jul 14 19:22:23 2010 UTC (13 years, 11 months ago) by torben
Stationcode muste be URLencoded or bane.dk will use a lot of time on parsing the request

Revision 993 - Directory Listing
Modified Wed Jul 14 09:49:56 2010 UTC (13 years, 11 months ago) by torben
Experiment: remove the last bits of HtmlUnit

Revision 992 - Directory Listing
Modified Wed Jul 14 08:05:31 2010 UTC (13 years, 11 months ago) by torben
Experiment: switch to jsoup instead of htmlunit

Revision 980 - Directory Listing
Modified Sat Jul 10 11:01:07 2010 UTC (13 years, 11 months ago) by torben
Re-enable caching of depatures

Revision 979 - Directory Listing
Modified Sat Jul 10 10:59:49 2010 UTC (13 years, 11 months ago) by torben
adapt htmlview/jsp to new departurebean 

Revision 978 - Directory Listing
Modified Sat Jul 10 10:53:44 2010 UTC (13 years, 11 months ago) by torben
Add code to extract notifications

Revision 977 - Directory Listing
Modified Sat Jul 10 09:57:04 2010 UTC (13 years, 11 months ago) by torben
Comment off-by-one error

Revision 976 - Directory Listing
Modified Sat Jul 10 09:10:50 2010 UTC (13 years, 11 months ago) by torben
refactor cancelledstring generation

Revision 975 - Directory Listing
Modified Sat Jul 10 08:35:16 2010 UTC (13 years, 11 months ago) by torben
Make cancelled strings from new site(trafikinfo.bane.dk) appear like they did on the old one

Revision 974 - Directory Listing
Modified Fri Jul 9 22:30:18 2010 UTC (13 years, 11 months ago) by torben
outcomment the temp site code - until we know whether it ever will be needed again

Revision 973 - Directory Listing
Modified Fri Jul 9 22:28:07 2010 UTC (13 years, 11 months ago) by torben
make extraction of s-tog number a little more elegant

Revision 972 - Directory Listing
Modified Fri Jul 9 22:14:46 2010 UTC (13 years, 11 months ago) by torben
Use enum instead of strings to determine the train-types (this saves some string comparisons)

Revision 971 - Directory Listing
Modified Fri Jul 9 21:46:45 2010 UTC (13 years, 11 months ago) by torben
remove debug log statements

Revision 970 - Directory Listing
Modified Fri Jul 9 21:23:48 2010 UTC (13 years, 11 months ago) by torben
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 969 - Directory Listing
Modified Fri Jul 9 21:02:13 2010 UTC (13 years, 11 months ago) by torben
include the arrival parameter in output xml

Revision 966 - Directory Listing
Modified Wed Jul 7 12:02:40 2010 UTC (13 years, 11 months ago) by torben
That implementation is not correct, so for now just throw an unsupported operation exception

Revision 958 - Directory Listing
Modified Mon Jul 5 09:48:06 2010 UTC (13 years, 11 months ago) by torben
Switch to servlet3.0 annotations

Revision 939 - Directory Listing
Modified Mon Jun 28 12:35:35 2010 UTC (14 years ago) by torben
HtmlunitInvocation is a more correct name

Revision 862 - Directory Listing
Modified Wed Jun 16 10:03:13 2010 UTC (14 years ago) by torben
Just send a plain error response instead of throwing exceptions

Revision 861 - Directory Listing
Modified Wed Jun 16 09:58:15 2010 UTC (14 years ago) by torben
XML-Document size is reduced by ~13% just by limiting how many spaces should be used to indentation

Revision 860 - Directory Listing
Modified Wed Jun 16 08:57:15 2010 UTC (14 years ago) by torben
Trim status field for white-space


Revision 859 - Directory Listing
Modified Wed Jun 16 08:20:01 2010 UTC (14 years ago) by torben
Disable those XML header thingies

Revision 858 - Directory Listing
Modified Wed Jun 16 08:11:33 2010 UTC (14 years ago) by torben
Show correct XML preamble

Revision 847 - Directory Listing
Modified Mon Jun 14 19:56:46 2010 UTC (14 years ago) by torben
Add beginning of Rejseplanen fetcher code

Revision 842 - Directory Listing
Modified Fri Jun 11 20:50:40 2010 UTC (14 years ago) by torben
Rename function

Revision 837 - Directory Listing
Modified Fri Jun 11 17:16:06 2010 UTC (14 years ago) by torben
Re-enable the cache

Revision 836 - Directory Listing
Modified Fri Jun 11 17:12:29 2010 UTC (14 years ago) by torben
Extract station ID's to timetable xml

Revision 830 - Directory Listing
Modified Thu Jun 10 22:36:25 2010 UTC (14 years ago) by torben
remove debug output

Revision 829 - Directory Listing
Modified Thu Jun 10 22:26:09 2010 UTC (14 years ago) by torben
Add backend support for reading arrivals

Revision 804 - Directory Listing
Modified Mon Jun 7 12:13:10 2010 UTC (14 years ago) by torben
more correct impl

Revision 717 - Directory Listing
Modified Mon May 10 06:59:01 2010 UTC (14 years, 1 month ago) by torben
Remove old (pre-0.6.4) method of determining the train type.

Revision 716 - Directory Listing
Modified Mon May 10 06:53:20 2010 UTC (14 years, 1 month ago) by torben
in statistics, also keep track of how many request were unsuccessful

Revision 711 - Directory Listing
Modified Wed May 5 20:11:03 2010 UTC (14 years, 1 month ago) by torben
First take on some statistics

Revision 697 - Directory Listing
Modified Mon May 3 07:42:02 2010 UTC (14 years, 1 month ago) by torben
Better handling of train-types (regional vs s-train)

Revision 650 - Directory Listing
Modified Mon Apr 19 19:04:34 2010 UTC (14 years, 2 months ago) by torben
Move function getStationName() function do DAO class

Revision 591 - Directory Listing
Modified Wed Feb 10 14:07:04 2010 UTC (14 years, 4 months ago) by torben
Act as a Firefox 3 browser, and cleanup HtmlUnit WebClient instance when done

Revision 588 - Directory Listing
Modified Mon Feb 8 19:12:15 2010 UTC (14 years, 4 months ago) by torben
Rewrite to use a DAO class for DB access

Revision 585 - Directory Listing
Modified Fri Feb 5 19:15:12 2010 UTC (14 years, 4 months ago) by torben
Use JSTL in the jsp instead of scriptlets

Revision 584 - Directory Listing
Modified Fri Feb 5 13:57:39 2010 UTC (14 years, 4 months ago) by torben
Move some various parameters to web.xml

Revision 583 - Directory Listing
Modified Tue Feb 2 19:18:20 2010 UTC (14 years, 4 months ago) by torben
Forgot to remove debug log statement

Revision 582 - Directory Listing
Modified Tue Feb 2 19:05:08 2010 UTC (14 years, 4 months ago) by torben
Bug fix in temp site parser

Revision 581 - Directory Listing
Modified Tue Feb 2 18:47:55 2010 UTC (14 years, 4 months ago) by torben
Also make timetable degrade gracefully while bane.dk's temporary site is in place

Revision 580 - Directory Listing
Modified Tue Feb 2 18:42:38 2010 UTC (14 years, 4 months ago) by torben
Added a screenscraper for bane.dk's temporary site

Revision 470 - Directory Listing
Modified Mon Oct 26 12:40:21 2009 UTC (14 years, 8 months ago) by torben
Specify the exact return type of proceed

Revision 468 - Directory Listing
Modified Thu Oct 22 06:04:45 2009 UTC (14 years, 8 months ago) by torben
Updated with new circuitbreaker package names

Revision 462 - Directory Listing
Modified Wed Oct 21 08:43:45 2009 UTC (14 years, 8 months ago) by torben
Catch all IOExceptions 

Revision 458 - Directory Listing
Modified Tue Oct 20 20:59:38 2009 UTC (14 years, 8 months ago) by torben
Nicer handling of incomplete requests

Revision 451 - Directory Listing
Modified Tue Oct 20 10:32:19 2009 UTC (14 years, 8 months ago) by torben
Degrade from throwable to exception

Revision 432 - Directory Listing
Modified Sat Oct 10 09:56:10 2009 UTC (14 years, 8 months ago) by torben
Fixed a bug, which caused a null pointer exception

Revision 430 - Directory Listing
Modified Fri Oct 9 09:06:43 2009 UTC (14 years, 8 months ago) by torben
Now it's (almost) a full map

Revision 429 - Directory Listing
Modified Fri Oct 9 08:53:03 2009 UTC (14 years, 8 months ago) by torben
unneeded import

Revision 428 - Directory Listing
Modified Fri Oct 9 08:52:37 2009 UTC (14 years, 8 months ago) by torben
Refactor TimeoutCache into a real Map

Revision 425 - Directory Listing
Modified Thu Oct 8 20:46:40 2009 UTC (14 years, 8 months ago) by torben
cleanup

Revision 421 - Directory Listing
Modified Thu Oct 8 12:19:42 2009 UTC (14 years, 8 months ago) by torben
Enabled the usage of Circuit breaker to guard agains bane.dk failures

Revision 410 - Directory Listing
Modified Wed Oct 7 13:37:37 2009 UTC (14 years, 8 months ago) by torben
Bugfix, better extraction of  trainnumbers for S-trains

Revision 389 - Directory Listing
Modified Fri Oct 2 17:18:31 2009 UTC (14 years, 8 months ago) by torben
Don't log on cache miss - and loglevel=info should be sufficient for cache hit messages

Revision 387 - Directory Listing
Modified Fri Oct 2 15:06:08 2009 UTC (14 years, 8 months ago) by torben
Enable caching for departures and timetables

Revision 386 - Directory Listing
Modified Fri Oct 2 13:44:31 2009 UTC (14 years, 8 months ago) by torben
When bane.dk is pressed it needs some more time to respond

Revision 378 - Directory Listing
Modified Thu Oct 1 08:31:47 2009 UTC (14 years, 9 months ago) by torben
More graceful handling of timeout exceptions

Revision 375 - Directory Listing
Modified Wed Sep 30 20:58:37 2009 UTC (14 years, 9 months ago) by torben
Always save a time string, no matter whether bane.dk has one for us :)

Revision 373 - Directory Listing
Modified Wed Sep 30 19:49:25 2009 UTC (14 years, 9 months ago) by torben
Work arouund a bug in bane.dk (a departure at midnight sometimes occurs as a empty string)

Revision 353 - Directory Listing
Modified Tue Sep 29 15:49:19 2009 UTC (14 years, 9 months ago) by torben
No need for logging the requested bane.dk url

Revision 350 - Directory Listing
Modified Mon Sep 28 21:33:24 2009 UTC (14 years, 9 months ago) by torben
Added code for extracting a single train's timetable from bane.dk

Revision 349 - Directory Listing
Modified Mon Sep 28 19:14:18 2009 UTC (14 years, 9 months ago) by torben
Extract trainNumbers for S-train

Revision 348 - Directory Listing
Modified Sun Sep 27 19:14:39 2009 UTC (14 years, 9 months ago) by torben
Improve on error handling and logging

Revision 342 - Directory Listing
Modified Thu Sep 24 20:20:49 2009 UTC (14 years, 9 months ago) by torben
Make sure that the required table is present

Revision 321 - Directory Listing
Modified Sun Sep 13 20:17:32 2009 UTC (14 years, 9 months ago) by torben
work correctly when clock wraps around at midnight

Revision 313 - Directory Listing
Modified Fri Sep 11 07:13:46 2009 UTC (14 years, 9 months ago) by torben
Remove that frickin information 'i' from the note

Revision 312 - Directory Listing
Modified Fri Sep 11 05:32:04 2009 UTC (14 years, 9 months ago) by torben
Print a nice userfriendly string instead of the raw updated int code

Revision 308 - Directory Listing
Modified Thu Sep 10 18:13:52 2009 UTC (14 years, 9 months ago) by torben
Minor code tweaks

Revision 307 - Directory Listing
Modified Thu Sep 10 18:11:53 2009 UTC (14 years, 9 months ago) by torben
Finish new bane.dk screen-scraper

Revision 305 - Directory Listing
Added Thu Sep 10 09:40:27 2009 UTC (14 years, 9 months ago) by torben
first version of new departure provider (this is supposed to replace the php mess)

  ViewVC Help
Powered by ViewVC 1.1.20