impierce / ssi-agent

An eIDAS 2.0-compliant Self Sovereign Identity Agent that connects European Identity Wallets to your IT systems
https://www.impierce.com
Apache License 2.0
14 stars 3 forks source link

feat: bootstrap `Connection` aggregate #131

Closed nanderstabel closed 4 days ago

nanderstabel commented 1 month ago

Description of change

There are two important changes in this PR:

  1. The previous Connection aggregate in agent_verification is merged into the AuthorizationRequest aggregate.
  2. A new Connection aggregate is added to the agent_identity domain, this also means that two new endpoints are opened:
    • /connections both GET and POST: For GET additional query parameters can be added, for example: GET 'http://localhost:3033/v0/connections?did=did:example:123'
    • GET /connections/:connection_id: To query a Connection by connection_id

Note that in this PR the Connection aggregate is not that useful just yet. Once we have figured out a nice ergonomic way for different domains to 'interact' with each other, then connections can be created, or updated based on activity in the verification, issuance or holder domain.

Blocked by

Links to any relevant issues

How the change has been tested

Added unit tests and added Postman Collection Requests

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.

github-actions[bot] commented 4 days ago

:tada: This PR is included in version 1.0.0-beta.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: