Re: [Converter] How to workaround this ConversionException for an optional value ?

2018-12-20 Thread Cristiano
Hi David, Would you please move the felix-parent pom to version 6 ? With the current version 4 is not possible to build it with java 9 or 11. [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-pl

[jira] [Updated] (FELIX-6005) Introduce result status TEMP_UNAVAILABLE for health checks

2018-12-20 Thread Georg Henzler (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Georg Henzler updated FELIX-6005: - Description: Currently, health checks support the following result status values: {code:java} OK

[jira] [Commented] (FELIX-6005) Introduce result status TEMP_UNAVAILABLE for health checks

2018-12-20 Thread Georg Henzler (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726246#comment-16726246 ] Georg Henzler commented on FELIX-6005: -- Fair enough, I suppose we are not in the 80i

[jira] [Commented] (FELIX-6005) Introduce result status TEMP_UNAVAILABLE for health checks

2018-12-20 Thread JIRA
[ https://issues.apache.org/jira/browse/FELIX-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726189#comment-16726189 ] Jörg Hoh commented on FELIX-6005: - I would name it {{TEMPORARILY_UNAVAILABLE}} :-) And r

Re: [Converter] How to workaround this ConversionException for an optional value ?

2018-12-20 Thread Cristiano
Hi David, great ! Ok, I'll validate it this evening. best regards, Cristiano On 20/12/2018 13:41, David Bosschaert wrote: Hi Cristiano, I fixed FELIX-6006. It would be great if you could validate it. Best regards, David On Thu, 20 Dec 2018 at 13:56, David Bosschaert wrote: I have creat

Re: [VOTE] Apache Felix Dependency Manager Release R15

2018-12-20 Thread Raymond Auge
+1 - Ray On Thu, Dec 20, 2018 at 8:28 AM Leygues, Francois (Nokia - FR/Paris-Saclay) wrote: > +1 > Regards > > Pierre De Rop wrote: > > Hello everyone; > > > > I would like to call for a vote on the Dependency Manager top level > release > > R15. > > > > release notes: > > > > ** Task > >

[jira] [Resolved] (FELIX-6006) errorHandler not consulted for conversions implemented via proxies

2018-12-20 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert resolved FELIX-6006. - Resolution: Fixed Resolved with: http://svn.apache.org/viewvc?view=revision&revision=1849

Re: [Converter] How to workaround this ConversionException for an optional value ?

2018-12-20 Thread David Bosschaert
Hi Cristiano, I fixed FELIX-6006. It would be great if you could validate it. Best regards, David On Thu, 20 Dec 2018 at 13:56, David Bosschaert wrote: > I have created https://issues.apache.org/jira/browse/FELIX-6006 for it. > > Best regards, > > David > > On Thu, 20 Dec 2018 at 13:10, David

[jira] [Updated] (FELIX-6006) errorHandler not consulted for conversions implemented via proxies

2018-12-20 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated FELIX-6006: Fix Version/s: converter-1.0.4 > errorHandler not consulted for conversions implemented via

[jira] [Work started] (FELIX-6006) errorHandler not consulted for conversions implemented via proxies

2018-12-20 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on FELIX-6006 started by David Bosschaert. --- > errorHandler not consulted for conversions implemented via proxies > ---

[jira] [Updated] (FELIX-6006) errorHandler not consulted for conversions implemented via proxies

2018-12-20 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated FELIX-6006: Issue Type: Bug (was: Task) > errorHandler not consulted for conversions implemented via p

[jira] [Created] (FELIX-6006) errorHandler not consulted for conversions implemented via proxies

2018-12-20 Thread David Bosschaert (JIRA)
David Bosschaert created FELIX-6006: --- Summary: errorHandler not consulted for conversions implemented via proxies Key: FELIX-6006 URL: https://issues.apache.org/jira/browse/FELIX-6006 Project: Felix

Re: [Converter] How to workaround this ConversionException for an optional value ?

2018-12-20 Thread David Bosschaert
I have created https://issues.apache.org/jira/browse/FELIX-6006 for it. Best regards, David On Thu, 20 Dec 2018 at 13:10, David Bosschaert wrote: > Hi Cristiano, > > Yes, you have identified a bug - please open an issue for it. I'll work on > a fix. > > Best regards, > > David > > On Thu, 20 D

Re: [VOTE] Apache Felix Dependency Manager Release R15

2018-12-20 Thread Leygues, Francois (Nokia - FR/Paris-Saclay)
+1 Regards Pierre De Rop wrote: > Hello everyone; > > I would like to call for a vote on the Dependency Manager top level release > R15. > > release notes: > > ** Task > * [FELIX-5996] - Remove generic parameter in DM Component interface > > You can use this UNIX script to download the releas

Re: [Converter] How to workaround this ConversionException for an optional value ?

2018-12-20 Thread David Bosschaert
Hi Cristiano, Yes, you have identified a bug - please open an issue for it. I'll work on a fix. Best regards, David On Thu, 20 Dec 2018 at 12:55, Cristiano wrote: > Hi David, many thanks for the insight. It is a very interesting > approach, ideed. > > I just tried with errorHandler() now. I'v

Re: [Converter] How to workaround this ConversionException for an optional value ?

2018-12-20 Thread Cristiano
Hi David, many thanks for the insight. It is a very interesting approach, ideed. I just tried with errorHandler() now. I've took the tests from Felix Converter and use my own converter instance and it worked for DTO, javabeans and other common cases. But unfortunately, the current implementa

Re: [Converter] How to workaround this ConversionException for an optional value ?

2018-12-20 Thread Cristiano
Hello again, I found where my problem is... In Converter's specification converting from Map to target DTO or JavaBeans there is no need to the source to provide all the keys. the converter just ignore missing keys. But unfortunately, the same was not allowed with Interfaces.  I can't think o

Re: [Converter] How to workaround this ConversionException for an optional value ?

2018-12-20 Thread David Bosschaert
Hi Cristiano, You should be able to do this with a custom errorHandler() [1]. For that you'd create a custom converter and supply it with an errorHandler function. See also [2] and [3]. Hope this helps, David [1] https://osgi.org/javadoc/osgi.cmpn/7.0.0/org/osgi/util/converter/ConverterBuilder.

Re: [VOTE] Apache Felix Dependency Manager Release R15

2018-12-20 Thread David Bosschaert
+1 David On Wed, 19 Dec 2018 at 23:38, Pierre De Rop wrote: > Hello everyone; > > I would like to call for a vote on the Dependency Manager top level release > R15. > > release notes: > > ** Task > * [FELIX-5996] - Remove generic parameter in DM Component interface > > You can use this UNIX

Re: [VOTE] Apache Felix Dependency Manager Release R15

2018-12-20 Thread Christian Schneider
+1 ( non binding) Christian Am Do., 20. Dez. 2018 um 00:38 Uhr schrieb Pierre De Rop < pierre.de...@gmail.com>: > Hello everyone; > > I would like to call for a vote on the Dependency Manager top level release > R15. > > release notes: > > ** Task > * [FELIX-5996] - Remove generic parameter