stoobly-agent 1.8.0__py3-none-any.whl → 1.8.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stoobly_agent/__init__.py +1 -1
- stoobly_agent/app/cli/intercept_cli.py +2 -0
- stoobly_agent/app/cli/scaffold/templates/app/.Dockerfile.context +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/services/build/mock/.configure +0 -5
- stoobly_agent/app/cli/scaffold/templates/build/services/build/mock/.init +2 -0
- stoobly_agent/app/cli/scaffold/templates/build/services/build/record/.configure +0 -5
- stoobly_agent/app/cli/scaffold/templates/build/services/build/record/.init +2 -0
- stoobly_agent/app/cli/scaffold/templates/build/services/build/test/.configure +0 -5
- stoobly_agent/app/cli/scaffold/templates/build/services/build/test/.init +2 -0
- stoobly_agent/app/settings/__init__.py +8 -4
- {stoobly_agent-1.8.0.dist-info → stoobly_agent-1.8.1.dist-info}/METADATA +1 -1
- {stoobly_agent-1.8.0.dist-info → stoobly_agent-1.8.1.dist-info}/RECORD +15 -15
- {stoobly_agent-1.8.0.dist-info → stoobly_agent-1.8.1.dist-info}/LICENSE +0 -0
- {stoobly_agent-1.8.0.dist-info → stoobly_agent-1.8.1.dist-info}/WHEEL +0 -0
- {stoobly_agent-1.8.0.dist-info → stoobly_agent-1.8.1.dist-info}/entry_points.txt +0 -0
stoobly_agent/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
COMMAND = 'stoobly-agent'
|
2
|
-
VERSION = '1.8.
|
2
|
+
VERSION = '1.8.1'
|
@@ -3,14 +3,9 @@
|
|
3
3
|
# This file was automatically generated. DO NOT EDIT.
|
4
4
|
# Any changes made to this file will be overwritten.
|
5
5
|
|
6
|
-
stoobly-agent config reset
|
7
|
-
|
8
6
|
echo "Configuring intercept..."
|
9
7
|
stoobly-agent intercept configure --mode mock --policy all
|
10
8
|
|
11
|
-
echo "Enabling intercept..."
|
12
|
-
stoobly-agent intercept enable
|
13
|
-
|
14
9
|
entrypoint=$1
|
15
10
|
|
16
11
|
if [ -e "$entrypoint" ]; then
|
@@ -3,14 +3,9 @@
|
|
3
3
|
# This file was automatically generated. DO NOT EDIT.
|
4
4
|
# Any changes made to this file will be overwritten.
|
5
5
|
|
6
|
-
stoobly-agent config reset
|
7
|
-
|
8
6
|
echo "Configuring intercept..."
|
9
7
|
stoobly-agent intercept configure --mode record --policy all
|
10
8
|
|
11
|
-
echo "Disabling intercept..."
|
12
|
-
stoobly-agent intercept disable
|
13
|
-
|
14
9
|
entrypoint=$1
|
15
10
|
|
16
11
|
if [ -e "$entrypoint" ]; then
|
@@ -3,14 +3,9 @@
|
|
3
3
|
# This file was automatically generated. DO NOT EDIT.
|
4
4
|
# Any changes made to this file will be overwritten.
|
5
5
|
|
6
|
-
stoobly-agent config reset
|
7
|
-
|
8
6
|
echo "Configuring intercept..."
|
9
7
|
stoobly-agent intercept configure --mode mock --policy all
|
10
8
|
|
11
|
-
echo "Enabling intercept..."
|
12
|
-
stoobly-agent intercept enable
|
13
|
-
|
14
9
|
entrypoint=$1
|
15
10
|
|
16
11
|
if [ -e "$entrypoint" ]; then
|
@@ -178,14 +178,18 @@ class Settings:
|
|
178
178
|
|
179
179
|
def write(self, contents):
|
180
180
|
if contents:
|
181
|
-
|
182
|
-
|
183
|
-
fp.close()
|
181
|
+
with open(self.__settings_file_path, 'w') as fp:
|
182
|
+
yaml.dump(contents, fp, allow_unicode=True)
|
184
183
|
|
185
184
|
### Helpers
|
186
185
|
|
187
186
|
def __create_default_file(self):
|
188
|
-
|
187
|
+
contents = ''
|
188
|
+
with open(SourceDir.instance().settings_template_file_path, 'r') as fp:
|
189
|
+
contents = fp.read()
|
190
|
+
|
191
|
+
with open(self.__settings_file_path, 'w') as fp:
|
192
|
+
fp.write(contents)
|
189
193
|
|
190
194
|
def __detect_paths(self):
|
191
195
|
self.__settings_file_path = os.environ.get(env_vars.AGENT_CONFIG_PATH) or self.__data_dir.settings_file_path
|
@@ -1,4 +1,4 @@
|
|
1
|
-
stoobly_agent/__init__.py,sha256
|
1
|
+
stoobly_agent/__init__.py,sha256=-pR52NA8t3qmcLZZmZyqkvCEMnoglpgGrKb6iyh9Ws8,44
|
2
2
|
stoobly_agent/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
stoobly_agent/app/api/__init__.py,sha256=ctkB8KR-eXO0SFhj602huHiyvQ3PslFWd8fkcufgrAI,1000
|
4
4
|
stoobly_agent/app/api/application_http_request_handler.py,sha256=Vvz53yB0bR7J-QqMAkLlhcZrA4P64ZEN7w8cMbgl6o0,5261
|
@@ -61,7 +61,7 @@ stoobly_agent/app/cli/helpers/trace_aliases.py,sha256=8N8pnsnONwVv-fabCTvDlXec-W
|
|
61
61
|
stoobly_agent/app/cli/helpers/trace_context_facade.py,sha256=3MDjY_bdhvE2dad_B_w9gemCZZoiVjotbE8o9hrmVYo,1027
|
62
62
|
stoobly_agent/app/cli/helpers/validations.py,sha256=nvcrEHvjMOAyHlJK0bQIwyzBUciJ0qNkNESa2zZ5ZFo,6232
|
63
63
|
stoobly_agent/app/cli/helpers/verify_raw_request_service.py,sha256=tmLeRBYhNgAQeJD-rF6Nj22F_TfVktVSb1wjRPFblBQ,658
|
64
|
-
stoobly_agent/app/cli/intercept_cli.py,sha256=
|
64
|
+
stoobly_agent/app/cli/intercept_cli.py,sha256=eQNToP7y_sc2u3LvVBucDLzMYEpmb0tJEvemaDUiHJ8,4242
|
65
65
|
stoobly_agent/app/cli/main_group.py,sha256=3UzBxin2f2p5KNqo6Oayo_I1VI2pHpqOoRexUnJ74a4,2187
|
66
66
|
stoobly_agent/app/cli/project_cli.py,sha256=EXjeLjbnq9PhfCjvyfZ0UnJ2tejeCS0SIAo3Nc4fKOc,3852
|
67
67
|
stoobly_agent/app/cli/report_cli.py,sha256=ZxJw0Xkx7KFZJn9e45BSKRKon8AD0Msrwy1fbPfbv0c,2543
|
@@ -103,7 +103,7 @@ stoobly_agent/app/cli/scaffold/service_docker_compose.py,sha256=OMUN1-ujQYIZXxDv
|
|
103
103
|
stoobly_agent/app/cli/scaffold/service_workflow.py,sha256=sQ_Edy_wGHKMXpD0DmhnOWkGEKz7gSgEGNI8f7aXOdg,444
|
104
104
|
stoobly_agent/app/cli/scaffold/service_workflow_validate_command.py,sha256=xONRUtfC3IBd-Kr4wdUKWgx9ppSsbu2H72pb2VinizQ,11412
|
105
105
|
stoobly_agent/app/cli/scaffold/templates/__init__.py,sha256=x8C_a0VoO_vUbosp4_6IC1U7Ge9NnUdVKDPpVMtMkeY,171
|
106
|
-
stoobly_agent/app/cli/scaffold/templates/app/.Dockerfile.context,sha256=
|
106
|
+
stoobly_agent/app/cli/scaffold/templates/app/.Dockerfile.context,sha256=bqcYRxn2O4qQbOa0LoenWVQFiYrEH-h0I06gR4KWCcs,158
|
107
107
|
stoobly_agent/app/cli/scaffold/templates/app/.Makefile,sha256=hree9QL8xl7v_Yzv40bcO4-ZDlyA4Qnm-VWU2dnMuXQ,8955
|
108
108
|
stoobly_agent/app/cli/scaffold/templates/app/.docker-compose.base.yml,sha256=6tFqXh3ine8vaD0FCL5TMoY5NjKx2wLUR8XpW3tJtew,245
|
109
109
|
stoobly_agent/app/cli/scaffold/templates/app/.docker-compose.networks.yml,sha256=I4PbJpQjFHb5IbAUWNvYM6okDEtmwtKFDQg-yog05WM,141
|
@@ -146,12 +146,12 @@ stoobly_agent/app/cli/scaffold/templates/app/stoobly-ui/.docker-compose.base.yml
|
|
146
146
|
stoobly_agent/app/cli/scaffold/templates/app/stoobly-ui/exec/.docker-compose.exec.yml,sha256=JN89sU5uRf6YqHvN_O63K8rwQIAPJHbhFDLFmuUjKNM,304
|
147
147
|
stoobly_agent/app/cli/scaffold/templates/app/stoobly-ui/mock/.docker-compose.mock.yml,sha256=FnCn64DjxyAiB2P_1JUwFmXslMR961nVZHkYiEXytlg,232
|
148
148
|
stoobly_agent/app/cli/scaffold/templates/app/stoobly-ui/record/.docker-compose.record.yml,sha256=t34FNYZboJSfrKnIB2oJ3UuE_mJaW77-hcbSn3sfWec,235
|
149
|
-
stoobly_agent/app/cli/scaffold/templates/build/services/build/mock/.configure,sha256=
|
150
|
-
stoobly_agent/app/cli/scaffold/templates/build/services/build/mock/.init,sha256=
|
151
|
-
stoobly_agent/app/cli/scaffold/templates/build/services/build/record/.configure,sha256=
|
152
|
-
stoobly_agent/app/cli/scaffold/templates/build/services/build/record/.init,sha256=
|
153
|
-
stoobly_agent/app/cli/scaffold/templates/build/services/build/test/.configure,sha256=
|
154
|
-
stoobly_agent/app/cli/scaffold/templates/build/services/build/test/.init,sha256=
|
149
|
+
stoobly_agent/app/cli/scaffold/templates/build/services/build/mock/.configure,sha256=ZL-39jgiP8X01rE3DJ8rN-BxEy-srYxjj-CGJhQH278,276
|
150
|
+
stoobly_agent/app/cli/scaffold/templates/build/services/build/mock/.init,sha256=ecmyS6EZpa3op0CmO7bvd3pmAwRb0oLwj1qsTkee9_o,247
|
151
|
+
stoobly_agent/app/cli/scaffold/templates/build/services/build/record/.configure,sha256=eXp9eKJ-TORE5B0zLW4-t43ogS3nxtj2SmSeDALbi1U,278
|
152
|
+
stoobly_agent/app/cli/scaffold/templates/build/services/build/record/.init,sha256=ecmyS6EZpa3op0CmO7bvd3pmAwRb0oLwj1qsTkee9_o,247
|
153
|
+
stoobly_agent/app/cli/scaffold/templates/build/services/build/test/.configure,sha256=ZL-39jgiP8X01rE3DJ8rN-BxEy-srYxjj-CGJhQH278,276
|
154
|
+
stoobly_agent/app/cli/scaffold/templates/build/services/build/test/.init,sha256=ecmyS6EZpa3op0CmO7bvd3pmAwRb0oLwj1qsTkee9_o,247
|
155
155
|
stoobly_agent/app/cli/scaffold/templates/build/services/entrypoint/mock/.configure,sha256=xWJGhCKQejtVLFAOEZMWnaCeGAc9tuqEh_WsG3xfA_0,184
|
156
156
|
stoobly_agent/app/cli/scaffold/templates/build/services/entrypoint/mock/.init,sha256=AcM6SLUsZa6BOLDjxteDR_AXIco47GZNkWQCGPhPDAY,189
|
157
157
|
stoobly_agent/app/cli/scaffold/templates/build/services/entrypoint/record/.configure,sha256=xWJGhCKQejtVLFAOEZMWnaCeGAc9tuqEh_WsG3xfA_0,184
|
@@ -385,7 +385,7 @@ stoobly_agent/app/proxy/utils/request_handler.py,sha256=VscAXf2_F1C1yrt2gNImPkat
|
|
385
385
|
stoobly_agent/app/proxy/utils/response_handler.py,sha256=t5spjycvPDOZi0YU39gpavnYLhb7C29HnRe9RmzGCtU,1749
|
386
386
|
stoobly_agent/app/proxy/utils/rewrite.py,sha256=nYrzzvVbNT1EZck5Lh5vCG1ol7ml0AN_dJ4cNq2NHrs,2494
|
387
387
|
stoobly_agent/app/proxy/utils/rewrite_rules_to_ignored_components_service.py,sha256=TEWakpZ7C468PW8lVJsRwqkRElpaCR5EOgNNzyGAleY,1043
|
388
|
-
stoobly_agent/app/settings/__init__.py,sha256=
|
388
|
+
stoobly_agent/app/settings/__init__.py,sha256=dYJ7cnlGR4_xFMyfpdqcCRsKA38Q8kSXNmvXe7Uoh8A,6189
|
389
389
|
stoobly_agent/app/settings/cli_settings.py,sha256=amAeOYTYreZMr5-cCkaBCjiQ8Vkg6qkkKUbVtIejoOg,487
|
390
390
|
stoobly_agent/app/settings/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
391
391
|
stoobly_agent/app/settings/constants/firewall_action.py,sha256=DszoKKcZ444zqE6p7zl8arUYfUNKy2hysxcQhipjQs0,111
|
@@ -743,8 +743,8 @@ stoobly_agent/test/mock_data/scaffold/docker-compose-local-service.yml,sha256=1W
|
|
743
743
|
stoobly_agent/test/mock_data/scaffold/index.html,sha256=qJwuYajKZ4ihWZrJQ3BNObV5kf1VGnnm_vqlPJzdqLE,258
|
744
744
|
stoobly_agent/test/mock_data/uspto.yaml,sha256=6U5se7C3o-86J4m9xpOk9Npias399f5CbfWzR87WKwE,7835
|
745
745
|
stoobly_agent/test/test_helper.py,sha256=m_oAI7tmRYCNZdKfNqISWhMv3e44tjeYViQ3nTUfnos,1007
|
746
|
-
stoobly_agent-1.8.
|
747
|
-
stoobly_agent-1.8.
|
748
|
-
stoobly_agent-1.8.
|
749
|
-
stoobly_agent-1.8.
|
750
|
-
stoobly_agent-1.8.
|
746
|
+
stoobly_agent-1.8.1.dist-info/LICENSE,sha256=o93sj12cdoEOsTCjPaPFsw3Xq0SXs3pPcY-9reE2sEw,548
|
747
|
+
stoobly_agent-1.8.1.dist-info/METADATA,sha256=H5ERJq8XRbJ5SGJOsCaLlCu2sfEeQ92RF92cQfUg9js,3087
|
748
|
+
stoobly_agent-1.8.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
749
|
+
stoobly_agent-1.8.1.dist-info/entry_points.txt,sha256=aq5wix5oC8MDQtmyPGU0xaFrsjJg7WH28NmXh2sc3Z8,56
|
750
|
+
stoobly_agent-1.8.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|