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: bootstrap Connection aggregate #131

Merged
merged 92 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from 89 commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
f61e9b5
WIP
nanderstabel Jun 26, 2024
4ffa6d1
feat init agetn_holder
nanderstabel Aug 22, 2024
ebfc36d
feat: add `HolderState`
nanderstabel Aug 26, 2024
bca826e
feat: add Holder functionality to `agent_store` and `agent_api_rest`
nanderstabel Aug 26, 2024
75d7a31
feat: add Holder functionality to Event Publisher
nanderstabel Aug 26, 2024
c2b2d62
feat: add `SendCredentialOffer` to `agent_verification`
nanderstabel Aug 26, 2024
87d061f
feat: add `/offers/send` issuance endpoint to `agent_api_rest`
nanderstabel Aug 26, 2024
34ff280
fix: remove incorrect Content Type
nanderstabel Aug 27, 2024
7f1ab4f
feat: add `Status` enum
nanderstabel Aug 27, 2024
302e63f
feat: add REST API for Holder
nanderstabel Aug 27, 2024
2673bac
feat: add `AllOffersView`
nanderstabel Aug 27, 2024
5ee0ae4
feat: add Holder views to `init.sql`
nanderstabel Aug 27, 2024
1babdd4
fix: fix `OfferView` update
nanderstabel Aug 27, 2024
7bcc730
feat: add credentials endpoint for Holder
nanderstabel Aug 27, 2024
2000769
refactor: refactor Router
nanderstabel Aug 27, 2024
7599bee
test: refactor test framework
nanderstabel Aug 30, 2024
805591e
refactor: deprecate `path` closure
nanderstabel Aug 30, 2024
dc8c25d
refactor: remove unused dependencies
nanderstabel Aug 30, 2024
9f20fb6
style: add clippy exception
nanderstabel Aug 30, 2024
7c13929
build: bump oid4vc dependencies
nanderstabel Aug 30, 2024
384244c
refactor: move all `CustomQuery` logic to `agent_shared`
nanderstabel Aug 30, 2024
4c39ac7
fix: add Into<SubjectSyntaxType> for SupportedDidMethod
nanderstabel Aug 30, 2024
29f25da
fix: return 200 OK when list is empty
nanderstabel Aug 30, 2024
e08a045
refactor: clean up code
nanderstabel Aug 30, 2024
f307da3
fix: Fix error handling for the Offer aggregate
nanderstabel Aug 30, 2024
29e90d1
fix: add error handling for to Offer aggregate
nanderstabel Aug 30, 2024
cda0b76
refactor: apply clippy suggestion
nanderstabel Aug 30, 2024
bb43a33
test: update Postman Collection
nanderstabel Aug 30, 2024
5aae168
feat: add Events to `config.rs`
nanderstabel Aug 30, 2024
3056a09
docs: add new Holder events to `agent_event_publisher_http` document…
nanderstabel Aug 30, 2024
fa0e631
Merge branch 'dev' into feat/holder-init
nanderstabel Aug 30, 2024
c3fc105
Merge branch 'dev' into feat/linked-vp
nanderstabel Sep 5, 2024
005cf5d
Merge branch 'feat/holder-init' into feat/linked-vp
nanderstabel Sep 12, 2024
ecf05c4
feat: init `agent_identity`
nanderstabel Sep 18, 2024
1bf0c72
style: use consistent nameing for `View` variables
nanderstabel Sep 18, 2024
ceed053
Merge branch 'feat/holder-init' into feat/linked-vp
nanderstabel Sep 18, 2024
961fb2f
style: rename variables
nanderstabel Sep 18, 2024
e4783b3
refactor: use `type` for `View`s to reduce code duplication
nanderstabel Sep 18, 2024
a20cffe
refactor: use `Jwt` instead of `Value`
nanderstabel Sep 18, 2024
504c3ea
feat: add error handling
nanderstabel Sep 18, 2024
24507cb
fix: remove `presentation_id` from route
nanderstabel Sep 18, 2024
0cabb68
refactor: add error handling and comments
nanderstabel Sep 18, 2024
3f24ce4
refactor: remove unused dependencies
nanderstabel Sep 18, 2024
1647121
build: remove unused dependencies
nanderstabel Sep 18, 2024
5acfef1
feat: add `UnsupportedCredentialFormatError` error
nanderstabel Sep 18, 2024
afefa88
test: update Postman Collection
nanderstabel Sep 19, 2024
3649e63
feat: update `init.sql` file
nanderstabel Sep 19, 2024
d936087
feat: add tests and error handling
nanderstabel Sep 19, 2024
9170c6f
Merge branch 'dev' into feat/linked-vp
nanderstabel Oct 3, 2024
5ef35b6
feat: add error handling
nanderstabel Oct 3, 2024
ffd1754
test: add unit tests for `Service`, `Presentation` and received `Offer`
nanderstabel Oct 4, 2024
0068581
feat: add `GET` method for `/v0/services` endpoint
nanderstabel Oct 4, 2024
610af21
test: update Postman collection
nanderstabel Oct 4, 2024
2ff7d34
docs: add document, service and presentation events
nanderstabel Oct 4, 2024
3b4987f
fix: remove unused import
nanderstabel Oct 4, 2024
a8b5dc4
ci: add DS_Store to .gitignore file
nanderstabel Oct 5, 2024
ca3a9ed
feat: add Document and Service to config.rs
nanderstabel Oct 5, 2024
ae83256
fix: update .env.example variables
nanderstabel Oct 7, 2024
6f614e8
feat: make `/accept` endpoint respond with the Offer
nanderstabel Oct 7, 2024
b25c5f9
feat: add individual aggregate instance endpoints
nanderstabel Oct 4, 2024
64cd02c
test: update Postman collection
nanderstabel Oct 4, 2024
18bd045
fix: add `all_authorization_requests` table
nanderstabel Oct 4, 2024
98d7709
test: update test
nanderstabel Oct 5, 2024
42cf68c
feat: init identity `Connection` aggregate
nanderstabel Oct 5, 2024
f8ce95d
refactor: merge verification Connection into AuthorizationRequest agg…
nanderstabel Oct 5, 2024
594864e
feat: add `Connection` aggregate and corresponding endpoints
nanderstabel Oct 6, 2024
06bc359
feat: add `Connection` related endpoints to Postman collection
nanderstabel Oct 9, 2024
d2df459
fix: add `all_connections` table
nanderstabel Oct 9, 2024
129b6b2
fix: undo openbadgesv3_credentials change
nanderstabel Oct 9, 2024
9bd3161
Merge branch 'beta' into feat/linked-vp
nanderstabel Nov 19, 2024
3526cb1
feat: change `openid4vci/offers` from GET to POST
nanderstabel Oct 15, 2024
76f96fe
test: add `services/:service_id` endpoints to Postman collection
nanderstabel Oct 15, 2024
dbbc5ba
fix: change method from `get` to `post`
nanderstabel Oct 15, 2024
82f0562
feat: add public `/linked-verifiable-presentations` endpoint
nanderstabel Oct 15, 2024
3feb807
feat: add `offers_params` endpoint handler
nanderstabel Oct 17, 2024
b56c6dd
style: make requests human-readable
nanderstabel Nov 19, 2024
215e030
test: update path of linked VP in test
nanderstabel Nov 19, 2024
ba5d001
Merge branch 'feat/linked-vp' into nanderstabel/issue129
nanderstabel Nov 19, 2024
bdb7f5c
style: use human-readable names for requests
nanderstabel Nov 19, 2024
78f491a
Merge branch 'beta' into nanderstabel/issue129
nanderstabel Nov 25, 2024
dcf0ade
fix: remove duplicate functions
nanderstabel Nov 25, 2024
b2a4d37
feat: add GET service by ID endpoint
nanderstabel Nov 25, 2024
0272098
Merge branch 'nanderstabel/issue129' into nanderstabel/issue125
nanderstabel Nov 26, 2024
c3bb3aa
docs: add aggregate fields
nanderstabel Nov 26, 2024
d58092c
docs: add README file for `AuthorizationRequest` aggregate
nanderstabel Nov 26, 2024
05523a1
fix: remove duplicate request
nanderstabel Nov 26, 2024
57e5701
Merge branch 'nanderstabel/issue129' into nanderstabel/issue125
nanderstabel Nov 26, 2024
b2088c9
Merge branch 'beta' into nanderstabel/issue125
nanderstabel Nov 26, 2024
25cd91c
fix: change `credential_offer_endpoint` to camelCase
nanderstabel Nov 26, 2024
250deef
fix: change request names
nanderstabel Nov 27, 2024
9030b59
feat: add optional `alias` field to `Connection` aggregate
nanderstabel Nov 27, 2024
002ee60
feat: add `Query Connection by Alias` request
nanderstabel Nov 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ identity_credential = { version = "1.3", default-features = false, features = [
"presentation",
"domain-linkage",
] }
identity_did = { version = "1.3" }
identity_iota = { version = "1.3" }
identity_verification = { version = "1.3", default-features = false }
jsonwebtoken = "9.3"
Expand All @@ -53,7 +54,7 @@ serde_yaml = "0.9"
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tower = { version = "0.4" }
tower-http = { version = "0.5", features = ["cors", "trace"] }
tower-http = { version = "0.6", features = ["cors", "trace"] }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
tracing-test = { version = "0.2" }
Expand Down
2 changes: 2 additions & 0 deletions agent_api_rest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ axum-macros = "0.4"
did_manager.workspace = true
http-api-problem = "0.57"
hyper = { version = "1.2" }
identity_core.workspace = true
identity_credential.workspace = true
identity_did.workspace = true
oid4vc-core.workspace = true
oid4vci.workspace = true
oid4vp.workspace = true
Expand Down
Loading