Hey Lance, If you really want to use jax-rs, have a look at the following: https://github.com/apache/aries-jax-rs-whiteboard <https://github.com/apache/aries-jax-rs-whiteboard>
Greets, Roy > On 27 Jan 2017, at 23:29, lancedolan <lance.do...@gmail.com> wrote: > > These APIs I'm looking to build are likely to use other OSGI services I've > written, and perhaps even write to the JCR for other reasons. Imagine doing > a GET /api/images/my-new-image.jpg and the image lives in Amazon S3, but you > want to write some audit data into the JCR. > > I'm still thinking through the overall solution, and have considered you're > suggestion, but I don't want to give up on building APIs inside of > OSGI/Sling unless I really need to. > > > > -- > View this message in context: > http://apache-sling.73963.n3.nabble.com/How-to-create-Rest-APIs-for-non-JCR-data-in-Sling-8-tp4069947p4069949.html > Sent from the Sling - Users mailing list archive at Nabble.com.
signature.asc
Description: Message signed with OpenPGP