Re: Interceptors not being called in JUnit-aware CDI environment

2014-02-06 Thread Romain Manni-Bucau
is you test class scanned by cdi? I mean did you provide a META-INF/beans.xml for tests? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-07 : > Hello Romain, > > thank

AW: Interceptors not being called in JUnit-aware CDI environment

2014-02-06 Thread it-media . kopp
Hello Romain, thank you for your fast response. Yes I want to intercept the test itself. I've checked into various ways on how to actually create a bean, however nothing worked out. You mention to call beanManager.getXXX() but for my point that is not enough information. I tried to retrieve th

Re: Interceptors not being called in JUnit-aware CDI environment

2014-02-06 Thread Romain Manni-Bucau
HI You want to intercept the test? so it means the runner needs to invoke "business" methods of the test class which is not the case by default (ie result shouldn't be built from a newInstance() but from a beanManager.getXXX()). Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wor

Interceptors not being called in JUnit-aware CDI environment

2014-02-06 Thread it-media . kopp
Hello, I've been trying to start the CDI container during Junit-Testing as described at the following page, http://struberg.wordpress.com/2012/03/27/unit-testing-strategies-for-cdi-based-projects/ though I'm using Junit 4 and implemented everything using a new Runner (to annotate tests with @R

Re: [DISCUSS] DeltaSpike Launch Module

2014-02-06 Thread Romain Manni-Bucau
Hi I see the use case but deltaspike needs so much work on existing code (jsf, security, transactional, data for the one I see) that I think we shouldnt add new things while we dont propose something working fine out of the box. Wdyt? Le 7 févr. 2014 02:31, "John D. Ament" a écrit : > Hi all >

[DISCUSS] DeltaSpike Launch Module

2014-02-06 Thread John D. Ament
Hi all I've been working a bit on a POC. The idea is to run a light weight Java SE application that does some basic bootstrapping and container services. The SE app would be configured with a basic socket listener using Netty and delegate requests to a REST provider. The idea behind it is that C

Re: JSF Security regression

2014-02-06 Thread Gerhard Petracek
i've attached a patch to DELTASPIKE-480. it would be great, if you can test it with your application. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2014-02-06 Gerhard

[jira] [Updated] (DELTASPIKE-480) view-config validation

2014-02-06 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-480: Attachment: DELTASPIKE-480.patch > view-config validation > ---

Re: JSF Security regression

2014-02-06 Thread Gerhard Petracek
hi, for now you can deactivate ViewConfigPathValidator (it implements Deactivatable). i'll have a look at it. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2014-02-06

[jira] [Closed] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-06 Thread Romain Manni-Bucau (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Manni-Bucau closed DELTASPIKE-518. - Resolution: Fixed Fix Version/s: 0.6 Assignee: Romain Manni-Bu

Re: JSF Security regression

2014-02-06 Thread Karl Kildén
I apologize for my last email, currently babysitting... On 6 February 2014 19:30, Karl Kildén wrote: > /*q > > > On 6 February 2014 18:08, Jean-Louis MONTEIRO wrote: > >> Hello guys, >> >> I'm currently facing a regression on Securty module. >> Just wanted to know if you are aware of? >> >> I

Re: JSF Security regression

2014-02-06 Thread Karl Kildén
/*q On 6 February 2014 18:08, Jean-Louis MONTEIRO wrote: > Hello guys, > > I'm currently facing a regression on Securty module. > Just wanted to know if you are aware of? > > I was using 0.5 with the following > @View(basePath = "/", extension = "xhtml", navigation = > View.NavigationMode.REDIR

JSF Security regression

2014-02-06 Thread Jean-Louis MONTEIRO
Hello guys, I'm currently facing a regression on Securty module. Just wanted to know if you are aware of? I was using 0.5 with the following @View(basePath = "/", extension = "xhtml", navigation = View.NavigationMode.REDIRECT) public interface Navigation extends ViewConfig { @View class I

[jira] [Commented] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-06 Thread Romain Manni-Bucau (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893458#comment-13893458 ] Romain Manni-Bucau commented on DELTASPIKE-518: --- Excepted the fact I'd s

[jira] [Updated] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-06 Thread Jean-Louis MONTEIRO (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Louis MONTEIRO updated DELTASPIKE-518: --- Attachment: DELTASPIKE-518.patch Here is a patch. > DS Data should supp

Re: [jira] [Commented] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-06 Thread Jean-Louis MONTEIRO
Hello guys, Just submitted a patch for that issue. There is also a test case now. Would be great if someone car have a look and lemme know. In my opinion, the unwrap method should be used in any case and we could simplify all the factory stuff and remove the 3 implementations I guess. Happy to

[jira] [Commented] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-06 Thread Romain Manni-Bucau (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893437#comment-13893437 ] Romain Manni-Bucau commented on DELTASPIKE-518: --- +1 sirona is doing it a

[jira] [Created] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-06 Thread Jean-Louis MONTEIRO (JIRA)
Jean-Louis MONTEIRO created DELTASPIKE-518: -- Summary: DS Data should support Wrapped JPA APIs Key: DELTASPIKE-518 URL: https://issues.apache.org/jira/browse/DELTASPIKE-518 Project: DeltaSpike

[jira] [Updated] (DELTASPIKE-517) improved weld-support

2014-02-06 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-517: Attachment: DELTASPIKE-517.patch > improved weld-support >

[jira] [Created] (DELTASPIKE-517) improved weld-support

2014-02-06 Thread Gerhard Petracek (JIRA)
Gerhard Petracek created DELTASPIKE-517: --- Summary: improved weld-support Key: DELTASPIKE-517 URL: https://issues.apache.org/jira/browse/DELTASPIKE-517 Project: DeltaSpike Issue Type: Im