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

feat: migrate pollux VC JWT from Circe to zio-json #1475

Merged
merged 7 commits into from
Dec 11, 2024

Conversation

bvoiturier
Copy link
Contributor

This was the last step of this migration. Circe is no more a project dependency.

Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Copy link
Contributor

github-actions bot commented Dec 10, 2024

Unit Test Results

104 files  ±0  104 suites  ±0   20m 47s ⏱️ +10s
882 tests ±0  874 ✅ ±0  8 💤 ±0  0 ❌ ±0 
889 runs  ±0  881 ✅ ±0  8 💤 ±0  0 ❌ ±0 

Results for commit c780920. ± Comparison against base commit d0c3506.

♻️ This comment has been updated with latest results.

Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Copy link
Contributor

Integration Test Results

20 files  ±0  20 suites  ±0   2s ⏱️ -1s
55 tests ±0  55 ✅ ±0  0 💤 ±0  0 ❌ ±0 
97 runs  ±0  97 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit c780920. ± Comparison against base commit d0c3506.

@coveralls
Copy link

Coverage Status

coverage: 48.8% (-0.2%) from 49.006%
when pulling c780920 on feat/migrate-pollux-vc-jwt-from-circe-to-zio-json
into d0c3506 on main.

@@ -80,7 +77,7 @@ lazy val V = new {

val scalaUri = "4.0.3"

val jwtCirceVersion = "9.4.6"
val jwtZioVersion = "9.4.6"
Copy link
Member

Choose a reason for hiding this comment

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

🥇

@@ -206,7 +204,7 @@ case class OIDCCredentialIssuerServiceImpl(
issuanceDate = Instant.now(),
maybeExpirationDate = None, // TODO: Add expiration date
maybeCredentialSchema = None, // TODO: Add schema from schema registry
credentialSubject = JsonInterop.toCirceJsonAst(buildCredentialSubject(subjectDid, claims)),
credentialSubject = buildCredentialSubject(subjectDid, claims),
Copy link
Member

Choose a reason for hiding this comment

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

❤️

Copy link
Member

Choose a reason for hiding this comment

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

😍

@bvoiturier bvoiturier merged commit 248ba5f into main Dec 11, 2024
14 checks passed
@bvoiturier bvoiturier deleted the feat/migrate-pollux-vc-jwt-from-circe-to-zio-json branch December 11, 2024 09:41
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.

Refactor the codebase of the cloud-agent to use a single JSON library (zio-json)
3 participants