stoobly-agent 0.34.6__tar.gz → 0.34.7__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.
Files changed (595) hide show
  1. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/PKG-INFO +1 -1
  2. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/pyproject.toml +1 -1
  3. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/__init__.py +1 -1
  4. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/request_cli.py +1 -1
  5. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/snapshot_cli.py +8 -0
  6. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/log.py +129 -27
  7. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/log_event.py +1 -1
  8. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/request_snapshot.py +4 -0
  9. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/scenario_snapshot.py +8 -0
  10. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/request/request_snapshot_test.py +2 -2
  11. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/snapshot/snapshot_apply_test.py +39 -8
  12. stoobly_agent-0.34.7/stoobly_agent/test/app/cli/snapshot/snapshot_prune_test.py +113 -0
  13. stoobly_agent-0.34.7/stoobly_agent/test/app/models/schemas/.stoobly/db/VERSION +1 -0
  14. stoobly_agent-0.34.6/stoobly_agent/test/app/models/schemas/.stoobly/db/VERSION +0 -1
  15. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/LICENSE +0 -0
  16. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/README.md +0 -0
  17. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/__init__.py +0 -0
  18. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/__init__.py +0 -0
  19. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/application_http_request_handler.py +0 -0
  20. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/bodies_controller.py +0 -0
  21. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/configs_controller.py +0 -0
  22. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/headers_controller.py +0 -0
  23. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/proxy_controller.py +0 -0
  24. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/query_params_controller.py +0 -0
  25. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/replayed_response_headers_controller.py +0 -0
  26. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/replayed_responses_controller.py +0 -0
  27. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/requests_controller.py +0 -0
  28. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/response_headers_controller.py +0 -0
  29. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/responses_controller.py +0 -0
  30. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/routes.py +0 -0
  31. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/scenarios_controller.py +0 -0
  32. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/simple_http_request_handler.py +0 -0
  33. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/api/statuses_controller.py +0 -0
  34. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/__init__.py +0 -0
  35. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/ca_cert_cli.py +0 -0
  36. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/ca_cert_installer.py +0 -0
  37. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/config_cli.py +0 -0
  38. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/decorators/__init__.py +0 -0
  39. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/decorators/config.py +0 -0
  40. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/decorators/exec.py +0 -0
  41. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/dev_tools_cli.py +0 -0
  42. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/endpoint_cli.py +0 -0
  43. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/feature_cli.py +0 -0
  44. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/handlers/request_cli_handler.py +0 -0
  45. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/handlers/scenario_cli_handler.py +0 -0
  46. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/__init__.py +0 -0
  47. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/context.py +0 -0
  48. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/endpoint_facade.py +0 -0
  49. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/endpoints_apply_context.py +0 -0
  50. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/endpoints_apply_service.py +0 -0
  51. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/endpoints_import_context.py +0 -0
  52. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/endpoints_import_service.py +0 -0
  53. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/feature_flags.py +0 -0
  54. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/handle_config_update_service.py +0 -0
  55. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/handle_mock_service.py +0 -0
  56. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/handle_replay_service.py +0 -0
  57. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/handle_test_service.py +0 -0
  58. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/iterate_group_by.py +0 -0
  59. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/json_print.py +0 -0
  60. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/openapi_endpoint_adapter.py +0 -0
  61. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/print_service.py +0 -0
  62. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/project_facade.py +0 -0
  63. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/replay_facade.py +0 -0
  64. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/report_facade.py +0 -0
  65. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/request_facade.py +0 -0
  66. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/request_synchronize_handler.py +0 -0
  67. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/run_command_service.py +0 -0
  68. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/scenario_facade.py +0 -0
  69. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/schema_builder.py +0 -0
  70. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/synchronize_request_service.py +0 -0
  71. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/tabulate_print_service.py +0 -0
  72. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/test_facade.py +0 -0
  73. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/test_replay_context.py +0 -0
  74. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/trace_aliases.py +0 -0
  75. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/trace_context_facade.py +0 -0
  76. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/validations.py +0 -0
  77. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/helpers/verify_raw_request_service.py +0 -0
  78. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/intercept_cli.py +0 -0
  79. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/main_group.py +0 -0
  80. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/project_cli.py +0 -0
  81. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/report_cli.py +0 -0
  82. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/scenario_cli.py +0 -0
  83. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/trace_cli.py +0 -0
  84. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/types/__init__.py +0 -0
  85. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/types/output.py +0 -0
  86. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/types/print_options.py +0 -0
  87. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/types/request.py +0 -0
  88. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/types/scenario.py +0 -0
  89. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/cli/types/test.py +0 -0
  90. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/__init__.py +0 -0
  91. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/__init__.py +0 -0
  92. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/joined_request_adapter.py +0 -0
  93. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/mitmproxy/__init__.py +0 -0
  94. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/mitmproxy/request/__init__.py +0 -0
  95. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/mitmproxy/request/python_adapter.py +0 -0
  96. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/mitmproxy/response/__init__.py +0 -0
  97. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/mitmproxy/response/python_adapter.py +0 -0
  98. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/orm/__init__.py +0 -0
  99. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/orm/joined_request_string_adapter.py +0 -0
  100. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/orm/request/__init__.py +0 -0
  101. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/orm/request/mitmproxy_adapter.py +0 -0
  102. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/orm/request/python_adapter.py +0 -0
  103. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/orm/response/__init__.py +0 -0
  104. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/orm/response/mitmproxy_adapter.py +0 -0
  105. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/orm/response/python_adapter.py +0 -0
  106. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/python/__init__.py +0 -0
  107. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/python/request/__init__.py +0 -0
  108. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/python/request/mitmproxy_adapter.py +0 -0
  109. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/python/request/raw_adapter.py +0 -0
  110. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/python/request/stoobly_adapter.py +0 -0
  111. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/python/response/__init__.py +0 -0
  112. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/python/response/mitmproxy_adapter.py +0 -0
  113. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/python/response/raw_adapter.py +0 -0
  114. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/raw_http_request_adapter.py +0 -0
  115. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/raw_http_response_adapter.py +0 -0
  116. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/raw_joined/__init__.py +0 -0
  117. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/raw_joined/request/__init__.py +0 -0
  118. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/raw_joined/request/python_adapter.py +0 -0
  119. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/raw_joined/response/__init__.py +0 -0
  120. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/raw_joined/response/python_adapter.py +0 -0
  121. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/stoobly/__init__.py +0 -0
  122. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/stoobly/request/__init__.py +0 -0
  123. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/adapters/stoobly/request/mitmproxy_adapter.py +0 -0
  124. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/body_model.py +0 -0
  125. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/__init__.py +0 -0
  126. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/__init__.py +0 -0
  127. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/body.py +0 -0
  128. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/header.py +0 -0
  129. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/__init__.py +0 -0
  130. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/body_adapter.py +0 -0
  131. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/header_adapter.py +0 -0
  132. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/__init__.py +0 -0
  133. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/create_request_columns_service.py +0 -0
  134. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/request_builder.py +0 -0
  135. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/search.py +0 -0
  136. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot.py +0 -0
  137. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot_service.py +0 -0
  138. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot_types.py +0 -0
  139. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/helpers/tiebreak_scenario_request.py +0 -0
  140. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/local_db_adapter.py +0 -0
  141. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/orm_request_builder.py +0 -0
  142. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/query_param_adapter.py +0 -0
  143. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/replayed_response_adapter.py +0 -0
  144. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/request_adapter.py +0 -0
  145. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/response_adapter.py +0 -0
  146. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/response_header_adapter.py +0 -0
  147. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/local_db/scenario_adapter.py +0 -0
  148. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/query_param.py +0 -0
  149. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/replayed_response.py +0 -0
  150. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/request.py +0 -0
  151. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/response.py +0 -0
  152. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/response_header.py +0 -0
  153. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/scenario.py +0 -0
  154. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/stoobly/__init__.py +0 -0
  155. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/stoobly/request_adapter.py +0 -0
  156. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/factories/resource/stoobly/scenario_adapter.py +0 -0
  157. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/header_model.py +0 -0
  158. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/helpers/__init__.py +0 -0
  159. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/helpers/apply.py +0 -0
  160. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/helpers/create_request_params_service.py +0 -0
  161. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/model.py +0 -0
  162. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/query_param_model.py +0 -0
  163. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/replayed_response_model.py +0 -0
  164. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/request_model.py +0 -0
  165. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/response_header_model.py +0 -0
  166. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/response_model.py +0 -0
  167. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/scenario_model.py +0 -0
  168. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/schemas/__init__.py +0 -0
  169. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/schemas/request.py +0 -0
  170. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/types/__init__.py +0 -0
  171. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/types/endpoint.py +0 -0
  172. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/types/replayed_response.py +0 -0
  173. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/types/request.py +0 -0
  174. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/types/request_components.py +0 -0
  175. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/types/response.py +0 -0
  176. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/models/types/scenario.py +0 -0
  177. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/__init__.py +0 -0
  178. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/constants/__init__.py +0 -0
  179. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/constants/custom_response_codes.py +0 -0
  180. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/context.py +0 -0
  181. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/handle_mock_service.py +0 -0
  182. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/handle_record_service.py +0 -0
  183. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/handle_replay_service.py +0 -0
  184. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/handle_test_service.py +0 -0
  185. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/hot_reload.py +0 -0
  186. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/intercept_handler.py +0 -0
  187. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/intercept_settings.py +0 -0
  188. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mitmproxy/__init__.py +0 -0
  189. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mitmproxy/flow_mock.py +0 -0
  190. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mitmproxy/request.py +0 -0
  191. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mitmproxy/request_body_facade.py +0 -0
  192. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mitmproxy/request_facade.py +0 -0
  193. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mitmproxy/response.py +0 -0
  194. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mitmproxy/response_facade.py +0 -0
  195. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/__init__.py +0 -0
  196. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/context.py +0 -0
  197. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/custom_not_found_response_builder.py +0 -0
  198. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/eval_fixtures_service.py +0 -0
  199. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/eval_request_service.py +0 -0
  200. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/hashed_request_decorator.py +0 -0
  201. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/ignored_components_response_builder.py +0 -0
  202. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/request_hasher.py +0 -0
  203. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/search_endpoint.py +0 -0
  204. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/mock/types/__init__.py +0 -0
  205. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/__init__.py +0 -0
  206. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/context.py +0 -0
  207. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/join_request_service.py +0 -0
  208. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/joined_request.py +0 -0
  209. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/overwrite_scenario_service.py +0 -0
  210. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/proxy_request.py +0 -0
  211. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/request_string.py +0 -0
  212. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/request_string_control.py +0 -0
  213. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/response_string.py +0 -0
  214. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/response_string_control.py +0 -0
  215. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/record/upload_request_service.py +0 -0
  216. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/__init__.py +0 -0
  217. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/alias_context.py +0 -0
  218. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/alias_resolver.py +0 -0
  219. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/body_parser_service.py +0 -0
  220. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/context.py +0 -0
  221. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/multipart.py +0 -0
  222. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/replay_request_service.py +0 -0
  223. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/replay_scenario_service.py +0 -0
  224. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/rewrite_params_service.py +0 -0
  225. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/replay/trace_context.py +0 -0
  226. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/run.py +0 -0
  227. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/settings.py +0 -0
  228. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/simulate_intercept_service.py +0 -0
  229. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/__init__.py +0 -0
  230. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/context.py +0 -0
  231. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/context_abc.py +0 -0
  232. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/context_response.py +0 -0
  233. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/__init__.py +0 -0
  234. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/diff_service.py +0 -0
  235. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/endpoint_facade.py +0 -0
  236. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/mitmproxy_response_adapter.py +0 -0
  237. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/request_component_names_facade.py +0 -0
  238. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/requests_response_adapter.py +0 -0
  239. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/stoobly_response_adapter.py +0 -0
  240. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/test_results_builder.py +0 -0
  241. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/helpers/upload_test_service.py +0 -0
  242. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/matchers/__init__.py +0 -0
  243. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/matchers/context.py +0 -0
  244. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/matchers/contract.py +0 -0
  245. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/matchers/custom.py +0 -0
  246. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/matchers/diff.py +0 -0
  247. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/matchers/errors.py +0 -0
  248. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/matchers/fuzzy.py +0 -0
  249. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/matchers/handlers/__init__.py +0 -0
  250. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/test/test_service.py +0 -0
  251. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/utils/__init__.py +0 -0
  252. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/utils/allowed_request_service.py +0 -0
  253. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/utils/publish_change_service.py +0 -0
  254. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/utils/request_handler.py +0 -0
  255. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/utils/response_handler.py +0 -0
  256. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/proxy/utils/rewrite_rules_to_ignored_components_service.py +0 -0
  257. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/__init__.py +0 -0
  258. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/cli_settings.py +0 -0
  259. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/constants/__init__.py +0 -0
  260. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/constants/firewall_action.py +0 -0
  261. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/constants/intercept_mode.py +0 -0
  262. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/constants/mode.py +0 -0
  263. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/constants/request_component.py +0 -0
  264. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/data_rules.py +0 -0
  265. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/data_settings.py +0 -0
  266. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/feature_settings.py +0 -0
  267. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/firewall_rule.py +0 -0
  268. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/firewall_settings.py +0 -0
  269. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/helpers/active_mode_settings_builder.py +0 -0
  270. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/intercept_settings.py +0 -0
  271. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/match_rule.py +0 -0
  272. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/match_settings.py +0 -0
  273. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/parameter_rule.py +0 -0
  274. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/proxy_settings.py +0 -0
  275. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/remote_settings.py +0 -0
  276. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/rewrite_rule.py +0 -0
  277. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/rewrite_settings.py +0 -0
  278. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/types/__init__.py +0 -0
  279. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/types/cli_settings.py +0 -0
  280. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/types/proxy_settings.py +0 -0
  281. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/types/remote_settings.py +0 -0
  282. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/types/ui_settings.py +0 -0
  283. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/ui_settings.py +0 -0
  284. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/app/settings/url_rule.py +0 -0
  285. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/cli.py +0 -0
  286. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/__init__.py +0 -0
  287. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/__init__.py +0 -0
  288. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/alias_resolve_strategy.py +0 -0
  289. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/custom_headers.py +0 -0
  290. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/env_vars.py +0 -0
  291. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/headers.py +0 -0
  292. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/lifecycle_hooks.py +0 -0
  293. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/mock_policy.py +0 -0
  294. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/mode.py +0 -0
  295. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/record_policy.py +0 -0
  296. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/replay_policy.py +0 -0
  297. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/request_origin.py +0 -0
  298. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/statuses.py +0 -0
  299. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/test_filter.py +0 -0
  300. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/test_output_level.py +0 -0
  301. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/constants/test_strategy.py +0 -0
  302. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/data_dir.py +0 -0
  303. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/mitmproxy.py +0 -0
  304. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/schema.yml +0 -0
  305. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/settings.yml.sample +0 -0
  306. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/config/source_dir.py +0 -0
  307. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2022_03_17_060144_create_requests.py +0 -0
  308. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2022_03_17_074916_create_responses.py +0 -0
  309. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2022_05_10_003705_create_traces.py +0 -0
  310. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2022_05_10_003840_create_trace_aliases.py +0 -0
  311. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2022_06_29_234516_create_trace_requests.py +0 -0
  312. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2022_06_29_235155_add_trace_request_reference_to_trace_aliases.py +0 -0
  313. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2022_12_12_092437_align_requests.py +0 -0
  314. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2022_12_28_092917_add_filter_columns_to_requests.py +0 -0
  315. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_01_21_055426_create_scenarios.py +0 -0
  316. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_01_21_060225_add_scenario_id_reference_to_requests.py +0 -0
  317. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_02_02_022229_create_replayed_responses.py +0 -0
  318. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_03_20_192909_add_http_version_column_to_requests.py +0 -0
  319. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_03_20_220448_add_http_version_column_to_responses.py +0 -0
  320. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_04_18_071327_align_requests.py +0 -0
  321. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_05_15_212505_add_uuid_column_to_requests.py +0 -0
  322. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_05_15_213119_add_uuid_column_to_scenarios.py +0 -0
  323. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/2023_05_29_053649_add_overwritable_column_to_scenarios.py +0 -0
  324. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/db/migrations/__init__.py +0 -0
  325. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/__init__.py +0 -0
  326. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/__init__.py +0 -0
  327. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/agent_api.py +0 -0
  328. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/api.py +0 -0
  329. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/body_param_names_resource.py +0 -0
  330. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/endpoints_resource.py +0 -0
  331. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/header_names_resource.py +0 -0
  332. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/__init__.py +0 -0
  333. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/endpoints.py +0 -0
  334. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/headers.py +0 -0
  335. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/pagination_query_params.py +0 -0
  336. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/projects.py +0 -0
  337. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/query_params.py +0 -0
  338. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/reports.py +0 -0
  339. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/requests.py +0 -0
  340. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/response_headers.py +0 -0
  341. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/responses.py +0 -0
  342. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/scenarios.py +0 -0
  343. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/tests.py +0 -0
  344. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/traces.py +0 -0
  345. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/interfaces/users.py +0 -0
  346. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/json_response_builder.py +0 -0
  347. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/__init__.py +0 -0
  348. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/organization_key.py +0 -0
  349. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/project_key.py +0 -0
  350. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/report_key.py +0 -0
  351. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/request_key.py +0 -0
  352. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/resource_key.py +0 -0
  353. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/scenario_key.py +0 -0
  354. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/test_key.py +0 -0
  355. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/keys/uuid_key.py +0 -0
  356. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/param_builder.py +0 -0
  357. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/projects_resource.py +0 -0
  358. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/query_param_names_resource.py +0 -0
  359. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/reports_resource.py +0 -0
  360. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/requests_resource.py +0 -0
  361. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/response_header_names_resource.py +0 -0
  362. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/response_param_names_resource.py +0 -0
  363. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/scenarios_resource.py +0 -0
  364. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/stoobly_api.py +0 -0
  365. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/test_responses_resource.py +0 -0
  366. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/tests_resource.py +0 -0
  367. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/api/users_resource.py +0 -0
  368. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/cache.py +0 -0
  369. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/logger.py +0 -0
  370. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/__init__.py +0 -0
  371. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/base.py +0 -0
  372. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/migrate_service.py +0 -0
  373. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/replayed_response.py +0 -0
  374. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/request.py +0 -0
  375. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/response.py +0 -0
  376. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/scenario.py +0 -0
  377. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/trace.py +0 -0
  378. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/trace_alias.py +0 -0
  379. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/trace_request.py +0 -0
  380. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/transformers/__init__.py +0 -0
  381. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/transformers/orm_to_request_transformer.py +0 -0
  382. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/transformers/orm_to_requests_response_transformer.py +0 -0
  383. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/transformers/orm_to_stoobly_request_transformer.py +0 -0
  384. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/transformers/orm_to_stoobly_response_transformer.py +0 -0
  385. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/types/__init__.py +0 -0
  386. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/types/request_columns.py +0 -0
  387. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/types/response_columns.py +0 -0
  388. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/utils/__init__.py +0 -0
  389. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/utils/request_parse_handler.py +0 -0
  390. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/utils/requests_response_builder.py +0 -0
  391. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/orm/utils/response_parse_handler.py +0 -0
  392. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/utils/__init__.py +0 -0
  393. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/utils/conditional_decorator.py +0 -0
  394. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/utils/decode.py +0 -0
  395. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/utils/jmespath.py +0 -0
  396. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/utils/python_to_ruby_type.py +0 -0
  397. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/lib/utils/visitor.py +0 -0
  398. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/mock.py +0 -0
  399. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/0-es2015.c7c5a6d51b98cb85b9fc.js +0 -0
  400. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/0-es5.c7c5a6d51b98cb85b9fc.js +0 -0
  401. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/1-es2015.bb4492eeabe1fe937ada.js +0 -0
  402. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/1-es5.bb4492eeabe1fe937ada.js +0 -0
  403. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/10-es2015.56da22458086513ba0c7.js +0 -0
  404. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/10-es5.56da22458086513ba0c7.js +0 -0
  405. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/12-es2015.be58ed0ef449008b932e.js +0 -0
  406. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/12-es5.be58ed0ef449008b932e.js +0 -0
  407. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/13-es2015.220b4a1adf4cacb294e5.js +0 -0
  408. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/13-es5.220b4a1adf4cacb294e5.js +0 -0
  409. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/14-es2015.b6619d7742671d2a37fb.js +0 -0
  410. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/14-es5.b6619d7742671d2a37fb.js +0 -0
  411. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/15-es2015.d8855701408b0e1d7a3e.js +0 -0
  412. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/15-es5.d8855701408b0e1d7a3e.js +0 -0
  413. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/16-es2015.98fa59c2c96d2caac3c3.js +0 -0
  414. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/16-es5.98fa59c2c96d2caac3c3.js +0 -0
  415. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/17-es2015.7f60b56d1fd66d4d5544.js +0 -0
  416. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/17-es5.7f60b56d1fd66d4d5544.js +0 -0
  417. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/18-es2015.10cdd5c608b10d90d19a.js +0 -0
  418. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/18-es5.10cdd5c608b10d90d19a.js +0 -0
  419. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/19-es2015.78ec0e9fd228b5104712.js +0 -0
  420. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/19-es5.78ec0e9fd228b5104712.js +0 -0
  421. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/2-es2015.51eb8544ea9a21f2874c.js +0 -0
  422. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/2-es5.51eb8544ea9a21f2874c.js +0 -0
  423. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/20-es2015.90544c488f1f0900bab4.js +0 -0
  424. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/20-es5.90544c488f1f0900bab4.js +0 -0
  425. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/21-es2015.63ed4e6b242fbc047bd6.js +0 -0
  426. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/21-es5.63ed4e6b242fbc047bd6.js +0 -0
  427. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/22-es2015.1e96ef651f96d51191e2.js +0 -0
  428. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/22-es5.1e96ef651f96d51191e2.js +0 -0
  429. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/23-es2015.6d3052555b4fac38f16d.js +0 -0
  430. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/23-es5.6d3052555b4fac38f16d.js +0 -0
  431. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/28-es2015.a2bf42f38e4dd771ccea.js +0 -0
  432. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/28-es5.a2bf42f38e4dd771ccea.js +0 -0
  433. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/29-es2015.18b515f07c88753c7eb6.js +0 -0
  434. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/29-es5.18b515f07c88753c7eb6.js +0 -0
  435. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/30-es2015.d4d3dc4101400cadf3f3.js +0 -0
  436. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/30-es5.d4d3dc4101400cadf3f3.js +0 -0
  437. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/31-es2015.e3ea815f75c19c217b7d.js +0 -0
  438. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/31-es5.e3ea815f75c19c217b7d.js +0 -0
  439. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/32-es2015.57553995bff0ae518501.js +0 -0
  440. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/32-es5.57553995bff0ae518501.js +0 -0
  441. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/33-es2015.da5ba1e5baa164921198.js +0 -0
  442. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/33-es5.da5ba1e5baa164921198.js +0 -0
  443. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/34-es2015.87acbb95cfb824650157.js +0 -0
  444. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/34-es5.87acbb95cfb824650157.js +0 -0
  445. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/35-es2015.61a7ae8da93df94fab06.js +0 -0
  446. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/35-es5.61a7ae8da93df94fab06.js +0 -0
  447. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/36-es2015.e3a104020eeec02cb8c4.js +0 -0
  448. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/36-es5.e3a104020eeec02cb8c4.js +0 -0
  449. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/37-es2015.3b472e6cf303201bbf2c.js +0 -0
  450. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/37-es5.3b472e6cf303201bbf2c.js +0 -0
  451. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/38-es2015.39dbf43d46cdc94f78c6.js +0 -0
  452. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/38-es5.39dbf43d46cdc94f78c6.js +0 -0
  453. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/39-es2015.e5475ea4fb6ec5c60741.js +0 -0
  454. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/39-es5.e5475ea4fb6ec5c60741.js +0 -0
  455. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/3rdpartylicenses.txt +0 -0
  456. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/4-es2015.f8ac5475bf103969b2d2.js +0 -0
  457. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/4-es5.f8ac5475bf103969b2d2.js +0 -0
  458. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/40-es2015.47b2873a8439717af6a7.js +0 -0
  459. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/40-es5.47b2873a8439717af6a7.js +0 -0
  460. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/41-es2015.69f2771002745c066976.js +0 -0
  461. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/41-es5.69f2771002745c066976.js +0 -0
  462. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/42-es2015.b590b92ede890155dcd6.js +0 -0
  463. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/42-es5.b590b92ede890155dcd6.js +0 -0
  464. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/43-es2015.ad1d956bffba561ba64c.js +0 -0
  465. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/43-es5.ad1d956bffba561ba64c.js +0 -0
  466. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/44-es2015.3ef2c17996ed5be95ced.js +0 -0
  467. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/44-es5.3ef2c17996ed5be95ced.js +0 -0
  468. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/45-es2015.3d65d27e0a7085e96356.js +0 -0
  469. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/45-es5.3d65d27e0a7085e96356.js +0 -0
  470. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/46-es2015.e4f0a5b127eae13c27c0.js +0 -0
  471. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/46-es5.e4f0a5b127eae13c27c0.js +0 -0
  472. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/47-es2015.c7d45334a70131f133b5.js +0 -0
  473. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/47-es5.c7d45334a70131f133b5.js +0 -0
  474. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/5-es2015.90ea7bd4439d9749e052.js +0 -0
  475. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/5-es5.90ea7bd4439d9749e052.js +0 -0
  476. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/6-es2015.5fb726c0555664300974.js +0 -0
  477. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/6-es5.5fb726c0555664300974.js +0 -0
  478. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/7-es2015.c359dbb640e2af507221.js +0 -0
  479. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/7-es5.c359dbb640e2af507221.js +0 -0
  480. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/8-es2015.b901639e2aeff1358c3d.js +0 -0
  481. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/8-es5.b901639e2aeff1358c3d.js +0 -0
  482. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/9-es2015.cfc1101139d6ae75731b.js +0 -0
  483. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/9-es5.cfc1101139d6ae75731b.js +0 -0
  484. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/CHANGELOG.md +0 -0
  485. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/README.md +0 -0
  486. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/_redirects +0 -0
  487. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/1.jpg +0 -0
  488. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/2.jpg +0 -0
  489. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/3.jpg +0 -0
  490. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/4.jpg +0 -0
  491. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/5.jpg +0 -0
  492. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/6.jpg +0 -0
  493. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/7.jpg +0 -0
  494. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/8.jpg +0 -0
  495. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/landscape.jpg +0 -0
  496. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/demo/mountain-cinematic.jpg +0 -0
  497. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/illustrations/checklist.svg +0 -0
  498. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/illustrations/data_center.svg +0 -0
  499. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/illustrations/idea.svg +0 -0
  500. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/illustrations/it_support.svg +0 -0
  501. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/illustrations/peak_mountain_3.svg +0 -0
  502. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/illustrations/under_constructions_1.svg +0 -0
  503. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/logo/colored.png +0 -0
  504. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/logo/colored.svg +0 -0
  505. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/logo/white.png +0 -0
  506. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/assets/img/logo/white.svg +0 -0
  507. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/common-es2015.388805227aa99c527fba.js +0 -0
  508. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/common-es5.388805227aa99c527fba.js +0 -0
  509. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/favicon.ico +0 -0
  510. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/index.html +0 -0
  511. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/main-es2015.ccd46ac1b6638ddf2066.js +0 -0
  512. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/main-es5.ccd46ac1b6638ddf2066.js +0 -0
  513. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/polyfills-es2015.8ce2adc69f283f6c4c5e.js +0 -0
  514. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/polyfills-es5.7530172ddcec11a10eb3.js +0 -0
  515. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/runtime-es2015.08e65883d390cd16c15b.js +0 -0
  516. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/runtime-es5.08e65883d390cd16c15b.js +0 -0
  517. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/public/styles.ab281309cf423b2cdcb0.css +0 -0
  518. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/__init__.py +0 -0
  519. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/__init__.py +0 -0
  520. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/cli_mock_integration_test.py +0 -0
  521. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/config/firewall_test.py +0 -0
  522. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/config/match_test.py +0 -0
  523. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/config/project/config_project_set_test.py +0 -0
  524. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/config/rewrite_test.py +0 -0
  525. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/config/scenario/config_scenario_set_test.py +0 -0
  526. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/endpoint/endpoint_cli_apply_test.py +0 -0
  527. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_additional_props_test.py +0 -0
  528. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_info_test.py +0 -0
  529. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_oauth2_scopes_test.py +0 -0
  530. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_servers_test.py +0 -0
  531. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_test.py +0 -0
  532. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/helpers/schema_builder_test.py +0 -0
  533. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/helpers/synchronize_request_service_test.py +0 -0
  534. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/intercept/intercept_configure_test.py +0 -0
  535. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/intercept/intercept_enable_test.py +0 -0
  536. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/request/request_delete_test.py +0 -0
  537. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/request/request_list_test.py +0 -0
  538. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/request/request_replay_test.py +0 -0
  539. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/request/request_reset_test.py +0 -0
  540. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/request/request_response_test.py +0 -0
  541. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/request/request_test_test.py +0 -0
  542. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/scenario/scenario_create_test.py +0 -0
  543. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/scenario/scenario_replay_integration_test.py +0 -0
  544. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/scenario/scenario_replay_test.py +0 -0
  545. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/scenario/scenario_reset_test.py +0 -0
  546. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/scenario/scenario_snapshot_test.py +0 -0
  547. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/scenario/scenario_test_integration_test.py +0 -0
  548. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/cli/snapshot/snapshot_update_test.py +0 -0
  549. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/orm/joined_request_string_adapter_test.py +0 -0
  550. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/orm/request/orm_mitmproxy_request_adapter_test.py +0 -0
  551. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/orm/request/orm_python_request_adapter_test.py +0 -0
  552. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/orm/response/orm_mitmproxy_response_adapter_test.py +0 -0
  553. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/orm/response/orm_python_response_adapter_test.py +0 -0
  554. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/python/request/mitmproxy_adapter_test.py +0 -0
  555. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/python/request/raw_adapter_test.py +0 -0
  556. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/python/request/stoobly_adapter_test.py +0 -0
  557. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/python/response/mitmproxy_response_adapter_test.py +0 -0
  558. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/adapters/python/response/raw_response_adapter_test.py +0 -0
  559. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/factories/resource/local_db/helpers/log_test.py +0 -0
  560. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/factories/resource/local_db/helpers/tiebreak_scenario_request_test.py +0 -0
  561. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/factories/resource/local_db/request_adapter_test.py +0 -0
  562. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/factories/resource/local_db/response_adapter_test.py +0 -0
  563. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/schemas/.stoobly/db/stoobly_agent.sqlite3 +0 -0
  564. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/schemas/.stoobly/settings.yml +0 -0
  565. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/schemas/.stoobly/tmp/options.json +0 -0
  566. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/models/schemas/request_test.py +0 -0
  567. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/mitmproxy/request_facade_test.py +0 -0
  568. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/mock/eval_fixtures_service_test.py +0 -0
  569. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/replay/body_parser_service_test.py +0 -0
  570. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/replay/rewrite_params_service_test.py +0 -0
  571. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/replay/trace_context_test.py +0 -0
  572. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/replay/visitor_test.py +0 -0
  573. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/test/helpers/test_results_builder_test.py +0 -0
  574. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/upload/request_string_test.py +0 -0
  575. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/proxy/upload/response_string_test.py +0 -0
  576. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/test/__init__.py +0 -0
  577. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/test/matchers/contract_test.py +0 -0
  578. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/test/matchers/diff_test.py +0 -0
  579. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/app/test/matchers/fuzzy_test.py +0 -0
  580. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/cli/mock_test.py +0 -0
  581. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/cli/record_test.py +0 -0
  582. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/config/data_dir_test.py +0 -0
  583. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/__init__.py +0 -0
  584. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/endpoint_show_response.py +0 -0
  585. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/petstore-additional-props.yaml +0 -0
  586. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/petstore-expanded.yaml +0 -0
  587. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/petstore-missing-info.yaml +0 -0
  588. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/petstore-missing-oauth2-scopes.yaml +0 -0
  589. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/petstore-missing-servers.yaml +0 -0
  590. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/petstore-references.yaml +0 -0
  591. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/petstore-swagger-io.yaml +0 -0
  592. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/petstore.yaml +0 -0
  593. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/request_show_response.py +0 -0
  594. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/stoobly_agent/test/mock_data/uspto.yaml +0 -0
  595. {stoobly_agent-0.34.6 → stoobly_agent-0.34.7}/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.6
3
+ Version: 0.34.7
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
@@ -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.6"
13
+ version = "0.34.7"
14
14
 
15
15
  [tool.poetry.dependencies]
16
16
  python = "^3.8"
@@ -1,2 +1,2 @@
1
1
  COMMAND = 'stoobly-agent'
2
- VERSION = '0.34.6'
2
+ VERSION = '0.34.7'
@@ -88,7 +88,7 @@ def list(**kwargs):
88
88
  def replay(**kwargs):
89
89
  replay_handler(kwargs)
90
90
 
91
- if not is_remote:
91
+ if is_local:
92
92
  @request.command(
93
93
  help="Snapshot a request"
94
94
  )
@@ -74,6 +74,14 @@ def _list(**kwargs):
74
74
  if len(formatted_events):
75
75
  print_snapshots(formatted_events, **print_options)
76
76
 
77
+ @snapshot.command(
78
+ help="Prune deleted snapshots."
79
+ )
80
+ @click.option('--dry-run', is_flag=True, default=False)
81
+ def prune(**kwargs):
82
+ log = Log()
83
+ log.prune(kwargs['dry_run'])
84
+
77
85
  @snapshot.command(
78
86
  help="Update snapshot",
79
87
  )
@@ -5,8 +5,10 @@ import time
5
5
  from typing import List
6
6
 
7
7
  from stoobly_agent.config.data_dir import DataDir
8
+ from stoobly_agent.lib.logger import bcolors, Logger
8
9
 
9
- from .log_event import LogEvent, Resource
10
+ from .log_event import LogEvent
11
+ from .snapshot_types import DELETE_ACTION, PUT_ACTION, Resource
10
12
 
11
13
  EVENT_DELIMITTER = "\n"
12
14
 
@@ -28,7 +30,7 @@ class Log():
28
30
  if events_count == 0:
29
31
  return []
30
32
 
31
- return list(map(lambda raw_event: LogEvent(raw_event), self.raw_events))
33
+ return list(map(lambda raw_event: LogEvent(raw_event), events))
32
34
 
33
35
  @property
34
36
  def history_dir_path(self):
@@ -56,15 +58,12 @@ class Log():
56
58
  @property
57
59
  def target_events(self):
58
60
  events = self.events
59
- return self.prune(events)
61
+ return self.collapse(events)
60
62
 
61
63
  @property
62
64
  def raw_events(self):
63
65
  contents = self.read()
64
- if not contents:
65
- return []
66
- events = contents.strip().split(EVENT_DELIMITTER)
67
- return list(filter(lambda e: not not e, events))
66
+ return self.build_raw_events(contents)
68
67
 
69
68
  @property
70
69
  def unprocessed_events(self) -> List[LogEvent]:
@@ -75,14 +74,11 @@ class Log():
75
74
  return []
76
75
 
77
76
  version = self.version.strip()
78
- if not version:
79
- return self.prune(events)
80
-
81
- # Find diverge point
82
- version_uuids = version.split(EVENT_DELIMITTER)
83
- unprocessed_events: List[LogEvent] = self.remove_processed_events(events, version_uuids)
77
+ version_uuids = []
78
+ if version:
79
+ version_uuids = version.split(EVENT_DELIMITTER)
84
80
 
85
- return self.prune(unprocessed_events)
81
+ return self.remove_processed_events(events, version_uuids)
86
82
 
87
83
  @property
88
84
  def version(self):
@@ -126,6 +122,9 @@ class Log():
126
122
  with open(self.log_file_path, 'w') as fp:
127
123
  fp.write(_events + EVENT_DELIMITTER)
128
124
 
125
+ def build_log_events(self, raw_events) -> List[LogEvent]:
126
+ return list(map(lambda raw_event: LogEvent(raw_event), raw_events))
127
+
129
128
  def next_version(self, last_processed_uuid: str = None):
130
129
  uuids = self.uuids()
131
130
 
@@ -138,7 +137,7 @@ class Log():
138
137
 
139
138
  return self.generate_version(uuids)
140
139
 
141
- def prune(self, events: List[LogEvent]) -> List[LogEvent]:
140
+ def collapse(self, events: List[LogEvent]) -> List[LogEvent]:
142
141
  events_count = {}
143
142
 
144
143
  # More recent events take precedence over earlier ones, keep only the most recent event
@@ -164,6 +163,62 @@ class Log():
164
163
  serialized_event = LogEvent.serialize_put(resource)
165
164
  self.append(serialized_event)
166
165
 
166
+ def prune(self, dry_run = False):
167
+ # event uuid => history path
168
+ events: List[LogEvent] = []
169
+ path_index = {}
170
+
171
+ history_files = self.history_files
172
+ for file_path in history_files:
173
+ with open(file_path, 'r') as fp:
174
+ contents = fp.read().strip()
175
+ raw_events = self.build_raw_events(contents)
176
+ history_events = self.build_log_events(raw_events)
177
+
178
+ for event in history_events:
179
+ path_index[event.uuid] = file_path
180
+
181
+ events += history_events
182
+
183
+ # resource_uuid => event
184
+ resource_index = {}
185
+ for event in events:
186
+ if event.resource_uuid not in resource_index:
187
+ resource_index[event.resource_uuid] = []
188
+
189
+ resource_index[event.resource_uuid].append(event)
190
+
191
+ pruned_events = self.collapse(events)
192
+ for event in pruned_events:
193
+ snapshot = event.snapshot()
194
+ snapshot_exists = snapshot.exists
195
+
196
+ if event.action == DELETE_ACTION or not snapshot_exists:
197
+ Logger.instance().info(f"{bcolors.OKBLUE}Removing {event.resource} {event.resource_uuid}{bcolors.ENDC}")
198
+
199
+ resource_events: List[LogEvent] = resource_index[event.resource_uuid]
200
+ removed_events = {}
201
+
202
+ for event in resource_events:
203
+ history_path = path_index[event.uuid]
204
+ if event.uuid in removed_events:
205
+ continue
206
+
207
+ Logger.instance().info(f"Removing event {event.uuid}")
208
+ self.remove_event_history(event, history_path, dry_run)
209
+ removed_events[event.uuid] = True
210
+
211
+ if event.action == DELETE_ACTION and snapshot_exists:
212
+ if not dry_run:
213
+ snapshot.remove()
214
+ Logger.instance().info(f"Removing {event.resource} snapshot")
215
+
216
+ def build_raw_events(self, contents: str) -> List[str]:
217
+ if not contents:
218
+ return []
219
+ events = contents.strip().split(EVENT_DELIMITTER)
220
+ return list(filter(lambda e: not not e, events))
221
+
167
222
  def read(self):
168
223
  history_files = self.history_files
169
224
 
@@ -173,18 +228,56 @@ class Log():
173
228
  log.append(fp.read().strip())
174
229
 
175
230
  return EVENT_DELIMITTER.join(log)
176
-
177
- def remove_processed_events(self, events: List[LogEvent], version_uuids: List[str]):
178
- iterations = min(len(events), len(version_uuids))
179
- for i in range(0, iterations):
180
- event = events[i]
181
-
182
- if event.uuid != version_uuids[i]:
183
- i -= 1
184
- break
185
-
186
- remaining_version_uuids = version_uuids[i + 1:]
187
- remaining_events = events[i + 1:]
231
+
232
+ def remove_dangling_events(self, processed_events: List[LogEvent], unprocessed_events: List[LogEvent]):
233
+ '''
234
+ Remove DELETE events where the last processed event was a PUT
235
+ '''
236
+ index = {}
237
+ for event in processed_events:
238
+ if event.action == PUT_ACTION:
239
+ index[event.resource_uuid] = event
240
+ elif event.action == DELETE_ACTION:
241
+ if event.resource_uuid in index:
242
+ del index[event.resource_uuid]
243
+
244
+ return list(
245
+ filter(
246
+ lambda e: e.action != DELETE_ACTION or (e.action == DELETE_ACTION and e.resource_uuid in index),
247
+ unprocessed_events
248
+ )
249
+ )
250
+
251
+ def remove_event_history(self, event: LogEvent, history_path: str, dry_run = False):
252
+ events = []
253
+ raw_events = []
254
+
255
+ with open(history_path, 'r') as fp:
256
+ contents = fp.read().strip()
257
+ raw_events = self.build_raw_events(contents)
258
+ events = self.build_log_events(raw_events)
259
+ events = list(filter(lambda log_event: log_event.uuid != event.uuid, events))
260
+
261
+ if len(events) == 0:
262
+ Logger.instance().info(f"Removing {history_path}")
263
+
264
+ if not dry_run:
265
+ os.remove(history_path)
266
+ else:
267
+ 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)}")
269
+
270
+ if not dry_run:
271
+ with open(history_path, 'w') as fp:
272
+ fp.write(EVENT_DELIMITTER.join(new_raw_events))
273
+
274
+ def remove_processed_events(self, events, version_uuids):
275
+ i = self.__diverge_point(events, version_uuids)
276
+ processed_events = self.collapse(events[0:i])
277
+ unprocessed_events = self.collapse(events[i:])
278
+ remaining_version_uuids = version_uuids[i:]
279
+
280
+ remaining_events = self.remove_dangling_events(processed_events, unprocessed_events)
188
281
  return list(filter(lambda e: e.uuid not in remaining_version_uuids, remaining_events))
189
282
 
190
283
  # Rotate log to history
@@ -201,6 +294,15 @@ class Log():
201
294
  _events = events or self.events
202
295
  return list(map(lambda e: e.uuid, _events))
203
296
 
297
+ def __diverge_point(self, events: List[LogEvent], version_uuids: List[str]):
298
+ iterations = min(len(events), len(version_uuids))
299
+ for i in range(0, iterations):
300
+ event = events[i]
301
+
302
+ if event.uuid != version_uuids[i]:
303
+ return i
304
+ return iterations
305
+
204
306
  def __history_file_path(self, bucket_interval: int):
205
307
  file_name = f"{int(time.time() / bucket_interval) * bucket_interval}"
206
308
  return os.path.join(self.history_dir_path, file_name)
@@ -2,7 +2,7 @@ import pdb
2
2
  import uuid
3
3
  import time
4
4
 
5
- from typing import Callable, Literal, TypedDict
5
+ from typing import Callable, TypedDict
6
6
 
7
7
  from stoobly_agent.lib.orm.request import Request
8
8
  from stoobly_agent.lib.orm.scenario import Scenario
@@ -19,6 +19,10 @@ class RequestSnapshot(Snapshot):
19
19
  def backup(self):
20
20
  return self.__backup
21
21
 
22
+ @property
23
+ def exists(self):
24
+ return os.path.exists(self.path)
25
+
22
26
  @property
23
27
  def request(self):
24
28
  request_file_path = self.path
@@ -20,6 +20,10 @@ class ScenarioSnapshot(Snapshot):
20
20
  self.__metadata_backup = None
21
21
  self.__requests_backup = None
22
22
 
23
+ @property
24
+ def exists(self):
25
+ return os.path.exists(self.requests_path) and os.path.exists(self.metadata_path)
26
+
23
27
  @property
24
28
  def metadata(self):
25
29
  if not os.path.exists(self.metadata_path):
@@ -84,6 +88,10 @@ class ScenarioSnapshot(Snapshot):
84
88
  request_snapshot = RequestSnapshot(uuid)
85
89
  handler(request_snapshot)
86
90
 
91
+ def remove(self):
92
+ self.remove_metadata()
93
+ self.remove_requests()
94
+
87
95
  def remove_metadata(self):
88
96
  metadata_file_path = self.metadata_path
89
97
 
@@ -77,7 +77,7 @@ class TestRequestSnapshot():
77
77
  assert len(events) == 3
78
78
 
79
79
  unprocessed_events = log.unprocessed_events
80
- assert len(unprocessed_events) == 1
80
+ assert len(unprocessed_events) == 0
81
81
 
82
82
  class TestWhenAppending():
83
83
 
@@ -118,7 +118,7 @@ class TestRequestSnapshot():
118
118
  assert len(events) == 3
119
119
 
120
120
  unprocessed_events = log.unprocessed_events
121
- assert len(unprocessed_events) == 2
121
+ assert len(unprocessed_events) == 1
122
122
 
123
123
  event = unprocessed_events[0]
124
124
  assert event.resource_uuid == recorded_request_two.uuid
@@ -1,5 +1,6 @@
1
1
  import pdb
2
2
  import pytest
3
+ import time
3
4
 
4
5
  from click.testing import CliRunner
5
6
  from typing import List
@@ -23,6 +24,10 @@ class TestApply():
23
24
 
24
25
  class TestWhenDeletingRequest():
25
26
 
27
+ @pytest.fixture(scope='class')
28
+ def log(self):
29
+ return Log()
30
+
26
31
  @pytest.fixture(scope='class')
27
32
  def recorded_request(self, runner: CliRunner):
28
33
  record_result = runner.invoke(record, [DETERMINISTIC_GET_REQUEST_URL])
@@ -30,13 +35,24 @@ class TestApply():
30
35
  return Request.last()
31
36
 
32
37
  @pytest.fixture(autouse=True, scope='class')
33
- def delete_event(self, runner: CliRunner, recorded_request: Request):
34
- snapshot_result = runner.invoke(request, ['snapshot', '--action', DELETE_ACTION, recorded_request.key()])
38
+ def events(self, runner: CliRunner, recorded_request: Request, log: Log):
39
+ snapshot_result = runner.invoke(request, ['snapshot', recorded_request.key()])
35
40
  assert snapshot_result.exit_code == 0
36
41
 
37
- log = Log()
38
42
  events = log.events
39
- return events[len(events) - 1]
43
+ event: LogEvent = events[len(events) - 1]
44
+ log.version = event.uuid
45
+
46
+ time.sleep(1)
47
+
48
+ snapshot_result = runner.invoke(request, ['snapshot', '--action', DELETE_ACTION, recorded_request.key()])
49
+ assert snapshot_result.exit_code == 0
50
+
51
+ return log.events
52
+
53
+ @pytest.fixture(scope='class')
54
+ def delete_event(self, events: List[LogEvent]):
55
+ return events[1]
40
56
 
41
57
  def test_it_deletes(self, runner: CliRunner, recorded_request: Request, delete_event: LogEvent):
42
58
  apply_result = runner.invoke(snapshot, ['apply', '--force', delete_event.uuid])
@@ -82,6 +98,10 @@ class TestApply():
82
98
 
83
99
  class TestWhenDeletingScenario():
84
100
 
101
+ @pytest.fixture(scope='class')
102
+ def log(self):
103
+ return Log()
104
+
85
105
  @pytest.fixture(scope='class')
86
106
  def created_scenario(self, runner: CliRunner):
87
107
  create_result = runner.invoke(scenario, ['create', 'test'])
@@ -89,13 +109,24 @@ class TestApply():
89
109
  return Scenario.last()
90
110
 
91
111
  @pytest.fixture(autouse=True, scope='class')
92
- def delete_event(self, runner: CliRunner, created_scenario: Scenario):
93
- snapshot_result = runner.invoke(scenario, ['snapshot', '--action', DELETE_ACTION, created_scenario.key()])
112
+ def events(self, runner: CliRunner, created_scenario: Scenario, log: Log):
113
+ snapshot_result = runner.invoke(scenario, ['snapshot', created_scenario.key()])
94
114
  assert snapshot_result.exit_code == 0
95
115
 
96
- log = Log()
97
116
  events = log.events
98
- return events[len(events) - 1]
117
+ event: LogEvent = events[len(events) - 1]
118
+ log.version = event.uuid
119
+
120
+ time.sleep(1)
121
+
122
+ snapshot_result = runner.invoke(scenario, ['snapshot', '--action', DELETE_ACTION, created_scenario.key()])
123
+ assert snapshot_result.exit_code == 0
124
+
125
+ return log.events
126
+
127
+ @pytest.fixture(scope='class')
128
+ def delete_event(self, events):
129
+ return events[1]
99
130
 
100
131
  def test_it_deletes(self, runner: CliRunner, created_scenario: Scenario, delete_event: LogEvent):
101
132
  snapshot_result = runner.invoke(snapshot, ['apply', '--force', delete_event.uuid])
@@ -0,0 +1,113 @@
1
+ import pdb
2
+ import pytest
3
+ import time
4
+
5
+ from click.testing import CliRunner
6
+ from typing import List
7
+
8
+ from stoobly_agent.app.models.factories.resource.local_db.helpers.log import Log
9
+ from stoobly_agent.app.models.factories.resource.local_db.helpers.log_event import DELETE_ACTION, LogEvent
10
+ from stoobly_agent.app.models.factories.resource.local_db.helpers.scenario_snapshot import ScenarioSnapshot
11
+ from stoobly_agent.cli import record, request, scenario, snapshot
12
+ from stoobly_agent.lib.orm.request import Request
13
+ from stoobly_agent.lib.orm.scenario import Scenario
14
+ from stoobly_agent.test.test_helper import assert_orm_request_equivalent, DETERMINISTIC_GET_REQUEST_URL, NON_DETERMINISTIC_GET_REQUEST_URL, reset
15
+
16
+ @pytest.fixture(scope='module')
17
+ def runner():
18
+ return CliRunner()
19
+
20
+ class TestPrune():
21
+ @pytest.fixture(scope='class', autouse=True)
22
+ def settings(self):
23
+ return reset()
24
+
25
+ class TestWhenDeletingRequest():
26
+
27
+ @pytest.fixture(scope='class')
28
+ def log(self):
29
+ return Log()
30
+
31
+ @pytest.fixture(scope='class')
32
+ def recorded_request(self, runner: CliRunner):
33
+ record_result = runner.invoke(record, [DETERMINISTIC_GET_REQUEST_URL])
34
+ assert record_result.exit_code == 0
35
+ return Request.last()
36
+
37
+ @pytest.fixture(autouse=True, scope='class')
38
+ def events(self, runner: CliRunner, recorded_request: Request, log: Log):
39
+ snapshot_result = runner.invoke(request, ['snapshot', recorded_request.key()])
40
+ assert snapshot_result.exit_code == 0
41
+
42
+ events = log.events
43
+ event: LogEvent = events[len(events) - 1]
44
+ log.version = event.uuid
45
+
46
+ time.sleep(1)
47
+
48
+ snapshot_result = runner.invoke(request, ['snapshot', '--action', DELETE_ACTION, recorded_request.key()])
49
+ assert snapshot_result.exit_code == 0
50
+
51
+ return log.events
52
+
53
+ def test_it_prunes(self, runner: CliRunner, log: Log):
54
+ assert len(log.events) == 2
55
+ apply_result = runner.invoke(snapshot, ['prune'])
56
+ assert apply_result.exit_code == 0
57
+ assert len(log.events) == 0
58
+
59
+ class TestWhenCreatingRequest():
60
+
61
+ @pytest.fixture(scope='class')
62
+ def log(self):
63
+ return Log()
64
+
65
+ @pytest.fixture(scope='function')
66
+ def recorded_request(self, runner: CliRunner):
67
+ record_result = runner.invoke(record, [DETERMINISTIC_GET_REQUEST_URL])
68
+ assert record_result.exit_code == 0
69
+ return Request.last()
70
+
71
+ @pytest.fixture(autouse=True, scope='function')
72
+ def put_event(self, runner: CliRunner, recorded_request: Request):
73
+ snapshot_result = runner.invoke(request, ['snapshot', recorded_request.key()])
74
+ assert snapshot_result.exit_code == 0
75
+
76
+ log = Log()
77
+ events = log.events
78
+ return events[len(events) - 1]
79
+
80
+ def test_it_does_not_prune(self, runner: CliRunner, log: Log):
81
+ apply_result = runner.invoke(snapshot, ['prune'])
82
+ assert apply_result.exit_code == 0
83
+ assert len(log.events) == 1
84
+
85
+ class TestWhenMissingSnapshot():
86
+
87
+ @pytest.fixture(scope='class')
88
+ def log(self):
89
+ return Log()
90
+
91
+ @pytest.fixture(scope='function')
92
+ def recorded_request(self, runner: CliRunner):
93
+ record_result = runner.invoke(record, [DETERMINISTIC_GET_REQUEST_URL])
94
+ assert record_result.exit_code == 0
95
+ return Request.last()
96
+
97
+ @pytest.fixture(autouse=True, scope='function')
98
+ def put_event(self, runner: CliRunner, recorded_request: Request):
99
+ snapshot_result = runner.invoke(request, ['snapshot', recorded_request.key()])
100
+ assert snapshot_result.exit_code == 0
101
+
102
+ log = Log()
103
+ events = log.events
104
+ return events[len(events) - 1]
105
+
106
+ def test_it_prunes(self, runner: CliRunner, log: Log):
107
+ event = log.events[0]
108
+ event.snapshot().remove()
109
+ assert len(log.events) == 1
110
+
111
+ apply_result = runner.invoke(snapshot, ['prune'])
112
+ assert apply_result.exit_code == 0
113
+ assert len(log.events) == 0
File without changes
File without changes