-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(prism-agent): implement Issue Credential v2 protocol (#146)
* feat(pollux): add 'CredentialGenerated' state * chore(pollux): disable Doobie log handler * chore(pollux): move DIDComm message creation and storage in credential service * mend chore(pollux): move DIDComm message creation and storage in credential service * chore(prism-agent): inject DidComm layer in credential service * chore(pollux): generate DidComm IssueCredential message when accepting credential request * chore(prism-agent): do not create DidComm messages in background job * chore(prism-agent): wip * chore(prism-agent): add missing import * chore(prism-agent): bump pollux dependency version to 0.2.0-SNAPSHOT * fix(prism-agent): fix pollux DbConfig package change * fix(pollux): populate record claims in DB when receiving the DIDComm OfferCredential message * chore(pollux): remove obsolete claims attribute from DB and retrieve them from the offer * chore(pollux): reinstate 'markCredentialGenerated' method * feat(prism-agent): return JWT credential based on issue-credential and claims based on offer-credential from REST API calls * chore(prism-agent): get rid of 'claims' attribute and make sure whole flow is working waiting for publication to be integrated * chore(pollux): add 'automatic-issuance' flag to support auto request acceptance by issuer * chore(prism-agent): add 'automaticIssuance' attribute to issue REST API * chore(prism-agent): bump pollux dependency version to 0.3.0-SNAPSHOT * chore(pollux): bump version to 0.3.0-SNAPSHOT * chore(pollux): introduce 'awaitConfirmation' flag in issue credential record * chore(pollux): introduce 'awaitConfirmation' flag in issue credential protocol REST API * chore(prism-agent): limit pollux DB transactor connection pool * feature(pollux): add creationDateTime attribute to issue credential record * feature(prism-agent): add creationDateTime in issue credential protocol REST API * feature(prism-agent): add 'updateAt' field to issue credential record * feat(pollux): Add job that publishes credentials to DLT (#92) * Remove SNAPSHOT from versions, fix some errirs with scala version mismatch, make local docker compose runnable * Add getCredentialRecordsByState * Add function to make credential from issue credential record * WIP: implement the job * Add inclusion proof to IssueCredentialRecord * Add serializer and decserializer for inclusion proofs * WIP: Add updateCredentialRecordStateAndProofByCredentialIdBulk * Add updateCredentialRecordStateAndProofByCredentialIdBulk * Fix merge conflict erros * Remove MockCredentialService * Fix errors caused by conflicts * Edit createCredentialPayloadFromRecord, get credential from requestCredential didcome message * Revert remove "extractIdFromCredential" * Make it compile * Update mercyry to 0.6.0 * Finalize protocol * remove confusing response texts * Format * format prism agent * add my branch to releases * remove my branch from release Co-authored-by: FabioPinheiro <[email protected]> * feat(prism-agent): return JWT credential from API call * chore(prism-agent): use release pollux lib 0.3.0 * chore(prism-agent): run 'scalafmtAll' Co-authored-by: shota jolbordi <[email protected]> Co-authored-by: FabioPinheiro <[email protected]>
- Loading branch information
1 parent
96b0fbc
commit f3cb60e
Showing
9 changed files
with
312 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.