-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from gematik/feature/more_OpenAPI
Feature/more open api
- Loading branch information
Showing
14 changed files
with
822 additions
and
167 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
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,113 @@ | ||
[ | ||
{ | ||
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736", | ||
"spanId": "00f067aa0ba902b7", | ||
"parentSpanId": null, | ||
"name": "HTTP GET /api/users", | ||
"kind": "SERVER", | ||
"startTimeUnixNano": "1678886400000000000", | ||
"endTimeUnixNano": "1678886400150000000", | ||
"attributes": { | ||
"http.method": "GET", | ||
"http.url": "https://api.example.com/api/users", | ||
"http.target": "/api/users", | ||
"http.host": "api.example.com", | ||
"http.scheme": "https", | ||
"http.status_code": 200, | ||
"http.response_content_length": "1234", | ||
"net.peer.ip": "192.168.1.10", | ||
"net.peer.port": "443" | ||
}, | ||
"status": { | ||
"code": "OK" | ||
} | ||
}, | ||
{ | ||
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736", | ||
"spanId": "74755584d576b4d9", | ||
"parentSpanId": "00f067aa0ba902b7", | ||
"name": "HTTP GET /api/users/123", | ||
"kind": "CLIENT", | ||
"startTimeUnixNano": "1678886400050000000", | ||
"endTimeUnixNano": "1678886400100000000", | ||
"attributes": { | ||
"http.method": "GET", | ||
"http.url": "https://internal-api/api/users/123", | ||
"http.target": "/api/users/123", | ||
"http.host": "internal-api", | ||
"http.scheme": "https", | ||
"http.status_code": 200, | ||
"http.response_content_length": "256", | ||
"net.peer.ip": "10.0.0.5", | ||
"net.peer.port": "8080" | ||
}, | ||
"status": { | ||
"code": "OK" | ||
} | ||
}, | ||
{ | ||
"traceId": "8a3c60f7d4dff4d6b2f9f8e7d8d7c8f7", | ||
"spanId": "245fa4b9655567cd", | ||
"parentSpanId": null, | ||
"name": "HTTP POST /api/orders", | ||
"kind": "SERVER", | ||
"startTimeUnixNano": "1678886401000000000", | ||
"endTimeUnixNano": "1678886401500000000", | ||
"attributes": { | ||
"http.method": "POST", | ||
"http.url": "https://api.example.com/api/orders", | ||
"http.target": "/api/orders", | ||
"http.host": "api.example.com", | ||
"http.scheme": "https", | ||
"http.status_code": 201, | ||
"http.request_content_length": "567", | ||
"net.peer.ip": "192.168.1.20", | ||
"net.peer.port": "443" | ||
}, | ||
"status": { | ||
"code": "OK" | ||
} | ||
}, | ||
{ | ||
"traceId": "8a3c60f7d4dff4d6b2f9f8e7d8d7c8f7", | ||
"spanId": "195ee4b965556711", | ||
"parentSpanId": "245fa4b9655567cd", | ||
"name": "database.query", | ||
"kind": "CLIENT", | ||
"startTimeUnixNano": "1678886401100000000", | ||
"endTimeUnixNano": "1678886401400000000", | ||
"attributes": { | ||
"db.system": "postgresql", | ||
"db.statement": "INSERT INTO orders (user_id, product_id) VALUES ($1, $2)", | ||
"net.peer.ip": "10.0.0.10", | ||
"net.peer.port": "5432" | ||
}, | ||
"status": { | ||
"code": "OK" | ||
} | ||
}, | ||
{ | ||
"traceId": "f4a7b8c9d0e1f23456789abcdef01234", | ||
"spanId": "c3d4e5f6a7b89012", | ||
"parentSpanId": null, | ||
"name": "HTTP GET /api/products/99", | ||
"kind": "SERVER", | ||
"startTimeUnixNano": "1678886402000000000", | ||
"endTimeUnixNano": "1678886402200000000", | ||
"attributes": { | ||
"http.method": "GET", | ||
"http.url": "https://api.example.com/api/products/99", | ||
"http.target": "/api/products/99", | ||
"http.host": "api.example.com", | ||
"http.scheme": "https", | ||
"http.status_code": 404, | ||
"http.response_content_length": "42", | ||
"net.peer.ip": "192.168.1.30", | ||
"net.peer.port": "443" | ||
}, | ||
"status": { | ||
"code": "ERROR", | ||
"message": "Not Found" | ||
} | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@startuml "Client_Assertion_JWT_Authentication" | ||
participant Client | ||
participant AS | ||
participant RS | ||
|
||
Client -> AS: Clientregistrierung (mit public key) | ||
activate AS | ||
AS --> Client: client_id | ||
deactivate AS | ||
|
||
Client -> AS: Token Request mit JWT client_assertion und DPoP Header | ||
activate AS | ||
note right: Client Authentifizierung\n mit JWT und Benutzerinformationen | ||
AS --> Client: Access Token (DPoP gebunden) | ||
deactivate AS | ||
|
||
Client -> RS: Zugriff auf Ressource mit Access Token und DPoP Header | ||
activate RS | ||
note right: Zugriffsschutz\n mit DPoP | ||
RS --> Client: Ressource | ||
deactivate RS | ||
|
||
@enduml |
Oops, something went wrong.