Re: [ANN] Ring Jetty servlet adapter

2017-11-19 Thread Jiacai Liu
Glad I can help.
If you have any questions, open a issue
 on
github, I will look into it ASAP.

On Sun, Nov 19, 2017 at 11:55 PM, Michael Blume 
wrote:

> I was just about to start figuring out how to do this, for pretty much
> exactly the same reason (the Hystrix metrics stream). Thanks for this, I'm
> looking forward to trying it out.
>
> On Thu, Nov 16, 2017 at 5:23 AM Jiacai Liu  wrote:
>
>> Fork of official jetty adapter
>>  
>> enhanced
>> with servlet-mapping support.
>>
>>
>> Why
>> another adapter
>>
>> Some Java libraries, such as hystrix-metrics-event-stream
>> ,
>> come with util servlets for exposing statistic infomation. But in a purely
>> Ring-based app we can't use those directly, you must convert the servlet
>> into a Ring handler function for use. This is cumbersome, and servlet
>> support should be supported out of box.
>>
>>
>> The codebase stays in step with the official, with version number
>> unchanged. So you can replace the official adapter with this in the least
>> amount of effort.
>>
>>
>>
>> https://github.com/jiacai2050/ring-jetty-servlet-adapter
>>
>>
>>
>> Let me know if you have any suggestions :-)
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Ring Jetty servlet adapter

2017-11-19 Thread Michael Blume
I was just about to start figuring out how to do this, for pretty much
exactly the same reason (the Hystrix metrics stream). Thanks for this, I'm
looking forward to trying it out.

On Thu, Nov 16, 2017 at 5:23 AM Jiacai Liu  wrote:

> Fork of official jetty adapter
>  enhanced
> with servlet-mapping support.
>
>
> Why
> another adapter
>
> Some Java libraries, such as hystrix-metrics-event-stream
> ,
> come with util servlets for exposing statistic infomation. But in a purely
> Ring-based app we can't use those directly, you must convert the servlet
> into a Ring handler function for use. This is cumbersome, and servlet
> support should be supported out of box.
>
>
> The codebase stays in step with the official, with version number
> unchanged. So you can replace the official adapter with this in the least
> amount of effort.
>
>
>
> https://github.com/jiacai2050/ring-jetty-servlet-adapter
>
>
>
> Let me know if you have any suggestions :-)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Ring Jetty servlet adapter

2017-11-16 Thread Jiacai Liu


Fork of official jetty adapter 
 enhanced 
with servlet-mapping support.

Why
 
another adapter

Some Java libraries, such as hystrix-metrics-event-stream 
,
 
come with util servlets for exposing statistic infomation. But in a purely 
Ring-based app we can't use those directly, you must convert the servlet 
into a Ring handler function for use. This is cumbersome, and servlet 
support should be supported out of box.


The codebase stays in step with the official, with version number 
unchanged. So you can replace the official adapter with this in the least 
amount of effort.



https://github.com/jiacai2050/ring-jetty-servlet-adapter



Let me know if you have any suggestions :-)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.