|
51bae70d6c
|
Run prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-27 20:49:21 +01:00 |
|
|
40e99a9f9c
|
Adjust commend
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-27 20:36:51 +01:00 |
|
|
6721d47f02
|
Port find.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-27 20:35:39 +01:00 |
|
|
9334da889b
|
Remove errornous import
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-27 20:30:37 +01:00 |
|
|
9ed80a8bea
|
Fix console log of original data
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-26 21:23:43 +01:00 |
|
|
cf1b40f007
|
Adjust dbAccess log levels
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-26 21:06:29 +01:00 |
|
|
9a6679f0d9
|
Port ldb module to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-26 21:06:18 +01:00 |
|
|
ce592d5cc1
|
Port database functions to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-26 20:46:23 +01:00 |
|
|
96d97f9689
|
Remove un-needed console.log
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-26 20:43:36 +01:00 |
|
|
3590b15a69
|
Remove map gets, not working
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-21 20:12:35 +01:00 |
|
|
011da17f0c
|
Adjust status message code
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-21 20:06:51 +01:00 |
|
|
d95ed436b8
|
Fix error handling
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-20 20:20:55 +01:00 |
|
|
68f92c41b8
|
Update the error handling data for ldb API responses.
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-20 13:53:45 +01:00 |
|
|
ad1afc10c7
|
staffldb should be wrapped in ApiResponse before sending to client
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-12 20:48:34 +01:00 |
|
|
c7ea029c11
|
Fix bug where query function returned empty array
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-11 20:47:04 +01:00 |
|
|
3410e6598a
|
Run prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 20:49:13 +01:00 |
|
|
c147cadc40
|
Update to use latest API Version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-09 21:13:31 +01:00 |
|
|
45183f619e
|
Response adjustments
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-30 21:34:06 +01:00 |
|
|
31f104f51b
|
Run prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-26 00:38:26 +01:00 |
|
|
74a68e992a
|
Add operator 'UK' to supported PIS TOCS - see issue for details.
Closes #37
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-14 21:46:44 +01:00 |
|
|
4b7722d5cd
|
Attempt to fix error
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 12:27:48 +01:00 |
|
|
f96c7a7e9d
|
Fix failure if NRCC messages are not present on StaffLDB
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 12:03:09 +01:00 |
|
|
ae1a467c97
|
Add console.log for _staffLDB (Transformed data)
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 11:27:44 +01:00 |
|
|
0673637fa3
|
Add console.time for fetching staff LDB
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 11:20:19 +01:00 |
|
|
05764d1897
|
Add test transformations to staff LDB results
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 10:36:06 +01:00 |
|
|
e22af3fa35
|
Fix sign up issue
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-02 19:55:25 +01:00 |
|
|
6bf8e91633
|
Import staffStationTransform to ldb.services
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-01 13:42:19 +01:00 |
|
|
d7d4768663
|
Fix invalid export
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-28 21:37:51 +01:00 |
|
|
babd4563dc
|
Add mq-client to the 'Versions' response
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-28 21:09:44 +01:00 |
|
|
159c46c4cc
|
Add support for deploying from TS source
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-28 20:51:43 +01:00 |
|
|
93c8aed105
|
Continue TS Implementation
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-25 01:00:36 +01:00 |
|
|
df0eb0451f
|
Fix ECS PIS Code missing
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-13 20:36:12 +01:00 |
|
|
3818bc5d62
|
timetable: findByHeadcode now only returns enough data to give user a list of services which can then be expanded by using findByTrainUid
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-12 23:18:32 +01:00 |
|
|
86e5c34e7f
|
Bugfix: Cases where operator does not exist
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-11 22:43:34 +01:00 |
|
|
24b882ce5f
|
Bugfix: PIS Codes not being found for GW services
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-11 22:33:25 +01:00 |
|
|
6a40ff90d0
|
Update returned LDBSV results to 40
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-08 19:20:39 +01:00 |
|
|
45d0e0a2c0
|
Only return 'Not in Service' code 0015 for GW services
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-02 21:18:44 +01:00 |
|
|
ea8dd65a8d
|
Temporary fix:
- Do not check 'operator' before PIS lookup - the timetable data does not yet contain the operator key
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-01 22:29:30 +01:00 |
|
|
ce3033c455
|
Ensure services is always an array
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-01 21:40:06 +01:00 |
|
|
cf87c1a2b6
|
Re-implement ensureArray
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-01 21:08:15 +01:00 |
|
|
49ad201522
|
Fix stats API
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-28 14:06:31 +01:00 |
|
|
55b854a592
|
Add /misc/server/statistics route
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-28 13:36:47 +01:00 |
|
|
ab8db7bd06
|
Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-26 22:35:12 +01:00 |
|
|
a324c6fc63
|
Add /misc/server/versions
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-26 22:26:47 +01:00 |
|
|
04a3915b6c
|
Adjust for legacy issues
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-26 16:03:03 +01:00 |
|
|
d46a97ffa5
|
Adjust issue code to account for labels
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-26 16:02:42 +01:00 |
|
|
72444e9fc9
|
v2 user routes complete
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-20 21:47:32 +01:00 |
|
|
eb80d7386e
|
Add /api/v2/user/...
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-20 19:51:15 +01:00 |
|
|
a4d82b0aa7
|
Implement train and timetable
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-19 21:34:14 +01:00 |
|
|
f0b8e46007
|
Update reasonCode endpoints to read from DB rather than API
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-12 18:28:28 +01:00 |
|