ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIA-146) Support colorful execution logging
Date Thu, 27 Apr 2017 12:27:04 GMT

    [ https://issues.apache.org/jira/browse/ARIA-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986490#comment-15986490
] 

ASF GitHub Bot commented on ARIA-146:
-------------------------------------

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

    https://github.com/apache/incubator-ariatosca/pull/109#discussion_r113681751
  
    --- Diff: aria/cli/execution_logging.py ---
    @@ -31,73 +34,67 @@
     MARKER = 'marker'
     
     FINAL_STATES = 'final_states'
    -SUCCESS_STATE = 'success'
    -CANCEL_STATE = 'cancel'
    -FAIL_STATE = 'fail'
    +SUCCESS_STATE = 'succeeded'
    +CANCEL_STATE = 'canceled'
    +FAIL_STATE = 'failed'
     
    -_EXECUTION_BASE_PATTERN = "\'.*\' workflow execution "
    -_SUCCESSFUL_EXECUTION_PATTERN = _EXECUTION_BASE_PATTERN + "succeeded"
    -_FAILED_EXECUTION_PATTERN = _EXECUTION_BASE_PATTERN + "failed"
    -_CANCELED_EXECUTION_PATTERN = _EXECUTION_BASE_PATTERN + "canceled"
    -
    -_TIMESTAMP_PATTERN = '.*({timestamp.*?}).*'
    -_LEVEL_PATTERN = '.*({level.*?}).*'
    -_MESSAGE_PATTERN = '.*({message.*?}).*'
    -_IMPLEMENTATION_PATTERN = '.*({implementation.*?}).*'
    -_INPUTS_PATTERN = '.*({inputs.*?}).*'
    +_EXECUTION_PATTERN = "\'.*\' workflow execution {0}".format
    +_FIELD_TYPE_PATTERN = partial('.*({starting}{0}{closing}).*'.format, starting='{', closing='.*?}')
    --- End diff --
    
    comment


> Support colorful execution logging
> ----------------------------------
>
>                 Key: ARIA-146
>                 URL: https://issues.apache.org/jira/browse/ARIA-146
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Ran Ziv
>            Assignee: Maxim Orlov
>            Priority: Minor
>
> Add support for printing execution logs in color



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message