-
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): migrate DID endpoint to tapir (#511)
* feat(prism-agent): migrate dids endpoint to tapir Squashed commit of the following: commit e9cdac9 Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 18:58:33 2023 +0700 test commit 0eddc94 Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 16:50:01 2023 +0700 pr cleanup commit 177442b Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 16:49:31 2023 +0700 fix: bring back mistakenly removed files commit 9bc15ce Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 16:46:18 2023 +0700 feat(prism-agent): migrate DID endpoints to tapir Squashed commit of the following: commit fc3226d Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 16:40:02 2023 +0700 docs: add linting doc commit 968e71a Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 16:34:13 2023 +0700 chore: include tapir-generated oas commit 7b8bae6 Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 15:03:37 2023 +0700 chore(prism-agent): remove unused OpenAPI generated classes commit 8d36a2e Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 13:19:04 2023 +0700 fix: make test pass commit 48f5bba Author: Pat Losoponkul <[email protected]> Date: Fri Apr 21 12:29:54 2023 +0700 infra: update apisic route in local deployment commit 58656ae Author: Pat Losoponkul <[email protected]> Date: Mon Apr 17 23:19:51 2023 +0700 feat(prism-agent): inject contentType value to body commit c6da28b Author: Pat Losoponkul <[email protected]> Date: Mon Apr 17 12:45:13 2023 +0700 wip: tapir doc & annotations commit 2764198 Author: Pat Losoponkul <[email protected]> Date: Wed Apr 12 23:34:16 2023 +0700 feat(prism-agent): content-type negotiation on did resolution commit 152d326 Author: Pat Losoponkul <[email protected]> Date: Wed Apr 12 23:05:30 2023 +0700 fix(prism-agent): allow on did-resolution to be returned commit 06c344c Author: Pat Losoponkul <[email protected]> Date: Wed Apr 12 21:35:07 2023 +0700 fix codec response and schema commit dabc9dc Author: Pat Losoponkul <[email protected]> Date: Wed Apr 12 19:44:44 2023 +0700 feat(prism-agent): did representation codec commit 8716290 Author: Pat Losoponkul <[email protected]> Date: Wed Apr 12 17:31:30 2023 +0700 feat(prism-agent): perform actual resolution commit 823f3af Author: Pat Losoponkul <[email protected]> Date: Wed Apr 12 15:18:06 2023 +0700 feat(prism-agent): align tapir statuscode with the spec commit 1e56c61 Author: Pat Losoponkul <[email protected]> Date: Tue Apr 11 19:52:09 2023 +0700 wip: dynamic status code commit b2212c1 Author: Pat Losoponkul <[email protected]> Date: Tue Apr 11 18:51:58 2023 +0700 wip: add http statuscode binding commit e3e7a4c Author: Pat Losoponkul <[email protected]> Date: Tue Apr 11 18:14:15 2023 +0700 feat(prism-agent): wire new endpoint to the server commit 2c66fdf Author: Pat Losoponkul <[email protected]> Date: Tue Apr 11 17:54:38 2023 +0700 feat(prism-agent): migrate /dids to tapir * docs(prism-agent): reformat tapir-oas multiline string * revert linting docs * feat(prism-agent): customize service tapir schema * fix: apisix config lint * remove comment
- Loading branch information
Showing
34 changed files
with
2,101 additions
and
553 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -683,12 +683,7 @@ lazy val prismAgentServer = project | |
Compile / sourceGenerators += openApiGenerateClasses, | ||
openApiGeneratorSpec := baseDirectory.value / ".." / "api" / "http/prism-agent-openapi-spec.yaml", | ||
openApiGeneratorConfig := baseDirectory.value / "openapi/generator-config/config.yaml", | ||
openApiGeneratorImportMapping := Seq( | ||
"DIDDocument", | ||
"DIDResolutionResult" | ||
) | ||
.map(model => (model, s"io.iohk.atala.agent.server.http.model.OASModelPatches.$model")) | ||
.toMap, | ||
openApiGeneratorImportMapping := Map.empty, | ||
Docker / maintainer := "[email protected]", | ||
Docker / dockerUsername := Some("input-output-hk"), | ||
Docker / dockerRepository := Some("ghcr.io"), | ||
|
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.