Re: Donating Microscoped code

2016-03-26 Thread John D. Ament
domain scoped is a bit of a hidden header scoped feature, where header name == Host. (that may be a tomcat specific thing, but seems to be pretty consistent in the servlet spec for the implementation of getServerName). The one big usecase I see with domain scoped is being able to scope beans

Re: Donating Microscoped code

2016-03-26 Thread Thomas Andraschko
MethodScoped looks cool! Is there a real world usecase for DomainScoped and HeaderScoped? 2016-03-26 16:50 GMT+01:00 Daniel Cunha : > Cool! +1 > > On Sat, Mar 26, 2016 at 12:19 PM, John D. Ament > wrote: > > > I have a backport of microscoped for

Re: Donating Microscoped code

2016-03-26 Thread Daniel Cunha
Cool! +1 On Sat, Mar 26, 2016 at 12:19 PM, John D. Ament wrote: > I have a backport of microscoped for Java 6 locally, I'm currently expanded > the tests to be able to target other containers (to make sure there's no > compatibility issues). > > I created a ticket in our

Re: Donating Microscoped code

2016-03-26 Thread John D. Ament
I have a backport of microscoped for Java 6 locally, I'm currently expanded the tests to be able to target other containers (to make sure there's no compatibility issues). I created a ticket in our JIRA as well - https://issues.apache.org/jira/browse/DELTASPIKE-1104 John On Fri, Mar 25, 2016 at

Re: Donating Microscoped code

2016-03-25 Thread John D. Ament
Actually, the map functions aren't the problem. Those were easy to cut over. The problem is the new ThreadLocal behavior in Java 8 that just doesn't have an equivalent in older JDKs. I think I'm almost done, will raise a PR to prep it for inclusion. I do not envy the road warriors, mind you.

Re: Donating Microscoped code

2016-03-24 Thread David Blevins
The code is significantly harder without the Java 8 computeIfAbsent on hashmap. In terms of time, I wish I had more to give. I was on the road 49 out of 52 weeks last year and this year is no different. I've pretty much sacrificed every bit of time and work-life balance possible in hopes to

Re: Donating Microscoped code

2016-03-24 Thread John D. Ament
I don't mind looking at it a bit further. You're the only contributor and you're a long standing ASF guy. Of course one big issue is that you're using a modern, supported JVM version. We're still on the archaic 1.6 JDK. One thing to point out, your license is already assigning ownership to the

Donating Microscoped code

2016-03-24 Thread David Blevins
John had asked on twitter if this code could be donated. Absolutely. https://tomitribe.io/projects/microscoped I feel bad writing a “come and get it” email. 90% of the code was written between 12am and 5am the night before the related JavaOne talk.