stoobly-agent 1.1.1__py3-none-any.whl → 1.1.2__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 CHANGED
@@ -1,2 +1,2 @@
1
1
  COMMAND = 'stoobly-agent'
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
@@ -311,7 +311,7 @@ def logs(**kwargs):
311
311
  sys.exit(1)
312
312
 
313
313
  workflow = Workflow(kwargs['workflow_name'], app)
314
- services = __get_services(workflow.services, service=kwargs['service'])
314
+ services = __get_services(workflow.services, service=kwargs['service'], without_core=True)
315
315
 
316
316
  commands: List[WorkflowLogCommand] = []
317
317
  for service in services:
@@ -468,6 +468,13 @@ def __get_services(services: List[str], **kwargs):
468
468
  if kwargs['service']:
469
469
  # If service is specified, run only those services
470
470
  services = list(kwargs['service'])
471
+
472
+ if not kwargs.get('without_core'):
473
+ services += CORE_SERVICES
474
+ else:
475
+ # If set, filter out core services
476
+ if kwargs.get('without_core'):
477
+ services = list(filter(lambda service: service not in CORE_SERVICES, services))
471
478
 
472
479
  return list(set(services))
473
480
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: stoobly-agent
3
- Version: 1.1.1
3
+ Version: 1.1.2
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
@@ -1,4 +1,4 @@
1
- stoobly_agent/__init__.py,sha256=IlFUNPLz6SuE8bQ22V8mFZ_mfiE3LRfZnzHNmTGs_so,44
1
+ stoobly_agent/__init__.py,sha256=cK4tOdJLBp6HcMNaGnYqFXGW-9RTHYlYjPHg_N2wPTg,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=jf4fkqjOiCeI2IM5Ro7ie0v_C6y0-7-5TIE_IKMPOfg,5513
@@ -194,7 +194,7 @@ stoobly_agent/app/cli/scaffold/workflow_env.py,sha256=x8V5pJmIiklD3f2q2-qq-CORf4
194
194
  stoobly_agent/app/cli/scaffold/workflow_log_command.py,sha256=Bke4lMOMxuDUFuAx9nlXHbKgYMO4KAg9ASHvjz4aVWc,1372
195
195
  stoobly_agent/app/cli/scaffold/workflow_run_command.py,sha256=ounJeIp1_baB5baWPyAvudI9PJZ4tuJ_BPnVdjvzkqo,7685
196
196
  stoobly_agent/app/cli/scaffold/workflow_validate_command.py,sha256=fhHciJXg_u32Wmh8us8LhgQj8D1SxkBADtuBBF4K0FM,4377
197
- stoobly_agent/app/cli/scaffold_cli.py,sha256=DC86eiaggAHBVWEGumGzwJKCSa0kFvxB9LE2IR47bqo,19178
197
+ stoobly_agent/app/cli/scaffold_cli.py,sha256=RaJD3EwCKYLFHWd1tSTcf_0hK4tGvTGB078LdPreDPM,19437
198
198
  stoobly_agent/app/cli/scenario_cli.py,sha256=3J1EiJOvunkfWrEkOsanw-XrKkOk78ij_GjBlE9p7CE,8229
199
199
  stoobly_agent/app/cli/snapshot_cli.py,sha256=XNxpTm5z3bnBGNGI3_XZIif0ypN62WqYfDmShL5fXg4,9965
200
200
  stoobly_agent/app/cli/trace_cli.py,sha256=K7E-vx3JUcqEDSWOdIOi_AieKNQz7dBfmRrVvKDkzFI,4605
@@ -728,8 +728,8 @@ stoobly_agent/test/mock_data/scaffold/docker-compose-local-service.yml,sha256=x7
728
728
  stoobly_agent/test/mock_data/scaffold/index.html,sha256=qJwuYajKZ4ihWZrJQ3BNObV5kf1VGnnm_vqlPJzdqLE,258
729
729
  stoobly_agent/test/mock_data/uspto.yaml,sha256=6U5se7C3o-86J4m9xpOk9Npias399f5CbfWzR87WKwE,7835
730
730
  stoobly_agent/test/test_helper.py,sha256=m_oAI7tmRYCNZdKfNqISWhMv3e44tjeYViQ3nTUfnos,1007
731
- stoobly_agent-1.1.1.dist-info/LICENSE,sha256=8QKGyy45eN76Zk52h8gu1DKX2B_gbWgZ3nzDLofEbaE,548
732
- stoobly_agent-1.1.1.dist-info/METADATA,sha256=qB3HruZM5v0-w9aWTi87iczgR30dbZRBary-OLMJvvU,3384
733
- stoobly_agent-1.1.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
734
- stoobly_agent-1.1.1.dist-info/entry_points.txt,sha256=aq5wix5oC8MDQtmyPGU0xaFrsjJg7WH28NmXh2sc3Z8,56
735
- stoobly_agent-1.1.1.dist-info/RECORD,,
731
+ stoobly_agent-1.1.2.dist-info/LICENSE,sha256=8QKGyy45eN76Zk52h8gu1DKX2B_gbWgZ3nzDLofEbaE,548
732
+ stoobly_agent-1.1.2.dist-info/METADATA,sha256=ihNJyvmN-dipBtqMMq3gEwA3GiOjBObjawa9s79jjsQ,3384
733
+ stoobly_agent-1.1.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
734
+ stoobly_agent-1.1.2.dist-info/entry_points.txt,sha256=aq5wix5oC8MDQtmyPGU0xaFrsjJg7WH28NmXh2sc3Z8,56
735
+ stoobly_agent-1.1.2.dist-info/RECORD,,