Commit Graph

  • 5b110fa554 Add helper scripts for running from source, and document them. Athanasius 2022-03-18 11:56:56 +00:00
  • f8872c6dfa Move main scripts back into src/eddn/ Athanasius 2022-03-18 11:41:51 +00:00
  • 5f64fb1c33 docs: General update for switching to wheel for install Athanasius 2022-03-14 17:03:30 +00:00
  • c6e5820683 docs/Running: Assume python3 for virtualenv Athanasius 2022-03-14 16:53:18 +00:00
  • f5879fbce7 Rename main scripts to have "EDDN_" prefix Athanasius 2022-03-14 16:17:22 +00:00
  • 8345675b89 All change yet again: We're now building and installing a wheel, not an egg Athanasius 2022-03-14 16:05:09 +00:00
  • cb5766a0eb setup.py: Remove comment about pinning module version, as we're not Athanasius 2022-03-14 14:55:16 +00:00
  • 9a1cc7b141 Finally got the correct setup.py configuration for source of egg running Athanasius 2022-03-14 14:51:11 +00:00
  • 39058653cb More file re-arrangement, concentrating on running from source Athanasius 2022-03-14 14:21:22 +00:00
  • c402617760 Initial re-arrangement of files Athanasius 2022-03-14 13:12:58 +00:00
  • 0e8e22a146 contrib: apache-eddn.conf: Attempt to correct for new "no direct access" Athanasius 2022-03-13 16:56:21 +00:00
  • bd3fdce53b monitor: Make example eddn-config.js fit the usual live setup Athanasius 2022-03-13 16:46:11 +00:00
  • 0916d0c440 monitor/schemas.html: Actually, those bits are schema URLs, so revert change Athanasius 2022-03-13 16:41:04 +00:00
  • 11ac577e34 monitor/schemas.html: Now supports eddn-config.js Athanasius 2022-03-13 16:37:30 +00:00
  • 6d4d449bb7 setup.py: Backup/restore monitor eddn-config.js if present Athanasius 2022-03-13 16:33:56 +00:00
  • d953153d0b docs/Running: Update for monitor eddn-config.json Athanasius 2022-03-13 16:07:08 +00:00
  • 6e88a638a5 monitor: Move eddn-config.js to only an example, and make it such Athanasius 2022-03-13 15:57:41 +00:00
  • 063322df4f monitor: Move configuration into separate file Athanasius 2022-03-13 15:55:03 +00:00
  • 8c62afb869 Make per-component logging more obvious Athanasius 2022-03-13 15:42:53 +00:00
  • 52497dfc38 Settings: Default Relay and Monitor to localhost listen. Athanasius 2022-03-13 15:34:54 +00:00
  • d0a98fe1b7 Relay: Allow for running without TLS Athanasius 2022-03-13 15:34:09 +00:00
  • e8fa824b9d Monitor: Change to be able to run TLS-less Athanasius 2022-03-13 13:59:15 +00:00
  • 1166b814b5 TLS: Optionally use TLS if you set non-empty CERT_FILE and KEY_FILE Athanasius 2022-03-13 13:46:37 +00:00
  • 80cae12a4c Gateway: Use a dict for kwargs to app.run() Athanasius 2022-03-13 13:32:13 +00:00
  • 82ad3d54c7 Gateway: Put remote_addr in [], as it could be multiple, comma-separated Athanasius 2022-03-12 19:02:34 +00:00
  • b137d8c234 EDDNWSGIHandler: X-Forwarded-For can be a comma-separated list Athanasius 2022-03-12 19:00:07 +00:00
  • c415e7c52a Move EDDNWSGIHandler into its own file Athanasius 2022-03-12 17:12:17 +00:00
  • 4d2512750a Gateway: Fixed logging to be consistent and use client IP Athanasius 2022-03-12 17:06:37 +00:00
  • d7e4425b1d Update docs and apache contrib file for 'no more TLS' Athanasius 2022-03-12 15:25:55 +00:00
  • cd9c658286 Gateway: Don't use TLS cert in app setup Athanasius 2022-03-12 15:14:48 +00:00
  • f6dd3f21bc Settings: Remove {CERT,KEY}_FILE as first step to no more TLS Athanasius 2022-03-12 15:11:15 +00:00
  • 6b68a7c855 scripts/check-schemas-load: Standardise per-schema output Athanasius 2022-03-12 15:07:42 +00:00
  • c6e47813bb scripts/check-schemas-load: black-formatted, and be verbose Athanasius 2022-03-12 15:05:10 +00:00
  • 7523d6dc17 setup.py: Turn isort off/on around import setup_env.py Athanasius 2022-03-12 14:58:50 +00:00
  • 32c4e83ff9 .flake8: Some tuning for EDDN specifically Athanasius 2022-03-12 14:50:39 +00:00
  • e74bc0b486 Gateway: Remove extraneous noqa's Athanasius 2022-03-12 14:25:22 +00:00
  • d059905f22 .python-version: Specify only 3.9 in general, not specific patch Athanasius 2022-03-12 14:22:17 +00:00
  • ef909dc4d4 requirements-dev: Add "black" Athanasius 2022-03-12 14:21:24 +00:00
  • b838777d32 core/StatsCollector.py: black pass Athanasius 2022-03-12 14:17:35 +00:00
  • 47095d7615 core/Validator: black pass, and remove extraneous , in constants Athanasius 2022-03-12 14:16:37 +00:00
  • 32fb1b00ab core/DuplicateMessages: black / quotes pass Athanasius 2022-03-12 14:14:31 +00:00
  • 20d784ae09 setup.py: black and otherwise s/'/"/g pass Athanasius 2022-03-12 14:10:41 +00:00
  • 3cf7b765fb pyproject.toml: Exclude everything but actual core EDDN source Athanasius 2022-03-12 14:07:42 +00:00
  • 8da69a2101 conf/Settings: s/'/"/g; But not with black Athanasius 2022-03-12 13:48:57 +00:00
  • 0e42fa71ea conf/__init__.py: docstring Athanasius 2022-03-12 13:46:53 +00:00
  • 3a9246a464 Relay: Re-format with black Athanasius 2022-03-12 13:45:37 +00:00
  • cf01daeaf2 Monitor: Re-format with black Athanasius 2022-03-12 13:43:44 +00:00
  • e6ea9cb7a2 Bouncer: Re-format with black. Athanasius 2022-03-12 13:41:27 +00:00
  • 3ad3262542 pyproject.toml: Add file so as to configure black line-length Athanasius 2022-03-12 13:01:33 +00:00
  • 3683890ed0 Gateway: Format with black Athanasius 2022-03-12 12:59:16 +00:00
  • a08fc09586 Gateway: Use "" for strings throughout Athanasius 2022-03-12 12:52:48 +00:00
  • 1e39ea37af src/eddn/core/__init__.py: docstring Athanasius 2022-03-12 12:46:16 +00:00
  • e6911d2c04 Bouncer: Use "" for strings Athanasius 2022-03-12 12:46:04 +00:00
  • 1b431d5dcd conf/Version: Bump to 3.0 Athanasius 2022-03-12 12:39:44 +00:00
  • 0a295d4540 conf/Settings: flake8 and mypy pass Athanasius 2022-03-12 12:39:11 +00:00
  • a36fe8ddd6 Relay: flake8 and mypy pass Athanasius 2022-03-12 12:37:35 +00:00
  • 8a2d76849b Monitor: flake8 and mypy pass Athanasius 2022-03-12 12:30:13 +00:00
  • 6db29bdb54 src/eddn/__init__.py: docstring Athanasius 2022-03-12 12:28:03 +00:00
  • 71f86b6a4e Gateway: flake8 and mypy pass Athanasius 2022-03-12 12:27:11 +00:00
  • 9867d8dc29 Bouncer: flake8 pass Athanasius 2022-03-12 12:12:49 +00:00
  • d4d4436316 setup.py: flake8 pass Athanasius 2022-03-12 12:10:03 +00:00
  • 652275159d Relay: Tweak for zmq changes Athanasius 2022-03-12 11:59:04 +00:00
  • f34bc9559c Monitor: Tweak for zmq changes Athanasius 2022-03-12 11:58:48 +00:00
  • cbf39735e5 Settings: Rename loadFrom -> load_from Athanasius 2022-03-12 11:15:15 +00:00
  • 9920bcc222 Gateway: zmq's PUB is *only* in the main module now Athanasius 2022-03-12 11:14:27 +00:00
  • d4db13cbd0 Settings: Rename loadConfig -> load_config Athanasius 2022-03-12 11:07:28 +00:00
  • 45eb41cad6 Gateway: Remove "remember to do the python3 rebase" line Athanasius 2022-03-12 11:06:47 +00:00
  • eddc578f20 'Guard' non-code to ensure this gets updated for bottle size limit etc Athanasius 2022-01-07 13:09:29 +00:00
  • 31c293d14c setup.py: Updated to Python3 / pathlib paradigms Athanasius 2021-11-08 14:07:55 +00:00
  • e0eefb71dd GitHub: PR Checks: run script via python Athanasius 2021-11-08 13:38:03 +00:00
  • 5667fd5507 GitHub: PR checks: Run schema check inside renamed linting job Athanasius 2021-11-08 13:35:52 +00:00
  • d4d31edf19 GitHub: pr-checks: Run scheck-schemas-load script Athanasius 2021-11-08 13:33:37 +00:00
  • 5740893607 Script to check that schema files are valid JSON Athanasius 2021-11-08 13:30:41 +00:00
  • 4dc1688d00 .pydevproject; Update to cite Python 3.9 Athanasius 2021-11-08 13:19:45 +00:00
  • 861bc05c14 coveragerv: Exclude venv-3.9 as well Athanasius 2021-11-08 13:18:35 +00:00
  • 7eb55898db python: Use version 3.9.8 Athanasius 2021-11-07 15:55:58 +00:00
  • d9d3bc0de4 github: Add pr-checks workflow Athanasius 2021-11-07 15:44:11 +00:00
  • d65b715222 github: Add dependabot config Athanasius 2021-11-07 15:42:49 +00:00
  • ef84dc0579 flake8: minor cleanups Athanasius 2021-11-07 15:41:26 +00:00
  • 5bc06ccdc5 Relay: As we're not sending topic from Gateway, take out the sub code Athanasius 2021-11-07 15:23:48 +00:00
  • be254e7594 Gateway -> Monitor now working Athanasius 2021-11-07 15:16:14 +00:00
  • 8bbf4f5eb8 Monitor: python3 tweaks Athanasius 2021-11-04 18:26:44 +00:00
  • 7328a4183b Monitor: *Maybe* working now? Athanasius 2021-11-04 18:19:01 +00:00
  • 14cd5d1b35 python3: Gateway now working Athanasius 2021-11-04 18:14:01 +00:00
  • 25eea854ad setup.py: Don't cite module versions, let requirements.txt do that Athanasius 2021-11-04 17:53:03 +00:00
  • 0641bf3f24 setup.py: General python3, flake8, mypy Athanasius 2022-03-12 11:00:46 +00:00
  • 3df5c52d53 Validator: Full flake8 and mypy pass Athanasius 2021-11-04 16:52:17 +00:00
  • 6ca78a51df requirements: strict_rfc3339 was unused Athanasius 2021-11-04 16:41:22 +00:00
  • 693ad95fb3 StatsCollector: Full flake8 and mypy pass Athanasius 2021-11-04 16:37:55 +00:00
  • f81fdf91ee DuplicateMessages: Full flake8 and mypy pass Athanasius 2021-11-04 16:28:45 +00:00
  • 2d896ce37f DuplicateMessages: Refactor isDuplicated() name to snake_case Athanasius 2021-11-04 16:24:43 +00:00
  • fb67f960be DuplicateMessages: Very initial flake8 pass Athanasius 2021-11-04 16:24:10 +00:00
  • c99d572adc Use that bottle Plugin.apply() signature throughout Athanasius 2021-11-04 16:19:13 +00:00
  • a14b32631c .flake8: Comment out min-coverage-percents Athanasius 2021-11-04 16:17:08 +00:00
  • 031e4c9a70 Bouncer: Trying out 'Callable' for bottle plugin.apply() type annotation Athanasius 2021-11-04 16:16:32 +00:00
  • 86313dba28 Bouncer: Full flake8 and mypy pass Athanasius 2022-03-12 10:59:52 +00:00
  • 52316d4b62 .flake8: Drop the type annotations minimum to 50% Athanasius 2021-11-04 16:13:13 +00:00
  • e5fe4da978 Settings.loadConfig() got renamed to load_config() Athanasius 2022-03-12 10:58:42 +00:00
  • be6fe8b419 Settings: flake8 and mypy passes Athanasius 2022-03-12 10:56:39 +00:00
  • 03c7f6c96b Version: Bump to 2.0-alph0 for this python3 work Athanasius 2021-11-04 15:31:46 +00:00