stoobly-agent 0.34.9__tar.gz → 0.34.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/PKG-INFO +2 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/pyproject.toml +2 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/__init__.py +1 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/proxy_controller.py +12 -10
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/config_cli.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/handle_config_update_service.py +5 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/snapshot_cli.py +85 -6
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/python/response/mitmproxy_adapter.py +1 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/log.py +9 -7
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/request_snapshot.py +5 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/scenario_snapshot.py +24 -0
- stoobly_agent-0.34.11/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot.py +33 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/tiebreak_scenario_request.py +6 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/query_param_adapter.py +9 -5
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/request_adapter.py +1 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/handle_mock_service.py +16 -9
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/handle_record_service.py +2 -2
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/intercept_handler.py +7 -4
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mitmproxy/request_facade.py +4 -2
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/eval_fixtures_service.py +3 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/hashed_request_decorator.py +10 -10
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/request_hasher.py +3 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/upload_request_service.py +5 -5
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/alias_resolver.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/body_parser_service.py +1 -5
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/multipart.py +9 -27
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/trace_context.py +10 -9
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/upload_test_service.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/utils/allowed_request_service.py +7 -5
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/utils/request_handler.py +3 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/__init__.py +32 -14
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/cli.py +1 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/custom_headers.py +1 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/data_dir.py +39 -21
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/body_param_names_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/endpoints_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/header_names_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/projects_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/query_param_names_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/requests_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/response_header_names_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/response_param_names_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/scenarios_resource.py +5 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/stoobly_api.py +0 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/test_responses_resource.py +3 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/tests_resource.py +3 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/users_resource.py +3 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/cache.py +26 -9
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/logger.py +5 -2
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/utils/visitor.py +4 -3
- stoobly_agent-0.34.9/stoobly_agent/public/13-es2015.220b4a1adf4cacb294e5.js → stoobly_agent-0.34.11/stoobly_agent/public/13-es2015.343b0261a8b3b3f4a1fc.js +1 -1
- stoobly_agent-0.34.9/stoobly_agent/public/13-es5.220b4a1adf4cacb294e5.js → stoobly_agent-0.34.11/stoobly_agent/public/13-es5.343b0261a8b3b3f4a1fc.js +1 -1
- stoobly_agent-0.34.11/stoobly_agent/public/18-es2015.d3b430636a4d6f544d92.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/public/18-es5.d3b430636a4d6f544d92.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/public/35-es2015.f741ebce0bfc25f0ec99.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/public/35-es5.f741ebce0bfc25f0ec99.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/public/7-es2015.19ccb84e62e2ea874f53.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/public/7-es5.19ccb84e62e2ea874f53.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/public/9-es2015.b7bcad8238f58e214f03.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/public/9-es5.b7bcad8238f58e214f03.js +1 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/index.html +1 -1
- stoobly_agent-0.34.11/stoobly_agent/public/runtime-es2015.9addf49b79aca951b7e2.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/public/runtime-es5.9addf49b79aca951b7e2.js +1 -0
- stoobly_agent-0.34.11/stoobly_agent/test/app/cli/snapshot/snapshot_copy_test.py +56 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/snapshot/snapshot_prune_test.py +2 -5
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/snapshot/snapshot_update_test.py +0 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/factories/resource/local_db/helpers/tiebreak_scenario_request_test.py +20 -2
- stoobly_agent-0.34.11/stoobly_agent/test/app/models/schemas/.stoobly/db/VERSION +1 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/replay/body_parser_service_test.py +3 -3
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/config/data_dir_test.py +4 -2
- stoobly_agent-0.34.9/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot.py +0 -17
- stoobly_agent-0.34.9/stoobly_agent/public/18-es2015.10cdd5c608b10d90d19a.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/18-es5.10cdd5c608b10d90d19a.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/35-es2015.61a7ae8da93df94fab06.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/35-es5.61a7ae8da93df94fab06.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/7-es2015.c359dbb640e2af507221.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/7-es5.c359dbb640e2af507221.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/9-es2015.cfc1101139d6ae75731b.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/9-es5.cfc1101139d6ae75731b.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/runtime-es2015.08e65883d390cd16c15b.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/public/runtime-es5.08e65883d390cd16c15b.js +0 -1
- stoobly_agent-0.34.9/stoobly_agent/test/app/models/schemas/.stoobly/db/VERSION +0 -1
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/LICENSE +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/README.md +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/application_http_request_handler.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/bodies_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/configs_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/headers_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/query_params_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/replayed_response_headers_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/replayed_responses_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/requests_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/response_headers_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/responses_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/routes.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/scenarios_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/simple_http_request_handler.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/api/statuses_controller.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/ca_cert_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/ca_cert_installer.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/decorators/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/decorators/config.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/decorators/exec.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/dev_tools_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/endpoint_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/feature_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/handlers/request_cli_handler.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/handlers/scenario_cli_handler.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/endpoint_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/endpoints_apply_context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/endpoints_apply_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/endpoints_import_context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/endpoints_import_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/feature_flags.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/handle_mock_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/handle_replay_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/handle_test_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/iterate_group_by.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/json_print.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/openapi_endpoint_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/print_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/project_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/replay_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/report_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/request_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/request_synchronize_handler.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/run_command_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/scenario_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/schema_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/synchronize_request_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/tabulate_print_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/test_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/test_replay_context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/trace_aliases.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/trace_context_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/validations.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/helpers/verify_raw_request_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/intercept_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/main_group.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/project_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/report_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/request_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/scenario_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/trace_cli.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/types/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/types/output.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/types/print_options.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/types/request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/types/scenario.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/cli/types/test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/joined_request_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/mitmproxy/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/mitmproxy/request/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/mitmproxy/request/python_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/mitmproxy/response/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/mitmproxy/response/python_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/orm/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/orm/joined_request_string_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/orm/request/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/orm/request/mitmproxy_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/orm/request/python_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/orm/response/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/orm/response/mitmproxy_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/orm/response/python_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/python/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/python/request/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/python/request/mitmproxy_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/python/request/raw_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/python/request/stoobly_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/python/response/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/python/response/raw_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/raw_http_request_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/raw_http_response_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/raw_joined/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/raw_joined/request/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/raw_joined/request/python_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/raw_joined/response/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/raw_joined/response/python_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/stoobly/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/stoobly/request/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/adapters/stoobly/request/mitmproxy_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/body_model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/body.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/header.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/body_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/header_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/create_request_columns_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/log_event.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/request_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/search.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot_types.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/local_db_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/orm_request_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/replayed_response_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/response_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/response_header_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/local_db/scenario_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/query_param.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/replayed_response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/response_header.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/scenario.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/stoobly/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/stoobly/request_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/factories/resource/stoobly/scenario_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/header_model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/helpers/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/helpers/apply.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/helpers/create_request_params_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/query_param_model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/replayed_response_model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/request_model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/response_header_model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/response_model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/scenario_model.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/schemas/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/schemas/request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/types/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/types/endpoint.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/types/replayed_response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/types/request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/types/request_components.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/types/response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/models/types/scenario.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/constants/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/constants/custom_response_codes.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/handle_replay_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/handle_test_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/hot_reload.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/intercept_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mitmproxy/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mitmproxy/flow_mock.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mitmproxy/request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mitmproxy/request_body_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mitmproxy/response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mitmproxy/response_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/custom_not_found_response_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/eval_request_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/ignored_components_response_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/search_endpoint.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/types/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/join_request_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/joined_request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/overwrite_scenario_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/proxy_request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/request_string.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/request_string_control.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/response_string.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/record/response_string_control.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/alias_context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/replay_request_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/replay_scenario_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/replay/rewrite_params_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/run.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/simulate_intercept_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/context_abc.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/context_response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/diff_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/endpoint_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/mitmproxy_response_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/request_component_names_facade.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/requests_response_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/stoobly_response_adapter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/helpers/test_results_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/matchers/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/matchers/context.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/matchers/contract.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/matchers/custom.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/matchers/diff.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/matchers/errors.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/matchers/fuzzy.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/matchers/handlers/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/test/test_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/utils/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/utils/publish_change_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/utils/response_handler.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/utils/rewrite_rules_to_ignored_components_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/cli_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/constants/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/constants/firewall_action.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/constants/intercept_mode.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/constants/mode.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/constants/request_component.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/data_rules.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/data_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/feature_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/firewall_rule.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/firewall_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/helpers/active_mode_settings_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/intercept_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/match_rule.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/match_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/parameter_rule.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/proxy_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/remote_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/rewrite_rule.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/rewrite_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/types/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/types/cli_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/types/proxy_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/types/remote_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/types/ui_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/ui_settings.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/settings/url_rule.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/alias_resolve_strategy.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/env_vars.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/headers.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/lifecycle_hooks.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/mock_policy.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/mode.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/record_policy.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/replay_policy.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/request_origin.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/statuses.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/test_filter.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/test_output_level.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/constants/test_strategy.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/mitmproxy.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/schema.yml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/settings.yml.sample +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/config/source_dir.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2022_03_17_060144_create_requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2022_03_17_074916_create_responses.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2022_05_10_003705_create_traces.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2022_05_10_003840_create_trace_aliases.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2022_06_29_234516_create_trace_requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2022_06_29_235155_add_trace_request_reference_to_trace_aliases.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2022_12_12_092437_align_requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2022_12_28_092917_add_filter_columns_to_requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_01_21_055426_create_scenarios.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_01_21_060225_add_scenario_id_reference_to_requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_02_02_022229_create_replayed_responses.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_03_20_192909_add_http_version_column_to_requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_03_20_220448_add_http_version_column_to_responses.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_04_18_071327_align_requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_05_15_212505_add_uuid_column_to_requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_05_15_213119_add_uuid_column_to_scenarios.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/2023_05_29_053649_add_overwritable_column_to_scenarios.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/db/migrations/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/agent_api.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/api.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/endpoints.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/headers.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/pagination_query_params.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/projects.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/query_params.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/reports.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/requests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/response_headers.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/responses.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/scenarios.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/tests.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/traces.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/interfaces/users.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/json_response_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/organization_key.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/project_key.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/report_key.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/request_key.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/resource_key.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/scenario_key.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/test_key.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/keys/uuid_key.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/param_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/api/reports_resource.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/base.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/migrate_service.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/replayed_response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/scenario.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/trace.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/trace_alias.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/trace_request.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/transformers/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/transformers/orm_to_request_transformer.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/transformers/orm_to_requests_response_transformer.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/transformers/orm_to_stoobly_request_transformer.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/transformers/orm_to_stoobly_response_transformer.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/types/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/types/request_columns.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/types/response_columns.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/utils/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/utils/request_parse_handler.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/utils/requests_response_builder.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/orm/utils/response_parse_handler.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/utils/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/utils/conditional_decorator.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/utils/decode.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/utils/jmespath.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/lib/utils/python_to_ruby_type.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/mock.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/0-es2015.c7c5a6d51b98cb85b9fc.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/0-es5.c7c5a6d51b98cb85b9fc.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/1-es2015.bb4492eeabe1fe937ada.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/1-es5.bb4492eeabe1fe937ada.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/10-es2015.56da22458086513ba0c7.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/10-es5.56da22458086513ba0c7.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/12-es2015.be58ed0ef449008b932e.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/12-es5.be58ed0ef449008b932e.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/14-es2015.b6619d7742671d2a37fb.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/14-es5.b6619d7742671d2a37fb.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/15-es2015.d8855701408b0e1d7a3e.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/15-es5.d8855701408b0e1d7a3e.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/16-es2015.98fa59c2c96d2caac3c3.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/16-es5.98fa59c2c96d2caac3c3.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/17-es2015.7f60b56d1fd66d4d5544.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/17-es5.7f60b56d1fd66d4d5544.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/19-es2015.78ec0e9fd228b5104712.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/19-es5.78ec0e9fd228b5104712.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/2-es2015.51eb8544ea9a21f2874c.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/2-es5.51eb8544ea9a21f2874c.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/20-es2015.90544c488f1f0900bab4.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/20-es5.90544c488f1f0900bab4.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/21-es2015.63ed4e6b242fbc047bd6.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/21-es5.63ed4e6b242fbc047bd6.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/22-es2015.1e96ef651f96d51191e2.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/22-es5.1e96ef651f96d51191e2.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/23-es2015.6d3052555b4fac38f16d.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/23-es5.6d3052555b4fac38f16d.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/28-es2015.a2bf42f38e4dd771ccea.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/28-es5.a2bf42f38e4dd771ccea.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/29-es2015.18b515f07c88753c7eb6.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/29-es5.18b515f07c88753c7eb6.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/30-es2015.d4d3dc4101400cadf3f3.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/30-es5.d4d3dc4101400cadf3f3.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/31-es2015.e3ea815f75c19c217b7d.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/31-es5.e3ea815f75c19c217b7d.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/32-es2015.57553995bff0ae518501.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/32-es5.57553995bff0ae518501.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/33-es2015.da5ba1e5baa164921198.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/33-es5.da5ba1e5baa164921198.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/34-es2015.87acbb95cfb824650157.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/34-es5.87acbb95cfb824650157.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/36-es2015.e3a104020eeec02cb8c4.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/36-es5.e3a104020eeec02cb8c4.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/37-es2015.3b472e6cf303201bbf2c.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/37-es5.3b472e6cf303201bbf2c.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/38-es2015.39dbf43d46cdc94f78c6.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/38-es5.39dbf43d46cdc94f78c6.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/39-es2015.e5475ea4fb6ec5c60741.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/39-es5.e5475ea4fb6ec5c60741.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/3rdpartylicenses.txt +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/4-es2015.f8ac5475bf103969b2d2.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/4-es5.f8ac5475bf103969b2d2.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/40-es2015.47b2873a8439717af6a7.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/40-es5.47b2873a8439717af6a7.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/41-es2015.69f2771002745c066976.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/41-es5.69f2771002745c066976.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/42-es2015.b590b92ede890155dcd6.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/42-es5.b590b92ede890155dcd6.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/43-es2015.ad1d956bffba561ba64c.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/43-es5.ad1d956bffba561ba64c.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/44-es2015.3ef2c17996ed5be95ced.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/44-es5.3ef2c17996ed5be95ced.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/45-es2015.3d65d27e0a7085e96356.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/45-es5.3d65d27e0a7085e96356.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/46-es2015.e4f0a5b127eae13c27c0.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/46-es5.e4f0a5b127eae13c27c0.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/47-es2015.c7d45334a70131f133b5.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/47-es5.c7d45334a70131f133b5.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/5-es2015.90ea7bd4439d9749e052.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/5-es5.90ea7bd4439d9749e052.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/6-es2015.5fb726c0555664300974.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/6-es5.5fb726c0555664300974.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/8-es2015.b901639e2aeff1358c3d.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/8-es5.b901639e2aeff1358c3d.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/CHANGELOG.md +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/README.md +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/_redirects +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/1.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/2.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/3.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/4.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/5.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/6.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/7.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/8.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/landscape.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/demo/mountain-cinematic.jpg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/illustrations/checklist.svg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/illustrations/data_center.svg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/illustrations/idea.svg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/illustrations/it_support.svg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/illustrations/peak_mountain_3.svg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/illustrations/under_constructions_1.svg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/logo/colored.png +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/logo/colored.svg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/logo/white.png +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/assets/img/logo/white.svg +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/common-es2015.388805227aa99c527fba.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/common-es5.388805227aa99c527fba.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/favicon.ico +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/main-es2015.ccd46ac1b6638ddf2066.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/main-es5.ccd46ac1b6638ddf2066.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/polyfills-es2015.8ce2adc69f283f6c4c5e.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/polyfills-es5.7530172ddcec11a10eb3.js +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/public/styles.ab281309cf423b2cdcb0.css +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/cli_mock_integration_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/config/firewall_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/config/match_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/config/project/config_project_set_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/config/rewrite_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/config/scenario/config_scenario_set_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/endpoint/endpoint_cli_apply_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_additional_props_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_info_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_oauth2_scopes_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_servers_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/helpers/schema_builder_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/helpers/synchronize_request_service_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/intercept/intercept_configure_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/intercept/intercept_enable_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/request/request_delete_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/request/request_list_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/request/request_replay_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/request/request_reset_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/request/request_response_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/request/request_snapshot_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/request/request_test_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/scenario/scenario_create_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/scenario/scenario_replay_integration_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/scenario/scenario_replay_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/scenario/scenario_reset_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/scenario/scenario_snapshot_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/scenario/scenario_test_integration_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/cli/snapshot/snapshot_apply_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/orm/joined_request_string_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/orm/request/orm_mitmproxy_request_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/orm/request/orm_python_request_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/orm/response/orm_mitmproxy_response_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/orm/response/orm_python_response_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/python/request/mitmproxy_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/python/request/raw_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/python/request/stoobly_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/python/response/mitmproxy_response_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/adapters/python/response/raw_response_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/factories/resource/local_db/helpers/log_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/factories/resource/local_db/request_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/factories/resource/local_db/response_adapter_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/schemas/.stoobly/db/stoobly_agent.sqlite3 +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/schemas/.stoobly/settings.yml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/schemas/.stoobly/tmp/options.json +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/models/schemas/request_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/mitmproxy/request_facade_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/mock/eval_fixtures_service_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/replay/rewrite_params_service_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/replay/trace_context_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/replay/visitor_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/test/helpers/test_results_builder_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/upload/request_string_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/proxy/upload/response_string_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/test/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/test/matchers/contract_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/test/matchers/diff_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/app/test/matchers/fuzzy_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/cli/mock_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/cli/record_test.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/__init__.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/endpoint_show_response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/petstore-additional-props.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/petstore-expanded.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/petstore-missing-info.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/petstore-missing-oauth2-scopes.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/petstore-missing-servers.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/petstore-references.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/petstore-swagger-io.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/petstore.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/request_show_response.py +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/mock_data/uspto.yaml +0 -0
- {stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/test/test_helper.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: stoobly-agent
|
3
|
-
Version: 0.34.
|
3
|
+
Version: 0.34.11
|
4
4
|
Summary: Record, mock, and test HTTP(s) requests. CLI agent for Stoobly
|
5
5
|
License: Apache-2.0
|
6
6
|
Author: Matt Le
|
@@ -20,6 +20,7 @@ Requires-Dist: httptools (>=0.4.0)
|
|
20
20
|
Requires-Dist: jmespath (>=1.0.0)
|
21
21
|
Requires-Dist: mergedeep (>=1.3.0,<1.3.4)
|
22
22
|
Requires-Dist: mitmproxy (>=8.0.0,<=8.1.0)
|
23
|
+
Requires-Dist: multipart (>=0.2.5,<0.3.0)
|
23
24
|
Requires-Dist: openapi-core (>=0.17.0,<0.18.0)
|
24
25
|
Requires-Dist: pyyaml (>=6.0.1)
|
25
26
|
Requires-Dist: requests (>=2.31.0)
|
@@ -10,7 +10,7 @@ description = "Record, mock, and test HTTP(s) requests. CLI agent for Stoobly"
|
|
10
10
|
license = "Apache License 2.0"
|
11
11
|
name = "stoobly-agent"
|
12
12
|
readme = "README.md"
|
13
|
-
version = "0.34.
|
13
|
+
version = "0.34.11"
|
14
14
|
|
15
15
|
[tool.poetry.dependencies]
|
16
16
|
python = "^3.8"
|
@@ -30,6 +30,7 @@ tabulate = ">=0.8.8"
|
|
30
30
|
watchdog = ">=2.1.0,<=2.1.3"
|
31
31
|
werkzeug = "<3.0.0" # Dependency resolution
|
32
32
|
yamale = ">=4.0.0,<=4.0.2"
|
33
|
+
multipart = "^0.2.5"
|
33
34
|
|
34
35
|
[tool.poetry.group.test.dependencies]
|
35
36
|
mock = ">=5.0.0"
|
@@ -1,2 +1,2 @@
|
|
1
1
|
COMMAND = 'stoobly-agent'
|
2
|
-
VERSION = '0.34.
|
2
|
+
VERSION = '0.34.11'
|
@@ -7,6 +7,8 @@ from stoobly_agent.config.constants import headers
|
|
7
7
|
from stoobly_agent.config.mitmproxy import MitmproxyConfig
|
8
8
|
from stoobly_agent.lib.logger import Logger
|
9
9
|
|
10
|
+
LOG_ID = 'ProxyController'
|
11
|
+
|
10
12
|
class ProxyController:
|
11
13
|
_instance = None
|
12
14
|
|
@@ -54,14 +56,14 @@ class ProxyController:
|
|
54
56
|
_params = context.params
|
55
57
|
_verify = not MitmproxyConfig.instance().get('ssl_insecure')
|
56
58
|
|
57
|
-
Logger.instance().debug('Request Headers')
|
58
|
-
Logger.instance().debug(_headers)
|
59
|
-
Logger.instance().debug('Cookies')
|
60
|
-
Logger.instance().debug(_cookies)
|
61
|
-
Logger.instance().debug('Body')
|
62
|
-
Logger.instance().debug(_body)
|
63
|
-
Logger.instance().debug('Query Params')
|
64
|
-
Logger.instance().debug(_params)
|
59
|
+
Logger.instance(LOG_ID).debug('Request Headers')
|
60
|
+
Logger.instance(LOG_ID).debug(_headers)
|
61
|
+
Logger.instance(LOG_ID).debug('Cookies')
|
62
|
+
Logger.instance(LOG_ID).debug(_cookies)
|
63
|
+
Logger.instance(LOG_ID).debug('Body')
|
64
|
+
Logger.instance(LOG_ID).debug(_body)
|
65
|
+
Logger.instance(LOG_ID).debug('Query Params')
|
66
|
+
Logger.instance(LOG_ID).debug(_params)
|
65
67
|
|
66
68
|
body = None
|
67
69
|
headers = {}
|
@@ -99,8 +101,8 @@ class ProxyController:
|
|
99
101
|
body = b'Unknown Error'
|
100
102
|
status = 0
|
101
103
|
|
102
|
-
Logger.instance().debug('Response Headers')
|
103
|
-
Logger.instance().debug(res.headers)
|
104
|
+
Logger.instance(LOG_ID).debug('Response Headers')
|
105
|
+
Logger.instance(LOG_ID).debug(res.headers)
|
104
106
|
|
105
107
|
context.render(
|
106
108
|
headers = headers,
|
@@ -23,6 +23,8 @@ from .helpers.handle_config_update_service import (
|
|
23
23
|
from .helpers.print_service import FORMATS, print_projects, print_scenarios, select_print_options
|
24
24
|
from .helpers.validations import *
|
25
25
|
|
26
|
+
LOG_ID = 'ConfigCLI'
|
27
|
+
|
26
28
|
settings = Settings.instance()
|
27
29
|
is_remote = settings.cli.features.remote or not not os.environ.get(env_vars.FEATURE_REMOTE)
|
28
30
|
|
@@ -261,7 +263,7 @@ def set(**kwargs):
|
|
261
263
|
|
262
264
|
settings.commit()
|
263
265
|
|
264
|
-
Logger.instance().debug(f"Rewrite {kwargs['name']} -> {kwargs['value']} set!")
|
266
|
+
Logger.instance(LOG_ID).debug(f"Rewrite {kwargs['name']} -> {kwargs['value']} set!")
|
265
267
|
|
266
268
|
### Match
|
267
269
|
|
@@ -326,7 +328,7 @@ def set(**kwargs):
|
|
326
328
|
|
327
329
|
settings.commit()
|
328
330
|
|
329
|
-
Logger.instance().debug(f"Match {kwargs['method']} {kwargs['pattern']} -> {kwargs['component']} set!")
|
331
|
+
Logger.instance(LOG_ID).debug(f"Match {kwargs['method']} {kwargs['pattern']} -> {kwargs['component']} set!")
|
330
332
|
|
331
333
|
### Firewall
|
332
334
|
|
@@ -392,7 +394,7 @@ def set(**kwargs):
|
|
392
394
|
|
393
395
|
settings.commit()
|
394
396
|
|
395
|
-
Logger.instance().debug(f"Firewall {kwargs['method']} {kwargs['pattern']} -> {kwargs['action']} set!")
|
397
|
+
Logger.instance(LOG_ID).debug(f"Firewall {kwargs['method']} {kwargs['pattern']} -> {kwargs['action']} set!")
|
396
398
|
|
397
399
|
### Validate
|
398
400
|
|
@@ -56,6 +56,11 @@ def handle_intercept_active_update(new_settings: Settings, context: Context = No
|
|
56
56
|
# If policy is overwrite when recording, whenever intercept is disabled,
|
57
57
|
# set active scenario to not be overwritable
|
58
58
|
scenario_model.update(_scenario_key.id, **{ 'overwritable': False })[1]
|
59
|
+
elif _mode == intercept_mode.MOCK:
|
60
|
+
# When mock is stopped, clear request access counts
|
61
|
+
from stoobly_agent.app.models.factories.resource.local_db.helpers.tiebreak_scenario_request import reset
|
62
|
+
|
63
|
+
reset()
|
59
64
|
|
60
65
|
def handle_scenario_update(new_settings: Settings, context = None):
|
61
66
|
new_scenario_key = __scenario_key(new_settings.proxy)
|
@@ -11,24 +11,26 @@ from typing import List
|
|
11
11
|
|
12
12
|
from stoobly_agent.app.models.adapters.raw_joined import RawJoinedRequestAdapterFactory
|
13
13
|
from stoobly_agent.app.models.factories.resource.local_db.helpers.log import Log
|
14
|
-
from stoobly_agent.app.models.factories.resource.local_db.helpers.log_event import LogEvent, REQUEST_RESOURCE, SCENARIO_RESOURCE
|
14
|
+
from stoobly_agent.app.models.factories.resource.local_db.helpers.log_event import LogEvent, PUT_ACTION, REQUEST_RESOURCE, SCENARIO_RESOURCE
|
15
15
|
from stoobly_agent.app.models.factories.resource.local_db.helpers.request_snapshot import RequestSnapshot
|
16
16
|
from stoobly_agent.app.models.factories.resource.local_db.helpers.scenario_snapshot import ScenarioSnapshot
|
17
17
|
from stoobly_agent.app.models.helpers.apply import Apply
|
18
|
+
from stoobly_agent.config.data_dir import DataDir
|
19
|
+
from stoobly_agent.lib.api.keys import RequestKey, ScenarioKey
|
18
20
|
|
19
21
|
from .helpers.print_service import FORMATS, print_snapshots, select_print_options
|
20
22
|
from .helpers.verify_raw_request_service import verify_raw_request
|
21
23
|
|
22
24
|
@click.group(
|
23
25
|
epilog="Run 'stoobly-agent project COMMAND --help' for more information on a command.",
|
24
|
-
help="Manage snapshots"
|
26
|
+
help="Manage snapshots."
|
25
27
|
)
|
26
28
|
@click.pass_context
|
27
29
|
def snapshot(ctx):
|
28
30
|
pass
|
29
31
|
|
30
32
|
@snapshot.command(
|
31
|
-
help="Apply snapshots",
|
33
|
+
help="Apply snapshots.",
|
32
34
|
)
|
33
35
|
@click.option('--force', default=False, help="Toggles whether resources are hard deleted.")
|
34
36
|
@click.argument('uuid', required=False)
|
@@ -41,7 +43,18 @@ def apply(**kwargs):
|
|
41
43
|
apply.all()
|
42
44
|
|
43
45
|
@snapshot.command(
|
44
|
-
help="
|
46
|
+
help="Copy snapshots to a different data directory."
|
47
|
+
)
|
48
|
+
@click.option('--request-key', multiple=True, help='')
|
49
|
+
@click.option('--scenario-key', multiple=True, help='')
|
50
|
+
@click.argument('destination', required=True)
|
51
|
+
def copy(**kwargs):
|
52
|
+
destination = kwargs['destination']
|
53
|
+
__copy_scenarios(kwargs['scenario_key'], destination)
|
54
|
+
__copy_requests(kwargs['request_key'], destination)
|
55
|
+
|
56
|
+
@snapshot.command(
|
57
|
+
help="List snapshots.",
|
45
58
|
name="list"
|
46
59
|
)
|
47
60
|
@click.option('--format', type=click.Choice(FORMATS), help='Format output.')
|
@@ -83,7 +96,7 @@ def prune(**kwargs):
|
|
83
96
|
log.prune(kwargs['dry_run'])
|
84
97
|
|
85
98
|
@snapshot.command(
|
86
|
-
help="Update snapshot",
|
99
|
+
help="Update snapshot.",
|
87
100
|
)
|
88
101
|
@click.option('--format', type=click.Choice(FORMATS), help='Format output.')
|
89
102
|
@click.option('--select', multiple=True, help='Select column(s) to display.')
|
@@ -266,4 +279,70 @@ def __transform_scenario(snapshot: ScenarioSnapshot):
|
|
266
279
|
event_dict['name'] = metadata.get('name')
|
267
280
|
event_dict['description'] = metadata.get('description')
|
268
281
|
|
269
|
-
return event_dict
|
282
|
+
return event_dict
|
283
|
+
|
284
|
+
def __copy_requests(request_keys: list, destination: str):
|
285
|
+
log = Log()
|
286
|
+
|
287
|
+
data_dir = DataDir.instance(destination)
|
288
|
+
destination_log = Log(data_dir)
|
289
|
+
|
290
|
+
for request_key in request_keys:
|
291
|
+
found = False
|
292
|
+
|
293
|
+
for event in log.target_events:
|
294
|
+
if event.action != PUT_ACTION:
|
295
|
+
continue
|
296
|
+
|
297
|
+
if event.resource != REQUEST_RESOURCE:
|
298
|
+
continue
|
299
|
+
|
300
|
+
key = RequestKey(request_key)
|
301
|
+
if event.resource_uuid != key.id:
|
302
|
+
continue
|
303
|
+
|
304
|
+
snapshot: RequestSnapshot = event.snapshot()
|
305
|
+
snapshot.copy(destination)
|
306
|
+
resource = snapshot.find_resource()
|
307
|
+
|
308
|
+
if not resource:
|
309
|
+
print(f"Could not find request {key.id}", file=sys.stderr)
|
310
|
+
else:
|
311
|
+
destination_log.put(resource)
|
312
|
+
found = True
|
313
|
+
|
314
|
+
if not found:
|
315
|
+
print(f"No snapshot found for {key}", file=sys.stderr)
|
316
|
+
|
317
|
+
def __copy_scenarios(scenario_keys: list, destination: str):
|
318
|
+
log = Log()
|
319
|
+
|
320
|
+
data_dir = DataDir.instance(destination)
|
321
|
+
destination_log = Log(data_dir)
|
322
|
+
|
323
|
+
for scenario_key in scenario_keys:
|
324
|
+
found = False
|
325
|
+
|
326
|
+
for event in log.target_events:
|
327
|
+
if event.action != PUT_ACTION:
|
328
|
+
continue
|
329
|
+
|
330
|
+
if event.resource != SCENARIO_RESOURCE:
|
331
|
+
continue
|
332
|
+
|
333
|
+
key = ScenarioKey(scenario_key)
|
334
|
+
if event.resource_uuid != key.id:
|
335
|
+
continue
|
336
|
+
|
337
|
+
snapshot: ScenarioSnapshot = event.snapshot()
|
338
|
+
snapshot.copy(destination)
|
339
|
+
resource = snapshot.find_resource()
|
340
|
+
|
341
|
+
if not resource:
|
342
|
+
print(f"Could not find scenario {key.id}", file=sys.stderr)
|
343
|
+
else:
|
344
|
+
destination_log.put(resource)
|
345
|
+
found = True
|
346
|
+
|
347
|
+
if not found:
|
348
|
+
print(f"No snapshot found for {key}", file=sys.stderr)
|
@@ -11,11 +11,13 @@ from .log_event import LogEvent
|
|
11
11
|
from .snapshot_types import DELETE_ACTION, PUT_ACTION, Resource
|
12
12
|
|
13
13
|
EVENT_DELIMITTER = "\n"
|
14
|
+
LOG_ID = 'Log'
|
14
15
|
|
15
16
|
class Log():
|
16
17
|
|
17
|
-
def __init__(self):
|
18
|
-
data_dir = DataDir.instance()
|
18
|
+
def __init__(self, data_dir: DataDir = None):
|
19
|
+
data_dir = data_dir or DataDir.instance()
|
20
|
+
|
19
21
|
self.__log_file_path = data_dir.snapshots_log_file_path
|
20
22
|
self.__history_dir_path = data_dir.snapshots_history_dir_path
|
21
23
|
|
@@ -194,7 +196,7 @@ class Log():
|
|
194
196
|
snapshot_exists = snapshot.exists
|
195
197
|
|
196
198
|
if event.action == DELETE_ACTION or not snapshot_exists:
|
197
|
-
Logger.instance().info(f"{bcolors.OKBLUE}Removing {event.resource} {event.resource_uuid}
|
199
|
+
Logger.instance(LOG_ID).info(f"{bcolors.OKBLUE}Removing{bcolors.ENDC} {event.resource} {event.resource_uuid}")
|
198
200
|
|
199
201
|
resource_events: List[LogEvent] = resource_index[event.resource_uuid]
|
200
202
|
removed_events = {}
|
@@ -204,14 +206,14 @@ class Log():
|
|
204
206
|
if event.uuid in removed_events:
|
205
207
|
continue
|
206
208
|
|
207
|
-
Logger.instance().info(f"Removing event {event.uuid}")
|
209
|
+
Logger.instance(LOG_ID).info(f"Removing event {event.uuid}")
|
208
210
|
self.remove_event_history(event, history_path, dry_run)
|
209
211
|
removed_events[event.uuid] = True
|
210
212
|
|
211
213
|
if event.action == DELETE_ACTION and snapshot_exists:
|
212
214
|
if not dry_run:
|
213
215
|
snapshot.remove()
|
214
|
-
Logger.instance().info(f"Removing {event.resource} snapshot")
|
216
|
+
Logger.instance(LOG_ID).info(f"Removing {event.resource} snapshot")
|
215
217
|
|
216
218
|
def build_raw_events(self, contents: str) -> List[str]:
|
217
219
|
if not contents:
|
@@ -259,13 +261,13 @@ class Log():
|
|
259
261
|
events = list(filter(lambda log_event: log_event.uuid != event.uuid, events))
|
260
262
|
|
261
263
|
if len(events) == 0:
|
262
|
-
Logger.instance().info(f"Removing {history_path}")
|
264
|
+
Logger.instance(LOG_ID).info(f"Removing {history_path}")
|
263
265
|
|
264
266
|
if not dry_run:
|
265
267
|
os.remove(history_path)
|
266
268
|
else:
|
267
269
|
new_raw_events = list(map(lambda event: str(event), events))
|
268
|
-
Logger.instance().info(f"Updating {history_path}, Events: {len(raw_events)} -> {len(new_raw_events)}")
|
270
|
+
Logger.instance(LOG_ID).info(f"Updating {history_path}, Events: {len(raw_events)} -> {len(new_raw_events)}")
|
269
271
|
|
270
272
|
if not dry_run:
|
271
273
|
with open(history_path, 'w') as fp:
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import os
|
2
|
+
import shutil
|
2
3
|
|
3
4
|
from stoobly_agent.app.models.adapters.orm import JoinedRequestStringAdapter
|
4
5
|
from stoobly_agent.lib.orm.request import Request
|
@@ -47,6 +48,10 @@ class RequestSnapshot(Snapshot):
|
|
47
48
|
with open(self.path, 'rb') as fp:
|
48
49
|
self.__backup = fp.read()
|
49
50
|
|
51
|
+
def copy(self, dest_dir: str):
|
52
|
+
request_file_path = self.path
|
53
|
+
return self.copy_file(request_file_path, dest_dir)
|
54
|
+
|
50
55
|
def find_resource(self):
|
51
56
|
return Request.find_by(uuid=self.uuid)
|
52
57
|
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import json
|
2
2
|
import os
|
3
3
|
import pdb
|
4
|
+
import shutil
|
4
5
|
|
5
6
|
from typing import Callable
|
6
7
|
|
@@ -74,6 +75,26 @@ class ScenarioSnapshot(Snapshot):
|
|
74
75
|
|
75
76
|
self.iter_request_snapshots(self.__handle_backup_requests)
|
76
77
|
|
78
|
+
def copy(self, destination):
|
79
|
+
self.copy_metadata(destination)
|
80
|
+
self.copy_requests(destination)
|
81
|
+
|
82
|
+
def copy_metadata(self, dest_dir: str):
|
83
|
+
metadata_file_path = self.metadata_path
|
84
|
+
return self.copy_file(metadata_file_path, dest_dir)
|
85
|
+
|
86
|
+
def copy_requests(self, dest_dir: str):
|
87
|
+
if not os.path.exists(dest_dir):
|
88
|
+
os.makedirs(dest_dir, exist_ok=True)
|
89
|
+
|
90
|
+
requests_file_path = self.requests_path
|
91
|
+
|
92
|
+
if os.path.exists(requests_file_path):
|
93
|
+
# A request only ever belongs to one scenario
|
94
|
+
self.iter_request_snapshots(lambda snapshot: self.__handle_copy_requests(snapshot, dest_dir))
|
95
|
+
|
96
|
+
self.copy_file(requests_file_path, dest_dir)
|
97
|
+
|
77
98
|
def iter_request_snapshots(self, handler: Callable[[RequestSnapshot], None]):
|
78
99
|
requests_file_path = self.requests_path
|
79
100
|
|
@@ -136,5 +157,8 @@ class ScenarioSnapshot(Snapshot):
|
|
136
157
|
def __handle_backup_requests(self, request_snapshot: RequestSnapshot):
|
137
158
|
self.__requests_backup[request_snapshot.uuid] = request_snapshot.request
|
138
159
|
|
160
|
+
def __handle_copy_requests(self, request_snapshot: RequestSnapshot, dest_dir: str):
|
161
|
+
request_snapshot.copy(dest_dir)
|
162
|
+
|
139
163
|
def __handle_remove_requests(self, request_snapshot: RequestSnapshot):
|
140
164
|
request_snapshot.remove()
|
stoobly_agent-0.34.11/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot.py
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
import os
|
2
|
+
import shutil
|
3
|
+
|
4
|
+
from stoobly_agent.config.data_dir import DataDir
|
5
|
+
|
6
|
+
class Snapshot():
|
7
|
+
|
8
|
+
def __init__(self, uuid: str):
|
9
|
+
self.__uuid = uuid
|
10
|
+
self.__data_dir = DataDir.instance()
|
11
|
+
|
12
|
+
@property
|
13
|
+
def uuid(self):
|
14
|
+
return self.__uuid
|
15
|
+
|
16
|
+
@property
|
17
|
+
def data_dir(self):
|
18
|
+
return self.__data_dir
|
19
|
+
|
20
|
+
def copy_file(self, src: str, dest_dir: str):
|
21
|
+
if not os.path.exists(src):
|
22
|
+
return None
|
23
|
+
|
24
|
+
data_dir_parent = os.path.dirname(self.data_dir.path)
|
25
|
+
dest_file_path = src.replace(data_dir_parent, dest_dir)
|
26
|
+
dest_dir_path = os.path.dirname(dest_file_path)
|
27
|
+
|
28
|
+
if not os.path.exists(dest_dir_path):
|
29
|
+
os.makedirs(dest_dir_path, exist_ok=True)
|
30
|
+
|
31
|
+
shutil.copy(src, dest_file_path)
|
32
|
+
|
33
|
+
return dest_file_path
|
@@ -5,6 +5,8 @@ from typing import List
|
|
5
5
|
from stoobly_agent.lib.cache import Cache
|
6
6
|
from stoobly_agent.lib.orm.request import Request
|
7
7
|
|
8
|
+
PREFIX = 'last_request_id'
|
9
|
+
|
8
10
|
def access_request(session_id: str, request_id: int, timeout = None):
|
9
11
|
cache = Cache.instance()
|
10
12
|
_last_request_id_key = __last_request_id_key(session_id)
|
@@ -18,6 +20,9 @@ def generate_session_id(query: dict):
|
|
18
20
|
|
19
21
|
return hashlib.md5(b'.'.join(toks)).hexdigest()
|
20
22
|
|
23
|
+
def reset():
|
24
|
+
Cache.instance().clear(f".+\.{PREFIX}")
|
25
|
+
|
21
26
|
def tiebreak_scenario_request(session_id: str, requests: List[Request]):
|
22
27
|
if len(requests) == 0:
|
23
28
|
return None
|
@@ -43,4 +48,4 @@ def tiebreak_scenario_request(session_id: str, requests: List[Request]):
|
|
43
48
|
|
44
49
|
def __last_request_id_key(_key = None):
|
45
50
|
_key = _key or generate_session_id()
|
46
|
-
return f"{_key}.
|
51
|
+
return f"{_key}.{PREFIX}"
|
@@ -58,12 +58,16 @@ class LocalDBQueryParamAdapter(LocalDBAdapter):
|
|
58
58
|
if not name in _query_params:
|
59
59
|
_query_params[name] = []
|
60
60
|
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
61
|
+
if isinstance(_query_params[name], list):
|
62
|
+
try:
|
63
|
+
index = _query_params[name].index(decoded_id['value'])
|
64
|
+
except ValueError as e:
|
65
|
+
return self.not_found()
|
66
|
+
|
67
|
+
_query_params[name][index] = value
|
68
|
+
else:
|
69
|
+
_query_params[name] = value
|
65
70
|
|
66
|
-
_query_params[name][index] = value
|
67
71
|
parsed_url = parsed_url._replace(query=urlencode(_query_params, True))
|
68
72
|
|
69
73
|
request = LocalDBRequestAdapter(self.__request_orm).update(request_id, url=parsed_url.geturl())
|
@@ -112,6 +112,7 @@ class LocalDBRequestAdapter(LocalDBAdapter):
|
|
112
112
|
|
113
113
|
headers = {}
|
114
114
|
headers[custom_headers.MOCK_REQUEST_ID] = str(request.id)
|
115
|
+
headers[custom_headers.MOCK_REQUEST_KEY] = request.key()
|
115
116
|
headers[custom_headers.RESPONSE_LATENCY] = str(request.latency)
|
116
117
|
|
117
118
|
return (
|
{stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/handle_mock_service.py
RENAMED
@@ -10,7 +10,7 @@ from stoobly_agent.app.models.request_model import RequestModel
|
|
10
10
|
from stoobly_agent.app.proxy.mitmproxy.request_facade import MitmproxyRequestFacade
|
11
11
|
from stoobly_agent.app.proxy.utils.rewrite_rules_to_ignored_components_service import rewrite_rules_to_ignored_components
|
12
12
|
from stoobly_agent.config.constants import custom_headers, env_vars, lifecycle_hooks, mock_policy, request_origin
|
13
|
-
from stoobly_agent.lib.logger import Logger
|
13
|
+
from stoobly_agent.lib.logger import bcolors, Logger
|
14
14
|
|
15
15
|
from .constants import custom_response_codes
|
16
16
|
from .mock.context import MockContext
|
@@ -20,7 +20,7 @@ from .utils.allowed_request_service import get_active_mode_policy
|
|
20
20
|
from .utils.request_handler import reverse_proxy
|
21
21
|
from .utils.response_handler import bad_request, pass_on
|
22
22
|
|
23
|
-
LOG_ID = '
|
23
|
+
LOG_ID = 'Mock'
|
24
24
|
|
25
25
|
class MockOptions(TypedDict):
|
26
26
|
failure: Callable
|
@@ -124,11 +124,18 @@ def handle_request_mock(context: MockContext):
|
|
124
124
|
success=lambda context: __handle_mock_success(context)
|
125
125
|
)
|
126
126
|
|
127
|
-
def
|
128
|
-
response = context.response
|
129
|
-
|
127
|
+
def handle_response_mock(context: MockContext):
|
128
|
+
response = context.flow.response
|
129
|
+
request_key = response.headers.get(custom_headers.MOCK_REQUEST_KEY)
|
130
|
+
|
131
|
+
if request_key:
|
132
|
+
request = context.flow.request
|
133
|
+
Logger.instance(LOG_ID).info(f"{bcolors.OKCYAN}Mocked{bcolors.ENDC} {request.url} -> {request_key}")
|
130
134
|
|
135
|
+
def __handle_mock_success(context: MockContext) -> None:
|
131
136
|
if os.environ.get(env_vars.AGENT_SIMULATE_LATENCY):
|
137
|
+
response = context.response
|
138
|
+
start_time = context.start_time
|
132
139
|
__simulate_latency(response.headers.get(custom_headers.RESPONSE_LATENCY), start_time)
|
133
140
|
|
134
141
|
def __handle_mock_failure(context: MockContext) -> None:
|
@@ -143,7 +150,7 @@ def __handle_mock_failure(context: MockContext) -> None:
|
|
143
150
|
else:
|
144
151
|
req.headers[custom_headers.REQUEST_ORIGIN] = request_origin.PROXY
|
145
152
|
|
146
|
-
Logger.instance().debug(f"
|
153
|
+
Logger.instance(LOG_ID).debug(f"UpstreamUrl: {upstream_url}")
|
147
154
|
|
148
155
|
reverse_proxy(req, upstream_url, {})
|
149
156
|
|
@@ -167,9 +174,9 @@ def __simulate_latency(expected_latency: str, start_time: float) -> float:
|
|
167
174
|
|
168
175
|
wait_time = expected_latency - estimated_rtt_network_latency - api_latency
|
169
176
|
|
170
|
-
Logger.instance().debug(f"
|
171
|
-
Logger.instance().debug(f"
|
172
|
-
Logger.instance().debug(f"
|
177
|
+
Logger.instance(LOG_ID).debug(f"Expected latency: {expected_latency}")
|
178
|
+
Logger.instance(LOG_ID).debug(f"API latency: {api_latency}")
|
179
|
+
Logger.instance(LOG_ID).debug(f"Wait time: {wait_time}")
|
173
180
|
|
174
181
|
if wait_time > 0:
|
175
182
|
time.sleep(wait_time)
|
{stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/handle_record_service.py
RENAMED
@@ -19,7 +19,7 @@ from .record.upload_request_service import inject_upload_request
|
|
19
19
|
from .utils.allowed_request_service import get_active_mode_policy
|
20
20
|
from .utils.response_handler import bad_request, disable_transfer_encoding
|
21
21
|
|
22
|
-
LOG_ID = '
|
22
|
+
LOG_ID = 'Record'
|
23
23
|
|
24
24
|
def handle_response_record(context: RecordContext):
|
25
25
|
flow = context.flow
|
@@ -32,7 +32,7 @@ def handle_response_record(context: RecordContext):
|
|
32
32
|
request_model = RequestModel(intercept_settings.settings)
|
33
33
|
|
34
34
|
active_record_policy = get_active_mode_policy(request, intercept_settings)
|
35
|
-
Logger.instance().debug(f"
|
35
|
+
Logger.instance(LOG_ID).debug(f"RecordPolicy: {active_record_policy}")
|
36
36
|
|
37
37
|
if active_record_policy == record_policy.ALL:
|
38
38
|
__record_request(context, request_model)
|
@@ -5,7 +5,7 @@ from mitmproxy.http import HTTPFlow as MitmproxyHTTPFlow
|
|
5
5
|
from mitmproxy.http import Headers, Request as MitmproxyRequest
|
6
6
|
|
7
7
|
from stoobly_agent.app.proxy.context import InterceptContext
|
8
|
-
from stoobly_agent.app.proxy.handle_mock_service import handle_request_mock
|
8
|
+
from stoobly_agent.app.proxy.handle_mock_service import handle_request_mock, handle_response_mock
|
9
9
|
from stoobly_agent.app.proxy.handle_replay_service import handle_request_replay, handle_response_replay
|
10
10
|
from stoobly_agent.app.proxy.handle_record_service import handle_response_record
|
11
11
|
from stoobly_agent.app.proxy.handle_test_service import handle_request_test, handle_response_test
|
@@ -21,7 +21,7 @@ from stoobly_agent.lib.logger import Logger
|
|
21
21
|
# Disable proxy settings in urllib
|
22
22
|
os.environ['no_proxy'] = '*'
|
23
23
|
|
24
|
-
LOG_ID = '
|
24
|
+
LOG_ID = 'Intercept'
|
25
25
|
|
26
26
|
def request(flow: MitmproxyHTTPFlow):
|
27
27
|
request: MitmproxyRequest = flow.request
|
@@ -36,7 +36,7 @@ def request(flow: MitmproxyHTTPFlow):
|
|
36
36
|
__intercept_hook(lifecycle_hooks.BEFORE_REQUEST, flow, intercept_settings)
|
37
37
|
|
38
38
|
active_mode = intercept_settings.mode
|
39
|
-
Logger.instance().debug(f"
|
39
|
+
Logger.instance(LOG_ID).debug(f"ProxyMode: {active_mode}")
|
40
40
|
|
41
41
|
if active_mode == mode.MOCK:
|
42
42
|
context = MockContext(flow, intercept_settings)
|
@@ -69,7 +69,10 @@ def response(flow: MitmproxyHTTPFlow):
|
|
69
69
|
|
70
70
|
active_mode = intercept_settings.mode
|
71
71
|
|
72
|
-
if active_mode == mode.
|
72
|
+
if active_mode == mode.MOCK:
|
73
|
+
context = MockContext(flow, intercept_settings)
|
74
|
+
return handle_response_mock(context)
|
75
|
+
elif active_mode == mode.RECORD:
|
73
76
|
context = RecordContext(flow, intercept_settings)
|
74
77
|
return handle_response_record(context)
|
75
78
|
elif active_mode == mode.REPLAY:
|
{stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mitmproxy/request_facade.py
RENAMED
@@ -17,6 +17,8 @@ from stoobly_agent.lib.utils.decode import decode
|
|
17
17
|
from .request_body_facade import MitmproxyRequestBodyFacade
|
18
18
|
from .request import Request
|
19
19
|
|
20
|
+
LOG_ID = 'Request'
|
21
|
+
|
20
22
|
class MitmproxyRequestFacade(Request):
|
21
23
|
|
22
24
|
###
|
@@ -137,7 +139,7 @@ class MitmproxyRequestFacade(Request):
|
|
137
139
|
|
138
140
|
if len(rewrites):
|
139
141
|
self.__rewrite_url(rewrites)
|
140
|
-
Logger.instance().debug(f"{bcolors.OKBLUE} Rewritten URL{bcolors.ENDC} {self.url}")
|
142
|
+
Logger.instance(LOG_ID).debug(f"{bcolors.OKBLUE} Rewritten URL{bcolors.ENDC} {self.url}")
|
141
143
|
|
142
144
|
# Find all the rules that match request url and method
|
143
145
|
def select_rewrite_rules(self, rules: List[RewriteRule]) -> List[RewriteRule]:
|
@@ -186,7 +188,7 @@ class MitmproxyRequestFacade(Request):
|
|
186
188
|
})
|
187
189
|
|
188
190
|
def __rewrite_handler(self, rewrite: ParameterRule) -> str:
|
189
|
-
Logger.instance().info(f"{bcolors.OKCYAN}Rewriting {rewrite.type.lower()}
|
191
|
+
Logger.instance(LOG_ID).info(f"{bcolors.OKCYAN}Rewriting{bcolors.ENDC} {rewrite.type.lower()} {rewrite.name} => {rewrite.value}")
|
190
192
|
return rewrite.value
|
191
193
|
|
192
194
|
def __rewrite_url(self, rewrites: List[UrlRule]):
|
{stoobly_agent-0.34.9 → stoobly_agent-0.34.11}/stoobly_agent/app/proxy/mock/eval_fixtures_service.py
RENAMED
@@ -11,6 +11,8 @@ from stoobly_agent.lib.logger import bcolors, Logger
|
|
11
11
|
|
12
12
|
from .types import Fixtures
|
13
13
|
|
14
|
+
LOG_ID = 'Fixture'
|
15
|
+
|
14
16
|
class Options():
|
15
17
|
public_directory_path: str
|
16
18
|
response_fixtures: Fixtures
|
@@ -44,7 +46,7 @@ def eval_fixtures(request: MitmproxyRequest, **options: Options) -> Union[Respon
|
|
44
46
|
response.raw = BytesIO(fp.read())
|
45
47
|
response.headers = headers
|
46
48
|
|
47
|
-
Logger.instance().debug(f"{bcolors.OKBLUE}Resolved fixture {fixture_path}
|
49
|
+
Logger.instance(LOG_ID).debug(f"{bcolors.OKBLUE}Resolved{bcolors.ENDC} fixture {fixture_path}")
|
48
50
|
|
49
51
|
return response
|
50
52
|
|