stoobly-agent 0.29.1__tar.gz → 0.30.0__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.29.1/stoobly_agent.egg-info → stoobly-agent-0.30.0}/PKG-INFO +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/__init__.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/configs_controller.py +5 -2
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/config_cli.py +64 -14
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/endpoint_cli.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/endpoint_facade.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/handle_config_update_service.py +44 -5
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/openapi_endpoint_adapter.py +19 -3
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/replay_facade.py +2 -2
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/intercept_cli.py +14 -5
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/request_cli.py +2 -2
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/scenario_cli.py +2 -2
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/types/endpoint.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/raw_http_request_adapter.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/raw_http_response_adapter.py +1 -1
- {stoobly-agent-0.29.1/stoobly_agent/app/proxy/record → stoobly-agent-0.30.0/stoobly_agent/app/proxy}/context.py +2 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/handle_mock_service.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/handle_replay_service.py +2 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/intercept_handler.py +14 -3
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/intercept_settings.py +28 -21
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mitmproxy/request_facade.py +41 -35
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mitmproxy/response_facade.py +0 -11
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mock/context.py +4 -11
- stoobly-agent-0.30.0/stoobly_agent/app/proxy/record/context.py +9 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/join_request_service.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/context.py +4 -11
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/replay_request_service.py +5 -5
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/rewrite_params_service.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/run.py +3 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/context.py +2 -2
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/context_abc.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/matchers/custom.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/rewrite_rule.py +13 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/types/__init__.py +1 -6
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/types/proxy_settings.py +6 -0
- stoobly-agent-0.30.0/stoobly_agent/app/settings/url_rule.py +33 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/cli.py +4 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/custom_headers.py +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/env_vars.py +1 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/lifecycle_hooks.py +2 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/schema.yml +7 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/request.py +8 -4
- stoobly-agent-0.30.0/stoobly_agent/public/18-es2015.46d337c47cb41abec8ad.js +1 -0
- stoobly-agent-0.30.0/stoobly_agent/public/18-es5.46d337c47cb41abec8ad.js +1 -0
- stoobly-agent-0.30.0/stoobly_agent/public/dashboard.agent-alpha-0.30.0.tar.gz +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/index.html +1 -1
- stoobly-agent-0.30.0/stoobly_agent/public/runtime-es2015.3a15c6ce90c8f8cce796.js +1 -0
- stoobly-agent-0.30.0/stoobly_agent/public/runtime-es5.3a15c6ce90c8f8cce796.js +1 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0/stoobly_agent.egg-info}/PKG-INFO +1 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent.egg-info/SOURCES.txt +7 -5
- stoobly-agent-0.29.1/stoobly_agent/public/18-es2015.750ef954bde422debcb6.js +0 -1
- stoobly-agent-0.29.1/stoobly_agent/public/18-es5.750ef954bde422debcb6.js +0 -1
- stoobly-agent-0.29.1/stoobly_agent/public/dashboard.agent-alpha-0.29.0.tar.gz +0 -0
- stoobly-agent-0.29.1/stoobly_agent/public/runtime-es2015.b392473c492ce4cf1cb5.js +0 -1
- stoobly-agent-0.29.1/stoobly_agent/public/runtime-es5.b392473c492ce4cf1cb5.js +0 -1
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/LICENSE +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/README.md +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/setup.cfg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/setup.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/application_http_request_handler.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/bodies_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/headers_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/proxy_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/query_params_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/replayed_response_headers_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/replayed_responses_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/requests_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/response_headers_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/responses_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/routes.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/scenarios_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/simple_http_request_handler.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/api/statuses_controller.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/ca_cert_cli.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/ca_cert_installer.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/decorators/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/decorators/config.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/decorators/exec.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/dev_tools_cli.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/feature_cli.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/context.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/handle_mock_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/handle_replay_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/handle_test_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/iterate_group_by.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/print_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/project_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/report_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/request_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/request_synchronize_handler.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/run_command_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/scenario_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/schema_builder.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/synchronize_request_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/tabulate_print_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/test_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/trace_aliases.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/trace_context_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/validations.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/main_group.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/project_cli.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/report_cli.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/snapshot_cli.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/trace_cli.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/types/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/types/output.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/joined_request_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/mitmproxy/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/mitmproxy/request/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/mitmproxy/request/python_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/mitmproxy/response/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/mitmproxy/response/python_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/orm/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/orm/joined_request_string_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/orm/request/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/orm/request/mitmproxy_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/orm/request/python_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/orm/response/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/orm/response/mitmproxy_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/orm/response/python_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/python/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/python/request/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/python/request/mitmproxy_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/python/request/raw_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/python/request/stoobly_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/python/response/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/python/response/mitmproxy_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/python/response/raw_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/stoobly/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/stoobly/request/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/adapters/stoobly/request/mitmproxy_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/body_model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/body.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/header.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/body_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/header_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/create_request_columns_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/log.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/log_event.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/request_builder.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/request_snapshot.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/scenario_snapshot.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/search.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/helpers/tiebreak_scenario_request.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/local_db_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/orm_request_builder.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/query_param_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/replayed_response_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/request_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/response_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/response_header_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/local_db/scenario_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/query_param.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/replayed_response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/request.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/response_header.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/scenario.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/stoobly/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/stoobly/request_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/factories/resource/stoobly/scenario_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/header_model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/helpers/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/helpers/apply.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/helpers/create_request_params_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/query_param_model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/replayed_response_model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/request_model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/response_header_model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/response_model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/scenario_model.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/schemas/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/schemas/request.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/types/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/types/endpoint.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/types/replayed_response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/types/request.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/types/request_components.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/types/response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/models/types/scenario.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/constants/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/constants/custom_response_codes.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/handle_record_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/handle_test_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/hot_reload.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mitmproxy/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mitmproxy/flow_mock.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mitmproxy/request.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mitmproxy/request_body_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mitmproxy/response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mock/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mock/custom_not_found_response_builder.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mock/eval_request_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mock/hashed_request_decorator.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/mock/request_hasher.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/joined_request.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/overwrite_scenario_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/proxy_request.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/request_string.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/request_string_control.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/response_string.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/response_string_control.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/upload_request_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/record/upload_test_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/alias_context.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/alias_resolver.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/body_parser_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/multipart.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/replay_scenario_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/replay/trace_context.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/simulate_intercept_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/context_response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/helpers/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/helpers/endpoint_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/helpers/mitmproxy_response_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/helpers/request_component_names_facade.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/helpers/requests_response_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/helpers/stoobly_response_adapter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/matchers/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/matchers/context.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/matchers/contract.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/matchers/diff.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/matchers/errors.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/matchers/fuzzy.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/matchers/handlers/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/test/test_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/utils/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/utils/allowed_request_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/utils/publish_change_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/utils/request_handler.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/utils/response_handler.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/utils/rewrite_rules_to_ignored_components_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/cli_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/constants/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/constants/firewall_action.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/constants/intercept_mode.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/constants/mode.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/constants/request_component.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/data_rules.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/data_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/feature_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/firewall_rule.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/firewall_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/intercept_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/match_rule.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/match_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/parameter_rule.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/proxy_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/remote_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/rewrite_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/types/cli_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/types/remote_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/types/ui_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/settings/ui_settings.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/alias_resolve_strategy.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/headers.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/mock_policy.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/mode.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/record_policy.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/replay_policy.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/request_origin.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/statuses.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/test_filter.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/constants/test_strategy.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/data_dir.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/mitmproxy.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/settings.yml.sample +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/config/source_dir.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2022_03_17_060144_create_requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2022_03_17_074916_create_responses.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2022_05_10_003705_create_traces.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2022_05_10_003840_create_trace_aliases.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2022_06_29_234516_create_trace_requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2022_06_29_235155_add_trace_request_reference_to_trace_aliases.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2022_12_12_092437_align_requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2022_12_28_092917_add_filter_columns_to_requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_01_21_055426_create_scenarios.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_01_21_060225_add_scenario_id_reference_to_requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_02_02_022229_create_replayed_responses.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_03_20_192909_add_http_version_column_to_requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_03_20_220448_add_http_version_column_to_responses.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_04_18_071327_align_requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_05_15_212505_add_uuid_column_to_requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_05_15_213119_add_uuid_column_to_scenarios.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/2023_05_29_053649_add_overwritable_column_to_scenarios.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/db/migrations/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/agent_api.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/api.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/endpoints_resource.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/endpoints.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/headers.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/pagination_query_params.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/projects.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/query_params.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/reports.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/requests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/response_headers.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/responses.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/scenarios.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/tests.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/traces.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/interfaces/users.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/json_response_builder.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/organization_key.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/project_key.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/report_key.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/request_key.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/resource_key.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/scenario_key.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/test_key.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/keys/uuid_key.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/param_builder.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/projects_resource.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/reports_resource.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/requests_resource.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/scenarios_resource.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/stoobly_api.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/test_responses_resource.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/tests_resource.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/api/users_resource.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/cache.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/logger.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/base.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/migrate_service.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/replayed_response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/scenario.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/trace.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/trace_alias.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/trace_request.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/transformers/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/transformers/orm_to_request_transformer.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/transformers/orm_to_requests_response_transformer.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/transformers/orm_to_stoobly_request_transformer.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/transformers/orm_to_stoobly_response_transformer.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/types/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/types/request_columns.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/types/response_columns.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/utils/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/utils/request_parse_handler.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/utils/requests_response_builder.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/orm/utils/response_parse_handler.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/utils/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/utils/conditional_decorator.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/utils/decode.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/utils/jmespath.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/utils/python_to_ruby_type.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/lib/utils/visitor.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/mock.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/0-es2015.a7e60cafc0868f87a771.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/0-es5.a7e60cafc0868f87a771.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/1-es2015.37917aa26708d8f35d36.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/1-es5.37917aa26708d8f35d36.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/11-es2015.25f04c94499eb7fe8383.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/11-es5.25f04c94499eb7fe8383.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/12-es2015.432e5c81ea0523670bb5.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/12-es5.432e5c81ea0523670bb5.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/13-es2015.76b6c147b0c46f995cd7.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/13-es5.76b6c147b0c46f995cd7.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/14-es2015.396c102bb2bab336a773.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/14-es5.396c102bb2bab336a773.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/15-es2015.5a4d5cd67d118f4dc6a0.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/15-es5.5a4d5cd67d118f4dc6a0.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/16-es2015.5d395009a77978db4405.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/16-es5.5d395009a77978db4405.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/17-es2015.49cab0e0a5ff9c1fd0a5.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/17-es5.49cab0e0a5ff9c1fd0a5.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/19-es2015.bfa4d827ce7200308efa.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/19-es5.bfa4d827ce7200308efa.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/2-es2015.8f184ac63348ba447b1f.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/2-es5.8f184ac63348ba447b1f.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/20-es2015.473486aabfa4d4a6431b.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/20-es5.473486aabfa4d4a6431b.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/21-es2015.d0a49c88d921bc820444.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/21-es5.d0a49c88d921bc820444.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/22-es2015.46d81010003b2a50eeab.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/22-es5.46d81010003b2a50eeab.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/27-es2015.c156085ca1e3fa54fbe9.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/27-es5.c156085ca1e3fa54fbe9.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/28-es2015.9fe030e9d3b0e52239aa.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/28-es5.9fe030e9d3b0e52239aa.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/29-es2015.51bc321ccca98413d1cf.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/29-es5.51bc321ccca98413d1cf.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/30-es2015.85441b69a3817d68356d.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/30-es5.85441b69a3817d68356d.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/31-es2015.4fa47750432e46c75b63.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/31-es5.4fa47750432e46c75b63.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/32-es2015.875ceb25ec98ba1f4867.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/32-es5.875ceb25ec98ba1f4867.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/33-es2015.bd58adab96ad811f929e.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/33-es5.bd58adab96ad811f929e.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/34-es2015.a50068b00068c8d1d6a4.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/34-es5.a50068b00068c8d1d6a4.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/35-es2015.ca5955cafde6a452ad04.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/35-es5.ca5955cafde6a452ad04.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/36-es2015.8faf8c248f0e5629f21f.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/36-es5.8faf8c248f0e5629f21f.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/37-es2015.50d0c2d3fe4d0a74fc8f.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/37-es5.50d0c2d3fe4d0a74fc8f.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/38-es2015.c14bde0b8d0cc14e915e.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/38-es5.c14bde0b8d0cc14e915e.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/39-es2015.26941c53f5834fbd63be.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/39-es5.26941c53f5834fbd63be.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/3rdpartylicenses.txt +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/4-es2015.182e1ce1811ef67571fb.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/4-es5.182e1ce1811ef67571fb.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/40-es2015.df95a12a4cd85d7c8596.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/40-es5.df95a12a4cd85d7c8596.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/41-es2015.7c640c9f1621b808936c.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/41-es5.7c640c9f1621b808936c.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/42-es2015.95548139513542a1337d.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/42-es5.95548139513542a1337d.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/43-es2015.205dc77f074b609a2603.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/43-es5.205dc77f074b609a2603.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/44-es2015.56fb152631908fb9fcd6.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/44-es5.56fb152631908fb9fcd6.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/45-es2015.b7b147aae67f68740199.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/45-es5.b7b147aae67f68740199.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/46-es2015.abc7e4fd207d54277fcb.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/46-es5.abc7e4fd207d54277fcb.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/5-es2015.aba7173be56fc19b4b6f.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/5-es5.aba7173be56fc19b4b6f.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/6-es2015.5fb726c0555664300974.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/6-es5.5fb726c0555664300974.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/7-es2015.1a5e138b28674730f646.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/7-es5.1a5e138b28674730f646.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/8-es2015.30782399051614e816cf.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/8-es5.30782399051614e816cf.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/9-es2015.ef0f7cb32f5fadb085d0.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/9-es5.ef0f7cb32f5fadb085d0.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/CHANGELOG.md +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/README.md +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/_redirects +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/1.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/2.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/3.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/4.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/5.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/6.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/7.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/8.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/landscape.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/demo/mountain-cinematic.jpg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/illustrations/checklist.svg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/illustrations/data_center.svg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/illustrations/idea.svg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/illustrations/it_support.svg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/illustrations/peak_mountain_3.svg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/illustrations/under_constructions_1.svg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/logo/colored.png +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/logo/colored.svg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/logo/white.png +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/assets/img/logo/white.svg +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/common-es2015.86f70de6df2c705a87f6.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/common-es5.86f70de6df2c705a87f6.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/favicon.ico +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/main-es2015.9aaecf72f47ebb58efdb.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/main-es5.9aaecf72f47ebb58efdb.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/polyfills-es2015.2b40b2ecdf98a9210572.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/polyfills-es5.d9fb2eee68607c3f7f64.js +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/public/styles.ca104d947fbb2eebbeca.css +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/test/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/test/app/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/test/app/test/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/test/mock_data/__init__.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/test/mock_data/endpoint_show_response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/test/mock_data/request_show_response.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/test/test_helper.py +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent.egg-info/dependency_links.txt +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent.egg-info/entry_points.txt +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent.egg-info/requires.txt +0 -0
- {stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent.egg-info/top_level.txt +0 -0
@@ -1,2 +1,2 @@
|
|
1
1
|
COMMAND = 'stoobly-agent'
|
2
|
-
VERSION = '0.
|
2
|
+
VERSION = '0.30.0'
|
@@ -3,7 +3,9 @@ import pdb
|
|
3
3
|
from mergedeep import merge
|
4
4
|
|
5
5
|
from stoobly_agent.app.api.simple_http_request_handler import SimpleHTTPRequestHandler
|
6
|
-
from stoobly_agent.app.cli.helpers.handle_config_update_service import
|
6
|
+
from stoobly_agent.app.cli.helpers.handle_config_update_service import (
|
7
|
+
context as handle_context, handle_intercept_active_update, handle_policy_update, handle_project_update, handle_scenario_update
|
8
|
+
)
|
7
9
|
from stoobly_agent.app.models.scenario_model import ScenarioModel
|
8
10
|
from stoobly_agent.app.proxy.intercept_settings import InterceptSettings
|
9
11
|
from stoobly_agent.app.settings import Settings
|
@@ -106,8 +108,9 @@ class ConfigsController:
|
|
106
108
|
|
107
109
|
_handle_context = handle_context()
|
108
110
|
|
109
|
-
|
111
|
+
handle_intercept_active_update(settings, _handle_context)
|
110
112
|
handle_policy_update(settings, _handle_context)
|
113
|
+
handle_project_update(settings, _handle_context)
|
111
114
|
handle_scenario_update(settings, _handle_context)
|
112
115
|
|
113
116
|
settings.write(settings.to_dict())
|
@@ -8,7 +8,7 @@ from stoobly_agent.app.settings import Settings
|
|
8
8
|
from stoobly_agent.app.settings.constants import firewall_action, request_component
|
9
9
|
from stoobly_agent.app.settings.firewall_rule import FirewallRule
|
10
10
|
from stoobly_agent.app.settings.match_rule import MatchRule
|
11
|
-
from stoobly_agent.app.settings.rewrite_rule import ParameterRule, RewriteRule
|
11
|
+
from stoobly_agent.app.settings.rewrite_rule import ParameterRule, RewriteRule, UrlRule
|
12
12
|
from stoobly_agent.config.constants import mode
|
13
13
|
from stoobly_agent.config.data_dir import DataDir
|
14
14
|
from stoobly_agent.lib.api.keys import ProjectKey, ScenarioKey
|
@@ -146,6 +146,7 @@ def rewrite(ctx):
|
|
146
146
|
@rewrite.command(
|
147
147
|
help="Set rewrite rule."
|
148
148
|
)
|
149
|
+
@click.option('--host', help='Request URL host.')
|
149
150
|
@click.option(
|
150
151
|
'--method',
|
151
152
|
multiple=True,
|
@@ -159,17 +160,30 @@ def rewrite(ctx):
|
|
159
160
|
required=True,
|
160
161
|
type=click.Choice([mode.MOCK, mode.RECORD, mode.REPLAY] + ([mode.TEST] if is_remote else []))
|
161
162
|
)
|
162
|
-
@click.option('--name',
|
163
|
+
@click.option('--name', help='Name of the request component.')
|
163
164
|
@click.option('--pattern', required=True, help='URLs pattern.')
|
165
|
+
@click.option('--port', help='Request URL port.')
|
164
166
|
@click.option('--project-key', help='Project to add rewrite rule to.')
|
165
167
|
@click.option(
|
166
168
|
'--type',
|
167
|
-
required=True,
|
168
169
|
type=click.Choice([request_component.BODY_PARAM, request_component.HEADER, request_component.QUERY_PARAM]),
|
169
170
|
help='Request component type.'
|
170
171
|
)
|
171
|
-
@click.option('--value',
|
172
|
+
@click.option('--value', help='Rewrite value.')
|
172
173
|
def set(**kwargs):
|
174
|
+
if kwargs['name'] or kwargs['value'] or kwargs['type']:
|
175
|
+
if kwargs['name'] == None:
|
176
|
+
print("Error: missing option '--name'", file=sys.stderr)
|
177
|
+
sys.exit(1)
|
178
|
+
|
179
|
+
if kwargs['value'] == None:
|
180
|
+
print("Error: missing option '--value'", file=sys.stderr)
|
181
|
+
sys.exit(1)
|
182
|
+
|
183
|
+
if kwargs['type'] == None:
|
184
|
+
print("Error: missing option '--type'", file=sys.stderr)
|
185
|
+
sys.exit(1)
|
186
|
+
|
173
187
|
settings = Settings.instance()
|
174
188
|
project_key_str = resolve_project_key_and_validate(kwargs, settings)
|
175
189
|
project_key = ProjectKey(project_key_str)
|
@@ -183,27 +197,50 @@ def set(**kwargs):
|
|
183
197
|
filtered_rewrite_rules: List[RewriteRule] = list(filter(rewrite_rule_filter, rewrite_rules))
|
184
198
|
|
185
199
|
if len(filtered_rewrite_rules) == 0:
|
200
|
+
parameter_rules = list(filter(lambda r: r != None, [__select_parameter_rule(kwargs)]))
|
201
|
+
url_rules = list(filter(lambda r: r != None , [__select_url_rule(kwargs)]))
|
186
202
|
rewrite_rule = RewriteRule({
|
187
203
|
'methods': methods,
|
188
204
|
'pattern': kwargs['pattern'],
|
189
|
-
'parameter_rules':
|
205
|
+
'parameter_rules': parameter_rules,
|
206
|
+
'url_rules': url_rules,
|
190
207
|
})
|
191
208
|
rewrite_rules.append(rewrite_rule)
|
192
209
|
settings.proxy.rewrite.set_rewrite_rules(project_key.id, rewrite_rules)
|
193
210
|
else:
|
194
211
|
parameter_rule_filter = lambda rule: rule.name == kwargs['name'] and rule.type == kwargs['type'] and rule.modes == modes
|
212
|
+
url_rule_filter = lambda rule: rule.host == kwargs['host'] and rule.modes == modes
|
213
|
+
|
195
214
|
for rewrite_rule in filtered_rewrite_rules:
|
196
|
-
|
197
|
-
filtered_parameter_rules: List[ParameterRule] = list(filter(parameter_rule_filter, parameter_rules))
|
215
|
+
# Parameter rules
|
198
216
|
parameter_rule_dict = __select_parameter_rule(kwargs)
|
199
217
|
|
200
|
-
if
|
201
|
-
|
202
|
-
parameter_rules
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
218
|
+
if parameter_rule_dict:
|
219
|
+
parameter_rules = rewrite_rule.parameter_rules
|
220
|
+
filtered_parameter_rules: List[ParameterRule] = list(filter(parameter_rule_filter, parameter_rules))
|
221
|
+
|
222
|
+
if len(filtered_parameter_rules) == 0:
|
223
|
+
parameter_rule = ParameterRule(parameter_rule_dict)
|
224
|
+
parameter_rules.append(parameter_rule)
|
225
|
+
rewrite_rule.parameter_rules = parameter_rules
|
226
|
+
else:
|
227
|
+
for parameter_rule in filtered_parameter_rules:
|
228
|
+
parameter_rule.update(parameter_rule_dict)
|
229
|
+
|
230
|
+
# URL rules
|
231
|
+
url_rule_dict = __select_url_rule(kwargs)
|
232
|
+
|
233
|
+
if url_rule_dict:
|
234
|
+
url_rules = rewrite_rule.url_rules
|
235
|
+
filtered_url_rules: List[UrlRule] = list(filter(url_rule_filter, url_rules))
|
236
|
+
|
237
|
+
if len(filtered_url_rules) == 0:
|
238
|
+
url_rule = UrlRule(url_rule_dict)
|
239
|
+
url_rules.append(url_rule)
|
240
|
+
rewrite_rule.url_rules = url_rules
|
241
|
+
else:
|
242
|
+
for url_rule in filtered_url_rules:
|
243
|
+
url_rule.update(url_rule_dict)
|
207
244
|
|
208
245
|
settings.commit()
|
209
246
|
|
@@ -437,6 +474,9 @@ config.add_command(rewrite)
|
|
437
474
|
config.add_command(scenario)
|
438
475
|
|
439
476
|
def __select_parameter_rule(kwargs):
|
477
|
+
if kwargs['name'] == None or kwargs['value'] == None or kwargs['type'] == None:
|
478
|
+
return
|
479
|
+
|
440
480
|
return {
|
441
481
|
'modes': list(kwargs['mode']),
|
442
482
|
'name': kwargs['name'],
|
@@ -444,6 +484,16 @@ def __select_parameter_rule(kwargs):
|
|
444
484
|
'type': kwargs['type'],
|
445
485
|
}
|
446
486
|
|
487
|
+
def __select_url_rule(kwargs):
|
488
|
+
if kwargs['host'] == None or kwargs['port'] == None:
|
489
|
+
return
|
490
|
+
|
491
|
+
return {
|
492
|
+
'host': kwargs['host'],
|
493
|
+
'modes': list(kwargs['mode']),
|
494
|
+
'port': kwargs['port'],
|
495
|
+
}
|
496
|
+
|
447
497
|
def __project_key(settings):
|
448
498
|
project_key = settings.proxy.intercept.project_key
|
449
499
|
validate_project_key(project_key)
|
@@ -26,7 +26,7 @@ def endpoint(ctx):
|
|
26
26
|
)
|
27
27
|
@click.option('--format', required=True, type=click.Choice([OPENAPI_FORMAT]), help='File format')
|
28
28
|
@click.option('--scenario-key', help='Which scenario to import to. If none then all requests will be imported to.')
|
29
|
-
@click.option('--lifecycle-hooks-
|
29
|
+
@click.option('--lifecycle-hooks-path', help='Path to lifecycle hooks script.')
|
30
30
|
@ConditionalDecorator(lambda f: click.option('--project-key', help='Project to create endpoint in.')(f), is_remote)
|
31
31
|
@click.argument('path')
|
32
32
|
def _import(**kwargs: EndpointCreateCliOptions):
|
@@ -19,6 +19,44 @@ def context() -> Context:
|
|
19
19
|
'current_proxy_settings': __current_proxy_settings()
|
20
20
|
}
|
21
21
|
|
22
|
+
def handle_intercept_active_update(new_settings: Settings, context: Context = None):
|
23
|
+
data_rule = __data_rule(new_settings.proxy)
|
24
|
+
is_active = new_settings.proxy.intercept.active
|
25
|
+
old_proxy_settings = __current_proxy_settings(context)
|
26
|
+
was_active = old_proxy_settings.intercept.active
|
27
|
+
_mode = context['mode'] if context and context.get('mode') else new_settings.proxy.intercept.mode
|
28
|
+
|
29
|
+
if not was_active and is_active:
|
30
|
+
if _mode == intercept_mode.RECORD:
|
31
|
+
new_policy = data_rule.record_policy
|
32
|
+
scenario_key = data_rule.scenario_key
|
33
|
+
_scenario_key = __parse_scenario_key(scenario_key)
|
34
|
+
|
35
|
+
if _scenario_key:
|
36
|
+
scenario_model = ScenarioModel(new_settings)
|
37
|
+
|
38
|
+
if new_policy == record_policy.OVERWRITE:
|
39
|
+
# If policy is overwrite when recording, whenever intercept is enabled,
|
40
|
+
# set active scenario to be overwritable
|
41
|
+
scenario_model.update(_scenario_key.id, **{ 'overwritable': True })[1]
|
42
|
+
else:
|
43
|
+
scenario_model.update(_scenario_key.id, **{ 'overwritable': False })[1]
|
44
|
+
elif was_active and not is_active:
|
45
|
+
if _mode == intercept_mode.RECORD:
|
46
|
+
old_proxy_settings = __current_proxy_settings(context)
|
47
|
+
old_policy = __data_rule(old_proxy_settings).record_policy
|
48
|
+
|
49
|
+
if old_policy == record_policy.OVERWRITE:
|
50
|
+
scenario_key = data_rule.scenario_key
|
51
|
+
_scenario_key = __parse_scenario_key(scenario_key)
|
52
|
+
|
53
|
+
if _scenario_key:
|
54
|
+
scenario_model = ScenarioModel(new_settings)
|
55
|
+
|
56
|
+
# If policy is overwrite when recording, whenever intercept is disabled,
|
57
|
+
# set active scenario to not be overwritable
|
58
|
+
scenario_model.update(_scenario_key.id, **{ 'overwritable': False })[1]
|
59
|
+
|
22
60
|
def handle_scenario_update(new_settings: Settings, context = None):
|
23
61
|
new_scenario_key = __scenario_key(new_settings.proxy)
|
24
62
|
if not new_scenario_key:
|
@@ -27,9 +65,10 @@ def handle_scenario_update(new_settings: Settings, context = None):
|
|
27
65
|
old_proxy_settings = __current_proxy_settings(context)
|
28
66
|
old_scenario_key = __scenario_key(old_proxy_settings)
|
29
67
|
|
30
|
-
|
31
|
-
|
32
|
-
|
68
|
+
if old_scenario_key != new_scenario_key:
|
69
|
+
data_rule = __data_rule(new_settings.proxy)
|
70
|
+
|
71
|
+
if data_rule.record_policy == record_policy.OVERWRITE:
|
33
72
|
scenario_model = ScenarioModel(new_settings)
|
34
73
|
|
35
74
|
_old_scenario_key = __parse_scenario_key(old_scenario_key)
|
@@ -75,13 +114,13 @@ def handle_policy_update(new_settings: Settings, context: Context = None):
|
|
75
114
|
new_policy = data_rule.record_policy
|
76
115
|
old_policy = old_data_rule.record_policy
|
77
116
|
|
78
|
-
if new_policy != old_policy and
|
117
|
+
if new_policy != old_policy and old_policy == record_policy.OVERWRITE:
|
79
118
|
scenario_key = data_rule.scenario_key
|
80
119
|
_scenario_key = __parse_scenario_key(scenario_key)
|
81
120
|
|
82
121
|
if _scenario_key:
|
83
122
|
scenario_model = ScenarioModel(new_settings)
|
84
|
-
scenario_model.update(_scenario_key.id, **{ 'overwritable':
|
123
|
+
scenario_model.update(_scenario_key.id, **{ 'overwritable': False })[1]
|
85
124
|
|
86
125
|
def __current_proxy_settings(context: Context = None):
|
87
126
|
if context and context.get('current_proxy_settings'):
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import copy
|
2
2
|
from functools import reduce
|
3
3
|
import itertools
|
4
|
-
import pdb
|
5
4
|
from pprint import pprint
|
6
5
|
import re
|
7
6
|
from typing import Dict, List, Union
|
8
7
|
from urllib.parse import urlparse
|
9
8
|
|
10
9
|
from openapi_core import Spec
|
10
|
+
import yaml
|
11
11
|
|
12
12
|
from stoobly_agent.lib.api.interfaces.endpoints import (
|
13
13
|
Alias,
|
@@ -23,7 +23,14 @@ class OpenApiEndpointAdapter():
|
|
23
23
|
return
|
24
24
|
|
25
25
|
def adapt_from_file(self, file_path) -> List[EndpointShowResponse]:
|
26
|
-
spec =
|
26
|
+
spec = {}
|
27
|
+
|
28
|
+
with open(file_path, "r") as stream:
|
29
|
+
file_data: Dict = yaml.safe_load(stream)
|
30
|
+
if 'info' not in file_data:
|
31
|
+
self.__add_info(file_data)
|
32
|
+
spec = Spec.from_dict(file_data)
|
33
|
+
|
27
34
|
return self.adapt(spec)
|
28
35
|
|
29
36
|
def adapt(self, spec: Spec) -> List[EndpointShowResponse]:
|
@@ -33,7 +40,7 @@ class OpenApiEndpointAdapter():
|
|
33
40
|
schemas = components.get("schemas", {})
|
34
41
|
paths = spec.getkey('paths')
|
35
42
|
|
36
|
-
servers_spec = spec
|
43
|
+
servers_spec = spec.get("servers")
|
37
44
|
servers = self.__evaluate_servers(servers_spec)
|
38
45
|
|
39
46
|
for _, server in enumerate(servers):
|
@@ -231,6 +238,15 @@ class OpenApiEndpointAdapter():
|
|
231
238
|
|
232
239
|
return endpoints
|
233
240
|
|
241
|
+
def __add_info(self, file_data: Dict):
|
242
|
+
if 'info' in file_data:
|
243
|
+
return
|
244
|
+
|
245
|
+
file_data['info'] = {
|
246
|
+
'version': '0.0.1',
|
247
|
+
'title': ''
|
248
|
+
}
|
249
|
+
|
234
250
|
def __get_most_recent_param(self, literal_params: dict):
|
235
251
|
return list(literal_params)[-1] if literal_params else None
|
236
252
|
|
{stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/cli/helpers/replay_facade.py
RENAMED
@@ -14,7 +14,7 @@ class ReplayCliOptions(TypedDict):
|
|
14
14
|
assign: List[str]
|
15
15
|
group_by: str
|
16
16
|
host: str
|
17
|
-
|
17
|
+
lifecycle_hooks_path: str
|
18
18
|
on_response: Callable
|
19
19
|
project_key: str
|
20
20
|
record: bool
|
@@ -54,7 +54,7 @@ class ReplayFacade():
|
|
54
54
|
'before_replay': cli_options.get('before_replay'),
|
55
55
|
'group_by': cli_options.get('group_by'),
|
56
56
|
'host': cli_options.get('host'),
|
57
|
-
'
|
57
|
+
'lifecycle_hooks_path': cli_options.get('lifecycle_hooks_path'),
|
58
58
|
'overwrite': cli_options.get('overwrite'),
|
59
59
|
'request_origin': request_origin.CLI,
|
60
60
|
'save': cli_options.get('save'),
|
@@ -6,7 +6,7 @@ from stoobly_agent.app.settings import Settings
|
|
6
6
|
from stoobly_agent.config.constants import mode, mock_policy, record_policy, replay_policy
|
7
7
|
from stoobly_agent.lib.api.keys.project_key import ProjectKey
|
8
8
|
|
9
|
-
from .helpers.handle_config_update_service import handle_policy_update
|
9
|
+
from .helpers.handle_config_update_service import handle_intercept_active_update, handle_policy_update
|
10
10
|
|
11
11
|
settings = Settings.instance()
|
12
12
|
|
@@ -43,6 +43,8 @@ def intercept(ctx):
|
|
43
43
|
def enable(**kwargs):
|
44
44
|
settings.proxy.intercept.active = True
|
45
45
|
|
46
|
+
handle_intercept_active_update(settings)
|
47
|
+
|
46
48
|
settings.commit()
|
47
49
|
|
48
50
|
print("Intercept enabled!")
|
@@ -55,6 +57,8 @@ def disable(**kwargs):
|
|
55
57
|
|
56
58
|
settings.proxy.intercept.active = False
|
57
59
|
|
60
|
+
handle_intercept_active_update(settings)
|
61
|
+
|
58
62
|
settings.commit()
|
59
63
|
|
60
64
|
print("Intercept disabled!")
|
@@ -72,9 +76,14 @@ def configure(**kwargs):
|
|
72
76
|
sys.exit(1)
|
73
77
|
|
74
78
|
if kwargs['mode']:
|
75
|
-
settings.proxy.intercept.mode
|
79
|
+
if settings.proxy.intercept.mode != kwargs['mode']:
|
80
|
+
if settings.proxy.intercept.active:
|
81
|
+
settings.proxy.intercept.active = False
|
82
|
+
handle_intercept_active_update(settings)
|
76
83
|
|
77
|
-
|
84
|
+
settings.proxy.intercept.mode = kwargs['mode']
|
85
|
+
|
86
|
+
print(f"Updating intercept mode to {kwargs['mode']}")
|
78
87
|
|
79
88
|
_mode = kwargs['mode'] or settings.proxy.intercept.mode
|
80
89
|
|
@@ -98,9 +107,9 @@ def configure(**kwargs):
|
|
98
107
|
elif active_mode == mode.TEST:
|
99
108
|
data_rule.test_policy = kwargs['policy']
|
100
109
|
|
110
|
+
handle_policy_update(settings)
|
111
|
+
|
101
112
|
print(f"Updating {_mode} policy to {kwargs['policy']}")
|
102
|
-
|
103
|
-
handle_policy_update(settings)
|
104
113
|
|
105
114
|
settings.commit()
|
106
115
|
|
@@ -116,7 +116,7 @@ def list(**kwargs):
|
|
116
116
|
@click.option('--format', type=click.Choice([BODY_FORMAT, JSON_FORMAT]), help='Format replay response.')
|
117
117
|
@click.option('--host', help='Rewrite request host.')
|
118
118
|
@ConditionalDecorator(lambda f: click.option('--group-by', help='Repeat for each alias name.')(f), is_remote)
|
119
|
-
@click.option('--lifecycle-hooks-
|
119
|
+
@click.option('--lifecycle-hooks-path', help='Path to lifecycle hooks script.')
|
120
120
|
@click.option(
|
121
121
|
'--log-level', default=logger.WARNING, type=click.Choice(log_levels),
|
122
122
|
help='''
|
@@ -215,7 +215,7 @@ if is_remote:
|
|
215
215
|
@click.option('--format', type=click.Choice([BODY_FORMAT, JSON_FORMAT]), help='Format replay response.')
|
216
216
|
@click.option('--group-by', help='Repeat for each alias name.')
|
217
217
|
@click.option('--host', help='Rewrite request host.')
|
218
|
-
@click.option('--lifecycle-hooks-
|
218
|
+
@click.option('--lifecycle-hooks-path', help='Path to lifecycle hooks script.')
|
219
219
|
@click.option(
|
220
220
|
'--log-level', default=logger.WARNING, type=click.Choice(log_levels),
|
221
221
|
help='''
|
@@ -65,7 +65,7 @@ def create(**kwargs):
|
|
65
65
|
@click.option('--format', type=click.Choice([JSON_FORMAT]), help='Format replay response.')
|
66
66
|
@ConditionalDecorator(lambda f: click.option('--group-by', help='Repeat for each alias name.')(f), is_remote)
|
67
67
|
@click.option('--host', help='Rewrite request host.')
|
68
|
-
@click.option('--lifecycle-hooks-
|
68
|
+
@click.option('--lifecycle-hooks-path', help='Path to lifecycle hooks script.')
|
69
69
|
@click.option(
|
70
70
|
'--log-level', default=logger.WARNING, type=click.Choice([logger.DEBUG, logger.INFO, logger.WARNING, logger.ERROR]),
|
71
71
|
help='''
|
@@ -261,7 +261,7 @@ if is_remote:
|
|
261
261
|
@click.option('--format', type=click.Choice([JSON_FORMAT]), help='Format replay response.')
|
262
262
|
@click.option('--group-by', help='Repeat for each alias name.')
|
263
263
|
@click.option('--host', help='Rewrite request host.')
|
264
|
-
@click.option('--lifecycle-hooks-
|
264
|
+
@click.option('--lifecycle-hooks-path', help='Path to lifecycle hooks script.')
|
265
265
|
@click.option(
|
266
266
|
'--log-level', default=logger.WARNING, type=click.Choice([logger.DEBUG, logger.INFO, logger.WARNING, logger.ERROR]),
|
267
267
|
help='''
|
@@ -4,7 +4,7 @@ from stoobly_agent.app.models.types import OPENAPI_FORMAT
|
|
4
4
|
|
5
5
|
class EndpointCreateCliOptions(TypedDict):
|
6
6
|
format: Optional[Literal[f"{OPENAPI_FORMAT}"]]
|
7
|
-
|
7
|
+
lifecycle_hooks_path: Optional[str]
|
8
8
|
path: str
|
9
9
|
project_key: Optional[str]
|
10
10
|
scenario_key: Optional[str]
|
@@ -28,7 +28,7 @@ class RawHttpRequestAdapter():
|
|
28
28
|
|
29
29
|
if decoded_key in self.headers:
|
30
30
|
separator = HEADER_COOKIE_SEPARATOR if decoded_key.lower() == HEADER_COOKIE else HEADER_SEPARATOR
|
31
|
-
self.headers[decoded_key] = separator.join(self.headers[decoded_key], decoded_value)
|
31
|
+
self.headers[decoded_key] = separator.join([self.headers[decoded_key], decoded_value])
|
32
32
|
else:
|
33
33
|
self.headers[decoded_key] = decoded_value
|
34
34
|
|
@@ -35,7 +35,7 @@ class RawHttpResponseAdapter():
|
|
35
35
|
decoded_key = decode(header_key)
|
36
36
|
decoded_value = decode(header_value).strip()
|
37
37
|
if decoded_key in self.headers:
|
38
|
-
self.headers[decoded_key] = HEADER_SEPARATOR.join(self.headers[decoded_key], decoded_value)
|
38
|
+
self.headers[decoded_key] = HEADER_SEPARATOR.join([self.headers[decoded_key], decoded_value])
|
39
39
|
else:
|
40
40
|
self.headers[decoded_key] = decoded_value
|
41
41
|
|
@@ -2,7 +2,8 @@ from mitmproxy.http import HTTPFlow as MitmproxyHTTPFlow
|
|
2
2
|
|
3
3
|
from stoobly_agent.app.proxy.intercept_settings import InterceptSettings
|
4
4
|
|
5
|
-
class
|
5
|
+
class InterceptContext():
|
6
|
+
|
6
7
|
def __init__(self, flow: MitmproxyHTTPFlow, intercept_settings: InterceptSettings):
|
7
8
|
self.__flow = flow
|
8
9
|
self.__intercept_settings = intercept_settings
|
{stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/handle_mock_service.py
RENAMED
@@ -41,7 +41,7 @@ def handle_request_mock_generic(context: MockContext, **options: MockOptions):
|
|
41
41
|
# Rewrite request with paramter rules for mock
|
42
42
|
request: MitmproxyRequest = context.flow.request
|
43
43
|
request_facade = MitmproxyRequestFacade(request)
|
44
|
-
request_facade.
|
44
|
+
request_facade.with_parameter_rules(rewrite_rules).rewrite()
|
45
45
|
|
46
46
|
__mock_hook(lifecycle_hooks.BEFORE_MOCK, context)
|
47
47
|
|
{stoobly-agent-0.29.1 → stoobly-agent-0.30.0}/stoobly_agent/app/proxy/handle_replay_service.py
RENAMED
@@ -28,10 +28,11 @@ def __replay_request(replay_context: ReplayContext):
|
|
28
28
|
"""
|
29
29
|
intercept_settings: InterceptSettings = replay_context.intercept_settings
|
30
30
|
rewrite_rules = intercept_settings.rewrite_rules
|
31
|
+
|
31
32
|
if len(rewrite_rules) > 0:
|
32
33
|
request: MitmproxyRequest = replay_context.flow.request
|
33
34
|
request_facade = MitmproxyRequestFacade(request)
|
34
|
-
request_facade.
|
35
|
+
request_facade.with_parameter_rules(rewrite_rules).with_url_rules(rewrite_rules).rewrite()
|
35
36
|
|
36
37
|
__replay_hook(lifecycle_hooks.BEFORE_REPLAY, replay_context)
|
37
38
|
|
@@ -2,8 +2,9 @@ import os
|
|
2
2
|
import pdb
|
3
3
|
|
4
4
|
from mitmproxy.http import HTTPFlow as MitmproxyHTTPFlow
|
5
|
-
from mitmproxy.http import Headers, Request as MitmproxyRequest
|
5
|
+
from mitmproxy.http import Headers, Request as MitmproxyRequest
|
6
6
|
|
7
|
+
from stoobly_agent.app.proxy.context import InterceptContext
|
7
8
|
from stoobly_agent.app.proxy.handle_mock_service import handle_request_mock
|
8
9
|
from stoobly_agent.app.proxy.handle_replay_service import handle_request_replay, handle_response_replay
|
9
10
|
from stoobly_agent.app.proxy.handle_record_service import handle_response_record
|
@@ -14,7 +15,7 @@ from stoobly_agent.app.proxy.replay.context import ReplayContext
|
|
14
15
|
from stoobly_agent.app.proxy.record.context import RecordContext
|
15
16
|
from stoobly_agent.app.proxy.utils.response_handler import bad_request
|
16
17
|
from stoobly_agent.app.settings import Settings
|
17
|
-
from stoobly_agent.config.constants import mode
|
18
|
+
from stoobly_agent.config.constants import lifecycle_hooks, mode
|
18
19
|
from stoobly_agent.lib.logger import Logger
|
19
20
|
|
20
21
|
# Disable proxy settings in urllib
|
@@ -29,6 +30,8 @@ def request(flow: MitmproxyHTTPFlow):
|
|
29
30
|
|
30
31
|
intercept_settings = InterceptSettings(Settings.instance(), request)
|
31
32
|
|
33
|
+
__intercept_hook(lifecycle_hooks.BEFORE_REQUEST, flow, intercept_settings)
|
34
|
+
|
32
35
|
active_mode = intercept_settings.mode
|
33
36
|
Logger.instance().debug(f"{LOG_ID}:ProxyMode: {active_mode}")
|
34
37
|
|
@@ -56,6 +59,8 @@ def response(flow: MitmproxyHTTPFlow):
|
|
56
59
|
intercept_settings = InterceptSettings(Settings.instance(), request)
|
57
60
|
intercept_settings.for_response()
|
58
61
|
|
62
|
+
__intercept_hook(lifecycle_hooks.BEFORE_RESPONSE, flow, intercept_settings)
|
63
|
+
|
59
64
|
active_mode = intercept_settings.mode
|
60
65
|
|
61
66
|
if active_mode == mode.RECORD:
|
@@ -90,4 +95,10 @@ def __patch_cookie(request: MitmproxyRequest):
|
|
90
95
|
|
91
96
|
def __combine_header(headers: Headers, header_name: str, delimitter: str):
|
92
97
|
values = headers.get_all(header_name)
|
93
|
-
headers[header_name] = delimitter.join(values)
|
98
|
+
headers[header_name] = delimitter.join(values)
|
99
|
+
|
100
|
+
def __intercept_hook(hook: str, flow: MitmproxyHTTPFlow, intercept_settings: InterceptSettings):
|
101
|
+
lifecycle_hooks_module = intercept_settings.lifecycle_hooks
|
102
|
+
|
103
|
+
if hook in lifecycle_hooks_module:
|
104
|
+
lifecycle_hooks_module[hook](InterceptContext(flow, intercept_settings))
|
@@ -10,8 +10,8 @@ from stoobly_agent.app.settings.constants import firewall_action, intercept_mode
|
|
10
10
|
from stoobly_agent.app.settings.rewrite_rule import RewriteRule
|
11
11
|
from stoobly_agent.app.settings.firewall_rule import FirewallRule
|
12
12
|
from stoobly_agent.app.settings import Settings
|
13
|
-
from stoobly_agent.app.settings.types import IgnoreRule, MatchRule
|
14
|
-
from stoobly_agent.config.constants import custom_headers, mode, request_origin, test_filter
|
13
|
+
from stoobly_agent.app.settings.types import IgnoreRule, MatchRule
|
14
|
+
from stoobly_agent.config.constants import custom_headers, env_vars, mode, request_origin, test_filter
|
15
15
|
from stoobly_agent.lib.api.keys.project_key import InvalidProjectKey, ProjectKey
|
16
16
|
from stoobly_agent.lib.logger import Logger
|
17
17
|
|
@@ -62,9 +62,12 @@ class InterceptSettings:
|
|
62
62
|
return custom_headers.PROXY_MODE in self.__headers
|
63
63
|
|
64
64
|
@property
|
65
|
-
def
|
66
|
-
if self.__headers and custom_headers.
|
67
|
-
return self.__headers[custom_headers.
|
65
|
+
def lifecycle_hooks_path(self):
|
66
|
+
if self.__headers and custom_headers.LIFECYCLE_HOOKS_PATH in self.__headers:
|
67
|
+
return self.__headers[custom_headers.LIFECYCLE_HOOKS_PATH]
|
68
|
+
|
69
|
+
if os.environ.get(env_vars.AGENT_LIFECYCLE_HOOKS_PATH):
|
70
|
+
return os.environ[env_vars.AGENT_LIFECYCLE_HOOKS_PATH]
|
68
71
|
|
69
72
|
@property
|
70
73
|
def lifecycle_hooks(self):
|
@@ -151,11 +154,11 @@ class InterceptSettings:
|
|
151
154
|
return self.__select_rewrite_rules(_mode)
|
152
155
|
|
153
156
|
@property
|
154
|
-
def record_rewrite_rules(self) -> List[
|
157
|
+
def record_rewrite_rules(self) -> List[RewriteRule]:
|
155
158
|
return self.__select_rewrite_rules(mode.RECORD)
|
156
159
|
|
157
160
|
@property
|
158
|
-
def mock_rewrite_rules(self) -> List[
|
161
|
+
def mock_rewrite_rules(self) -> List[RewriteRule]:
|
159
162
|
return self.__select_rewrite_rules(mode.MOCK)
|
160
163
|
|
161
164
|
@property
|
@@ -207,21 +210,18 @@ class InterceptSettings:
|
|
207
210
|
|
208
211
|
# Filter only parameters matching active intercept mode
|
209
212
|
for rewrite_rule in self.__rewrite_rules:
|
210
|
-
|
213
|
+
# If url rule applies, then update .url_rules with url_rule
|
214
|
+
url_rules = self.__select_url_rules(rewrite_rule)
|
211
215
|
|
212
|
-
# If
|
213
|
-
|
214
|
-
continue
|
215
|
-
|
216
|
-
# Build a new RewriteRule object contain only parameter rules matching intercept mode
|
217
|
-
rewrite_rule = RewriteRule({
|
218
|
-
'methods': rewrite_rule.methods,
|
219
|
-
'pattern': rewrite_rule.pattern,
|
220
|
-
'parameters_rules': [], # Has to be dict form, manually set it
|
221
|
-
})
|
222
|
-
rewrite_rule.parameter_rules = parameter_rules
|
216
|
+
# If parameters rules apply, then update .parameter_rules with applicable parameter_rules
|
217
|
+
parameter_rules = self.__select_parameter_rules(rewrite_rule, mode)
|
223
218
|
|
224
|
-
|
219
|
+
if len(url_rules) > 0 or len(parameter_rules) > 0:
|
220
|
+
# Build a new RewriteRule object contain only parameter rules matching intercept mode
|
221
|
+
rewrite_rule = RewriteRule(rewrite_rule.to_dict())
|
222
|
+
rewrite_rule.url_rules = url_rules
|
223
|
+
rewrite_rule.parameter_rules = parameter_rules
|
224
|
+
rules.append(rewrite_rule)
|
225
225
|
|
226
226
|
return rules
|
227
227
|
|
@@ -232,8 +232,15 @@ class InterceptSettings:
|
|
232
232
|
rewrite_rule.parameter_rules or []
|
233
233
|
))
|
234
234
|
|
235
|
+
def __select_url_rules(self, rewrite_rule: RewriteRule, mode = None):
|
236
|
+
mode = mode or self.mode
|
237
|
+
return list(filter(
|
238
|
+
lambda url: mode in url.modes,
|
239
|
+
rewrite_rule.url_rules or []
|
240
|
+
))
|
241
|
+
|
235
242
|
def __initialize_lifecycle_hooks(self):
|
236
|
-
script_path = self.
|
243
|
+
script_path = self.lifecycle_hooks_path
|
237
244
|
|
238
245
|
if not script_path:
|
239
246
|
return
|