Athanasius
0dd6c8b196
Merge branch 'develop' into beta
2022-02-15 11:58:12 +00:00
Athanasius
ad9503d37b
scripts/testing: journal Location samples
2022-02-15 11:57:30 +00:00
Athanasius
2b653733d2
scripts/apache-log-rate: Bug fix & misc.
...
* Comparison had an off-by one, accidentally including "second before"
still.
* Print out compiled regex for matching apache lines, in case of custom
request text usage.
* Output the timestamp at the end of the largest window. This enables
easy checking of logs for possible anomalies around then.
* Comment about how apache logs *aren't* actually strictly in
time-order, but we assume they are.
2022-02-10 19:25:53 +00:00
Athanasius
0414b18f97
scripts/apache-log-rate: Use a deque
instead of a list
2022-02-10 16:26:25 +00:00
Athanasius
42129a50ce
scripts/apache-log-rate: Attempt to speed up with an array slice
2022-02-10 16:17:49 +00:00
Athanasius
cb1991739e
scripts/apache-log-rate: Determine highest message rate from apache logs
2022-02-10 15:46:47 +00:00
Athanasius
e320503f2d
Merge branch 'develop' into beta
2022-01-31 10:36:54 +00:00
Athanasius
a619a2a2ec
scripts/testing: Correct example codexentry $schemaRef
2022-01-31 10:34:26 +00:00
Athanasius
13287083c1
scripts/testing: Actual 'EDDN message' version of codexentry.json
2022-01-31 10:24:18 +00:00
Athanasius
245a111248
scripts/testing: Example codexentry file
2022-01-31 10:23:30 +00:00
Athanasius
3dc00500f3
Merge branch 'develop' into beta
2022-01-28 17:31:51 +00:00
Athanasius
1678c467d7
scripts/testing: Various additional inputs to test-sender
2022-01-28 15:14:00 +00:00
Athanasius
555672d555
Merge branch 'develop'
2022-01-18 14:15:15 +00:00
Athanasius
79b78ac831
scripts/eddn-report: Quieten some EDMC errors
...
They're noted in <https://github.com/EDCD/EDMarketConnector/issues/1403 >
2022-01-18 11:21:21 +00:00
Athanasius
a1e330be2c
scripts/eddn-report: EVA is abandoned, so ignore
2022-01-17 09:18:40 +00:00
Athanasius
ea4e0b1d4d
scripts/eddn-report: Current G19s version only / EVA is abandoned
2022-01-16 09:33:45 +00:00
Athanasius
e69f7a938a
scripts/eddn-report: Add Moonlight/1.3.4/Scan case
2022-01-15 14:09:47 +00:00
Athanasius
cc5ae32227
scripts/eddn-report: Correct EliteLogAgent comment
2022-01-12 15:43:59 +00:00
Athanasius
e93c04bb21
scripts/eddn-report: EliteLogAgent latest is 2.0.0.660
...
This allows for ignoring the ancient 0.9.2.412 that showed some errors
yesterday.
2022-01-12 09:40:47 +00:00
Athanasius
00071ba7e9
scripts/testing: Remove per-scenario scripts
...
The required functionality is now all in `test-sender.py`.
2022-01-11 16:43:30 +00:00
Athanasius
ad8fc57df3
scripts/test-sender: Support --gzip=bad
2022-01-11 16:41:25 +00:00
Athanasius
7537a300c0
scripts/test-sender: Support for valid gzip compression
2022-01-11 16:31:05 +00:00
Athanasius
fb83aae240
scripts/test-sender: Support for requesting good or bad form encoding
2022-01-11 16:27:20 +00:00
Athanasius
ecd3afbbbc
scripts/test-sender.py: Allow 'beta' and 'dev' --url aliases
...
Also explicitly states the URL and input file it uses.
2022-01-11 16:12:21 +00:00
Athanasius
02b2ea6e18
scripts/test-sender.py: Allow for changing target URL
2022-01-11 16:08:59 +00:00
Athanasius
6799a7fae9
scripts/testing: Target dev:4432, not beta:4431
...
In the long-term these all need to support a CL arg to select the
target.
2022-01-11 15:36:53 +00:00
Athanasius
a1d347aec5
scripts/testing: Add general "uses gzip" script
2022-01-11 15:35:24 +00:00
Athanasius
759b14c844
scripts/testing: Add "valid JSON looks like form-encoded" file
...
Ref: https://github.com/EDCD/EDDN/issues/165
2022-01-11 14:40:16 +00:00
Athanasius
495e27861e
scripts: Make it obvious that test-bad-gzip.py doesn't work
2022-01-10 15:53:44 +00:00
Athanasius
a8098f45b9
Move eddn-report-log-errors into scripts/
2022-01-10 09:42:17 +00:00
Athanasius
ddb9480ee6
Gateway/testscripts: Add a small README
2022-01-09 16:27:08 +00:00
Athanasius
2a8eb8d021
Gateway: Add test scripts and supporting files
...
These are what I was using on my home server to test the prior code
changes to how the Gateway code reports errors.
Ultimately these should become a part of proper tests, but for now
they're at least in the repository for anyone to utilise.
2022-01-09 16:21:23 +00:00
Athanasius
080136127e
scripts/eddn-restore-db-data: Handles if file is .gz or not
2021-07-14 09:45:46 +00:00
Athanasius
88e199e94e
scripts/mysql dumps: Add data dump script
2021-07-10 12:26:44 +00:00
Athanasius
f02efdd98b
scripts/eddn-dump-db-schema: For dumping the current DB schema
2021-07-10 11:22:00 +00:00
Athanasius
0e3ef098ab
systemd/start-eddn-service: Now replacing scripts/run-from-source.sh
...
* Removed scripts/run-from-source.sh as it's now redundant.
* Added `--background` optional argument, only for when using
`--from-source` to start-eddn-service. The script will leave the
service in the foreground, no output redirection, without it.
It tells you the PID of the process when it's backgrounded, as well as
placing it in the appropriate .pid file.
2021-07-06 11:17:52 +00:00
Athanasius
3116927b12
run-from-source: Moved into new ./scripts/ directory
2021-07-06 10:04:55 +00:00