Skip to content

[MOB-22281] - Public API Changes with Configurable timeout value for Update/ Get proposition#119

Merged
ishwetansh merged 10 commits intoadobe:dev-v5.2.0from
ishwetansh:config-timeout
Nov 21, 2024
Merged

[MOB-22281] - Public API Changes with Configurable timeout value for Update/ Get proposition#119
ishwetansh merged 10 commits intoadobe:dev-v5.2.0from
ishwetansh:config-timeout

Conversation

@ishwetansh
Copy link
Copy Markdown
Contributor

Description

Related Issue

Added customizable timeout to getPropositions and updatePropositions functions, allowing users to define how long to wait for responses before triggering a timeout error.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@ishwetansh ishwetansh self-assigned this Nov 13, 2024
@ishwetansh ishwetansh marked this pull request as ready for review November 13, 2024 15:53
@ishwetansh ishwetansh changed the title Public API Changes with Configurable timeout value for Update/ Get proposition [MOB-22281] - Public API Changes with Configurable timeout value for Update/ Get proposition Nov 13, 2024
Copy link
Copy Markdown
Member

@sbenedicadb sbenedicadb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks fine - would like to see some tests where we force a timeout and ensure the error is returned as expected.

Copy link
Copy Markdown
Contributor

@spoorthipujariadobe spoorthipujariadobe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure to document the new API on github and public docs

@ishwetansh ishwetansh changed the base branch from dev-v5.1.0 to dev-v5.2.0 November 20, 2024 06:18
Copy link
Copy Markdown
Member

@sbenedicadb sbenedicadb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests looking better, just a few small updates requested

@ishwetansh ishwetansh merged commit 5105fa4 into adobe:dev-v5.2.0 Nov 21, 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.

4 participants