go.uber.org/cadence@v1.2.9/internal/testdata/sampleHistory.json (about)

     1  [
     2    {
     3      "eventId": 1,
     4      "timestamp": 1528336257159337100,
     5      "eventType": "WorkflowExecutionStarted",
     6      "workflowExecutionStartedEventAttributes": {
     7        "workflowType": {
     8          "name": "go.uber.org/cadence/internal.testReplayWorkflowFromFile"
     9        },
    10        "taskList": {
    11          "name": "taskList1"
    12        },
    13        "executionStartToCloseTimeoutSeconds": 60,
    14        "taskStartToCloseTimeoutSeconds": 60,
    15        "identity": "cadence-cli@user-C02WC08UHTDG"
    16      }
    17    },
    18    {
    19      "eventId": 2,
    20      "timestamp": 1528336257159349200,
    21      "eventType": "DecisionTaskScheduled",
    22      "decisionTaskScheduledEventAttributes": {
    23        "taskList": {
    24          "name": "taskList1"
    25        },
    26        "startToCloseTimeoutSeconds": 60,
    27        "attempt": 0
    28      }
    29    },
    30    {
    31      "eventId": 3,
    32      "timestamp": 1528336257174772700,
    33      "eventType": "DecisionTaskStarted",
    34      "decisionTaskStartedEventAttributes": {
    35        "scheduledEventId": 2,
    36        "identity": "50114@user-C02WC08UHTDG@taskList1",
    37        "requestId": "b7403b35-b4b1-432f-84ff-01d66d060a87"
    38      }
    39    },
    40    {
    41      "eventId": 4,
    42      "timestamp": 1528336257188460300,
    43      "eventType": "DecisionTaskCompleted",
    44      "decisionTaskCompletedEventAttributes": {
    45        "scheduledEventId": 2,
    46        "startedEventId": 3,
    47        "identity": "50114@user-C02WC08UHTDG@taskList1"
    48      }
    49    },
    50    {
    51      "eventId": 5,
    52      "timestamp": 1528336257188469200,
    53      "eventType": "ActivityTaskScheduled",
    54      "activityTaskScheduledEventAttributes": {
    55        "activityId": "0",
    56        "activityType": {
    57          "name": "go.uber.org/cadence/internal.testActivityMultipleArgs"
    58        },
    59        "taskList": {
    60          "name": "taskList1"
    61        },
    62        "input": "MgoidGVzdCIKdHJ1ZQo=",
    63        "scheduleToCloseTimeoutSeconds": 120,
    64        "scheduleToStartTimeoutSeconds": 60,
    65        "startToCloseTimeoutSeconds": 60,
    66        "heartbeatTimeoutSeconds": 20,
    67        "decisionTaskCompletedEventId": 4
    68      }
    69    },
    70    {
    71      "eventId":6,
    72      "timestamp":1558126757393919000,
    73      "eventType":"ActivityTaskStarted",
    74      "version":-24,
    75      "taskId":33554446,
    76      "activityTaskStartedEventAttributes":{
    77        "scheduledEventId":5,
    78        "identity": "50114@user-C02WC08UHTDG@taskList1",
    79        "requestId":"45c4006a-ae7c-4392-baa6-c090857f884b",
    80        "attempt":0
    81      }
    82    },
    83    {
    84      "eventId":7,
    85      "timestamp":1558126757403468000,
    86      "eventType":"ActivityTaskCompleted",
    87      "version":-24,
    88      "taskId":33554447,
    89      "activityTaskCompletedEventAttributes":{
    90        "result":"IkhlbGxvIENhZGVuY2UhIgo=",
    91        "scheduledEventId":5,
    92        "startedEventId":6,
    93        "identity": "50114@user-C02WC08UHTDG@taskList1"
    94      }
    95    },
    96    {
    97      "eventId":8,
    98      "timestamp":1558126757403476000,
    99      "eventType":"DecisionTaskScheduled",
   100      "version":-24,
   101      "taskId":33554450,
   102      "decisionTaskScheduledEventAttributes":{
   103        "taskList":{
   104          "name":"longer-C02V60N3HTDG:33ab3ada-4636-4386-8575-81dd8dc02e9a"
   105        },
   106        "startToCloseTimeoutSeconds":10,
   107        "attempt":0
   108      }
   109    },
   110    {
   111      "eventId":9,
   112      "timestamp":1558126757410564000,
   113      "eventType":"DecisionTaskStarted",
   114      "version":-24,
   115      "taskId":33554454,
   116      "decisionTaskStartedEventAttributes":{
   117        "scheduledEventId":8,
   118        "identity": "50114@user-C02WC08UHTDG@taskList1",
   119        "requestId":"cb1fdadf-f46b-4840-9b97-863f4b3b6b11"
   120      }
   121    },
   122    {
   123      "eventId":10,
   124      "timestamp":1558126757491491000,
   125      "eventType":"DecisionTaskCompleted",
   126      "version":-24,
   127      "taskId":33554457,
   128      "decisionTaskCompletedEventAttributes":{
   129        "scheduledEventId":8,
   130        "startedEventId":9,
   131        "identity": "50114@user-C02WC08UHTDG@taskList1",
   132        "binaryChecksum":"b2e32759177ccbb3e67ad7694aec233c"
   133      }
   134    },
   135    {
   136      "eventId":11,
   137      "timestamp":1558126757491513000,
   138      "eventType":"WorkflowExecutionCompleted",
   139      "version":-24,
   140      "taskId":33554458,
   141      "workflowExecutionCompletedEventAttributes":{
   142        "decisionTaskCompletedEventId":10
   143      }
   144    }
   145  ]