Commit Graph
95 Commits
Author SHA1 Message Date
Ruakij 6e080907d1 Merge branch 'code-smell_handling' into dev 2021-11-29 09:58:04 +01:00
Ruakij 91c3aca9e2 Add function to get handshakeStage from keyInfo 2021-11-29 09:57:33 +01:00
Ruakij 31ab10c3e1 Fix wrong var-name 2021-11-29 09:57:05 +01:00
Ruakij 8ff7211f0f Revert "Extract packetType handling in own function"
This reverts commit 227ba127f8.
2021-11-29 09:50:14 +01:00
Ruakij 2ae85ababb Extract keyInfo reading to helper-file 2021-11-29 09:37:28 +01:00
Ruakij 227ba127f8 Extract packetType handling in own function 2021-11-29 09:36:21 +01:00
Ruakij 8417de5756 Extract checks with if-statements 2021-11-29 09:35:17 +01:00
Ruakij 54eadf3bc3 Fixed Regex codesmells 2021-11-29 09:24:18 +01:00
Ruakij e39ebaac23 Fixed Regex codesmell 2021-11-29 09:23:08 +01:00
Ruakij 54d627d469 Fix typo 2021-11-29 09:20:38 +01:00
Ruakij ca3c37be0f Activating strict-mode 2021-11-29 09:16:49 +01:00
Ruakij 96b52e63a0 Add exit-handler with error-detection 2021-11-29 09:16:39 +01:00
Ruakij 3c5e941cba Creating & Attaching streams / Error-logger 2021-11-29 09:15:49 +01:00
Ruakij a468d7a57b Start tcpdump process 2021-11-29 09:14:50 +01:00
Ruakij 4ad5eba7e0 Change tag-srtting to recursive by field
This will properly set e.g. arrays
2021-11-26 21:03:11 +01:00
Ruakij 2646c9787e Changed key-checking to value-checking
This includes e.g. gettings, originally not included in keys
2021-11-26 21:00:15 +01:00
Ruakij 873f00b21b Remove deleting point and rename point to something useable 2021-11-26 19:17:43 +01:00
Ruakij 271554719e Remove wrong hint 2021-11-26 19:17:24 +01:00
Ruakij e18de63d7c Revert "Move catch into then-onRejected to fix resolving then anyways."
This reverts commit 2356040572.
2021-11-26 19:14:01 +01:00
Ruakij 2356040572 Move catch into then-onRejected to fix resolving then anyways. 2021-11-26 19:07:27 +01:00
Ruakij b0bbf0c71a Fixed wrong option-subname 2021-11-26 19:06:55 +01:00
Ruakij 37b78e7373 Fixed wrong logging-mode used 2021-11-26 18:54:09 +01:00
Ruakij c5e1bb4c64 Added info-log "ok" 2021-11-26 18:37:55 +01:00
Ruakij 3c29ed2000 Implemented CheckWriteApi by writing and then deleting a TestPoint 2021-11-26 18:37:34 +01:00
Ruakij ddf39b9433 Fixed require 2021-11-26 18:36:50 +01:00
Ruakij 3a927688d0 Changed fatal to error and added error handling to promise catch in main 2021-11-26 18:36:35 +01:00
Ruakij c51cfc1b14 Fixed missing require 2021-11-26 18:35:51 +01:00
Ruakij e1b2a7e016 Added influx checkBucket 2021-11-26 18:03:14 +01:00
Ruakij fc5900b0ba Added influx checkHealth 2021-11-26 17:55:51 +01:00
Ruakij 354ca32a61 Merge branch 'dev' into f_influx-checks 2021-11-26 17:47:59 +01:00
Ruakij d10e9bb2c6 Create influx-client 2021-11-26 17:43:42 +01:00
Ruakij 44cd3288cf Fixed stram not being in object-mode 2021-11-26 17:33:19 +01:00
Ruakij 3af4bb7cc6 Fixed wrong push 2021-11-26 17:33:07 +01:00
Ruakij 2a662e0bd1 Changed constructor to take influxDb 2021-11-26 17:32:31 +01:00
Ruakij d7a9530b68 Cleaned up Promise 2021-11-26 17:31:31 +01:00
Ruakij 7de2250983 Added client-apis 2021-11-26 17:30:46 +01:00
Ruakij bb3d843895 Fixed wrong joining 2021-11-25 18:42:45 +01:00
Ruakij 9472ed9198 Fix wrong usage of join()
Default splitter is ',' but we want nothing
2021-11-25 18:42:26 +01:00
Ruakij dcd0ce8111 Added lib string-argv to extract bin and args from cmd 2021-11-25 18:32:43 +01:00
Ruakij 1a9ced0bb8 Changed exec to only wrap spawn 2021-11-25 18:32:07 +01:00
Ruakij d77e3f8844 Fixed naming 2021-11-25 18:30:50 +01:00
Ruakij e715cc1cac Removed unused env-vars for now 2021-11-25 13:59:45 +01:00
Ruakij cf1b300f6a Changed documentation to remarks section 2021-11-25 03:14:24 +01:00
Ruakij 450f162cda Implemented InfluxPointWriter for writing into influx with stream 2021-11-25 03:13:05 +01:00
Ruakij 7ebcf573b9 Implemented stream to transform packets to datapoints 2021-11-25 02:54:43 +01:00
Ruakij 38985ea9e2 Remove debug-logging for now 2021-11-25 01:48:41 +01:00
Ruakij 1976838d8a Remove unecessary properties 2021-11-25 01:48:07 +01:00
Ruakij a1ce7a848b Replaced MoreData and isRetry with flags 2021-11-25 01:37:35 +01:00
Ruakij 21e4ff1a66 Removing frameCheckSequence from packets 2021-11-25 01:10:49 +01:00
Ruakij 25297ed4d9 Fixed data-regex 2021-11-25 01:10:34 +01:00
Ruakij 68541b1191 Added check for NoData-Packet 2021-11-25 01:09:25 +01:00
Ruakij 7bc5a3530c Made keyInfo vars const 2021-11-25 00:21:25 +01:00
Ruakij d0ee1a7044 Fixed gtter payloadSize 2021-11-25 00:19:53 +01:00
Ruakij 57394882cc Implemented reading keyExchangeData and determining handshake-number 2021-11-25 00:19:31 +01:00
Ruakij b41d728ba9 Fixed missing export 2021-11-25 00:18:37 +01:00
Ruakij d6135a02e9 Fixed regex 2021-11-25 00:18:21 +01:00
Ruakij ffe14e3f53 Added hexConverter helper-module 2021-11-24 23:22:09 +01:00
Ruakij 09bea81058 Returning packet not to loose information 2021-11-24 23:13:35 +01:00
Ruakij 66c0fdfe12 Fixed Object.assign 2021-11-24 23:13:04 +01:00
Ruakij b32b5cbed7 Changed regex to use readbehind/ahead instead of groups 2021-11-24 23:12:47 +01:00
Ruakij e86b5fca9a Added durationMicros 2021-11-24 22:35:59 +01:00
Ruakij d2178f3b73 Implemented PacketType Disassociation 2021-11-24 22:35:07 +01:00
Ruakij fe5dec7860 Implemented PacketType AssociationRequest & Response 2021-11-24 22:29:41 +01:00
Ruakij 0d472e8cb3 Implemented PacketType Authentication 2021-11-24 22:27:22 +01:00
Ruakij bba5da2599 Moved packet-creation outside for all cases 2021-11-24 22:25:10 +01:00
Ruakij c2210dfb59 Added isRetry field 2021-11-24 21:11:19 +01:00
Ruakij 3c3ab18410 Revert "Added PacketType ContentionFreePeriod"
This reverts commit 333a514363.
2021-11-24 21:01:17 +01:00
Ruakij aa9d5431f8 Changed payloadSize to payloadData with payloadSize getter 2021-11-24 20:44:04 +01:00
Ruakij 62b55b94f1 Added missing payloadSize to Packet 2021-11-24 20:42:33 +01:00
Ruakij 025edf8465 Implemented getting payloadData and calculating to bytes 2021-11-24 20:42:10 +01:00
Ruakij 59e7188543 Changed most checks using Optional chaining and Nullish coalescing operator 2021-11-24 20:39:20 +01:00
Ruakij 333a514363 Added PacketType ContentionFreePeriod 2021-11-24 20:35:44 +01:00
Ruakij d714b342ed Removed debug read statement 2021-11-24 20:35:10 +01:00
Ruakij 1aae9d5e71 Added library luxon 2021-11-24 20:01:33 +01:00
Ruakij 6bc248b667 First implementation of PacketStreamFactory 2021-11-24 20:01:03 +01:00
Ruakij 0cbbecbd2c Added typeMoreData 2021-11-24 20:00:28 +01:00
Ruakij 368b6585ba Now using internal buffer-system 2021-11-24 20:00:05 +01:00
Ruakij 4f1463eb4f Fixed args being wrong way around 2021-11-24 19:40:46 +01:00
Ruakij d11aac5599 Implemented RegexBlockStream 2021-11-24 15:35:29 +01:00
Ruakij fa8d630283 Change exec to just return process and streams 2021-11-24 15:35:05 +01:00
Ruakij 9c28ed53e3 Added exec-module 2021-11-24 13:11:01 +01:00
Ruakij cc8b106157 Added logger-setup-module 2021-11-24 13:10:41 +01:00
Ruakij 8ee189f52b Fixed wrong capitalisation 2021-11-24 01:16:37 +01:00
Ruakij 79efcc3951 Fixed missing import 2021-11-24 01:12:13 +01:00
Ruakij 7dd131d6b5 Implemented dto-obj Packet 2021-11-24 01:11:42 +01:00
Ruakij 1b6721d242 Implemented env defaults and checking 2021-11-24 01:07:29 +01:00
Ruakij d13df7b03d Add comment for logger 2021-11-24 01:06:44 +01:00
Ruakij 34c73c82c8 Gave logger name 2021-11-24 01:06:29 +01:00
Ruakij 93f78aafe0 Changed || to ?? to detect undefined env 2021-11-24 01:06:09 +01:00
Ruakij 184432f642 Added helper for env-vars 2021-11-24 01:03:40 +01:00
Ruakij 7562ff2268 Added module log4js 2021-11-23 17:05:43 +01:00
Ruakij 20ed3d0928 Docker setup 2021-11-23 15:15:10 +01:00
Ruakij 6ccd02af6c Added start-script 2021-11-23 15:14:55 +01:00
Ruakij f862c362fe npm init 2021-11-23 15:09:53 +01:00
Ruakij 2a0c1e5a3b Initial commit 2021-11-17 19:10:48 +01:00