Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: SDK v5 #17

Merged
merged 13 commits into from
Feb 7, 2024
Merged

feat: SDK v5 #17

merged 13 commits into from
Feb 7, 2024

Conversation

saig0
Copy link
Contributor

@saig0 saig0 commented Jan 31, 2024

Description

  • Fix contract fulfillment task
  • Improve default error expression
    • Handle all 4xx errors
    • Provide error data as variables (i.e. error code, error name, error message)
  • Add the first test cases for the SDK

Related issues

closes #16
closes #9
closes #13

saig0 added 5 commits January 29, 2024 06:12
Fix the request body of the fulfill contract template by adding an empty context.
Fix the fulfill contract task by aligning with the updated template.
Fix the fulfill contract task by aligning with the updated template.
Add a new module to run integration tests for the connector template.
Extract the registration of a new agent from the contract fulfillment test. We want to create only one new agent for all test runs.
@saig0 saig0 force-pushed the 16-fulfill-contract branch from 3d6c9c9 to 2b2c1aa Compare February 4, 2024 20:50
saig0 added 4 commits February 5, 2024 14:55
Add new test cases to handle errors from the API in the BPMN.
Handle a BPMN error from the API and store the error data in a variable.
Improve default error expression in template to catch all 4xx errors and provide the error data, including error code, error name, and error message.
@saig0 saig0 force-pushed the 16-fulfill-contract branch from 2b2c1aa to b5c0981 Compare February 5, 2024 20:39
saig0 added 4 commits February 6, 2024 06:11
Update the error expressions in existing BPMN processes to align with the new SDK template.
Update SDK template version in processes from 4 to 5. This aligns to the new version of the SDK template.
@saig0 saig0 merged commit b6bc313 into main Feb 7, 2024
3 checks passed
@saig0 saig0 deleted the 16-fulfill-contract branch February 7, 2024 13:48
@saig0 saig0 mentioned this pull request Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SDK: Can't fulfill contract Can't catch cooldown error Set up a test pipeline for the SDK
1 participant