alexa / alexa-skills-kit-sdk-for-java

The Alexa Skills Kit SDK for Java helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
http://developer.amazon.com/ask
Apache License 2.0
818 stars 748 forks source link

Add abstraction layer over servlet interface when calling Verifiers #215

Closed kkocel closed 5 years ago

kkocel commented 5 years ago

Description

Providing interface over HttpServletRequest in order to use verifiers non-servlet contexts - like reactive solutions, gateways etc.

Motivation and Context

Currently it's impossible to use validators without servlet API. After the change it's possible to create other implementations of Request like ReactiveRequest etc.

Testing

All existing test cases cover refactored code.

Screenshots (if appropriate)

Types of changes

Checklist

License

kkocel commented 5 years ago

@breedloj would you mind taking a look? :)

breedloj commented 5 years ago

Hey Christopher, sorry for the delayed review. Thanks for the PR! I like this change. Had a small comment regarding naming but that aside it looks good to me.

breedloj commented 5 years ago

Changes look good and will be included in the next release of the SDK. Thanks again!

kkocel commented 5 years ago

@breedloj what is rough estimation for release?

breedloj commented 5 years ago

This was released as part of 2.20.2.