Skip to content

Commit

Permalink
Merge pull request #19 from cloudblue/add_connect_correlation_id_to_o…
Browse files Browse the repository at this point in the history
…ptions

LITE-24177 add connect-correlation-id to task options
Francesco Faraone authored Jun 27, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 1b80c0e + 4d30530 commit bf8baae
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions connect/eaas/core/proto.py
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ class TaskOptions(BaseModel):
reply_to: Optional[str]
api_key: Optional[str]
installation_id: Optional[str]
connect_correlation_id: Optional[str]


class TaskOutput(BaseModel):
3 changes: 3 additions & 0 deletions tests/connect/eaas/core/test_proto.py
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@
'reply_to': 'reply_to',
'api_key': 'api_key',
'installation_id': 'installation_id',
'connect_correlation_id': 'connect_correlation_id',
},
'input': {
'event_type': 'task_type',
@@ -48,6 +49,7 @@
'task_category': 'task_category',
'correlation_id': 'correlation_id',
'reply_to': 'reply_to',
'connect_correlation_id': 'connect_correlation_id',
},
'input': {
'event_type': 'task_type',
@@ -76,6 +78,7 @@
'reply_to': 'reply_to',
'api_key': None,
'installation_id': None,
'connect_correlation_id': None,
},
'input': {
'event_type': 'task_type',

0 comments on commit bf8baae

Please sign in to comment.