-
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(agent): improve OAS spec and refactor DidCommHttpServer code (#615)
* fix(agent): ATL-3796 - exhaustively return issue credential role and protocolState * fix(agent): return role as part of presentation status * fix(agent): ATL-5230 - return full presentation record instead of just presentation ID in present-proof protocol * fix(agent): support undefined env variable (null value) for webhook config params in docker-compose.yml * chore(agent): refactor, cleanup, and improve error logging in DidCommHttpService
- Loading branch information
1 parent
de56d4e
commit 301fbab
Showing
9 changed files
with
201 additions
and
255 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
344 changes: 138 additions & 206 deletions
344
prism-agent/service/server/src/main/scala/io/iohk/atala/agent/server/DidCommHttpServer.scala
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...ent/service/server/src/main/scala/io/iohk/atala/agent/server/DidCommHttpServerError.scala
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package io.iohk.atala.agent.server | ||
|
||
sealed trait DidCommHttpServerError | ||
|
||
object DidCommHttpServerError { | ||
case class RequestBodyParsingError(error: String) extends DidCommHttpServerError | ||
case class DIDCommMessageParsingError(error: String) extends DidCommHttpServerError | ||
} |
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
35 changes: 0 additions & 35 deletions
35
...src/main/scala/io/iohk/atala/presentproof/controller/http/RequestPresentationOutput.scala
This file was deleted.
Oops, something went wrong.