Skip to content

Releases: moia-oss/lambda-kotlin-request-router

retrieve username from JWT token

24 Apr 12:49
e1ee4ee
Compare
Choose a tag to compare
0.9.3

Feat/get cognito username (#34)

Add license to POM

24 Apr 11:37
b88403d
Compare
Choose a tag to compare
0.9.2

Add license to POM (#42)

Customization of error logging

09 Jan 09:05
6954bcc
Compare
Choose a tag to compare
0.9.1

Provide a means to customize exception logging (#40)

Better handling of null bodies

08 Nov 14:49
58ad09d
Compare
Choose a tag to compare
Handle null bodies better (#38)

if request handler request type is nullable pass null
otherwise fail with 400

Add tooling to ease validating requests and responses inside tests

23 Oct 06:47
7c5a5cc
Compare
Choose a tag to compare
Add tooling for validating against API spec in tests (#32)

* Add validating request router wrapper.

* Add convenience methods

* Fix lint and warnings

Fix permission handling when no permissions are required

25 Jul 15:08
229543d
Compare
Choose a tag to compare
0.8.7

JwtPermissionHandler should return true if no permissions are require…

API Request Context is included in the Request

10 Jul 12:43
Compare
Choose a tag to compare
add ApiRequestContext to Request (#28)

* add ApiRequestContext to Request

* requestContext with explicit type

Improve handling of accept headers with structured suffix

25 Jun 14:41
Compare
Choose a tag to compare
Add handling of accept headers like application/hal+json (#26)

* Add handling of accept headers like application/hal+json

Let request predicates produce sth like application/*+json

* Add tests for deserialization handler

fix handling of permission errors and fix handling of non-parseable media types

13 Jun 13:25
c4b6f71
Compare
Choose a tag to compare
Return not acceptable when failing to parse media type (#24)

* Return not acceptable when failing to parse media type

* Update router/src/test/kotlin/io/moia/router/RequestHandlerTest.kt

Co-Authored-By: Nihal Gonsalves <[email protected]>

accept all is working

13 Jun 08:18
b765248
Compare
Choose a tag to compare
should match accept all header (#23)

* should match accept all header

* Improve readme