Commit Graph

154 Commits

Author SHA1 Message Date
Fred Boniface d16634f07f Add CIF checking logic 2024-03-28 22:47:08 +00:00
Fred Boniface e76956bea2 Add notes for next steps 2024-03-27 23:38:39 +00:00
Fred Boniface 46c82eefa6 Add logic to avoid timetable updates too early 2024-03-27 23:35:03 +00:00
Fred Boniface 848f4bf7bd Add dayString calculation for CIF updates 2024-03-27 23:08:51 +00:00
Fred Boniface 592675a24b Complete CORPUS Update implementation and begin CIF update implementation 2024-03-26 22:33:11 +00:00
Fred Boniface c144a98fd1 Add update time check function 2024-03-26 16:32:00 +00:00
Fred Boniface 74813e2fb0 Implement stations logic 2024-03-26 16:04:42 +00:00
Fred Boniface f4a21ebe86 Integrate corpus fetch/parse logic 2024-03-26 15:40:15 +00:00
Fred Boniface cf633eeb8f Move ticker to new module 2024-03-26 11:44:19 +00:00
Fred Boniface e204fb04a4 Adjust the program cleanup 2024-03-25 14:03:19 +00:00
Fred Boniface d81cade73b Refactor code to allow for centralised configuration fetching and the running of background ticker 2024-03-25 12:21:59 +00:00
Fred Boniface b0cbab3e34 Change module name:
- Update go target version
  - Change imports to reflect new module name
  - Update repo URL for new module name
2024-03-25 11:26:07 +00:00
Fred Boniface 57244c6971 Migrade from ioutil. to os for ReadFile 2024-03-25 10:51:29 +00:00
Fred Boniface 73c5509e9f Implement new config_loader 2024-03-25 00:42:36 +00:00
Fred Boniface 4badddc9e6 Update Markdown format 2024-03-23 11:58:20 +00:00
Fred Boniface a8258536e9 Adjust configuration table 2024-03-23 11:51:26 +00:00
Fred Boniface 77fd8c4c2d Update logged references to `mq-client` and updated version number. 2024-03-23 11:34:52 +00:00
Fred Boniface eef53ea2b6 Update readme 2024-03-23 11:26:24 +00:00
Fred Boniface fb41485bc5 mongo/readpref not used in this file 2023-08-15 11:13:09 +01:00
Fred Boniface 01c14793b0 Database package not used in this file 2023-08-15 11:12:09 +01:00
Fred Boniface 18c30719e9 Remove the `saveToFile` function which was used during development 2023-08-15 11:11:43 +01:00
Fred Boniface b42b353c4f Fix destination collection 2023-07-28 21:19:38 +01:00
Fred Boniface 4dd161d0de Configure DBClient to use JSON tags 2023-07-27 21:11:08 +01:00
Fred Boniface 0f9a99edfd Add 'UK' operator (Unknown) in case of mussing operator 2023-07-27 20:58:07 +01:00
Fred Boniface 06f59fcfea Add 'Create' & 'Delete' database actions 2023-07-27 20:51:35 +01:00
Fred Boniface 5005030099 Complete and test Dockerfile 2023-07-25 12:49:06 +01:00
Fred Boniface 0aa77f2a21 Add support for 'Update' transaction type 2023-07-22 09:01:45 +01:00
Fred Boniface 5cbc6aef9b Adjust actions actions 2023-07-21 21:20:44 +01:00
Fred Boniface d557241107 Improve logging to determine if 'operator' is frequent enough not to mess up PIS lookup for VSTP services 2023-07-21 14:40:24 +01:00
Fred Boniface 18dc87754b Message parsing now complete but not optimised 2023-07-21 12:12:16 +01:00
Fred Boniface 9fa0f7d61f Organize cleanup code 2023-07-21 10:02:55 +01:00
Fred Boniface 849f23b507 Fix parsing errors where 'CIF_speed' is not defined 2023-07-21 09:36:23 +01:00
Fred Boniface 9526f7da9d Parser now almost complete 2023-07-20 21:48:43 +01:00
Fred Boniface 362779f7de Adjust formatting functions 2023-07-20 12:01:20 +01:00
Fred Boniface 5ee737f3f8 Further work on the unmarshaling process 2023-07-20 11:07:39 +01:00
Fred Boniface a84b9fc46a Add parsing for the VSTP messages 2023-07-19 21:31:00 +01:00
Fred Boniface f02e3ce644 Tidy temporary message log format 2023-07-19 14:22:29 +01:00
Fred Boniface 3266b147ee Client working and logging to terminal 2023-07-19 13:22:55 +01:00
Fred Boniface efcce8a632 Partial success 2023-07-19 01:18:55 +01:00
Fred Boniface 99756041bc Run go mod tidy 2023-07-19 01:01:30 +01:00
Fred Boniface b64fc99865 Rename listen to vstp 2023-07-18 14:10:31 +01:00
Fred Boniface 857f1ef06c Reimplement logging 2023-07-18 14:09:28 +01:00
Fred Boniface b87bc82440 Code Refactoring 2023-07-18 00:25:13 +01:00
Fred Boniface a6253f6cf5 Testing 2023-07-17 12:48:36 +01:00
Fred Boniface 85e37af28d Try importing types 2023-07-17 12:23:32 +01:00
Fred Boniface 3e2fa3b7de package naming 2023-07-15 23:10:09 +01:00
Fred Boniface 11f33def8f Further changes 2023-07-15 23:06:32 +01:00
Fred Boniface 4989f11273 Add NR Login envars 2023-07-15 23:04:45 +01:00
Fred Boniface 5fda3411b3 Further organisation of code 2023-07-15 23:03:44 +01:00
Fred Boniface 0b134ee666 Organisation of code 2023-07-15 23:00:48 +01:00