stoobly-agent 0.33.7__tar.gz → 0.34.1__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 (599) hide show
  1. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/PKG-INFO +1 -1
  2. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/pyproject.toml +1 -1
  3. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/__init__.py +1 -1
  4. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/dev_tools_cli.py +1 -0
  5. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/endpoint_cli.py +25 -2
  6. stoobly_agent-0.34.1/stoobly_agent/app/cli/helpers/endpoint_facade.py +46 -0
  7. stoobly_agent-0.34.1/stoobly_agent/app/cli/helpers/endpoints_import_context.py +57 -0
  8. stoobly_agent-0.34.1/stoobly_agent/app/cli/helpers/endpoints_import_service.py +152 -0
  9. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/openapi_endpoint_adapter.py +111 -6
  10. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/replay_facade.py +4 -0
  11. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/request_cli.py +2 -0
  12. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/scenario_cli.py +2 -0
  13. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/types/test.py +2 -0
  14. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/request_builder.py +1 -1
  15. stoobly_agent-0.34.1/stoobly_agent/app/models/types/endpoint.py +33 -0
  16. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/handle_mock_service.py +15 -3
  17. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/intercept_settings.py +39 -0
  18. stoobly_agent-0.34.1/stoobly_agent/app/proxy/mock/eval_fixtures_service.py +61 -0
  19. stoobly_agent-0.34.1/stoobly_agent/app/proxy/mock/types/__init__.py +10 -0
  20. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/replay_request_service.py +11 -3
  21. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/run.py +6 -0
  22. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/context.py +12 -0
  23. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/context_abc.py +15 -0
  24. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/intercept_settings.py +1 -1
  25. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/cli.py +13 -2
  26. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/custom_headers.py +2 -0
  27. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/env_vars.py +2 -0
  28. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/api.py +4 -0
  29. stoobly_agent-0.34.1/stoobly_agent/lib/api/body_param_names_resource.py +36 -0
  30. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/endpoints_resource.py +9 -2
  31. stoobly_agent-0.34.1/stoobly_agent/lib/api/header_names_resource.py +36 -0
  32. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/endpoints.py +2 -0
  33. stoobly_agent-0.34.1/stoobly_agent/lib/api/query_param_names_resource.py +36 -0
  34. stoobly_agent-0.34.1/stoobly_agent/lib/api/response_header_names_resource.py +36 -0
  35. stoobly_agent-0.34.1/stoobly_agent/lib/api/response_param_names_resource.py +36 -0
  36. stoobly_agent-0.34.1/stoobly_agent/public/0-es2015.a7e60cafc0868f87a771.js +1 -0
  37. stoobly_agent-0.34.1/stoobly_agent/public/0-es5.a7e60cafc0868f87a771.js +1 -0
  38. stoobly_agent-0.34.1/stoobly_agent/public/1-es2015.cb071776436f10954db5.js +1 -0
  39. stoobly_agent-0.34.1/stoobly_agent/public/1-es5.cb071776436f10954db5.js +1 -0
  40. stoobly_agent-0.34.1/stoobly_agent/public/10-es2015.bb1702aaf3968a2cb521.js +1 -0
  41. stoobly_agent-0.34.1/stoobly_agent/public/10-es5.bb1702aaf3968a2cb521.js +1 -0
  42. stoobly_agent-0.34.1/stoobly_agent/public/12-es2015.591ec692afb8f8d13842.js +1 -0
  43. stoobly_agent-0.34.1/stoobly_agent/public/12-es5.591ec692afb8f8d13842.js +1 -0
  44. stoobly_agent-0.34.1/stoobly_agent/public/13-es2015.f381e7d6ff361b669e12.js +1 -0
  45. stoobly_agent-0.34.1/stoobly_agent/public/13-es5.f381e7d6ff361b669e12.js +1 -0
  46. stoobly_agent-0.34.1/stoobly_agent/public/14-es2015.1ffb225a16d6292dbddd.js +1 -0
  47. stoobly_agent-0.34.1/stoobly_agent/public/14-es5.1ffb225a16d6292dbddd.js +1 -0
  48. stoobly_agent-0.34.1/stoobly_agent/public/15-es2015.2cf39bcaeb0ea2c52297.js +1 -0
  49. stoobly_agent-0.34.1/stoobly_agent/public/15-es5.2cf39bcaeb0ea2c52297.js +1 -0
  50. stoobly_agent-0.34.1/stoobly_agent/public/16-es2015.0e9422b274e642f95e41.js +1 -0
  51. stoobly_agent-0.34.1/stoobly_agent/public/16-es5.0e9422b274e642f95e41.js +1 -0
  52. stoobly_agent-0.34.1/stoobly_agent/public/17-es2015.7fb08367a22d1e34aed7.js +1 -0
  53. stoobly_agent-0.34.1/stoobly_agent/public/17-es5.7fb08367a22d1e34aed7.js +1 -0
  54. stoobly_agent-0.34.1/stoobly_agent/public/18-es2015.5caa4789d1c335e628f2.js +1 -0
  55. stoobly_agent-0.34.1/stoobly_agent/public/18-es5.5caa4789d1c335e628f2.js +1 -0
  56. stoobly_agent-0.34.1/stoobly_agent/public/19-es2015.8049aef58c329c500f9b.js +1 -0
  57. stoobly_agent-0.34.1/stoobly_agent/public/19-es5.8049aef58c329c500f9b.js +1 -0
  58. stoobly_agent-0.34.1/stoobly_agent/public/2-es2015.8f184ac63348ba447b1f.js +1 -0
  59. stoobly_agent-0.34.1/stoobly_agent/public/2-es5.8f184ac63348ba447b1f.js +1 -0
  60. stoobly_agent-0.34.1/stoobly_agent/public/20-es2015.473486aabfa4d4a6431b.js +1 -0
  61. stoobly_agent-0.34.1/stoobly_agent/public/20-es5.473486aabfa4d4a6431b.js +1 -0
  62. stoobly_agent-0.34.1/stoobly_agent/public/21-es2015.63ed4e6b242fbc047bd6.js +1 -0
  63. stoobly_agent-0.34.1/stoobly_agent/public/21-es5.63ed4e6b242fbc047bd6.js +1 -0
  64. stoobly_agent-0.34.1/stoobly_agent/public/22-es2015.df183804415330639987.js +1 -0
  65. stoobly_agent-0.34.1/stoobly_agent/public/22-es5.df183804415330639987.js +1 -0
  66. stoobly_agent-0.34.1/stoobly_agent/public/23-es2015.0da63b056fabde91bb0b.js +1 -0
  67. stoobly_agent-0.34.1/stoobly_agent/public/23-es5.0da63b056fabde91bb0b.js +1 -0
  68. stoobly_agent-0.34.1/stoobly_agent/public/28-es2015.9fe030e9d3b0e52239aa.js +1 -0
  69. stoobly_agent-0.34.1/stoobly_agent/public/28-es5.9fe030e9d3b0e52239aa.js +1 -0
  70. stoobly_agent-0.34.1/stoobly_agent/public/29-es2015.9b440f22de725732e5ab.js +1 -0
  71. stoobly_agent-0.34.1/stoobly_agent/public/29-es5.9b440f22de725732e5ab.js +1 -0
  72. stoobly_agent-0.34.1/stoobly_agent/public/30-es2015.6ad2a5126b0a27c1e7c6.js +1 -0
  73. stoobly_agent-0.34.1/stoobly_agent/public/30-es5.6ad2a5126b0a27c1e7c6.js +1 -0
  74. stoobly_agent-0.34.1/stoobly_agent/public/31-es2015.f4291150f35d54ff19ca.js +1 -0
  75. stoobly_agent-0.34.1/stoobly_agent/public/31-es5.f4291150f35d54ff19ca.js +1 -0
  76. stoobly_agent-0.34.1/stoobly_agent/public/32-es2015.c8f6ccb43bdba0adf199.js +1 -0
  77. stoobly_agent-0.34.1/stoobly_agent/public/32-es5.c8f6ccb43bdba0adf199.js +1 -0
  78. stoobly_agent-0.34.1/stoobly_agent/public/33-es2015.f985e93402ebf86322ef.js +1 -0
  79. stoobly_agent-0.34.1/stoobly_agent/public/33-es5.f985e93402ebf86322ef.js +1 -0
  80. stoobly_agent-0.34.1/stoobly_agent/public/34-es2015.0e1961fb3cf649a52d49.js +1 -0
  81. stoobly_agent-0.34.1/stoobly_agent/public/34-es5.0e1961fb3cf649a52d49.js +1 -0
  82. stoobly_agent-0.34.1/stoobly_agent/public/35-es2015.a4ae56a89c0324397624.js +1 -0
  83. stoobly_agent-0.34.1/stoobly_agent/public/35-es5.a4ae56a89c0324397624.js +1 -0
  84. stoobly_agent-0.34.1/stoobly_agent/public/36-es2015.b8fdd25590a79c820119.js +1 -0
  85. stoobly_agent-0.34.1/stoobly_agent/public/36-es5.b8fdd25590a79c820119.js +1 -0
  86. stoobly_agent-0.34.1/stoobly_agent/public/37-es2015.6567a0ce4cf87ad7287b.js +1 -0
  87. stoobly_agent-0.34.1/stoobly_agent/public/37-es5.6567a0ce4cf87ad7287b.js +1 -0
  88. stoobly_agent-0.34.1/stoobly_agent/public/38-es2015.6f6d751bff41d84d727a.js +1 -0
  89. stoobly_agent-0.34.1/stoobly_agent/public/38-es5.6f6d751bff41d84d727a.js +1 -0
  90. stoobly_agent-0.34.1/stoobly_agent/public/39-es2015.47f63177e7d4509a22fa.js +1 -0
  91. stoobly_agent-0.34.1/stoobly_agent/public/39-es5.47f63177e7d4509a22fa.js +1 -0
  92. stoobly_agent-0.34.1/stoobly_agent/public/3rdpartylicenses.txt +2418 -0
  93. stoobly_agent-0.34.1/stoobly_agent/public/4-es2015.182e1ce1811ef67571fb.js +1 -0
  94. stoobly_agent-0.34.1/stoobly_agent/public/4-es5.182e1ce1811ef67571fb.js +1 -0
  95. stoobly_agent-0.34.1/stoobly_agent/public/40-es2015.5333067cdc4077c7495a.js +1 -0
  96. stoobly_agent-0.34.1/stoobly_agent/public/40-es5.5333067cdc4077c7495a.js +1 -0
  97. stoobly_agent-0.34.1/stoobly_agent/public/41-es2015.7a2434380c81c11ff2c5.js +1 -0
  98. stoobly_agent-0.34.1/stoobly_agent/public/41-es5.7a2434380c81c11ff2c5.js +1 -0
  99. stoobly_agent-0.34.1/stoobly_agent/public/42-es2015.5dde662fe1e3b4e4bdd1.js +1 -0
  100. stoobly_agent-0.34.1/stoobly_agent/public/42-es5.5dde662fe1e3b4e4bdd1.js +1 -0
  101. stoobly_agent-0.34.1/stoobly_agent/public/43-es2015.608e917d689b9bb762cb.js +1 -0
  102. stoobly_agent-0.34.1/stoobly_agent/public/43-es5.608e917d689b9bb762cb.js +1 -0
  103. stoobly_agent-0.34.1/stoobly_agent/public/44-es2015.2ae5fea15b5e8c2681d3.js +1 -0
  104. stoobly_agent-0.34.1/stoobly_agent/public/44-es5.2ae5fea15b5e8c2681d3.js +1 -0
  105. stoobly_agent-0.34.1/stoobly_agent/public/45-es2015.e46f228c795174428515.js +1 -0
  106. stoobly_agent-0.34.1/stoobly_agent/public/45-es5.e46f228c795174428515.js +1 -0
  107. stoobly_agent-0.34.1/stoobly_agent/public/46-es2015.22a0d8e0b4bbfb513741.js +1 -0
  108. stoobly_agent-0.34.1/stoobly_agent/public/46-es5.22a0d8e0b4bbfb513741.js +1 -0
  109. stoobly_agent-0.34.1/stoobly_agent/public/47-es2015.3878e5d1d692107748f3.js +1 -0
  110. stoobly_agent-0.34.1/stoobly_agent/public/47-es5.3878e5d1d692107748f3.js +1 -0
  111. stoobly_agent-0.34.1/stoobly_agent/public/5-es2015.aba7173be56fc19b4b6f.js +1 -0
  112. stoobly_agent-0.34.1/stoobly_agent/public/5-es5.aba7173be56fc19b4b6f.js +1 -0
  113. stoobly_agent-0.34.1/stoobly_agent/public/6-es2015.5fb726c0555664300974.js +1 -0
  114. stoobly_agent-0.34.1/stoobly_agent/public/6-es5.5fb726c0555664300974.js +1 -0
  115. stoobly_agent-0.34.1/stoobly_agent/public/7-es2015.9b9ab4adf24d13bdc2f8.js +1 -0
  116. stoobly_agent-0.34.1/stoobly_agent/public/7-es5.9b9ab4adf24d13bdc2f8.js +1 -0
  117. stoobly_agent-0.34.1/stoobly_agent/public/8-es2015.cdd7dce2a24aaf9d974f.js +1 -0
  118. stoobly_agent-0.34.1/stoobly_agent/public/8-es5.cdd7dce2a24aaf9d974f.js +1 -0
  119. stoobly_agent-0.34.1/stoobly_agent/public/9-es2015.cdde98f2537997afbf0f.js +1 -0
  120. stoobly_agent-0.34.1/stoobly_agent/public/9-es5.cdde98f2537997afbf0f.js +1 -0
  121. stoobly_agent-0.34.1/stoobly_agent/public/CHANGELOG.md +58 -0
  122. stoobly_agent-0.34.1/stoobly_agent/public/README.md +264 -0
  123. stoobly_agent-0.34.1/stoobly_agent/public/_redirects +1 -0
  124. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/1.jpg +0 -0
  125. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/2.jpg +0 -0
  126. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/3.jpg +0 -0
  127. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/4.jpg +0 -0
  128. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/5.jpg +0 -0
  129. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/6.jpg +0 -0
  130. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/7.jpg +0 -0
  131. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/8.jpg +0 -0
  132. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/landscape.jpg +0 -0
  133. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/demo/mountain-cinematic.jpg +0 -0
  134. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/illustrations/checklist.svg +164 -0
  135. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/illustrations/data_center.svg +150 -0
  136. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/illustrations/idea.svg +213 -0
  137. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/illustrations/it_support.svg +168 -0
  138. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/illustrations/peak_mountain_3.svg +262 -0
  139. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/illustrations/under_constructions_1.svg +282 -0
  140. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/logo/colored.png +0 -0
  141. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/logo/colored.svg +9 -0
  142. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/logo/white.png +0 -0
  143. stoobly_agent-0.34.1/stoobly_agent/public/assets/img/logo/white.svg +8 -0
  144. stoobly_agent-0.34.1/stoobly_agent/public/common-es2015.6f230354b12587f9be81.js +1 -0
  145. stoobly_agent-0.34.1/stoobly_agent/public/common-es5.6f230354b12587f9be81.js +1 -0
  146. stoobly_agent-0.34.1/stoobly_agent/public/favicon.ico +0 -0
  147. stoobly_agent-0.34.1/stoobly_agent/public/index.html +118 -0
  148. stoobly_agent-0.34.1/stoobly_agent/public/main-es2015.081bbd2709f22e95933e.js +1 -0
  149. stoobly_agent-0.34.1/stoobly_agent/public/main-es5.081bbd2709f22e95933e.js +1 -0
  150. stoobly_agent-0.34.1/stoobly_agent/public/polyfills-es2015.8ce2adc69f283f6c4c5e.js +1 -0
  151. stoobly_agent-0.34.1/stoobly_agent/public/polyfills-es5.7530172ddcec11a10eb3.js +1 -0
  152. stoobly_agent-0.34.1/stoobly_agent/public/runtime-es2015.362e49d383fb724f5414.js +1 -0
  153. stoobly_agent-0.34.1/stoobly_agent/public/runtime-es5.362e49d383fb724f5414.js +1 -0
  154. stoobly_agent-0.34.1/stoobly_agent/public/styles.ca104d947fbb2eebbeca.css +6 -0
  155. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_additional_props_test.py +34 -0
  156. stoobly_agent-0.34.1/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_info_test.py +135 -0
  157. stoobly_agent-0.34.1/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_oauth2_scopes_test.py +139 -0
  158. stoobly_agent-0.34.1/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_servers_test.py +135 -0
  159. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_test.py +617 -4
  160. stoobly_agent-0.34.1/stoobly_agent/test/app/models/schemas/.stoobly/db/VERSION +1 -0
  161. stoobly_agent-0.34.1/stoobly_agent/test/app/proxy/mock/eval_fixtures_service_test.py +95 -0
  162. stoobly_agent-0.33.7/stoobly_agent/app/cli/helpers/endpoint_facade.py +0 -25
  163. stoobly_agent-0.33.7/stoobly_agent/app/models/types/endpoint.py +0 -7
  164. stoobly_agent-0.33.7/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_info_test.py +0 -58
  165. stoobly_agent-0.33.7/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_oauth2_scopes_test.py +0 -58
  166. stoobly_agent-0.33.7/stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_servers_test.py +0 -58
  167. stoobly_agent-0.33.7/stoobly_agent/test/app/models/schemas/.stoobly/db/VERSION +0 -1
  168. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/LICENSE +0 -0
  169. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/README.md +0 -0
  170. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/__init__.py +0 -0
  171. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/__init__.py +0 -0
  172. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/application_http_request_handler.py +0 -0
  173. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/bodies_controller.py +0 -0
  174. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/configs_controller.py +0 -0
  175. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/headers_controller.py +0 -0
  176. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/proxy_controller.py +0 -0
  177. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/query_params_controller.py +0 -0
  178. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/replayed_response_headers_controller.py +0 -0
  179. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/replayed_responses_controller.py +0 -0
  180. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/requests_controller.py +0 -0
  181. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/response_headers_controller.py +0 -0
  182. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/responses_controller.py +0 -0
  183. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/routes.py +0 -0
  184. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/scenarios_controller.py +0 -0
  185. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/simple_http_request_handler.py +0 -0
  186. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/api/statuses_controller.py +0 -0
  187. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/__init__.py +0 -0
  188. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/ca_cert_cli.py +0 -0
  189. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/ca_cert_installer.py +0 -0
  190. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/config_cli.py +0 -0
  191. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/decorators/__init__.py +0 -0
  192. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/decorators/config.py +0 -0
  193. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/decorators/exec.py +0 -0
  194. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/feature_cli.py +0 -0
  195. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/handlers/request_cli_handler.py +0 -0
  196. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/handlers/scenario_cli_handler.py +0 -0
  197. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/__init__.py +0 -0
  198. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/context.py +0 -0
  199. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/endpoints_apply_context.py +0 -0
  200. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/endpoints_apply_service.py +0 -0
  201. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/feature_flags.py +0 -0
  202. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/handle_config_update_service.py +0 -0
  203. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/handle_mock_service.py +0 -0
  204. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/handle_replay_service.py +0 -0
  205. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/handle_test_service.py +0 -0
  206. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/iterate_group_by.py +0 -0
  207. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/json_print.py +0 -0
  208. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/print_service.py +0 -0
  209. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/project_facade.py +0 -0
  210. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/report_facade.py +0 -0
  211. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/request_facade.py +0 -0
  212. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/request_synchronize_handler.py +0 -0
  213. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/run_command_service.py +0 -0
  214. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/scenario_facade.py +0 -0
  215. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/schema_builder.py +0 -0
  216. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/synchronize_request_service.py +0 -0
  217. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/tabulate_print_service.py +0 -0
  218. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/test_facade.py +0 -0
  219. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/test_replay_context.py +0 -0
  220. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/trace_aliases.py +0 -0
  221. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/trace_context_facade.py +0 -0
  222. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/validations.py +0 -0
  223. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/helpers/verify_raw_request_service.py +0 -0
  224. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/intercept_cli.py +0 -0
  225. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/main_group.py +0 -0
  226. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/project_cli.py +0 -0
  227. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/report_cli.py +0 -0
  228. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/snapshot_cli.py +0 -0
  229. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/trace_cli.py +0 -0
  230. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/types/__init__.py +0 -0
  231. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/types/output.py +0 -0
  232. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/types/print_options.py +0 -0
  233. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/types/request.py +0 -0
  234. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/cli/types/scenario.py +0 -0
  235. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/__init__.py +0 -0
  236. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/__init__.py +0 -0
  237. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/joined_request_adapter.py +0 -0
  238. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/mitmproxy/__init__.py +0 -0
  239. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/mitmproxy/request/__init__.py +0 -0
  240. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/mitmproxy/request/python_adapter.py +0 -0
  241. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/mitmproxy/response/__init__.py +0 -0
  242. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/mitmproxy/response/python_adapter.py +0 -0
  243. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/orm/__init__.py +0 -0
  244. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/orm/joined_request_string_adapter.py +0 -0
  245. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/orm/request/__init__.py +0 -0
  246. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/orm/request/mitmproxy_adapter.py +0 -0
  247. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/orm/request/python_adapter.py +0 -0
  248. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/orm/response/__init__.py +0 -0
  249. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/orm/response/mitmproxy_adapter.py +0 -0
  250. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/orm/response/python_adapter.py +0 -0
  251. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/python/__init__.py +0 -0
  252. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/python/request/__init__.py +0 -0
  253. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/python/request/mitmproxy_adapter.py +0 -0
  254. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/python/request/raw_adapter.py +0 -0
  255. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/python/request/stoobly_adapter.py +0 -0
  256. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/python/response/__init__.py +0 -0
  257. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/python/response/mitmproxy_adapter.py +0 -0
  258. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/python/response/raw_adapter.py +0 -0
  259. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/raw_http_request_adapter.py +0 -0
  260. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/raw_http_response_adapter.py +0 -0
  261. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/raw_joined/__init__.py +0 -0
  262. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/raw_joined/request/__init__.py +0 -0
  263. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/raw_joined/request/python_adapter.py +0 -0
  264. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/raw_joined/response/__init__.py +0 -0
  265. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/raw_joined/response/python_adapter.py +0 -0
  266. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/stoobly/__init__.py +0 -0
  267. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/stoobly/request/__init__.py +0 -0
  268. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/adapters/stoobly/request/mitmproxy_adapter.py +0 -0
  269. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/body_model.py +0 -0
  270. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/__init__.py +0 -0
  271. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/__init__.py +0 -0
  272. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/body.py +0 -0
  273. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/header.py +0 -0
  274. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/__init__.py +0 -0
  275. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/body_adapter.py +0 -0
  276. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/header_adapter.py +0 -0
  277. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/__init__.py +0 -0
  278. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/create_request_columns_service.py +0 -0
  279. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/log.py +0 -0
  280. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/log_event.py +0 -0
  281. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/request_snapshot.py +0 -0
  282. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/scenario_snapshot.py +0 -0
  283. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/search.py +0 -0
  284. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot.py +0 -0
  285. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot_service.py +0 -0
  286. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/snapshot_types.py +0 -0
  287. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/helpers/tiebreak_scenario_request.py +0 -0
  288. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/local_db_adapter.py +0 -0
  289. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/orm_request_builder.py +0 -0
  290. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/query_param_adapter.py +0 -0
  291. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/replayed_response_adapter.py +0 -0
  292. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/request_adapter.py +0 -0
  293. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/response_adapter.py +0 -0
  294. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/response_header_adapter.py +0 -0
  295. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/local_db/scenario_adapter.py +0 -0
  296. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/query_param.py +0 -0
  297. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/replayed_response.py +0 -0
  298. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/request.py +0 -0
  299. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/response.py +0 -0
  300. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/response_header.py +0 -0
  301. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/scenario.py +0 -0
  302. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/stoobly/__init__.py +0 -0
  303. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/stoobly/request_adapter.py +0 -0
  304. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/factories/resource/stoobly/scenario_adapter.py +0 -0
  305. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/header_model.py +0 -0
  306. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/helpers/__init__.py +0 -0
  307. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/helpers/apply.py +0 -0
  308. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/helpers/create_request_params_service.py +0 -0
  309. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/model.py +0 -0
  310. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/query_param_model.py +0 -0
  311. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/replayed_response_model.py +0 -0
  312. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/request_model.py +0 -0
  313. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/response_header_model.py +0 -0
  314. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/response_model.py +0 -0
  315. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/scenario_model.py +0 -0
  316. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/schemas/__init__.py +0 -0
  317. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/schemas/request.py +0 -0
  318. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/types/__init__.py +0 -0
  319. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/types/replayed_response.py +0 -0
  320. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/types/request.py +0 -0
  321. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/types/request_components.py +0 -0
  322. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/types/response.py +0 -0
  323. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/models/types/scenario.py +0 -0
  324. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/__init__.py +0 -0
  325. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/constants/__init__.py +0 -0
  326. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/constants/custom_response_codes.py +0 -0
  327. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/context.py +0 -0
  328. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/handle_record_service.py +0 -0
  329. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/handle_replay_service.py +0 -0
  330. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/handle_test_service.py +0 -0
  331. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/hot_reload.py +0 -0
  332. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/intercept_handler.py +0 -0
  333. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mitmproxy/__init__.py +0 -0
  334. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mitmproxy/flow_mock.py +0 -0
  335. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mitmproxy/request.py +0 -0
  336. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mitmproxy/request_body_facade.py +0 -0
  337. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mitmproxy/request_facade.py +0 -0
  338. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mitmproxy/response.py +0 -0
  339. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mitmproxy/response_facade.py +0 -0
  340. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mock/__init__.py +0 -0
  341. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mock/context.py +0 -0
  342. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mock/custom_not_found_response_builder.py +0 -0
  343. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mock/eval_request_service.py +0 -0
  344. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mock/hashed_request_decorator.py +0 -0
  345. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mock/ignored_components_response_builder.py +0 -0
  346. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mock/request_hasher.py +0 -0
  347. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/mock/search_endpoint.py +0 -0
  348. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/__init__.py +0 -0
  349. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/context.py +0 -0
  350. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/join_request_service.py +0 -0
  351. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/joined_request.py +0 -0
  352. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/overwrite_scenario_service.py +0 -0
  353. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/proxy_request.py +0 -0
  354. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/request_string.py +0 -0
  355. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/request_string_control.py +0 -0
  356. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/response_string.py +0 -0
  357. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/response_string_control.py +0 -0
  358. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/record/upload_request_service.py +0 -0
  359. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/__init__.py +0 -0
  360. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/alias_context.py +0 -0
  361. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/alias_resolver.py +0 -0
  362. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/body_parser_service.py +0 -0
  363. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/context.py +0 -0
  364. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/multipart.py +0 -0
  365. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/replay_scenario_service.py +0 -0
  366. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/rewrite_params_service.py +0 -0
  367. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/replay/trace_context.py +0 -0
  368. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/settings.py +0 -0
  369. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/simulate_intercept_service.py +0 -0
  370. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/__init__.py +0 -0
  371. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/context_response.py +0 -0
  372. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/__init__.py +0 -0
  373. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/diff_service.py +0 -0
  374. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/endpoint_facade.py +0 -0
  375. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/mitmproxy_response_adapter.py +0 -0
  376. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/request_component_names_facade.py +0 -0
  377. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/requests_response_adapter.py +0 -0
  378. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/stoobly_response_adapter.py +0 -0
  379. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/test_results_builder.py +0 -0
  380. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/helpers/upload_test_service.py +0 -0
  381. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/matchers/__init__.py +0 -0
  382. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/matchers/context.py +0 -0
  383. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/matchers/contract.py +0 -0
  384. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/matchers/custom.py +0 -0
  385. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/matchers/diff.py +0 -0
  386. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/matchers/errors.py +0 -0
  387. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/matchers/fuzzy.py +0 -0
  388. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/matchers/handlers/__init__.py +0 -0
  389. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/test/test_service.py +0 -0
  390. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/utils/__init__.py +0 -0
  391. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/utils/allowed_request_service.py +0 -0
  392. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/utils/publish_change_service.py +0 -0
  393. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/utils/request_handler.py +0 -0
  394. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/utils/response_handler.py +0 -0
  395. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/proxy/utils/rewrite_rules_to_ignored_components_service.py +0 -0
  396. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/__init__.py +0 -0
  397. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/cli_settings.py +0 -0
  398. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/constants/__init__.py +0 -0
  399. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/constants/firewall_action.py +0 -0
  400. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/constants/intercept_mode.py +0 -0
  401. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/constants/mode.py +0 -0
  402. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/constants/request_component.py +0 -0
  403. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/data_rules.py +0 -0
  404. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/data_settings.py +0 -0
  405. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/feature_settings.py +0 -0
  406. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/firewall_rule.py +0 -0
  407. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/firewall_settings.py +0 -0
  408. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/helpers/active_mode_settings_builder.py +0 -0
  409. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/match_rule.py +0 -0
  410. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/match_settings.py +0 -0
  411. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/parameter_rule.py +0 -0
  412. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/proxy_settings.py +0 -0
  413. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/remote_settings.py +0 -0
  414. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/rewrite_rule.py +0 -0
  415. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/rewrite_settings.py +0 -0
  416. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/types/__init__.py +0 -0
  417. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/types/cli_settings.py +0 -0
  418. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/types/proxy_settings.py +0 -0
  419. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/types/remote_settings.py +0 -0
  420. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/types/ui_settings.py +0 -0
  421. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/ui_settings.py +0 -0
  422. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/app/settings/url_rule.py +0 -0
  423. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/__init__.py +0 -0
  424. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/__init__.py +0 -0
  425. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/alias_resolve_strategy.py +0 -0
  426. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/headers.py +0 -0
  427. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/lifecycle_hooks.py +0 -0
  428. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/mock_policy.py +0 -0
  429. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/mode.py +0 -0
  430. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/record_policy.py +0 -0
  431. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/replay_policy.py +0 -0
  432. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/request_origin.py +0 -0
  433. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/statuses.py +0 -0
  434. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/test_filter.py +0 -0
  435. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/test_output_level.py +0 -0
  436. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/constants/test_strategy.py +0 -0
  437. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/data_dir.py +0 -0
  438. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/mitmproxy.py +0 -0
  439. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/schema.yml +0 -0
  440. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/settings.yml.sample +0 -0
  441. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/config/source_dir.py +0 -0
  442. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2022_03_17_060144_create_requests.py +0 -0
  443. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2022_03_17_074916_create_responses.py +0 -0
  444. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2022_05_10_003705_create_traces.py +0 -0
  445. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2022_05_10_003840_create_trace_aliases.py +0 -0
  446. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2022_06_29_234516_create_trace_requests.py +0 -0
  447. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2022_06_29_235155_add_trace_request_reference_to_trace_aliases.py +0 -0
  448. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2022_12_12_092437_align_requests.py +0 -0
  449. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2022_12_28_092917_add_filter_columns_to_requests.py +0 -0
  450. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_01_21_055426_create_scenarios.py +0 -0
  451. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_01_21_060225_add_scenario_id_reference_to_requests.py +0 -0
  452. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_02_02_022229_create_replayed_responses.py +0 -0
  453. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_03_20_192909_add_http_version_column_to_requests.py +0 -0
  454. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_03_20_220448_add_http_version_column_to_responses.py +0 -0
  455. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_04_18_071327_align_requests.py +0 -0
  456. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_05_15_212505_add_uuid_column_to_requests.py +0 -0
  457. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_05_15_213119_add_uuid_column_to_scenarios.py +0 -0
  458. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/2023_05_29_053649_add_overwritable_column_to_scenarios.py +0 -0
  459. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/db/migrations/__init__.py +0 -0
  460. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/__init__.py +0 -0
  461. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/__init__.py +0 -0
  462. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/agent_api.py +0 -0
  463. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/__init__.py +0 -0
  464. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/headers.py +0 -0
  465. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/pagination_query_params.py +0 -0
  466. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/projects.py +0 -0
  467. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/query_params.py +0 -0
  468. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/reports.py +0 -0
  469. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/requests.py +0 -0
  470. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/response_headers.py +0 -0
  471. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/responses.py +0 -0
  472. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/scenarios.py +0 -0
  473. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/tests.py +0 -0
  474. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/traces.py +0 -0
  475. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/interfaces/users.py +0 -0
  476. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/json_response_builder.py +0 -0
  477. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/__init__.py +0 -0
  478. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/organization_key.py +0 -0
  479. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/project_key.py +0 -0
  480. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/report_key.py +0 -0
  481. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/request_key.py +0 -0
  482. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/resource_key.py +0 -0
  483. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/scenario_key.py +0 -0
  484. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/test_key.py +0 -0
  485. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/keys/uuid_key.py +0 -0
  486. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/param_builder.py +0 -0
  487. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/projects_resource.py +0 -0
  488. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/reports_resource.py +0 -0
  489. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/requests_resource.py +0 -0
  490. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/scenarios_resource.py +0 -0
  491. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/stoobly_api.py +0 -0
  492. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/test_responses_resource.py +0 -0
  493. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/tests_resource.py +0 -0
  494. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/api/users_resource.py +0 -0
  495. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/cache.py +0 -0
  496. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/logger.py +0 -0
  497. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/__init__.py +0 -0
  498. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/base.py +0 -0
  499. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/migrate_service.py +0 -0
  500. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/replayed_response.py +0 -0
  501. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/request.py +0 -0
  502. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/response.py +0 -0
  503. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/scenario.py +0 -0
  504. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/trace.py +0 -0
  505. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/trace_alias.py +0 -0
  506. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/trace_request.py +0 -0
  507. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/transformers/__init__.py +0 -0
  508. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/transformers/orm_to_request_transformer.py +0 -0
  509. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/transformers/orm_to_requests_response_transformer.py +0 -0
  510. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/transformers/orm_to_stoobly_request_transformer.py +0 -0
  511. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/transformers/orm_to_stoobly_response_transformer.py +0 -0
  512. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/types/__init__.py +0 -0
  513. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/types/request_columns.py +0 -0
  514. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/types/response_columns.py +0 -0
  515. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/utils/__init__.py +0 -0
  516. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/utils/request_parse_handler.py +0 -0
  517. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/utils/requests_response_builder.py +0 -0
  518. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/orm/utils/response_parse_handler.py +0 -0
  519. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/utils/__init__.py +0 -0
  520. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/utils/conditional_decorator.py +0 -0
  521. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/utils/decode.py +0 -0
  522. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/utils/jmespath.py +0 -0
  523. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/utils/python_to_ruby_type.py +0 -0
  524. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/lib/utils/visitor.py +0 -0
  525. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/mock.py +0 -0
  526. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/__init__.py +0 -0
  527. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/__init__.py +0 -0
  528. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/cli_mock_integration_test.py +0 -0
  529. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/config/firewall_test.py +0 -0
  530. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/config/match_test.py +0 -0
  531. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/config/project/config_project_set_test.py +0 -0
  532. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/config/rewrite_test.py +0 -0
  533. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/config/scenario/config_scenario_set_test.py +0 -0
  534. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/endpoint/endpoint_cli_apply_test.py +0 -0
  535. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/helpers/schema_builder_test.py +0 -0
  536. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/helpers/synchronize_request_service_test.py +0 -0
  537. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/intercept/intercept_configure_test.py +0 -0
  538. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/intercept/intercept_enable_test.py +0 -0
  539. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/request/request_delete_test.py +0 -0
  540. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/request/request_list_test.py +0 -0
  541. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/request/request_replay_test.py +0 -0
  542. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/request/request_reset_test.py +0 -0
  543. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/request/request_response_test.py +0 -0
  544. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/request/request_snapshot_test.py +0 -0
  545. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/request/request_test_test.py +0 -0
  546. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/scenario/scenario_create_test.py +0 -0
  547. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/scenario/scenario_replay_integration_test.py +0 -0
  548. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/scenario/scenario_replay_test.py +0 -0
  549. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/scenario/scenario_reset_test.py +0 -0
  550. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/scenario/scenario_snapshot_test.py +0 -0
  551. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/scenario/scenario_test_integration_test.py +0 -0
  552. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/snapshot/snapshot_apply_test.py +0 -0
  553. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/cli/snapshot/snapshot_update_test.py +0 -0
  554. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/orm/joined_request_string_adapter_test.py +0 -0
  555. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/orm/request/orm_mitmproxy_request_adapter_test.py +0 -0
  556. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/orm/request/orm_python_request_adapter_test.py +0 -0
  557. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/orm/response/orm_mitmproxy_response_adapter_test.py +0 -0
  558. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/orm/response/orm_python_response_adapter_test.py +0 -0
  559. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/python/request/mitmproxy_adapter_test.py +0 -0
  560. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/python/request/raw_adapter_test.py +0 -0
  561. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/python/request/stoobly_adapter_test.py +0 -0
  562. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/python/response/mitmproxy_response_adapter_test.py +0 -0
  563. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/adapters/python/response/raw_response_adapter_test.py +0 -0
  564. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/factories/resource/local_db/helpers/log_test.py +0 -0
  565. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/factories/resource/local_db/helpers/tiebreak_scenario_request_test.py +0 -0
  566. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/factories/resource/local_db/request_adapter_test.py +0 -0
  567. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/factories/resource/local_db/response_adapter_test.py +0 -0
  568. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/schemas/.stoobly/db/stoobly_agent.sqlite3 +0 -0
  569. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/schemas/.stoobly/settings.yml +0 -0
  570. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/schemas/.stoobly/tmp/options.json +0 -0
  571. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/models/schemas/request_test.py +0 -0
  572. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/proxy/mitmproxy/request_facade_test.py +0 -0
  573. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/proxy/replay/body_parser_service_test.py +0 -0
  574. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/proxy/replay/rewrite_params_service_test.py +0 -0
  575. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/proxy/replay/trace_context_test.py +0 -0
  576. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/proxy/replay/visitor_test.py +0 -0
  577. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/proxy/test/helpers/test_results_builder_test.py +0 -0
  578. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/proxy/upload/request_string_test.py +0 -0
  579. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/proxy/upload/response_string_test.py +0 -0
  580. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/test/__init__.py +0 -0
  581. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/test/matchers/contract_test.py +0 -0
  582. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/test/matchers/diff_test.py +0 -0
  583. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/app/test/matchers/fuzzy_test.py +0 -0
  584. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/cli/mock_test.py +0 -0
  585. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/cli/record_test.py +0 -0
  586. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/config/data_dir_test.py +0 -0
  587. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/__init__.py +0 -0
  588. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/endpoint_show_response.py +0 -0
  589. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/petstore-additional-props.yaml +0 -0
  590. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/petstore-expanded.yaml +0 -0
  591. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/petstore-missing-info.yaml +0 -0
  592. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/petstore-missing-oauth2-scopes.yaml +0 -0
  593. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/petstore-missing-servers.yaml +0 -0
  594. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/petstore-references.yaml +0 -0
  595. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/petstore-swagger-io.yaml +0 -0
  596. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/petstore.yaml +0 -0
  597. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/request_show_response.py +0 -0
  598. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/stoobly_agent/test/mock_data/uspto.yaml +0 -0
  599. {stoobly_agent-0.33.7 → stoobly_agent-0.34.1}/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.33.7
3
+ Version: 0.34.1
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.33.7"
13
+ version = "0.34.1"
14
14
 
15
15
  [tool.poetry.dependencies]
16
16
  python = "^3.8"
@@ -1,2 +1,2 @@
1
1
  COMMAND = 'stoobly-agent'
2
- VERSION = '0.33.7'
2
+ VERSION = '0.34.1'
@@ -5,6 +5,7 @@ import sys
5
5
  from stoobly_agent import VERSION
6
6
  from stoobly_agent.app.proxy.replay.body_parser_service import decode_response, is_traversable
7
7
  from stoobly_agent.app.models.adapters.raw_http_response_adapter import RawHttpResponseAdapter
8
+ from stoobly_agent.lib.api.response_param_names_resource import ResponseParamNamesResource
8
9
  from stoobly_agent.lib.orm.migrate_service import migrate as database_migrate, rollback as database_rollback
9
10
  from stoobly_agent.lib.orm.replayed_response import ReplayedResponse
10
11
  from stoobly_agent.lib.orm.request import Request
@@ -1,4 +1,4 @@
1
- import click
1
+ import click, sys
2
2
 
3
3
  from stoobly_agent.app.models.types import OPENAPI_FORMAT
4
4
  from stoobly_agent.app.settings import Settings
@@ -7,6 +7,7 @@ from stoobly_agent.lib.utils.conditional_decorator import ConditionalDecorator
7
7
 
8
8
  from .helpers.endpoint_facade import EndpointFacade
9
9
  from .helpers.endpoints_apply_context import EndpointsApplyContext
10
+ from .helpers.endpoints_import_context import EndpointsImportContext
10
11
  from .helpers.feature_flags import local, remote
11
12
  from .helpers.validations import validate_project_key, validate_scenario_key
12
13
 
@@ -46,7 +47,7 @@ def apply(**kwargs):
46
47
  context.with_lifecycle_hooks_path(kwargs.get('lifecycle_hooks_path'))
47
48
  context.with_source(kwargs.get('source_path'), kwargs.get('source_format'))
48
49
 
49
- endpoint_handler = lambda endpoint: print(f"{bcolors.OKBLUE}Applying Endpoint: {endpoint['path']}{bcolors.ENDC}")
50
+ endpoint_handler = lambda endpoint: print(f"{bcolors.OKBLUE}Applying Endpoint {endpoint['method']} {endpoint['path']}{bcolors.ENDC}")
50
51
  context.with_endpoint_handler(endpoint_handler)
51
52
 
52
53
  request_handler = lambda request, endpoint: print(request.url)
@@ -54,3 +55,25 @@ def apply(**kwargs):
54
55
 
55
56
  facade = EndpointFacade(settings)
56
57
  facade.apply(context)
58
+
59
+ @endpoint.command(
60
+ "import",
61
+ help="Import endpoints"
62
+ )
63
+ @click.option('--source-format', required=True, type=click.Choice([OPENAPI_FORMAT]), help="Spec file format.")
64
+ @click.option('--source-path', help='Path to spec file.')
65
+ def import_endpoint(**kwargs):
66
+ context = EndpointsImportContext()
67
+
68
+ project_key = settings.proxy.intercept.project_key
69
+ if project_key:
70
+ project_key = validate_project_key(project_key)
71
+ context.with_project(project_key.id)
72
+
73
+ context.with_source(kwargs.get('source_path'), kwargs.get('source_format'))
74
+
75
+ endpoint_handler = lambda endpoint: print(f"{bcolors.OKBLUE}Importing Endpoint {endpoint['method']} {endpoint['path']}{bcolors.ENDC}")
76
+ context.with_endpoint_handler(endpoint_handler)
77
+
78
+ facade = EndpointFacade(settings)
79
+ facade.import_endpoints(context)
@@ -0,0 +1,46 @@
1
+ import pdb
2
+
3
+ from stoobly_agent.app.models.factories.resource.request import RequestResourceFactory
4
+ from stoobly_agent.app.settings import Settings
5
+ from stoobly_agent.lib.api.endpoints_resource import EndpointsResource
6
+ from stoobly_agent.lib.api.header_names_resource import HeaderNamesResource
7
+ from stoobly_agent.lib.api.body_param_names_resource import BodyParamNamesResource
8
+ from stoobly_agent.lib.api.query_param_names_resource import QueryParamNamesResource
9
+ from stoobly_agent.lib.api.response_param_names_resource import ResponseParamNamesResource
10
+ from stoobly_agent.lib.api.response_header_names_resource import ResponseHeaderNamesResource
11
+
12
+ from .endpoints_apply_context import EndpointsApplyContext
13
+ from .endpoints_import_context import EndpointsImportContext
14
+ from .endpoints_apply_service import apply_endpoints
15
+ from .endpoints_import_service import import_endpoints
16
+ from .synchronize_request_service import SynchronizeRequestService
17
+
18
+ class EndpointFacade():
19
+ def __init__(self, __settings: Settings):
20
+ self.__settings = __settings
21
+
22
+ def apply(self, context: EndpointsApplyContext):
23
+ local_db_request_adapter = RequestResourceFactory(self.__settings.remote).local_db()
24
+ context.with_request_model(local_db_request_adapter)
25
+
26
+ lifecycle_hooks = context.lifecycle_hooks
27
+ synchronize_request_service = SynchronizeRequestService(local_db_request_adapter=local_db_request_adapter)
28
+ request_handler = lambda request, endpoint: synchronize_request_service.synchronize_request(
29
+ request, endpoint, lifecycle_hooks
30
+ )
31
+ context.with_request_handler(request_handler)
32
+
33
+ apply_endpoints(context)
34
+
35
+ def import_endpoints(self, context: EndpointsImportContext):
36
+ api_url = self.__settings.remote.api_url
37
+ api_key = self.__settings.remote.api_key
38
+
39
+ context.with_endpoint_resource(EndpointsResource(api_url, api_key))
40
+ context.with_header_name_resource(HeaderNamesResource(api_url, api_key))
41
+ context.with_body_param_name_resource(BodyParamNamesResource(api_url, api_key))
42
+ context.with_query_param_name_resource(QueryParamNamesResource(api_url, api_key))
43
+ context.with_response_param_name_resource(ResponseParamNamesResource(api_url, api_key))
44
+ context.with_response_header_name_resource(ResponseHeaderNamesResource(api_url, api_key))
45
+
46
+ import_endpoints(context)
@@ -0,0 +1,57 @@
1
+ from typing import Callable, TypedDict
2
+
3
+ from .openapi_endpoint_adapter import OpenApiEndpointAdapter
4
+ from stoobly_agent.app.models.types import OPENAPI_FORMAT
5
+ from stoobly_agent.lib.api.body_param_names_resource import BodyParamNamesResource
6
+ from stoobly_agent.lib.api.endpoints_resource import EndpointsResource
7
+ from stoobly_agent.lib.api.header_names_resource import HeaderNamesResource
8
+ from stoobly_agent.lib.api.interfaces.endpoints import EndpointShowResponse
9
+ from stoobly_agent.lib.api.query_param_names_resource import QueryParamNamesResource
10
+ from stoobly_agent.lib.api.response_param_names_resource import ResponseParamNamesResource
11
+ from stoobly_agent.lib.api.response_header_names_resource import ResponseHeaderNamesResource
12
+
13
+ class EndpointsImportContext:
14
+ def __init__(self):
15
+ self.endpoints = []
16
+ self.endpoint_handlers = []
17
+ self.resources = {}
18
+ self.project_id = None
19
+
20
+ def with_endpoint_handler(self, handler: Callable[[EndpointShowResponse], None]):
21
+ self.endpoint_handlers.append(handler)
22
+ return self
23
+
24
+ def with_project(self, project_id: int):
25
+ self.project_id = project_id
26
+ return self
27
+
28
+ def with_endpoint_resource(self, resource: EndpointsResource):
29
+ self.resources['endpoint'] = resource
30
+ return self
31
+
32
+ def with_header_name_resource(self, resource: HeaderNamesResource):
33
+ self.resources['header_name'] = resource
34
+ return self
35
+
36
+ def with_body_param_name_resource(self, resource: BodyParamNamesResource):
37
+ self.resources['body_param_name'] = resource
38
+ return self
39
+
40
+ def with_query_param_name_resource(self, resource: QueryParamNamesResource):
41
+ self.resources['query_param_name'] = resource
42
+ return self
43
+
44
+ def with_response_param_name_resource(self, resource: ResponseParamNamesResource):
45
+ self.resources['response_param_name'] = resource
46
+ return self
47
+
48
+ def with_response_header_name_resource(self, resource: ResponseHeaderNamesResource):
49
+ self.resources['response_header_name'] = resource
50
+ return self
51
+
52
+ def with_source(self, path: str, format: str):
53
+ if format == OPENAPI_FORMAT:
54
+ endpoint_adapter = OpenApiEndpointAdapter()
55
+ self.endpoints += endpoint_adapter.adapt_from_file(path)
56
+
57
+ return self
@@ -0,0 +1,152 @@
1
+ import json
2
+ import requests
3
+ import sys
4
+ from typing import Dict
5
+
6
+ from .endpoints_import_context import EndpointsImportContext
7
+ from stoobly_agent.app.models.types import ENDPOINT_COMPONENT_NAMES
8
+ from stoobly_agent.lib.api.body_param_names_resource import BodyParamNamesResource
9
+ from stoobly_agent.lib.api.endpoints_resource import EndpointsResource
10
+ from stoobly_agent.lib.api.header_names_resource import HeaderNamesResource
11
+ from stoobly_agent.lib.api.interfaces.endpoints import BodyParamName
12
+ from stoobly_agent.lib.api.interfaces.endpoints import EndpointShowResponse
13
+ from stoobly_agent.lib.api.interfaces.endpoints import RequestComponentName
14
+ from stoobly_agent.lib.api.query_param_names_resource import QueryParamNamesResource
15
+ from stoobly_agent.lib.api.response_header_names_resource import ResponseHeaderNamesResource
16
+ from stoobly_agent.lib.api.response_param_names_resource import ResponseParamNamesResource
17
+ from stoobly_agent.lib.logger import bcolors
18
+
19
+ def import_endpoints(context: EndpointsImportContext):
20
+ for endpoint in context.endpoints:
21
+ for endpoint_handler in context.endpoint_handlers:
22
+ endpoint_handler(endpoint)
23
+
24
+ try:
25
+ res = import_endpoint(context.project_id, context.resources['endpoint'], endpoint)
26
+ except requests.HTTPError as e:
27
+ error_handler(e, f"Failed to import endpoint: {endpoint['method']} {endpoint['path']}")
28
+ return
29
+
30
+ if res.status_code == 409: # Endpoint already created
31
+ continue
32
+
33
+ endpoint_id = res.json()['id']
34
+ try:
35
+ res = import_component_names(context.project_id, endpoint_id, endpoint, context.resources)
36
+ except requests.HTTPError as e:
37
+ error_handler(e, f"Failed to import endpoint: {endpoint['method']} {endpoint['path']}")
38
+
39
+ try:
40
+ cleanup_endpoint(context.project_id, endpoint_id, context.resources['endpoint'])
41
+ except requests.HTTPError as e:
42
+ error_handler(e, f"Failed to delete endpoint: {endpoint['method']} {endpoint['path']}, id {endpoint_id}")
43
+ return
44
+
45
+ def import_endpoint(project_id: int, endpoint_resource: EndpointsResource, endpoint: EndpointShowResponse):
46
+ res: requests.Response = endpoint_resource.create(**{
47
+ 'host': endpoint.get('host'),
48
+ 'method': endpoint.get('method'),
49
+ 'path_segments': json.dumps(endpoint.get('path_segment_names', [])),
50
+ 'path': endpoint.get('path'),
51
+ 'port': endpoint.get('port'),
52
+ 'project_id': project_id,
53
+ })
54
+
55
+ if res.ok or res.status_code == 409: # Endpoint already created
56
+ return res
57
+
58
+ res.raise_for_status()
59
+
60
+ def import_header_name(project_id: int, endpoint_id: int, header_name_resource: HeaderNamesResource, header_name: RequestComponentName):
61
+ res: requests.Response = header_name_resource.create(endpoint_id, {
62
+ 'name': header_name.get('name'),
63
+ 'is_deterministic': header_name.get('is_deterministic', True),
64
+ 'is_required': header_name.get('is_required', False),
65
+ 'endpoint_id': endpoint_id,
66
+ 'project_id': project_id,
67
+ })
68
+
69
+ res.raise_for_status()
70
+
71
+ def import_body_param_name(project_id: int, endpoint_id: int, body_param_name_resource: BodyParamNamesResource, body_param_name: BodyParamName):
72
+ res: requests.Response = body_param_name_resource.create(endpoint_id, {
73
+ 'name': body_param_name.get('name'),
74
+ 'is_deterministic': body_param_name.get('is_deterministic', True),
75
+ 'is_required': body_param_name.get('is_required', False),
76
+ 'inferred_type': body_param_name.get('inferred_type'),
77
+ 'query': body_param_name.get('query'),
78
+ 'endpoint_id': endpoint_id,
79
+ 'project_id': project_id,
80
+ })
81
+
82
+ res.raise_for_status()
83
+
84
+ def import_query_param_name(project_id: int, endpoint_id: int, query_param_name_resource: QueryParamNamesResource, query_param_name: RequestComponentName):
85
+ res: requests.Response = query_param_name_resource.create(endpoint_id, {
86
+ 'name': query_param_name.get('name'),
87
+ 'is_deterministic': query_param_name.get('is_deterministic', True),
88
+ 'is_required': query_param_name.get('is_required', False),
89
+ 'endpoint_id': endpoint_id,
90
+ 'project_id': project_id,
91
+ })
92
+
93
+ res.raise_for_status()
94
+
95
+ def import_response_param_name(project_id: int, endpoint_id: int, response_param_name_resource: ResponseParamNamesResource, response_param_name: RequestComponentName):
96
+ res: requests.Response = response_param_name_resource.create(endpoint_id, {
97
+ 'name': response_param_name.get('name'),
98
+ 'is_deterministic': response_param_name.get('is_deterministic', True),
99
+ 'is_required': response_param_name.get('is_required', False),
100
+ 'inferred_type': response_param_name.get('inferred_type'),
101
+ 'query': response_param_name.get('query'),
102
+ 'endpoint_id': endpoint_id,
103
+ 'project_id': project_id,
104
+ })
105
+
106
+ res.raise_for_status()
107
+
108
+ def import_response_header_name(project_id: int, endpoint_id: int, response_header_name_resource: ResponseHeaderNamesResource, response_header_name: RequestComponentName):
109
+ res: requests.Response = response_header_name_resource.create(endpoint_id, {
110
+ 'name': response_header_name.get('name'),
111
+ 'is_deterministic': response_header_name.get('is_deterministic', True),
112
+ 'is_required': response_header_name.get('is_required', False),
113
+ 'endpoint_id': endpoint_id,
114
+ 'project_id': project_id,
115
+ })
116
+
117
+ res.raise_for_status()
118
+
119
+ component_name_import_dispatch = {
120
+ ENDPOINT_COMPONENT_NAMES[0]: import_header_name,
121
+ ENDPOINT_COMPONENT_NAMES[1]: import_body_param_name,
122
+ ENDPOINT_COMPONENT_NAMES[2]: import_query_param_name,
123
+ ENDPOINT_COMPONENT_NAMES[3]: import_response_header_name,
124
+ ENDPOINT_COMPONENT_NAMES[4]: import_response_param_name
125
+ }
126
+
127
+ def process_import(component_name: str, *args):
128
+ return component_name_import_dispatch[component_name](*args)
129
+
130
+ def import_component_names(project_id: int, endpoint_id: int, endpoint: EndpointShowResponse, resources: Dict[str, EndpointsResource]):
131
+ for component_name in ENDPOINT_COMPONENT_NAMES:
132
+ for component in endpoint.get(f'{component_name}s', {}):
133
+ resource = resources[component_name]
134
+ process_import(component_name, project_id, endpoint_id, resource, component)
135
+
136
+ def cleanup_endpoint(project_id: int, endpoint_id: int, resource: EndpointsResource):
137
+ print(f"{bcolors.OKBLUE}Cleaning up partial import...{bcolors.ENDC}")
138
+ res: requests.Response = resource.destroy(endpoint_id, **{
139
+ 'project_id': project_id
140
+ })
141
+
142
+ res.raise_for_status()
143
+
144
+ def error_handler(error: requests.HTTPError, message = ''):
145
+ if message:
146
+ print(
147
+ f"{bcolors.FAIL}{message}{bcolors.ENDC}",
148
+ file=sys.stderr
149
+ )
150
+
151
+ print(error.response.text, file=sys.stderr)
152
+ print(f"Error {error.response.status_code} {error.response.reason}", file=sys.stderr)
@@ -73,19 +73,32 @@ class OpenApiEndpointAdapter():
73
73
  endpoint: EndpointShowResponse = {}
74
74
  endpoint['id'] = endpoint_counter
75
75
  endpoint['method'] = http_method.upper()
76
- endpoint['host'] = parsed_url.netloc
76
+ endpoint['host'] = '-' if parsed_url.netloc == '' else parsed_url.netloc
77
77
 
78
78
  joined_path = self.__urljoin(parsed_url.path, path_name)
79
79
  split_parts = joined_path.split('/')
80
80
  pattern_path = []
81
+ segment_names = []
81
82
  for part in split_parts:
82
83
  sanitized_part = part
84
+ segment_name = part
83
85
  if part.startswith('{') and part.endswith('}'):
84
86
  sanitized_part = '%'
87
+ segment_name = f":{part[1:-1]}"
85
88
  pattern_path.append(sanitized_part)
89
+ segment_names.append(segment_name)
86
90
  pattern_path_str = '/'.join(pattern_path)
87
91
  endpoint['match_pattern'] = pattern_path_str
88
92
  endpoint['path'] = joined_path
93
+
94
+ endpoint['path_segment_names'] = []
95
+ for segment_name in segment_names:
96
+ if segment_name == "":
97
+ continue
98
+ path_component_name: RequestComponentName = {}
99
+ path_component_name['name'] = segment_name
100
+ path_component_name['type'] = "alias" if segment_name.startswith(':') else "static"
101
+ endpoint['path_segment_names'].append(path_component_name)
89
102
 
90
103
  endpoint['port'] = str(parsed_url.port)
91
104
  if endpoint['port'] is None or endpoint['port'] == 'None':
@@ -94,7 +107,7 @@ class OpenApiEndpointAdapter():
94
107
  elif parsed_url.scheme == 'http':
95
108
  endpoint['port'] = '80'
96
109
  else:
97
- endpoint['port'] = ''
110
+ endpoint['port'] = '0'
98
111
 
99
112
  alias_counter = 0
100
113
  header_param_counter = 0
@@ -142,7 +155,10 @@ class OpenApiEndpointAdapter():
142
155
  param_value = self.__open_api_to_default_python_type(open_api_type)
143
156
 
144
157
  literal_query_param = {
145
- parameter['name']: {'value': param_value}
158
+ parameter['name']: {
159
+ 'value': param_value,
160
+ 'required': parameter.get('required', False),
161
+ }
146
162
  }
147
163
 
148
164
  if not endpoint.get('literal_query_params'):
@@ -238,6 +254,11 @@ class OpenApiEndpointAdapter():
238
254
  else:
239
255
  self.__convert_literal_component_param(endpoint, required_body_params, [literal_body_params], 'body_param_name', 'literal_body_params')
240
256
 
257
+ # Responses -> construct lists of response header and response param name resources
258
+ responses = operation.get('responses', {})
259
+ if responses:
260
+ self.__parse_responses(endpoint, responses, components)
261
+
241
262
  endpoints.append(endpoint)
242
263
 
243
264
  return endpoints
@@ -391,11 +412,30 @@ class OpenApiEndpointAdapter():
391
412
  component_name = component_data[1]
392
413
  component = components.get(component_type, {})
393
414
 
415
+ # If component_type is 'headers'
416
+ # Example: '#components/headers/X-RateLimit-Limit'
417
+ if component_type == "headers":
418
+ # In this case, literal_body_params represents a header rather than request or response body params
419
+ literal_body_params['name'] = component_name
420
+ header_example = component.get('example')
421
+ if header_example:
422
+ literal_body_params['values'].append(header_example)
423
+ literal_body_params['is_required'] = component.get('is_required', False)
424
+ literal_body_params['is_deterministic'] = True
425
+ return literal_body_params
426
+
394
427
  # Example: {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string'}, 'tag': {'type': 'string'}}}
395
428
  body_spec = component.content()[component_name]
396
429
  required_body_params += body_spec.get('required', [])
397
430
 
398
- param_properties = body_spec.get('properties')
431
+ param_properties = {}
432
+ schema_type = body_spec.get('type')
433
+ if schema_type:
434
+ if schema_type == 'object':
435
+ param_properties = body_spec.get('properties', {})
436
+ elif schema_type == 'array':
437
+ param_properties = {'tmp': body_spec['items']}
438
+
399
439
  all_of = body_spec.get('allOf')
400
440
  any_of = body_spec.get('anyOf')
401
441
  one_of = body_spec.get('oneOf')
@@ -421,7 +461,7 @@ class OpenApiEndpointAdapter():
421
461
  # elif any_of or one_of:
422
462
 
423
463
  return param_properties
424
-
464
+
425
465
  def __convert_literal_component_param(self, endpoint: EndpointShowResponse,
426
466
  required_component_params: List[str], literal_component_params: Union[dict, list],
427
467
  component_name: str, literal_component_name: str) -> None:
@@ -444,7 +484,11 @@ class OpenApiEndpointAdapter():
444
484
  else:
445
485
  param['is_required'] = False
446
486
 
447
- endpoint[component_name + 's'] = built_params_list
487
+ if not endpoint.get(component_name + 's'):
488
+ endpoint[component_name + 's'] = built_params_list
489
+ else:
490
+ endpoint[component_name + 's'].extend(built_params_list)
491
+
448
492
  del endpoint[literal_component_name]
449
493
 
450
494
  # urllib.parse.urljoin() doesn't work for some of our edge cases
@@ -557,3 +601,64 @@ class OpenApiEndpointAdapter():
557
601
 
558
602
  return result
559
603
 
604
+ def __parse_responses(self, endpoint: EndpointShowResponse, responses: Spec, components: Spec):
605
+ for response_code, response_definition in responses.items():
606
+ # Construct response param name components
607
+ literal_response_params = {}
608
+ response_body_array = False
609
+ required_response_params = []
610
+ response_content = response_definition.get('content', {})
611
+ for mimetype, media_type in response_content.items():
612
+ param_properties = {}
613
+ schema = media_type['schema']
614
+
615
+ if '$ref' in schema:
616
+ reference = schema['$ref']
617
+ self.__dereference(components, reference, required_response_params, literal_response_params)
618
+ else:
619
+ schema_type = schema.get('type')
620
+ if schema_type:
621
+ if schema_type == 'object':
622
+ param_properties = schema.get('properties', {})
623
+ elif schema_type == 'array':
624
+ response_body_array = True
625
+ param_properties = {'tmp': schema['items']}
626
+
627
+ for property_key, property_value in param_properties.items():
628
+ if property_key in required_response_params:
629
+ param_properties[property_key]['required'] = True
630
+
631
+ self.__extract_param_properties(components, None, required_response_params, param_properties, literal_response_params)
632
+
633
+ if literal_response_params:
634
+ endpoint['literal_response_params'] = literal_response_params
635
+
636
+ # Only support first media type
637
+ break
638
+
639
+ literal_response_params = endpoint.get('literal_response_params')
640
+ if literal_response_params:
641
+ if not response_body_array:
642
+ self.__convert_literal_component_param(endpoint, required_response_params, literal_response_params, 'response_param_name', 'literal_response_params')
643
+ else:
644
+ self.__convert_literal_component_param(endpoint, required_response_params, [literal_response_params], 'response_param_name', 'literal_response_params')
645
+
646
+ # Construct response header name components
647
+ response_headers = response_definition.get('headers', {})
648
+ for header_name, header_definition in response_headers.items():
649
+ response_header_name: RequestComponentName = {}
650
+ response_header_name['name'] = header_name
651
+
652
+ if '$ref' in header_definition:
653
+ reference = header_definition['$ref']
654
+ self.__dereference(components, reference, [], response_header_name)
655
+ else:
656
+ header_example = header_definition.get('example')
657
+ if header_example:
658
+ response_header_name['values'].append(header_example)
659
+ response_header_name['is_required'] = header_definition.get('is_required', False)
660
+ response_header_name['is_deterministic'] = True
661
+
662
+ if not endpoint.get('response_header_names'):
663
+ endpoint['response_header_names'] = []
664
+ endpoint['response_header_names'].append(response_header_name)
@@ -17,7 +17,9 @@ class ReplayCliOptions(TypedDict):
17
17
  lifecycle_hooks_path: str
18
18
  on_response: Callable
19
19
  project_key: str
20
+ public_directory_path: str
20
21
  record: bool
22
+ response_fixtures_path: str
21
23
  scenario_key: str
22
24
  scheme: str
23
25
  trace: Trace
@@ -57,7 +59,9 @@ class ReplayFacade():
57
59
  'host': cli_options.get('host'),
58
60
  'lifecycle_hooks_path': cli_options.get('lifecycle_hooks_path'),
59
61
  'overwrite': cli_options.get('overwrite'),
62
+ 'public_directory_path': cli_options.get('public_directory_path'),
60
63
  'request_origin': request_origin.CLI,
64
+ 'response_fixtures_path': cli_options.get('response_fixtures_path'),
61
65
  'save': cli_options.get('save'),
62
66
  'scheme': cli_options.get('scheme'),
63
67
  'trace_context': trace_context,
@@ -134,8 +134,10 @@ if not is_remote:
134
134
  Configure which tests to print. Defaults to {test_output_level.PASSED}.
135
135
  '''
136
136
  )
137
+ @click.option('--public-directory-path', help='Path to public files. Used for mocking requests.')
137
138
  @ConditionalDecorator(lambda f: click.option('--remote-project-key', help='Use remote project for endpoint definitions.')(f), is_remote and is_local)
138
139
  @ConditionalDecorator(lambda f: click.option('--report-key', help='Save to report.')(f), is_remote)
140
+ @click.option('--response-fixtures-path', help='Path to response fixtures yaml. Used for mocking requests.')
139
141
  @ConditionalDecorator(lambda f: click.option('--save', is_flag=True, default=False, help='Saves test results.')(f), is_remote)
140
142
  @click.option('--scheme', type=click.Choice(['http', 'https']), help='Rewrite request scheme.')
141
143
  @click.option('--strategy', default=test_strategy.DIFF, type=click.Choice([test_strategy.CONTRACT, test_strategy.CUSTOM, test_strategy.DIFF, test_strategy.FUZZY]), help='How to test responses.')
@@ -158,8 +158,10 @@ if is_local:
158
158
  Configure which tests to print. Defaults to {test_output_level.PASSED}.
159
159
  '''
160
160
  )
161
+ @click.option('--public-directory-path', help='Path to public files. Used for mocking requests.')
161
162
  @ConditionalDecorator(lambda f: click.option('--remote-project-key', help='Use remote project for endpoint definitions.')(f), is_remote)
162
163
  @ConditionalDecorator(lambda f: click.option('--report-key', help='Save results to report.')(f), is_remote)
164
+ @click.option('--response-fixtures-path', help='Path to response fixtures yaml. Used for mocking requests.')
163
165
  @ConditionalDecorator(lambda f: click.option('--save', is_flag=True, default=False, help='Save results.')(f), is_remote)
164
166
  @click.option('--scheme', help='Rewrite request scheme.')
165
167
  @click.option(
@@ -15,8 +15,10 @@ class TestOptions(TypedDict):
15
15
  lifecycle_hooks_path: str
16
16
  log_level: logger.LogLevel
17
17
  output_level: test_output_level.TestOutputLevel
18
+ public_directory_path: str
18
19
  remote_project_key: str
19
20
  report_key: str
21
+ response_fixtures_path: str
20
22
  save: str
21
23
  scheme: str
22
24
  strategy: test_strategy.TestStrategy
@@ -35,7 +35,7 @@ class RequestBuilder():
35
35
 
36
36
  @property
37
37
  def request_body(self):
38
- return self.__properties.get('request_body')
38
+ return self.__properties.get('request_body') or b''
39
39
 
40
40
  @property
41
41
  def request_headers(self):
@@ -0,0 +1,33 @@
1
+ from typing import TypedDict
2
+
3
+ OPENAPI_FORMAT = 'openapi'
4
+
5
+ ENDPOINT_COMPONENT_NAMES = [
6
+ "header_name",
7
+ "body_param_name",
8
+ "query_param_name",
9
+ "response_header_name",
10
+ "response_param_name"
11
+ ]
12
+
13
+ class EndpointCreateParams(TypedDict):
14
+ host: str
15
+ method: str
16
+ path_segments: str
17
+ path: str
18
+ port: str
19
+ project_id: str
20
+
21
+ class HeaderNameCreateParams(TypedDict):
22
+ name: str
23
+ is_required: bool
24
+ is_deterministic: bool
25
+ project_id: str
26
+ endpoint_id: int
27
+
28
+ class ParamNameCreateParams(TypedDict):
29
+ name: str
30
+ project_id: str
31
+ endpoint_id: int
32
+ inferred_type: str
33
+ query: str