external-adapters-js icon indicating copy to clipboard operation
external-adapters-js copied to clipboard

New NovaPoshta Adapter 1.0.0

Open alexbakers opened this issue 3 years ago • 1 comments
trafficstars

Description

NovaPoshta Adapter for tracking parcels.

Steps to Test

$ yarn test packages/sources/novaposhta/test/unit/tracking.test.ts 
 PASS  packages/sources/novaposhta/test/unit/tracking.test.ts

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        1.672 s
$ yarn test packages/sources/novaposhta/test/integration/tracking.test.ts 
 PASS  packages/sources/novaposhta/test/integration/tracking.test.ts
{"level":"warn","time":1667520302342,"pid":88822,"hostname":"Alex-Baker","msg":"Could not load payload: [{\"instancePath\":\"\",\"schemaPath\":\"#/type\",\"keyword\":\"type\",\"params\":{\"type\":\"object\"},\"message\":\"must be object\"}]"}
{"level":"warn","time":1667520302342,"pid":88822,"hostname":"Alex-Baker","msg":"Falling back to default empty payload"}
{"level":"info","time":1667520302351,"pid":88822,"hostname":"Alex-Baker","msg":"Server listening on http://0.0.0.0:51933!"}

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   1 passed, 1 total
Time:        2.355 s, estimated 3 s

Quality Assurance

  • [x] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant <ADAPTER_PACKAGE>/schemas/env.json and <ADAPTER_PACKAGE>/README.md
  • [x] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant infra-k8s configuration file.
  • [x] The branch naming follows git flow (feature/x, chore/x, release/x, hotfix/x, fix/x) or is created from Clubhouse/Shortcut
  • [x] This is related to a maximum of one Clubhouse/Shortcut story or GitHub issue
  • [x] Types are safe (avoid TypeScript/TSLint features like any and disable, instead use more specific types)
  • [x] 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.

alexbakers avatar Nov 04 '22 00:11 alexbakers

⚠️ No Changeset found

Latest commit: ef8ec266650958dbaffc83badb189217c4bcd15c

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

changeset-bot[bot] avatar Nov 04 '22 00:11 changeset-bot[bot]

Please re-open if still relevant

mxiao-cll avatar Aug 28 '24 17:08 mxiao-cll