45 Commits

Author SHA1 Message Date
sHa
60d662a2a6 Refactor Dockerfile to set environment variables and improve package installation 2024-09-30 19:13:29 +00:00
sHa
2ffd8340db Refactor namespace checking logic in base_controller.py 2024-09-30 19:07:50 +00:00
sHa
ea9c2d6027 Merge branch 'main' of github.com:shadoll/scatcher 2024-09-30 18:02:23 +00:00
sHa
82974dae02 Update traefik configuration in compose.yml 2024-09-30 18:01:27 +00:00
sHa
3c2426218e http tests conf for Bruno 2024-09-05 12:06:50 +03:00
sHa
2a2c01236d Add restart option to compose.yml 2024-09-05 09:01:21 +00:00
sHa
5923287924 Fix formatting in request_data.py and add tests for less data 2024-03-22 10:54:53 +02:00
sHa
c0ff939e04 Add VSCode settings for unit testing 2024-03-22 10:32:24 +02:00
sHa
010571196e Add launch.json configuration for Python Debugger 2024-03-22 08:31:31 +00:00
sHa
a9f50ca4ca Fix formatting issues in history_controller.py and manager/history.py, and update default values in request_data.py 2024-03-22 08:31:13 +00:00
sHa
7c695ccf24 Add compose.debug.yml for debugging catcher service 2024-03-22 08:30:42 +00:00
sHa
dba005e4eb Add .env.example file and update compose.yml 2024-03-22 08:30:36 +00:00
sHa
47eedb44e9 Add new volumes to compose.yml 2024-03-22 07:33:29 +00:00
sHa
81bb8398f0 Refactor request data handling and update unit tests 2024-03-22 09:26:15 +02:00
sHa
367603a0d6 Add unit tests for app and history controller 2024-03-22 01:27:43 +02:00
sHa
a5a290b1d7 Refactor history_controller.py to handle empty request history 2024-03-22 01:27:33 +02:00
sHa
56125f0dbb Add unit tests for answer schema, request data schema, base controller, and history manager 2024-03-22 00:50:05 +02:00
sHa
187d405186 Add __pycache__ to .gitignore 2024-03-22 00:49:50 +02:00
sHa
e5b50e9368 Refactor app.py to use separate controllers for history and catch functionality 2024-03-22 00:49:38 +02:00
sHa
6b80e1a383 Add schemas 2024-03-22 00:49:17 +02:00
sHa
ca6c933fd9 Add base controller, catch controller, and history controller 2024-03-22 00:48:46 +02:00
sHa
f6b750247c Add __last endpoint to API 2024-03-21 12:00:43 +02:00
sHa
942d7a8c30 Update documentation endpoint in readme 2024-03-14 09:03:41 +02:00
sHa
37703a872f Update id parameter in history endpoint 2024-03-13 09:39:58 +00:00
sHa
c8f02f8526 Refactor namespace checking in app.py 2024-03-13 11:35:52 +02:00
sHa
66ca19902c Add namespace validation in API endpoints 2024-03-13 09:35:13 +00:00
sHa
e7e31c2763 Add API documentation and endpoints for requests catcher 2024-03-13 09:18:56 +00:00
sHa
fbb63ef3f5 Update JSON dump indentation to 4 spaces 2024-03-13 11:13:55 +02:00
sHa
aa8a4388eb Update documentation links in readme.md 2024-03-13 11:02:58 +02:00
sHa
eb748c9136 Refactor code structure and import order 2024-03-13 10:57:56 +02:00
sHa
19cdd8addb Add SCATCHER documentation readme 2024-03-13 10:57:51 +02:00
sHa
8876aecb76 Add pydantic library and update code structure 2024-03-12 23:01:42 +00:00
sHa
18462e60ec Refactor webhook_namespace_handler function name 2024-03-12 22:31:04 +00:00
sHa
63edfb4631 Refactor webhook namespace handling and add support for storing requests in different namespaces 2024-03-12 22:29:43 +00:00
sHa
30f8e8b81a Add webhook endpoints and update Docker configuration 2024-03-12 22:03:09 +00:00
sHa
a45d83a71c Add .gitignore file for storage directory 2024-03-12 21:59:55 +00:00
sHa
66c4b34cc8 Update Dockerfile to include host and port options for uvicorn 2024-03-12 21:59:37 +00:00
sHa
4476d5bae9 Update Dockerfile and compose.yml, add requests.http and update requirements.txt 2024-03-12 16:12:47 +00:00
sHa
e7d593ac60 Add env_file to compose.yml 2024-03-12 17:53:24 +02:00
sHa
788f488df5 Add compose.yml to the list of tracked files 2024-03-12 17:53:17 +02:00
sHa
87df3f2181 Update scatcher image to use latest version 2024-03-12 17:49:48 +02:00
sHa
974df5bee4 Update Docker Image CI workflow 2024-03-12 17:46:12 +02:00
sHa
13a429eab6 Create docker-image.yml 2024-03-12 16:48:45 +02:00
sHa
f37b33be9a Refactor request history storage and add Docker Compose file 2024-03-12 16:38:32 +02:00
sHa
e9ad2f7c64 initial commit 2024-03-12 16:13:30 +02:00