Commit Graph

523 Commits

Author SHA1 Message Date
augustin_s 8c29048aba renamed file to be consistent with other files 2024-02-06 23:02:35 +01:00
augustin_s 1047446a03 order 2024-02-06 22:33:41 +01:00
augustin_s a01392961d consistent file and function name 2024-02-06 22:33:27 +01:00
augustin_s 0a079aa6e8 split file 2024-02-06 22:25:59 +01:00
augustin_s dd84867dfc imports 2024-02-06 22:12:49 +01:00
augustin_s 6c61b87741 consistent naming for broker client class and file 2024-02-06 21:39:23 +01:00
augustin_s b6737b010e combined some validation 2024-02-06 21:20:22 +01:00
augustin_s e1df428e0f make use of exceptions for error propagation: IP to beamline 2024-02-06 17:59:07 +01:00
augustin_s e1102721f2 added diavolezza, simplifications 2024-02-05 16:45:17 +01:00
augustin_s 152b589a4c split utils 2024-02-05 16:18:38 +01:00
augustin_s 2e492c7d97 moved return_status into rest_api; apply automatically to all endpoints 2024-02-05 15:34:32 +01:00
augustin_s c73426441d consistent naming 2024-02-05 13:50:52 +01:00
augustin_s 56aa4740ce stop pylint from nagging about broken file 2024-02-05 12:02:14 +01:00
augustin_s ed64d8766b split files some more 2024-02-05 12:01:48 +01:00
augustin_s e98bd6d55b introduced rest_api folder 2024-02-05 11:57:53 +01:00
augustin_s 699b3bd3d6 also store type(e).__name__ as "exception" 2024-02-04 23:31:19 +01:00
augustin_s aebdd8b428 split data and code for creating the rest api 2024-02-04 23:25:33 +01:00
augustin_s 83b2da8912 improved clarity in status messages, comments, argparse help, logging, etc. 2024-02-03 18:23:29 +01:00
augustin_s 8d6b5be307 take request out of bottle 2024-02-03 17:30:58 +01:00
augustin_s 0916d4441c unified arguments for all endpoints; validate "request is empty" where no parameters are expected 2024-02-03 16:39:42 +01:00
augustin_s 89d30be410 turned keyword args into positional args for request and remote_ip as the defaults have no use 2024-02-03 13:15:22 +01:00
augustin_s 51a82df55e constants as constans 2024-02-02 22:21:15 +01:00
augustin_s 11971cf163 refactor 2024-02-02 22:14:19 +01:00
augustin_s 6bdcb7f50e improved clarity of error messages 2024-02-02 20:19:34 +01:00
augustin_s 191a9686fd some weird spaces 2024-02-02 17:15:43 +01:00
augustin_s 4529902bf1 missed an argument 2024-02-02 16:36:10 +01:00
augustin_s 1be3fcf75e removed daq_directory_exists in favour of using directory_exists consistently 2024-02-02 16:29:46 +01:00
augustin_s e781d1ed1b consistent naming between rest_api and broker_manager 2024-02-01 20:50:09 +01:00
augustin_s 612a20390e removed unused beamline_force parameter 2024-02-01 20:01:57 +01:00
augustin_s 8b9096ea71 started to introduce validation as bespoke concept 2024-02-01 16:26:11 +01:00
augustin_s bef6c2744c readability 2024-01-29 20:09:14 +01:00
augustin_s 0dc9959a27 alphabetically sorted 2024-01-29 20:03:34 +01:00
augustin_s 018a5a9379 simpler json 2024-01-29 19:56:21 +01:00
augustin_s c45cc5b495 minimize code in with block 2024-01-29 19:45:43 +01:00
augustin_s 520d0b6e7f cleanup 2024-01-29 19:12:50 +01:00
augustin_s f3c8b7d865 changed utils to a folder 2024-01-29 17:17:54 +01:00
augustin_s 5bdf144d55 consistently use indent=4 in json.dump 2024-01-29 16:57:17 +01:00
augustin_s b80a9dfaf0 cleanup 2024-01-29 16:38:43 +01:00
augustin_s 838e622e49 cleanup 2024-01-29 00:09:05 +01:00
augustin_s 851081ab64 just some spaces 2024-01-28 23:44:40 +01:00
augustin_s 11b2c300aa cleanup 2024-01-28 23:19:14 +01:00
augustin_s 91f78fa65b cleanup 2024-01-28 22:34:45 +01:00
augustin_s d077198f83 commented old transform_range_from_pulse_id_to_timestamp 2024-01-25 17:43:35 +01:00
augustin_s a0149a3506 commented unused config entries 2024-01-25 17:43:12 +01:00
augustin_s d17119fe54 removed comment 2024-01-25 17:15:16 +01:00
steppke_a 63f8ef1555 Make test suite great again 2024-01-25 16:30:16 +01:00
augustin_s f1ad5af01e commented apparently unused function 2024-01-25 16:21:19 +01:00
augustin_s a4b1bf621a replaced ...[randrange(len(...))] with choice(...) 2024-01-25 16:20:59 +01:00
augustin_s 3d50b1faf3 dry 2024-01-25 16:18:00 +01:00
augustin_s 28806ce485 slightly more similar functions 2024-01-25 16:03:10 +01:00