Implement Alexa Skills in Sling OSGi container

Viewed 122

I'm implementing Alexa Skills logic (speechlets) using Java Alexa Skills Kit SDK hosted on Apache Tomcat. However, I need to move the project to Apache Sling based server. It's based on OSGi container (Apache Felix). I found Sling DI mechanisms very useful. However it looks like Java Alexa Skills Kit SDK is totally not prepared for such an use. The main problem is that the SDK servlet is a plain Java servlet and Sling doesn't support it. Moreover the SDK is not even an OSGi bundle. It would be nice to use it in Sling style, but I don't want to replicate the SDK from scratch.

Did anyone create Skills as a Sling services in OSGi container? Do I have to create a SlingServlet on my own? Can Java Alexa Skills Kit SDK work with Sling services?

1 Answers
Related