external-adapters-js
external-adapters-js copied to clipboard
DF-20362 Update/cbp delay balance POC
Closes #DF-20362
Description
Added delay logic to CBP balance endpoint to avoid "blips"
Changes
- added secondary delay "blipCache" in mem
- logic to determine when a value is considered "good"
- this is done as a POC in a
balance2endpoint for now
Steps to Test
- Steps
- to
- test
Quality Assurance
- [ ] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant
infra-k8sconfiguration file. - [ ] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant
adapter-secretsconfiguration file or update the soak testing blacklist. - [ ] If a new adapter was made, or a new endpoint was added, update the
test-payload.jsonfile with relevant requests. - [ ] The branch naming follows git flow (
feature/x,chore/x,release/x,hotfix/x,fix/x) or is created from Jira. - [ ] This is related to a maximum of one Jira story or GitHub issue.
- [ ] Types are safe (avoid TypeScript/TSLint features like any and disable, instead use more specific types).
- [ ] All code changes have 100% unit and integration test coverage. If testing is not applicable or too difficult to justify doing, the reasoning should be documented explicitly in the PR.
⚠️ No Changeset found
Latest commit: 027d2bcd9dab5877aa8654fe4181ff5b9fdf1635
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR