Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/158#discussion_r123249445
  
    --- Diff: aria/cli/commands/executions.py ---
    @@ -134,18 +134,64 @@ def start(workflow_name,
         executor = DryExecutor() if dry else None  # use WorkflowRunner's 
default executor
     
         workflow_runner = \
    -        WorkflowRunner(workflow_name, service.id, inputs,
    -                       model_storage, resource_storage, plugin_manager,
    -                       executor, task_max_attempts, task_retry_interval)
    +        WorkflowRunner(
    +            inputs, model_storage, resource_storage, plugin_manager,
    +            service_id=service.id, workflow_name=workflow_name, 
executor=executor,
    +            task_max_attempts=task_max_attempts, 
task_retry_interval=task_retry_interval
    +        )
    +    logger.info('Starting {0}execution. Press Ctrl+C cancel'.format('dry ' 
if dry else ''))
    +
    +    _run_execution(workflow_runner, logger, model_storage, dry, 
mark_pattern)
    +
     
    -    execution_thread_name = '{0}_{1}'.format(service_name, workflow_name)
    [email protected](name='resume',
    +                    short_help='Resume a workflow')
    [email protected]('execution-id')
    [email protected](help=helptexts.EXECUTION_INPUTS)
    [email protected]_execution
    [email protected]_max_attempts()
    [email protected]_retry_interval()
    [email protected]_pattern()
    [email protected]()
    [email protected]_model_storage
    [email protected]_resource_storage
    [email protected]_plugin_manager
    [email protected]_logger
    +def resume(execution_id,
    +           inputs,
    --- End diff --
    
    remove


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to