Commit Graph

148 Commits

Author SHA1 Message Date
Fred Boniface a2c5bd49ff Improve CIF Indexes 2024-04-23 20:10:04 +01:00
Fred Boniface 652d900618 Fix CIF Indexes
Go Test / test (push) Successful in 31s Details
2024-04-23 16:54:29 +01:00
Fred Boniface 16bff981cc Add logging for failed CIF index creation
Go Test / test (push) Successful in 31s Details
2024-04-23 15:23:59 +01:00
Fred Boniface 9e65b66474 Ammend CIF Indexes
Go Test / test (push) Successful in 34s Details
2024-04-23 15:20:49 +01:00
Fred Boniface 728e8f89e2 Add VSTP index
Go Test / test (push) Successful in 41s Details
2024-04-23 15:13:16 +01:00
Fred Boniface 8e325339bf Fix typing on generateServiceDetail function 2024-04-23 15:11:51 +01:00
Fred Boniface e0a5bd86d7 Remove hasGuard option 2024-04-23 15:10:44 +01:00
Fred Boniface 73fd0063eb Note adjustemnt 2024-04-23 15:10:20 +01:00
Fred Boniface 6cfddee1f3 Add notes
Go Test / test (push) Successful in 26s Details
2024-04-23 00:32:03 +01:00
Fred Boniface fe059abd6c Adjust indexes on CIF collection
Go Test / test (push) Successful in 24s Details
2024-04-23 00:31:03 +01:00
Fred Boniface 7bd9187e64 Add index creation
Go Test / test (push) Successful in 25s Details
2024-04-23 00:27:33 +01:00
Fred Boniface fd08fe3c4c Update Dependencies
Go Test / test (push) Successful in 59s Details
2024-04-22 12:30:31 +01:00
Fred Boniface 60ed218f07 Update CIF Conversion function to new ServiceDetail subdoc.
Go Test / test (push) Successful in 2m24s Details
2024-04-22 10:58:00 +01:00
Fred Boniface 74e9b1b344 Fix daily download logic to fetch previous days update, rather than todays which is not the correct file.
Go Test / test (push) Successful in 33s Details
2024-04-20 08:50:08 +01:00
Fred Boniface db3d6030d5 Add debug logging to metadata.go
Go Test / test (push) Successful in 48s Details
2024-04-20 08:44:14 +01:00
Fred Boniface efd44da3ab Add check for downloading old data. Prevent operating on old download
Go Test / test (push) Successful in 1m35s Details
2024-04-19 20:38:11 +01:00
Fred Boniface eefd9138de Fix equation order for Cif Update duration
Go Test / test (push) Successful in 43s Details
2024-04-17 09:40:15 +01:00
Fred Boniface e890456390 Update owlboard/go-types
Go Test / test (push) Successful in 1m50s Details
2024-04-16 21:31:33 +01:00
Fred Boniface ff98adf1a6 Prevent running as root user
Go Test / test (push) Successful in 1m5s Details
2024-04-16 19:20:19 +01:00
Fred Boniface 9ef9429511 Add duration log to CIF Update
Go Test / test (push) Successful in 39s Details
2024-04-16 09:19:12 +01:00
Fred Boniface 790d293bc4 Update STOMP disconnection
Go Test / test (push) Successful in 2m4s Details
2024-04-15 20:37:04 +01:00
Fred Boniface ba8e4e4c72 Update VSTP package to use processing from CIF package 2024-04-15 20:37:04 +01:00
Fred Boniface edbfbac23c Include details about logging configuration
Go Test / test (push) Failing after 1m13s Details
2024-04-14 22:59:58 +01:00
Fred Boniface c86e601a62 Update dependencies
Go Test / test (push) Failing after 2m10s Details
2024-04-14 22:51:31 +01:00
Fred Boniface 3d730054c0 Adjust log levels
Go Test / test (push) Successful in 1m4s Details
2024-04-14 22:17:44 +01:00
Fred Boniface be6300829d Reogranise functions into appropriate files 2024-04-14 22:17:31 +01:00
Fred Boniface 421b68f936 Improve timezone handling 2024-04-14 22:17:01 +01:00
Fred Boniface 76f206441a Tidy logging in package cif and dbAccess/cif.go 2024-04-14 21:28:17 +01:00
Fred Boniface c9f894bbe6 Add RemoveOutdatedServices 2024-04-14 21:21:35 +01:00
Fred Boniface f97bea78eb Added multiple attempts with backoff delay to datebase connection 2024-04-14 21:21:13 +01:00
Fred Boniface 86da330b91 Tidied logging statements 2024-04-14 21:20:17 +01:00
Fred Boniface c8709d67db Log tidying 2024-04-14 20:07:56 +01:00
Fred Boniface 992005cc97 Optimise start-up and shut-down 2024-04-14 20:00:34 +01:00
Fred Boniface 91fd38104c Reorganise logging 2024-04-14 19:03:13 +01:00
Fred Boniface 77dc11a658 Add additional logging to identify why CIF updates were sometimes failing
Go Test / test (push) Successful in 46s Details
2024-04-13 21:45:24 +01:00
Fred Boniface 16fa1c5354 Adjust how performance logging is managed 2024-04-13 21:45:05 +01:00
Fred Boniface dc958ac717 Set parsed to nil before exiting function 2024-04-13 21:44:53 +01:00
Fred Boniface 6ec8cd8895 Complete CIF Metadata parsing logic
Go Test / test (push) Successful in 1m3s Details
2024-04-12 20:43:03 +01:00
Fred Boniface 94f880bcde Add comment description to cif/types.go
Go Test / test (push) Successful in 30s Details
2024-04-11 21:06:23 +01:00
Fred Boniface 251a190558 Set unordered for bulk CIF deletions from DB & reorganise dbAccess module. 2024-04-11 21:06:10 +01:00
Fred Boniface 76ae25fab6 Add LastUpdateType to CIF Metadata
Go Test / test (push) Successful in 37s Details
2024-04-11 20:59:02 +01:00
Fred Boniface 4459d4d316 Update `package corpus` to stream data to the parse function.
Go Test / test (push) Successful in 1m42s Details
2024-04-11 20:50:36 +01:00
Fred Boniface b2f82b0250 Optimise batch size and stream handling 2024-04-11 20:50:13 +01:00
Fred Boniface fb510e1408 Add logging for unknown CIF data types
Go Test / test (push) Successful in 23s Details
2024-04-10 23:05:19 +01:00
Fred Boniface 751b67e61e Remove unused functions
Go Test / test (push) Successful in 25s Details
2024-04-10 22:59:13 +01:00
Fred Boniface fea7a5b831 Disable parsing of JSONAssociations as they are not currently used within OwlBoard
Go Test / test (push) Successful in 26s Details
2024-04-10 21:47:08 +01:00
Fred Boniface 3883031e04 Increase use of pointers in CORPUS package
Go Test / test (push) Successful in 1m4s Details
2024-04-10 20:56:13 +01:00
Fred Boniface 39405e6d6a Add comments 2024-04-10 20:46:20 +01:00
Fred Boniface f903219276 Streaming data into the CIF Parse function reduces memory down to 4.1GB - also looking to stream the parsed data directly into the database if feasable. 2024-04-10 20:19:16 +01:00
Fred Boniface 7acae49812 Re-implement processParsedCif() to reduce memory use by 10%. Further reductions are neccessary
Go Test / test (push) Successful in 31s Details
2024-04-09 22:39:35 +01:00