Skip to content

Commit

Permalink
Port 5333 create httpx client for the integration (#245)
Browse files Browse the repository at this point in the history
* Handled `CycleError` for cyclic dependency in entities with better error message and ocean exception class

* Added a httpx client that recreate itself on new threads using localproxy & localstack bundled with the `RetryTransport` transport featured in 0.4.3

* Added a httpx client that recreate itself on new threads using localproxy & localstack bundled with the `RetryTransport` transport featured in 0.4.3 & Removed the retry handler decorator from the port client. Now using the `TokenRetryTransport`
  • Loading branch information
yairsimantov20 authored Nov 29, 2023
1 parent 3991d8b commit 404d7ee
Show file tree
Hide file tree
Showing 46 changed files with 148 additions and 2,049 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/verify-docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,3 @@ jobs:
- run: npm ci
- name: Build
run: npm run build

build-api-docs:
runs-on: ubuntu-latest
name: Test successful api-docs production build
defaults:
run:
working-directory: docs/api-docs
steps:
- uses: actions/checkout@v3
with:
persist-credentials: true
- name: Install dependencies
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Make install and build
run: |
make install
make build
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

<!-- towncrier release notes start -->

## 0.4.4 (2023-11-29)


### Features

- Added a httpx client that recreate itself on new threads using localproxy & localstack bundled with the `RetryTransport` transport featured in 0.4.3 (PORT-5333)

### Improvements

- Added `TokenRetryTransport` to the port client httpx client to handle connection errors and create new access tokens when the token is expiring while requesting (PORT-5333)
- Removed the retry handler decorator from the port client. Now using the `TokenRetryTransport` (PORT-5333)
- Handled `CycleError` for cyclic dependency in entities with better error message and ocean exception class (PORT-5333)


## 0.4.3 (2023-11-09)

### Features
Expand Down
55 changes: 0 additions & 55 deletions docs/api-docs/Makefile

This file was deleted.

115 changes: 0 additions & 115 deletions docs/api-docs/mkdocs.yml

This file was deleted.

Loading

0 comments on commit 404d7ee

Please sign in to comment.