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

refactor: update zio-http to 3.0.0-RC2 and tapir to 1.6.4, remove legacy tapir #729

Merged
merged 20 commits into from
Oct 2, 2023

Conversation

shotexa
Copy link
Contributor

@shotexa shotexa commented Sep 26, 2023

Overview

Fixes ATL-5193

Checklist

My PR contains...

  • No code changes (changes to documentation, CI, metadata, etc.)
  • Bug fixes (non-breaking change which fixes an issue)
  • Improvements (misc. changes to existing features)
  • Features (non-breaking change which adds functionality)

My changes...

  • are breaking changes
  • are not breaking changes
  • If yes to above: I have updated the documentation accordingly

Documentation

  • My changes do not require a change to the project documentation
  • My changes require a change to the project documentation
  • If yes to above: I have updated the documentation accordingly

Tests

  • My changes can not or do not need to be tested
  • My changes can and should be tested by unit and/or integration tests
  • If yes to above: I have added tests to cover my changes
  • If yes to above: I have taken care to cover edge cases in my tests

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2023

Atala PRISM Test Results

  77 files  ±0    77 suites  ±0   14m 38s ⏱️ -45s
669 tests ±0  658 ✔️ ±0  11 💤 ±0  0 ±0 
675 runs  ±0  664 ✔️ ±0  11 💤 ±0  0 ±0 

Results for commit 41976f1. ± Comparison against base commit f2e2fd3.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2023

Integration Test Results

11 files  ±0  11 suites  ±0   3s ⏱️ ±0s
25 tests ±0  25 ✔️ ±0  0 💤 ±0  0 ±0 
37 runs  ±0  37 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 41976f1. ± Comparison against base commit f2e2fd3.

♻️ This comment has been updated with latest results.

@shotexa shotexa changed the title refactor(all): Update ZIO-http to 3.0.0-RC2 refactor(all): Update ZIO-http to 3.0.0-RC2 and tapir to 1.6.4, plus remove tapir legacy usage Sep 26, 2023
@shotexa shotexa self-assigned this Sep 27, 2023
@antonbaliasnikov antonbaliasnikov changed the title refactor(all): Update ZIO-http to 3.0.0-RC2 and tapir to 1.6.4, plus remove tapir legacy usage refactor: update zio-http to 3.0.0-RC2 and tapir to 1.6.4, remove legacy tapir Oct 2, 2023
Copy link
Contributor

@patlo-iog patlo-iog left a comment

Choose a reason for hiding this comment

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

👍 LGTM

Comment on lines +22 to +25
}
ZIO.fail(UnexpectedError(s"HTTP response error: $err"))
case _ =>
ZIO.fail(UnexpectedError("Unknown error"))
Copy link
Contributor

Choose a reason for hiding this comment

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

A little confused by these 2 branches. When would the response.status not be error and we need return unexpected error.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Technically, logically speaking never, because !response.status.isError can either be true or false, but just to make a match statement exhaustive

Copy link
Member

@yshyn-iohk yshyn-iohk left a comment

Choose a reason for hiding this comment

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

LGTM

@shotexa shotexa force-pushed the ATL-5193-update-zio-http1 branch from bac693a to 8e51acc Compare October 2, 2023 13:17
@atala-dev atala-dev added castor and removed castor labels Oct 2, 2023
Shota Jolbordi and others added 8 commits October 2, 2023 17:20
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
## [1.16.1](prism-agent-v1.16.0...prism-agent-v1.16.1) (2023-09-27)

### Bug Fixes

* Adding localhost environment variable in run.sh script for local development ([#728](#728)) ([1a904a6](1a904a6))
* correct typo on sts header (dmax -> max) ([#726](#726)) ([2c5bc51](2c5bc51))
* **prism-agent:** introduce generic secret store for CD ([#727](#727)) ([3d4aacd](3d4aacd))
* Separate config for integration flow ATL-5777 ([#731](#731)) ([9e0e2de](9e0e2de))
* Separate config for integration flow ATL-5777 ([#733](#733)) ([8380ccc](8380ccc))

Signed-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
milosbackonja and others added 12 commits October 2, 2023 17:20
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
## [1.16.2](prism-agent-v1.16.1...prism-agent-v1.16.2) (2023-09-28)

### Bug Fixes

* Changing yq command [skip ci] ATL-5777 ([#736](#736)) ([01bdfa7](01bdfa7))
* Integration flow ([#734](#734)) ([c45a9eb](c45a9eb))
* Renaming values.yml [skip ci] ATL-5777  ([#735](#735)) ([bcd73c3](bcd73c3))

Signed-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
## [1.16.3](prism-agent-v1.16.2...prism-agent-v1.16.3) (2023-09-28)

### Bug Fixes

* Adding labels [skip ci] ([#737](#737)) ([5182098](5182098))

Signed-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
## [1.16.4](prism-agent-v1.16.3...prism-agent-v1.16.4) (2023-09-29)

### Bug Fixes

* Integration flow ATL-5777 ([#738](#738)) ([7cf927c](7cf927c))

Signed-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
Signed-off-by: Pat Losoponkul <pat.losoponkul@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
…p ci] (#730)

Signed-off-by: Pat Losoponkul <pat.losoponkul@iohk.io>
Co-authored-by: Yurii Shynbuiev - IOHK <yurii.shynbuiev@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
…r + return 'metaRetries' (#740)

Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
Signed-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>
Signed-off-by: Pat Losoponkul <pat.losoponkul@iohk.io>
Co-authored-by: Milos Backonja <35807060+milosbackonja@users.noreply.github.com>
Co-authored-by: atala-dev <atala.dev@iohk.io>
Co-authored-by: patlo-iog <pat.losoponkul@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
…ohk/atala/mercury/AgentCli.scala

Co-authored-by: Yurii Shynbuiev - IOHK <yurii.shynbuiev@iohk.io>
Signed-off-by: shotexa <shota.jolbordi@iohk.io>
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
@shotexa shotexa force-pushed the ATL-5193-update-zio-http1 branch from 807bc53 to 41976f1 Compare October 2, 2023 13:20
@shotexa shotexa requested a review from a user October 2, 2023 13:20
@shotexa shotexa requested a review from BS-IO as a code owner October 2, 2023 13:20
@shotexa shotexa merged commit f07315b into main Oct 2, 2023
9 checks passed
@shotexa shotexa deleted the ATL-5193-update-zio-http1 branch October 2, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants