/[projects]/android/TrainInfoService
ViewVC logotype

Log of /android/TrainInfoService

View Directory Listing Directory Listing


Sticky Revision:

Revision 2987 - Directory Listing
Modified Wed Mar 23 18:20:06 2016 UTC (8 years, 1 month ago) by torben
use mobile as default backend

Revision 2476 - Directory Listing
Modified Mon Mar 23 09:26:12 2015 UTC (9 years, 1 month ago) by torben
use commons lang3

Revision 2473 - Directory Listing
Modified Sat Mar 21 12:01:26 2015 UTC (9 years, 1 month ago) by torben
depend on simplexml

Revision 2468 - Directory Listing
Modified Fri Mar 20 21:22:22 2015 UTC (9 years, 1 month ago) by torben
remove jars from svn

Revision 2467 - Directory Listing
Modified Fri Mar 20 21:20:29 2015 UTC (9 years, 1 month ago) by torben
forgot pom.xml

Revision 2466 - Directory Listing
Modified Fri Mar 20 21:18:33 2015 UTC (9 years, 1 month ago) by torben
mavenize

Revision 2254 - Directory Listing
Modified Tue Dec 30 11:01:27 2014 UTC (9 years, 4 months ago) by torben
upgrade ivy dependencies to tomcat7

Revision 2253 - Directory Listing
Modified Tue Dec 30 10:52:10 2014 UTC (9 years, 4 months ago) by torben
use 127.0.0.1 as mailhost for circuitbreaker notifications

Revision 2092 - Directory Listing
Modified Fri Dec 6 08:55:50 2013 UTC (10 years, 4 months ago) by torben
typo in query

Revision 2091 - Directory Listing
Modified Fri Dec 6 08:52:00 2013 UTC (10 years, 4 months ago) by torben
top 5 -> top10

Revision 2082 - Directory Listing
Modified Mon Nov 25 13:03:57 2013 UTC (10 years, 5 months ago) by torben
add body and html tags to generated doc

Revision 2081 - Directory Listing
Modified Sat Nov 23 12:08:25 2013 UTC (10 years, 5 months ago) by torben
Import cleanup

Revision 2080 - Directory Listing
Modified Sat Nov 23 11:50:24 2013 UTC (10 years, 5 months ago) by torben
Correct link to tritinfo page

Revision 2079 - Directory Listing
Modified Sat Nov 23 11:47:43 2013 UTC (10 years, 5 months ago) by torben
Add tritinfo station comparator

Revision 2078 - Directory Listing
Modified Sat Nov 23 11:00:41 2013 UTC (10 years, 5 months ago) by torben
Better handling of null tritstation values

Revision 2077 - Directory Listing
Modified Sat Nov 23 10:43:25 2013 UTC (10 years, 5 months ago) by torben
Refactor tritinfo fetcher to seperate class

Revision 2033 - Directory Listing
Modified Wed Jul 24 14:50:04 2013 UTC (10 years, 9 months ago) by torben
trafikinfo.bane.dk now uses /RutePlan?togNummer=xxxx style URLs

Revision 2027 - Directory Listing
Modified Tue Jul 23 10:34:02 2013 UTC (10 years, 9 months ago) by torben
with glassfish4 we can finally use the short naming scheme

Revision 1909 - Directory Listing
Modified Sun Jan 6 17:31:37 2013 UTC (11 years, 3 months ago) by torben
Nogle svenske stationer er prefixed med "Sverige/" hos bane danmark, men det bruger jeg ikke så det fjernes inden vi laver videre behandling af stations comparatoren.

Revision 1908 - Directory Listing
Modified Fri Jan 4 11:25:45 2013 UTC (11 years, 3 months ago) by torben
A little more work on comparing ids

Revision 1907 - Directory Listing
Modified Fri Jan 4 10:53:49 2013 UTC (11 years, 3 months ago) by torben
Add support for detecting duplicate station keys

Revision 1906 - Directory Listing
Modified Fri Jan 4 10:37:36 2013 UTC (11 years, 3 months ago) by torben
Add support for comparing station ID's

Revision 1905 - Directory Listing
Modified Tue Dec 18 15:02:02 2012 UTC (11 years, 4 months ago) by torben
add order by name on tritinfo DB dump

Revision 1867 - Directory Listing
Modified Mon Oct 29 10:36:15 2012 UTC (11 years, 6 months ago) by torben
switch trininfo to a Logging circuit breaker

Revision 1843 - Directory Listing
Modified Mon Aug 27 20:11:58 2012 UTC (11 years, 8 months ago) by torben
Set cache duration up to 2 minutes again (instead of 120 milli-seconds - whoops)

Revision 1842 - Directory Listing
Modified Mon Aug 27 16:40:30 2012 UTC (11 years, 8 months ago) by torben
remove debug output

Revision 1841 - Directory Listing
Modified Mon Aug 27 16:38:12 2012 UTC (11 years, 8 months ago) by torben
don't log the full stacktrace when tritinfo fails

Revision 1840 - Directory Listing
Modified Fri Aug 24 12:18:01 2012 UTC (11 years, 8 months ago) by torben
upgrade to simple xml 2.6.6

Revision 1837 - Directory Listing
Modified Wed Aug 22 11:15:09 2012 UTC (11 years, 8 months ago) by torben
add tritinfo extract to db dump servlet - take 2

Revision 1836 - Directory Listing
Modified Wed Aug 22 11:13:34 2012 UTC (11 years, 8 months ago) by torben
add tritinfo extract to db dump servlet

Revision 1834 - Directory Listing
Modified Tue Aug 21 06:48:57 2012 UTC (11 years, 8 months ago) by torben
 remove debug output

Revision 1833 - Directory Listing
Modified Tue Aug 21 06:45:41 2012 UTC (11 years, 8 months ago) by torben
only append trackType if it is not-empty

Revision 1832 - Directory Listing
Modified Mon Aug 20 21:15:37 2012 UTC (11 years, 8 months ago) by torben
First attempt at tritinfo integration

Revision 1812 - Directory Listing
Modified Sat Jun 9 11:35:22 2012 UTC (11 years, 10 months ago) by torben
add 30 day stats

Revision 1802 - Directory Listing
Modified Tue May 15 12:26:52 2012 UTC (11 years, 11 months ago) by torben
dont include dummy requests in name search statistics

Revision 1801 - Directory Listing
Modified Wed May 9 17:23:50 2012 UTC (11 years, 11 months ago) by torben
Be a little more picky about request parameters, and require that they actually has a non-empty value

Revision 1790 - Directory Listing
Modified Wed Apr 11 10:11:38 2012 UTC (12 years ago) by torben
Also extract aliases from DB to XML response

Revision 1716 - Directory Listing
Modified Wed Mar 7 10:00:58 2012 UTC (12 years, 1 month ago) by torben
make some space before comparestations

Revision 1704 - Directory Listing
Modified Thu Mar 1 07:21:58 2012 UTC (12 years, 2 months ago) by torben
put a dummy label befor ajax call

Revision 1702 - Directory Listing
Modified Wed Feb 29 18:40:37 2012 UTC (12 years, 2 months ago) by torben
tæl antallet af ajax request

Revision 1700 - Directory Listing
Modified Wed Feb 29 14:20:31 2012 UTC (12 years, 2 months ago) by torben
use ajax/jquery for loading compare data

Revision 1699 - Directory Listing
Modified Wed Feb 29 13:03:30 2012 UTC (12 years, 2 months ago) by torben
increase cache timeout

Revision 1698 - Directory Listing
Modified Wed Feb 29 10:45:48 2012 UTC (12 years, 2 months ago) by torben
make comparestations a better tool for discovering active / inactive stations

Revision 1694 - Directory Listing
Modified Fri Feb 24 19:58:50 2012 UTC (12 years, 2 months ago) by torben
open links to bane.dk in new tab

Revision 1693 - Directory Listing
Modified Fri Feb 24 19:10:18 2012 UTC (12 years, 2 months ago) by torben
Probe the found stations for whether there are departure data for the stations

Revision 1692 - Directory Listing
Modified Fri Feb 24 14:26:53 2012 UTC (12 years, 2 months ago) by torben
make CompareStations display whether we actually know this station but it is currently disabled

Revision 1691 - Directory Listing
Modified Fri Feb 24 13:45:51 2012 UTC (12 years, 2 months ago) by torben
add CompareStations servlet to admin menu

Revision 1652 - Directory Listing
Modified Tue Dec 6 19:15:57 2011 UTC (12 years, 4 months ago) by torben
Remove link to deprecated MarketStats from menu

Revision 1613 - Directory Listing
Modified Fri Oct 14 15:43:49 2011 UTC (12 years, 6 months ago) by torben
silence jasper

Revision 1612 - Directory Listing
Modified Fri Oct 14 15:37:38 2011 UTC (12 years, 6 months ago) by torben
use jasper jspc, downloaded via ivy, so now we don't have a compile time dependency on glassfish

Revision 1611 - Directory Listing
Modified Fri Oct 14 14:00:59 2011 UTC (12 years, 6 months ago) by torben
use apache ivy for dependencies - but as for now still needs glassfish dir for jspvalidate target

Revision 1608 - Directory Listing
Modified Tue Oct 4 17:38:07 2011 UTC (12 years, 6 months ago) by torben
this var is only editable by web.xml

Revision 1607 - Directory Listing
Modified Tue Oct 4 17:35:31 2011 UTC (12 years, 6 months ago) by torben
make the sending of mails configurable

Revision 1601 - Directory Listing
Modified Fri Sep 23 10:12:21 2011 UTC (12 years, 7 months ago) by torben
whoops. when iterating over a map extract the values from the same maps as the keys came from

Revision 1600 - Directory Listing
Modified Fri Sep 23 10:07:22 2011 UTC (12 years, 7 months ago) by torben
seperate phone model and android ver

Revision 1599 - Directory Listing
Modified Thu Sep 22 15:21:15 2011 UTC (12 years, 7 months ago) by torben
add code for extracting phone/android from apache access log

Revision 1575 - Directory Listing
Modified Sat Jul 9 17:34:55 2011 UTC (12 years, 9 months ago) by torben
No need to push aliaseses to clients so we can simplify the code a bit

Revision 1574 - Directory Listing
Modified Sat Jul 9 17:18:59 2011 UTC (12 years, 9 months ago) by torben
Postgres can't do a proper sort when name contains scandinavian letters, but java can :)

Revision 1573 - Directory Listing
Modified Sat Jul 9 15:58:47 2011 UTC (12 years, 9 months ago) by torben
The dump should be ordered by name

Revision 1569 - Directory Listing
Modified Sat Jul 9 07:31:01 2011 UTC (12 years, 9 months ago) by torben
Can't have this function marked as deprecated now that it's vital for the client side station list

Revision 1562 - Directory Listing
Modified Fri Jul 8 16:26:09 2011 UTC (12 years, 9 months ago) by torben
Flesh out all logic from TrainInfoCommon so it just contains simple beans

Revision 1560 - Directory Listing
Modified Fri Jul 8 14:56:01 2011 UTC (12 years, 9 months ago) by torben
use a safer way to decode the argument string

Revision 1557 - Directory Listing
Modified Fri Jul 8 12:47:02 2011 UTC (12 years, 9 months ago) by torben
add support for dummy lookups - needed for statistics when the stationlist goes clientside

Revision 1542 - Directory Listing
Modified Fri Jul 1 13:37:24 2011 UTC (12 years, 10 months ago) by torben
create the locations most-recent-first

Revision 1517 - Directory Listing
Modified Sun Jun 12 07:28:00 2011 UTC (12 years, 10 months ago) by torben
add count parameter to namesearch views

Revision 1516 - Directory Listing
Modified Fri Jun 10 15:05:24 2011 UTC (12 years, 10 months ago) by torben
remove station suffixes from search string before db lookup

Revision 1515 - Directory Listing
Modified Fri Jun 10 08:25:43 2011 UTC (12 years, 10 months ago) by torben
also log whether we actually found any with fuzzy str search

Revision 1513 - Directory Listing
Modified Thu Jun 9 10:02:31 2011 UTC (12 years, 10 months ago) by torben
remove . on name before fuzzyname search

Revision 1512 - Directory Listing
Modified Wed Jun 8 19:11:36 2011 UTC (12 years, 10 months ago) by torben
only calculate the levenshtein distance once

Revision 1511 - Directory Listing
Modified Wed Jun 8 18:24:24 2011 UTC (12 years, 10 months ago) by torben
more comment on latitude/longitude

Revision 1510 - Directory Listing
Modified Wed Jun 8 17:52:56 2011 UTC (12 years, 10 months ago) by torben
one "AND enabled = true " must be enough

Revision 1509 - Directory Listing
Modified Wed Jun 8 17:18:49 2011 UTC (12 years, 10 months ago) by torben
page title

Revision 1508 - Directory Listing
Modified Wed Jun 8 17:14:58 2011 UTC (12 years, 10 months ago) by torben
Add another view into namesearches

Revision 1507 - Directory Listing
Modified Wed Jun 8 16:11:27 2011 UTC (12 years, 10 months ago) by torben
add fuzzy string match in getByName searches

Revision 1505 - Directory Listing
Modified Wed Jun 8 15:45:41 2011 UTC (12 years, 10 months ago) by torben
deprecate and move old code around

Revision 1504 - Directory Listing
Modified Wed Jun 8 15:38:11 2011 UTC (12 years, 10 months ago) by torben
Refactor dao code so all(nearly) jdbc calls are in one single function

Revision 1452 - Directory Listing
Modified Thu May 5 11:50:09 2011 UTC (12 years, 11 months ago) by torben
Was this ever used ???

Revision 1451 - Directory Listing
Modified Thu May 5 11:21:11 2011 UTC (12 years, 11 months ago) by torben
Add link to banedk

Revision 1450 - Directory Listing
Modified Thu May 5 10:48:29 2011 UTC (12 years, 11 months ago) by torben
Try with treeset instead of arraylist

Revision 1449 - Directory Listing
Modified Thu May 5 10:23:30 2011 UTC (12 years, 11 months ago) by torben
Add servlet to compare my stationlist with the one on bane.dk

Revision 1439 - Directory Listing
Modified Tue May 3 20:07:06 2011 UTC (12 years, 11 months ago) by torben
switch to frames (yuck) but integrates nicer than iframe

Revision 1438 - Directory Listing
Modified Tue May 3 20:05:16 2011 UTC (12 years, 11 months ago) by torben
switch to frames (yuck) but integrates nicer than iframe

Revision 1431 - Directory Listing
Modified Mon May 2 19:28:02 2011 UTC (13 years ago) by torben
add a view for failed byName searches and add DumpResultSet to admin.jsp

Revision 1429 - Directory Listing
Modified Mon May 2 18:33:11 2011 UTC (13 years ago) by torben
Also write content length for uncompressed

Revision 1428 - Directory Listing
Modified Mon May 2 18:30:31 2011 UTC (13 years ago) by torben
typo

Revision 1427 - Directory Listing
Modified Mon May 2 18:27:05 2011 UTC (13 years ago) by torben
Also set a content-disposition header for kmz files

Revision 1426 - Directory Listing
Modified Mon May 2 18:19:16 2011 UTC (13 years ago) by torben
Now that we have timestamp as name there's no need to have it in description as well

Revision 1425 - Directory Listing
Modified Mon May 2 18:10:10 2011 UTC (13 years ago) by torben
Use timestamp as placemark name in KML file

Revision 1424 - Directory Listing
Modified Mon May 2 17:19:30 2011 UTC (13 years ago) by torben
//TODO: FetchTraintype.Both should be removed some time after 0.9.5 release

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

Revision 1414 - Directory Listing
Modified Mon May 2 15:14:25 2011 UTC (13 years ago) by torben
Like this version extraction better

Revision 1412 - Directory Listing
Modified Mon May 2 12:21:49 2011 UTC (13 years 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 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 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 ago) by torben
Adapt service to new StationEntry location

Revision 1407 - Directory Listing
Modified Mon May 2 09:38:27 2011 UTC (13 years ago) by torben
force UTF-8 encoding

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

Revision 1405 - Directory Listing
Modified Mon May 2 08:08:56 2011 UTC (13 years ago) by torben
remove an NPE

Revision 1404 - Directory Listing
Modified Sat Apr 30 05:43:04 2011 UTC (13 years ago) by torben
add Requestplotter and version.jsp to admin tools

Revision 1403 - Directory Listing
Modified Thu Apr 28 19:48:24 2011 UTC (13 years ago) by torben
Re-organize menu and statistics no longer need to link to savedstatistics

Revision 1402 - Directory Listing
Modified Thu Apr 28 19:39:29 2011 UTC (13 years ago) by torben
Also link to marketstats

Revision 1401 - Directory Listing
Modified Thu Apr 28 19:03:04 2011 UTC (13 years 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 1400 - Directory Listing
Modified Thu Apr 28 18:50:24 2011 UTC (13 years ago) by torben
show 5 busiest days

Revision 1399 - Directory Listing
Modified Thu Apr 28 16:55:52 2011 UTC (13 years ago) by torben
Only use a MailNotifier on prod.server

Revision 1398 - Directory Listing
Modified Thu Apr 28 15:08:29 2011 UTC (13 years ago) by torben
Add admin overview page

Revision 1396 - Directory Listing
Modified Thu Apr 28 10:13:36 2011 UTC (13 years 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 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 ago) by torben
Use a enum to select backend

Revision 1370 - Directory Listing
Modified Wed Apr 20 21:31:45 2011 UTC (13 years ago) by torben
Don't allow negative numbers

Revision 1368 - Directory Listing
Modified Wed Apr 20 20:40:35 2011 UTC (13 years 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 ago) by torben
Add mobile timetable parser

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

Revision 1364 - Directory Listing
Modified Wed Apr 20 19:39:14 2011 UTC (13 years ago) by torben
Also build and deploy correctly in eclipse

Revision 1363 - Directory Listing
Modified Wed Apr 20 19:28:32 2011 UTC (13 years ago) by torben
correct target dir for dependency jar file

Revision 1362 - Directory Listing
Modified Wed Apr 20 19:25:54 2011 UTC (13 years ago) by torben
added dependency to build file

Revision 1357 - Directory Listing
Modified Wed Apr 20 19:06:35 2011 UTC (13 years ago) by torben
use HttpUtil instead

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

Revision 1345 - Directory Listing
Modified Wed Apr 20 16:47:21 2011 UTC (13 years ago) by torben
Wehn config is ServletContext there's no need to have a reload method

Revision 1344 - Directory Listing
Modified Wed Apr 20 16:14:33 2011 UTC (13 years ago) by torben
Rename @ReloadConfig to @ReloadConfigMethod

Revision 1342 - Directory Listing
Modified Wed Apr 20 15:31:47 2011 UTC (13 years ago) by torben
convert another system.out to logger

Revision 1341 - Directory Listing
Modified Wed Apr 20 15:29:00 2011 UTC (13 years ago) by torben
Use a logger instead of system.out

Revision 1340 - Directory Listing
Modified Wed Apr 20 15:25:36 2011 UTC (13 years ago) by torben
Use new config loader system

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

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

Revision 1333 - Directory Listing
Modified Wed Apr 20 06:26:19 2011 UTC (13 years 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 ago) by torben
origin field must not be empty

Revision 1331 - Directory Listing
Modified Wed Apr 20 05:25:48 2011 UTC (13 years 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 ago) by torben
First stab at parsing mobile.bane.dk

Revision 1328 - Directory Listing
Modified Wed Apr 20 04:41:18 2011 UTC (13 years ago) by torben
Add option for reloading config by annotating a method

Revision 1325 - Directory Listing
Modified Tue Apr 19 21:04:36 2011 UTC (13 years ago) by torben
Mark a few more as read-only

Revision 1323 - Directory Listing
Modified Tue Apr 19 20:40:33 2011 UTC (13 years ago) by torben
fix typo in jar path

Revision 1320 - Directory Listing
Modified Tue Apr 19 20:26:06 2011 UTC (13 years ago) by torben
Use new webconfig lib

Revision 1317 - Directory Listing
Modified Tue Apr 19 17:21:43 2011 UTC (13 years ago) by torben
Don't try to get from more logfiles than there actually are

Revision 1316 - Directory Listing
Modified Tue Apr 19 17:17:09 2011 UTC (13 years ago) by torben
Move all parameters to TraininfoSettings & SettingsListener

Revision 1313 - Directory Listing
Modified Tue Apr 19 16:46:39 2011 UTC (13 years ago) by torben
Safer parsing of count parameter

Revision 1312 - Directory Listing
Modified Tue Apr 19 16:39:07 2011 UTC (13 years ago) by torben
Switch to a day/file count instead of a boolean multiple-files

Revision 1311 - Directory Listing
Modified Tue Apr 19 16:31:11 2011 UTC (13 years ago) by torben
Now it should get the right gfv3 access log files

Revision 1310 - Directory Listing
Modified Tue Apr 19 16:19:45 2011 UTC (13 years ago) by torben
Make requestplotter work with GFv3 access log files

Revision 1309 - Directory Listing
Modified Tue Apr 19 15:48:51 2011 UTC (13 years ago) by torben
Forgot to delete this in last commit (when switched to dynamic servlet)

Revision 1308 - Directory Listing
Modified Tue Apr 19 15:46:22 2011 UTC (13 years ago) by torben
Switch to dynamically added CircuitBreakerServlet

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

Revision 1304 - Directory Listing
Modified Tue Apr 19 12:44:01 2011 UTC (13 years ago) by torben
don't register circuitbreakers as jmx beans

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

Revision 1286 - Directory Listing
Modified Mon Apr 11 07:53:45 2011 UTC (13 years ago) by torben
use loggingcircuitbreaker for banedk

Revision 1256 - Directory Listing
Modified Mon Apr 4 11:58:30 2011 UTC (13 years ago) by torben
Small refactoring to db test code

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

Revision 1254 - Directory Listing
Modified Mon Apr 4 10:39:12 2011 UTC (13 years ago) by torben
Add an explanatory comment regarding latitude/longitude

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

Revision 1252 - Directory Listing
Modified Mon Apr 4 08:27:24 2011 UTC (13 years 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, 1 month 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, 4 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, 5 months ago) by torben
Also use StringReader

Revision 1190 - Directory Listing
Modified Fri Nov 12 18:33:38 2010 UTC (13 years, 5 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, 5 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, 6 months ago) by torben
Handle a missing format station parameter

Revision 1162 - Directory Listing
Modified Mon Oct 4 17:38:13 2010 UTC (13 years, 6 months ago) by torben
use the latest change to the circuitbreaker library and use one notifier structure to both circuitbreakers

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

Revision 1156 - Directory Listing
Modified Sun Oct 3 17:23:13 2010 UTC (13 years, 6 months ago) by torben
Add a mail notifier

Revision 1147 - Directory Listing
Modified Fri Oct 1 05:44:20 2010 UTC (13 years, 7 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, 7 months ago) by torben
Handle invalid station ID's in request

Revision 1101 - Directory Listing
Modified Wed Sep 22 10:01:17 2010 UTC (13 years, 7 months ago) by torben
dummy commit to test hudson scm triggered build

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

Revision 1082 - Directory Listing
Modified Tue Sep 21 05:55:31 2010 UTC (13 years, 7 months ago) by torben
Add support for dumping all stations as XML

Revision 1075 - Directory Listing
Modified Thu Sep 16 19:14:47 2010 UTC (13 years, 7 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, 7 months ago) by torben
remember to put the arrival parameter in the output

Revision 1069 - Directory Listing
Modified Thu Sep 16 15:54:20 2010 UTC (13 years, 7 months ago) by torben
Enabled ant builds with TrainInfoCommon

Revision 1067 - Directory Listing
Modified Thu Sep 16 15:37:55 2010 UTC (13 years, 7 months ago) by torben
quick workaround to get html view working

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

Revision 1062 - Directory Listing
Modified Thu Sep 16 14:21:53 2010 UTC (13 years, 7 months ago) by torben
Update settings to actually work with TraininfoCommon

Revision 1061 - Directory Listing
Modified Thu Sep 16 14:04:28 2010 UTC (13 years, 7 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, 7 months ago) by torben
Experimental: use Simple (simple.sourceforge.net) for XML serialization

Revision 1059 - Directory Listing
Modified Thu Sep 16 09:11:23 2010 UTC (13 years, 7 months ago) by torben
Update to jsoup 1.2.3 since it is better at handling charsets

Revision 1056 - Directory Listing
Modified Tue Sep 14 17:01:24 2010 UTC (13 years, 7 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, 7 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, 7 months ago) by torben
Hopefully it works now ?!?

Revision 1048 - Directory Listing
Modified Tue Sep 14 06:10:30 2010 UTC (13 years, 7 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, 7 months ago) by torben
remove debug info

Revision 1046 - Directory Listing
Modified Tue Sep 14 05:33:30 2010 UTC (13 years, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 months ago) by torben
Remove debug output

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

Revision 1030 - Directory Listing
Modified Wed Sep 8 08:11:00 2010 UTC (13 years, 7 months ago) by torben
Only cancel the timer if it actually was created

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

Revision 1023 - Directory Listing
Modified Mon Aug 30 15:53:09 2010 UTC (13 years, 8 months ago) by torben
Log whether the stats saver was started or not

Revision 1022 - Directory Listing
Modified Mon Aug 30 15:49:20 2010 UTC (13 years, 8 months ago) by torben
Avoid saving statistics on test servers

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

Revision 1000 - Directory Listing
Modified Sat Jul 17 06:29:04 2010 UTC (13 years, 9 months ago) by torben
Set an id to please KML validator http://feedvalidator.org/

Revision 999 - Directory Listing
Modified Sat Jul 17 06:20:41 2010 UTC (13 years, 9 months ago) by torben
try to give each place a name

Revision 998 - Directory Listing
Modified Sat Jul 17 06:09:01 2010 UTC (13 years, 9 months ago) by torben
Put description in CDATA section

Revision 997 - Directory Listing
Modified Sat Jul 17 06:01:09 2010 UTC (13 years, 9 months ago) by torben
Increase "find nearest stations" count from 5 to 8

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

Revision 994 - Directory Listing
Modified Wed Jul 14 19:22:23 2010 UTC (13 years, 9 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, 9 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, 9 months ago) by torben
Experiment: switch to jsoup instead of htmlunit

Revision 989 - Directory Listing
Modified Sun Jul 11 17:21:34 2010 UTC (13 years, 9 months ago) by torben
print ip and time on seperate lines

Revision 988 - Directory Listing
Modified Sun Jul 11 17:15:47 2010 UTC (13 years, 9 months ago) by torben
correct link to blue paddle icon


Revision 987 - Directory Listing
Modified Sun Jul 11 17:12:23 2010 UTC (13 years, 9 months ago) by torben
add another color to the plots (to diff between less than one week and more than one week)

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

Revision 979 - Directory Listing
Modified Sat Jul 10 10:59:49 2010 UTC (13 years, 9 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, 9 months ago) by torben
Add code to extract notifications

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

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

Revision 975 - Directory Listing
Modified Sat Jul 10 08:35:16 2010 UTC (13 years, 9 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, 9 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, 9 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, 9 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, 9 months ago) by torben
remove debug log statements

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

Revision 968 - Directory Listing
Modified Wed Jul 7 18:54:52 2010 UTC (13 years, 9 months ago) by torben
don't let the average be adjusted by the current dates shifting numbers

Revision 967 - Directory Listing
Modified Wed Jul 7 16:08:04 2010 UTC (13 years, 9 months ago) by torben
Make sure to release the conn back to the conn pool

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

Revision 965 - Directory Listing
Modified Wed Jul 7 11:50:34 2010 UTC (13 years, 9 months ago) by torben
cleanup

Revision 964 - Directory Listing
Modified Wed Jul 7 11:46:02 2010 UTC (13 years, 9 months ago) by torben
'Label' is a more correct term

Revision 963 - Directory Listing
Modified Wed Jul 7 10:01:38 2010 UTC (13 years, 9 months ago) by torben
Write collumn header

Revision 962 - Directory Listing
Modified Wed Jul 7 09:53:04 2010 UTC (13 years, 9 months ago) by torben
More work on stats

Revision 961 - Directory Listing
Modified Wed Jul 7 09:12:32 2010 UTC (13 years, 9 months ago) by torben
Begin moving saved statistics to seperate servlet+jsp

Revision 959 - Directory Listing
Modified Mon Jul 5 09:49:53 2010 UTC (13 years, 9 months ago) by torben
More annotations

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

Revision 954 - Directory Listing
Modified Mon Jul 5 08:46:57 2010 UTC (13 years, 9 months ago) by torben
Increase cache time to 30 minutes

Revision 941 - Directory Listing
Modified Tue Jun 29 16:11:43 2010 UTC (13 years, 10 months ago) by torben
Move the counts do a document-wide description field

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

Revision 929 - Directory Listing
Modified Sun Jun 27 17:07:27 2010 UTC (13 years, 10 months ago) by torben
 

Revision 928 - Directory Listing
Modified Sun Jun 27 16:55:36 2010 UTC (13 years, 10 months ago) by torben
Narrow search area further

Revision 897 - Directory Listing
Modified Thu Jun 24 18:33:34 2010 UTC (13 years, 10 months ago) by torben
Make Stringbuffer's initial size bigger

Revision 896 - Directory Listing
Modified Thu Jun 24 18:31:19 2010 UTC (13 years, 10 months ago) by torben
Use the StringBuilder instead of std. string concatenation

Revision 895 - Directory Listing
Modified Thu Jun 24 17:17:45 2010 UTC (13 years, 10 months ago) by torben
use javaLogging

Revision 894 - Directory Listing
Modified Thu Jun 24 17:00:39 2010 UTC (13 years, 10 months ago) by torben
Log whenever getByLocation do a failover lookup

Revision 893 - Directory Listing
Modified Thu Jun 24 16:29:44 2010 UTC (13 years, 10 months ago) by torben
Typo "yello" -> "yellow"

Revision 892 - Directory Listing
Modified Thu Jun 24 16:25:54 2010 UTC (13 years, 10 months ago) by torben
Handle the different "colors" and folders a little more elegant

Revision 868 - Directory Listing
Modified Mon Jun 21 12:58:06 2010 UTC (13 years, 10 months ago) by torben
also dump the rowcount in statistics

Revision 866 - Directory Listing
Modified Sun Jun 20 22:10:29 2010 UTC (13 years, 10 months ago) by torben
remove bane.dk circuitbreaker when undeploying

Revision 863 - Directory Listing
Modified Wed Jun 16 15:20:26 2010 UTC (13 years, 10 months ago) by torben
enable debug-info

Revision 862 - Directory Listing
Modified Wed Jun 16 10:03:13 2010 UTC (13 years, 10 months 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 (13 years, 10 months 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 (13 years, 10 months ago) by torben
Trim status field for white-space


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

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

Revision 853 - Directory Listing
Modified Tue Jun 15 13:16:29 2010 UTC (13 years, 10 months ago) by torben
Narrow it further

Revision 852 - Directory Listing
Modified Tue Jun 15 13:10:32 2010 UTC (13 years, 10 months ago) by torben
Tighten geographical test-area

Revision 851 - Directory Listing
Modified Tue Jun 15 12:54:25 2010 UTC (13 years, 10 months ago) by torben
Re-use Random object

Revision 850 - Directory Listing
Modified Tue Jun 15 06:34:42 2010 UTC (13 years, 10 months ago) by torben
Narrow it further down

Revision 849 - Directory Listing
Modified Tue Jun 15 05:46:38 2010 UTC (13 years, 10 months ago) by torben
Narrow geo-area further

Revision 848 - Directory Listing
Modified Tue Jun 15 05:33:14 2010 UTC (13 years, 10 months ago) by torben
narrow the geographical limited search area (this is ok now we have a failover)

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

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

Revision 841 - Directory Listing
Modified Fri Jun 11 20:13:18 2010 UTC (13 years, 10 months ago) by torben
Make sure we always return the same number of stations

and increase that number from 4 to 5

Revision 838 - Directory Listing
Modified Fri Jun 11 17:17:06 2010 UTC (13 years, 10 months ago) by torben
remove debug statement

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

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

Revision 832 - Directory Listing
Modified Thu Jun 10 22:58:48 2010 UTC (13 years, 10 months ago) by torben
Summarize the 3 station lookups

Revision 831 - Directory Listing
Modified Thu Jun 10 22:44:23 2010 UTC (13 years, 10 months ago) by torben
mark start and end of circuitbreaker build

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

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

Revision 827 - Directory Listing
Modified Thu Jun 10 20:52:32 2010 UTC (13 years, 10 months ago) by torben
Write a timestamp on generated page

Revision 826 - Directory Listing
Modified Thu Jun 10 16:16:38 2010 UTC (13 years, 10 months ago) by torben
unify glassfish path to a property

Revision 825 - Directory Listing
Modified Thu Jun 10 16:10:24 2010 UTC (13 years, 10 months ago) by torben
stop process if jsp validation fails

Revision 824 - Directory Listing
Modified Thu Jun 10 15:57:39 2010 UTC (13 years, 10 months ago) by torben
added jsp validation step

Revision 822 - Directory Listing
Modified Thu Jun 10 11:32:22 2010 UTC (13 years, 10 months ago) by torben
added target for compiling CircuitBreaker

Revision 820 - Directory Listing
Modified Thu Jun 10 09:31:54 2010 UTC (13 years, 10 months ago) by torben
add deploy target

Revision 819 - Directory Listing
Modified Thu Jun 10 09:24:27 2010 UTC (13 years, 10 months ago) by torben
first version of ant build file

Revision 818 - Directory Listing
Modified Thu Jun 10 08:09:55 2010 UTC (13 years, 10 months ago) by torben
Ensure we also have a longitude

Revision 817 - Directory Listing
Modified Thu Jun 10 08:02:04 2010 UTC (13 years, 10 months ago) by torben
Add one more file to multi-file parser

Revision 816 - Directory Listing
Modified Thu Jun 10 07:35:23 2010 UTC (13 years, 10 months ago) by torben
Log the contextlistener calls

Revision 815 - Directory Listing
Modified Thu Jun 10 07:25:47 2010 UTC (13 years, 10 months ago) by torben
Reverse sort order

Revision 814 - Directory Listing
Modified Wed Jun 9 21:11:07 2010 UTC (13 years, 10 months ago) by torben
Make sure to save any unsaved data when context is unloaded

Revision 813 - Directory Listing
Modified Wed Jun 9 21:04:54 2010 UTC (13 years, 10 months ago) by torben
Output formating and links from statistics.jsp

Revision 812 - Directory Listing
Modified Wed Jun 9 20:17:01 2010 UTC (13 years, 10 months ago) by torben
set statistics save interval to 5 minutes

Revision 811 - Directory Listing
Modified Wed Jun 9 20:16:01 2010 UTC (13 years, 10 months ago) by torben
Add some more statistics

Revision 810 - Directory Listing
Modified Wed Jun 9 14:20:50 2010 UTC (13 years, 10 months ago) by torben
better parameter parsing

Revision 809 - Directory Listing
Modified Wed Jun 9 14:17:17 2010 UTC (13 years, 10 months ago) by torben
Option for reading several files

Revision 806 - Directory Listing
Modified Mon Jun 7 18:35:40 2010 UTC (13 years, 10 months ago) by torben
Show folders in collapsed state

Revision 805 - Directory Listing
Modified Mon Jun 7 18:26:09 2010 UTC (13 years, 10 months ago) by torben
Sort placemarks into folders

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

Revision 803 - Directory Listing
Modified Mon Jun 7 12:01:42 2010 UTC (13 years, 10 months ago) by torben
Small refactorings

Revision 802 - Directory Listing
Modified Mon Jun 7 11:46:25 2010 UTC (13 years, 10 months ago) by torben
Added cache

Revision 801 - Directory Listing
Modified Mon Jun 7 11:29:55 2010 UTC (13 years, 10 months ago) by torben
Add commented code about static overlays

Revision 800 - Directory Listing
Modified Mon Jun 7 10:02:26 2010 UTC (13 years, 10 months ago) by torben
Draw different markers base on request time

Revision 799 - Directory Listing
Modified Mon Jun 7 08:55:34 2010 UTC (13 years, 10 months ago) by torben
Seperate parser and xml-formatter

Revision 798 - Directory Listing
Modified Mon Jun 7 08:37:29 2010 UTC (13 years, 10 months ago) by torben
Parser now works correctly
enable kmz (zipped) output

Revision 797 - Directory Listing
Modified Thu Jun 3 14:28:13 2010 UTC (13 years, 10 months ago) by torben
... and read the correct file

Revision 796 - Directory Listing
Modified Thu Jun 3 14:21:35 2010 UTC (13 years, 10 months ago) by torben
Log any errors

Revision 795 - Directory Listing
Modified Thu Jun 3 14:12:56 2010 UTC (13 years, 10 months ago) by torben
First version of station-plotter

Revision 741 - Directory Listing
Modified Wed May 19 12:56:10 2010 UTC (13 years, 11 months ago) by torben
Comment about the faster distance calculation

Revision 740 - Directory Listing
Modified Wed May 19 11:14:33 2010 UTC (13 years, 11 months ago) by torben
Add test for findByFavorites

Revision 739 - Directory Listing
Modified Wed May 19 09:53:25 2010 UTC (13 years, 11 months ago) by torben
narrow longitude search area

Revision 738 - Directory Listing
Modified Wed May 19 07:57:14 2010 UTC (13 years, 11 months ago) by torben
Narrow the geographic boundaries in the test

Revision 737 - Directory Listing
Modified Wed May 19 07:40:00 2010 UTC (13 years, 11 months ago) by torben
limit the number of distance calculations by only calculating on those stations within 2.5 degrees (lat/long)-range 
on current server this reduces query time by ~45 ms

Revision 736 - Directory Listing
Modified Tue May 18 21:07:02 2010 UTC (13 years, 11 months ago) by torben
Made tests a little more flexible

Revision 735 - Directory Listing
Modified Tue May 18 20:58:04 2010 UTC (13 years, 11 months ago) by torben
Some code to test efficiency of the DB queries

Revision 734 - Directory Listing
Modified Tue May 18 20:39:22 2010 UTC (13 years, 11 months ago) by torben
Simplify query

Revision 733 - Directory Listing
Modified Tue May 18 17:56:43 2010 UTC (13 years, 11 months ago) by torben
Save a part of the distance calculation in the earth_coord column

Revision 717 - Directory Listing
Modified Mon May 10 06:59:01 2010 UTC (13 years, 11 months 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 (13 years, 11 months ago) by torben
in statistics, also keep track of how many request were unsuccessful

Revision 715 - Directory Listing
Modified Fri May 7 17:30:07 2010 UTC (13 years, 11 months ago) by torben
Enable a report of those stations which has aliases

Revision 714 - Directory Listing
Modified Fri May 7 17:08:11 2010 UTC (13 years, 11 months ago) by torben
Enable station aliases

Revision 712 - Directory Listing
Modified Thu May 6 12:21:57 2010 UTC (13 years, 11 months ago) by torben
format the daily average with 1 decimal

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

Revision 697 - Directory Listing
Modified Mon May 3 07:42:02 2010 UTC (13 years, 11 months 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 ago) by torben
Move function getStationName() function do DAO class

Revision 623 - Directory Listing
Modified Mon Mar 8 09:11:13 2010 UTC (14 years, 1 month ago) by torben
Switch to GFv3

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

Revision 590 - Directory Listing
Modified Mon Feb 8 20:54:49 2010 UTC (14 years, 2 months ago) by torben
Better default jsp 

Revision 589 - Directory Listing
Modified Mon Feb 8 19:25:12 2010 UTC (14 years, 2 months ago) by torben
Release resources as soon as possible

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

Revision 587 - Directory Listing
Modified Mon Feb 8 18:42:00 2010 UTC (14 years, 2 months ago) by torben
Encapsulate NamingException into SQLException

Revision 586 - Directory Listing
Modified Fri Feb 5 19:28:36 2010 UTC (14 years, 2 months ago) by torben
This is a more correct way of reading request attributes

Revision 585 - Directory Listing
Modified Fri Feb 5 19:15:12 2010 UTC (14 years, 2 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, 2 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, 2 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, 2 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, 2 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, 2 months ago) by torben
Added a screenscraper for bane.dk's temporary site

Revision 550 - Directory Listing
Modified Tue Jan 26 20:24:41 2010 UTC (14 years, 3 months ago) by torben
The train XML should be kept in english terms

Revision 549 - Directory Listing
Modified Tue Jan 26 20:18:57 2010 UTC (14 years, 3 months ago) by torben
Also report whether the station is a copenhagen metro station

Revision 498 - Directory Listing
Modified Wed Nov 4 19:18:29 2009 UTC (14 years, 5 months ago) by torben
Double CircuitBreaker timeout to 60 seconds

Revision 497 - Directory Listing
Modified Wed Nov 4 11:09:19 2009 UTC (14 years, 5 months ago) by torben
use maps.google.dk for more correct naming

Revision 494 - Directory Listing
Modified Sun Nov 1 17:15:13 2009 UTC (14 years, 5 months ago) by torben
Make sure that multiline strings are dumped correct

Revision 492 - Directory Listing
Modified Sun Nov 1 16:35:48 2009 UTC (14 years, 6 months ago) by torben
Added support for address DB column

Revision 470 - Directory Listing
Modified Mon Oct 26 12:40:21 2009 UTC (14 years, 6 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, 6 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, 6 months ago) by torben
Catch all IOExceptions 

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

Revision 457 - Directory Listing
Modified Tue Oct 20 20:44:12 2009 UTC (14 years, 6 months ago) by torben
increase circuitbreaker timeout

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

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

Revision 431 - Directory Listing
Modified Sat Oct 10 08:33:27 2009 UTC (14 years, 6 months ago) by torben
Refactored code - and added feature for getting a list of station by id's

Revision 430 - Directory Listing
Modified Fri Oct 9 09:06:43 2009 UTC (14 years, 6 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, 6 months ago) by torben
unneeded import

Revision 428 - Directory Listing
Modified Fri Oct 9 08:52:37 2009 UTC (14 years, 6 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, 6 months ago) by torben
cleanup

Revision 422 - Directory Listing
Modified Thu Oct 8 12:22:54 2009 UTC (14 years, 6 months ago) by torben
remove left-overs

Revision 421 - Directory Listing
Modified Thu Oct 8 12:19:42 2009 UTC (14 years, 6 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, 6 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, 6 months ago) by torben
Don't log on cache miss - and loglevel=info should be sufficient for cache hit messages

Revision 388 - Directory Listing
Modified Fri Oct 2 15:11:25 2009 UTC (14 years, 6 months ago) by torben
trim name parameter - to get rid of rogue space characters etc.

Revision 387 - Directory Listing
Modified Fri Oct 2 15:06:08 2009 UTC (14 years, 6 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, 6 months ago) by torben
When bane.dk is pressed it needs some more time to respond

Revision 380 - Directory Listing
Modified Fri Oct 2 10:17:44 2009 UTC (14 years, 6 months ago) by torben
don't search for mid-string names

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

Revision 377 - Directory Listing
Modified Thu Oct 1 08:21:09 2009 UTC (14 years, 7 months ago) by torben
Added a db column 'enabled' - for easy control active stations - make code use this new column

Revision 375 - Directory Listing
Modified Wed Sep 30 20:58:37 2009 UTC (14 years, 7 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, 7 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, 7 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, 7 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, 7 months ago) by torben
Extract trainNumbers for S-train

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

Revision 347 - Directory Listing
Modified Fri Sep 25 13:54:16 2009 UTC (14 years, 7 months ago) by torben
Better handling of the different request types

Revision 344 - Directory Listing
Modified Thu Sep 24 21:04:34 2009 UTC (14 years, 7 months ago) by torben
Don't write the sql string to system out

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

Revision 322 - Directory Listing
Modified Mon Sep 14 07:29:59 2009 UTC (14 years, 7 months ago) by torben
Enable a station search based on station name

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

Revision 314 - Directory Listing
Modified Fri Sep 11 08:02:33 2009 UTC (14 years, 7 months ago) by torben
Make dump=allfull work with new table structure

Revision 313 - Directory Listing
Modified Fri Sep 11 07:13:46 2009 UTC (14 years, 7 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, 7 months ago) by torben
Print a nice userfriendly string instead of the raw updated int code

Revision 309 - Directory Listing
Modified Thu Sep 10 19:00:31 2009 UTC (14 years, 7 months ago) by torben
Rework servlet to work with new database layout

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

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

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

Revision 304 - Directory Listing
Modified Tue Sep 8 11:51:21 2009 UTC (14 years, 7 months ago) by torben
more advanced report 

Revision 301 - Directory Listing
Modified Mon Sep 7 12:23:35 2009 UTC (14 years, 7 months ago) by torben
LocateStations: make sure lat+long isn't null

Create a servlet for loading station table from bane.dk data

Revision 299 - Directory Listing
Modified Wed Sep 2 05:53:29 2009 UTC (14 years, 7 months ago) by torben
Add build dir

Revision 298 - Directory Listing
Modified Wed Sep 2 04:52:57 2009 UTC (14 years, 7 months ago) by torben
add another query to dumpresultset

Revision 297 - Directory Listing
Modified Wed Sep 2 04:02:47 2009 UTC (14 years, 7 months ago) by torben
At last commit, forgot change to also commit deployment description


Revision 296 - Directory Listing
Modified Tue Sep 1 22:18:41 2009 UTC (14 years, 7 months ago) by torben
first version of resultset dumper

Revision 295 - Directory Listing
Modified Tue Sep 1 21:17:54 2009 UTC (14 years, 7 months ago) by torben
Use default jre

Revision 293 - Directory Listing
Modified Tue Sep 1 19:40:02 2009 UTC (14 years, 8 months ago) by torben
Don't care about the station's address

Revision 292 - Directory Listing
Modified Tue Sep 1 19:17:18 2009 UTC (14 years, 8 months ago) by torben
Initial import

Revision 291 - Directory Listing
Added Tue Sep 1 19:16:43 2009 UTC (14 years, 8 months ago) by torben
Initial import.

  ViewVC Help
Powered by ViewVC 1.1.20