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: align the credential schema property name according to the VCDM 1.1 #1467

Merged
merged 12 commits into from
Dec 4, 2024

Conversation

yshyn-iohk
Copy link
Member

@yshyn-iohk yshyn-iohk commented Nov 28, 2024

Description:

  • deprecated the filed schemaId and created the alternative that is aligned with the specification (JWT/SD-JWT/AnonCreds)
  • added requirement to add the schemaId property to the create credential offer request for JWT/SD-JWT VC
  • added credentialSchema property that is aligned with VCDM 1.1 to the domain and HTTP layers

In the next iteration, the new HTTP client will be generated and additional e2e tests will be added.

Checklist:

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked the PR title to follow the conventional commit specification

Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
…m1_1

# Conflicts:
#	tests/integration-tests/src/test/kotlin/common/CredentialSchema.kt
#	tests/integration-tests/src/test/kotlin/steps/connectionless/ConnectionLessSteps.kt
#	tests/integration-tests/src/test/kotlin/steps/credentials/JwtCredentialSteps.kt
#	tests/integration-tests/src/test/resources/features/credential/jwt/issuance.feature
#	tests/integration-tests/src/test/resources/features/credential/sdjwt/issuance.feature
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
@yshyn-iohk yshyn-iohk enabled auto-merge (squash) November 28, 2024 16:38
Copy link
Contributor

github-actions bot commented Nov 28, 2024

Integration Test Results

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

Results for commit 3449faa. ± Comparison against base commit 7365497.

This pull request removes 2 and adds 1 tests. Note that renamed tests count towards both.
Issuing jwt credential with a schema
Issuing jwt credential with published PRISM DID
Issuing jwt credential with published PRISM DID and student schema

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Nov 28, 2024

Unit Test Results

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

Results for commit 3449faa. ± Comparison against base commit 7365497.

♻️ This comment has been updated with latest results.

@coveralls
Copy link

coveralls commented Nov 28, 2024

Coverage Status

coverage: 48.706% (-0.09%) from 48.796%
when pulling 3449faa on feat/vcdm1_1
into 7365497 on main.

…m1_1

# Conflicts:
#	tests/integration-tests/src/test/resources/features/credential/jwt/present_proof.feature
…s-cloud-agent-client-ts

Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
@yshyn-iohk yshyn-iohk disabled auto-merge December 3, 2024 15:22
@yshyn-iohk yshyn-iohk merged commit c6a3e0c into main Dec 4, 2024
14 checks passed
@yshyn-iohk yshyn-iohk deleted the feat/vcdm1_1 branch December 4, 2024 09:38
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.

3 participants