[jira] [Assigned] (FELIX-4522) PojoSRBundleContext should read org.osgi.framework.storage property from Bundle config

2015-05-18 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-4522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet reassigned FELIX-4522:
--

Assignee: Guillaume Nodet  (was: Chetan Mehrotra)

 PojoSRBundleContext should read org.osgi.framework.storage property from 
 Bundle config
 --

 Key: FELIX-4522
 URL: https://issues.apache.org/jira/browse/FELIX-4522
 Project: Felix
  Issue Type: Improvement
  Components: Connect
Reporter: Chetan Mehrotra
Assignee: Guillaume Nodet
Priority: Minor
 Fix For: connect-0.1.0

 Attachments: FELIX-4522.patch


 {{PojoSRBundleContext}} currently read the value of 
 {{org.osgi.framework.storage}} from system property. It would better (from 
 isolation perspective) to read the value from the config map which is passed 
 initially to {{PojoServiceRegistryFactory}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (FELIX-4522) PojoSRBundleContext should read org.osgi.framework.storage property from Bundle config

2015-05-18 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-4522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved FELIX-4522.

Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M   
connect/src/main/java/org/apache/felix/connect/PojoSRBundleContext.java
Committed r1680009


 PojoSRBundleContext should read org.osgi.framework.storage property from 
 Bundle config
 --

 Key: FELIX-4522
 URL: https://issues.apache.org/jira/browse/FELIX-4522
 Project: Felix
  Issue Type: Improvement
  Components: Connect
Reporter: Chetan Mehrotra
Assignee: Guillaume Nodet
Priority: Minor
 Fix For: connect-0.1.0

 Attachments: FELIX-4522.patch


 {{PojoSRBundleContext}} currently read the value of 
 {{org.osgi.framework.storage}} from system property. It would better (from 
 isolation perspective) to read the value from the config map which is passed 
 initially to {{PojoServiceRegistryFactory}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Apache Felix Connect release

2015-05-18 Thread Guillaume Nodet
The Karaf team is is need for a release for a few tests, so I'll go ahead
and do it today.

2015-05-18 13:56 GMT+02:00 Karl Pauls karlpa...@gmail.com:

 Hi Chetan,

 I don't think we ended-up doing a release but probably should have. It
 looks like there is some renewed interested in PojoSR/connect so we
 probably should do a release now and then maybe look into updating to the
 latest OSGi APIs as well as maybe syncing with the latest service registry
 (as soon as development has stabilized in that area).

 Would you (or maybe somebody else) be interested in doing the release
 (Otherwise, I might try to get one done but i can't promise when)?

 regards,

 Karl

 p.s.: If you haven't done so, maybe you'd also like to apply your
 FELIX-4522
 https://issues.apache.org/jira/browse/FELIX-4522 patch.

 On Tue, May 12, 2015 at 5:36 PM, Chetan Mehrotra 
 chetan.mehro...@gmail.com
 wrote:

  Hi,
 
  Are there any plans to cut a release of Apache Felix Connect module?
  Anything in works or pending.
 
  In not then it would be good if we can have a first release done for
  this module!
 
  Chetan Mehrotra
  [1] https://github.com/apache/felix/blob/trunk/connect/
 



 --
 Karl Pauls
 karlpa...@gmail.com



Re: [VOTE] Release Apache Felix Connect 0.1.0

2015-05-18 Thread Chetan Mehrotra
All checks passed
+1 (non binding)

Chetan Mehrotra


[VOTE] Release Apache Felix Connect 0.1.0

2015-05-18 Thread Guillaume Nodet
I've cut a release of Felix Connect 0.1.0

http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.connect-0.1.0/

Staging repository:
  https://repository.apache.org/content/repositories/orgapachefelix-1068

You can use this UNIX script to download the release and verify the
signatures:
http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh

Usage:
sh check_staged_release.sh 1068 /tmp/felix-staging

Please vote to approve this release:

[ ] +1 Approve the release
[ ] -1 Veto the release (please provide specific comments)

Cheers,
Guillaume Nodet


Re: Apache Felix Connect release

2015-05-18 Thread Chetan Mehrotra
Thanks Guillaume and Karl for looking into this!. Makes sense to do a
release now and then later do the enhancements
Chetan Mehrotra


On Mon, May 18, 2015 at 6:07 PM, Guillaume Nodet gno...@apache.org wrote:
 The Karaf team is is need for a release for a few tests, so I'll go ahead
 and do it today.

 2015-05-18 13:56 GMT+02:00 Karl Pauls karlpa...@gmail.com:

 Hi Chetan,

 I don't think we ended-up doing a release but probably should have. It
 looks like there is some renewed interested in PojoSR/connect so we
 probably should do a release now and then maybe look into updating to the
 latest OSGi APIs as well as maybe syncing with the latest service registry
 (as soon as development has stabilized in that area).

 Would you (or maybe somebody else) be interested in doing the release
 (Otherwise, I might try to get one done but i can't promise when)?

 regards,

 Karl

 p.s.: If you haven't done so, maybe you'd also like to apply your
 FELIX-4522
 https://issues.apache.org/jira/browse/FELIX-4522 patch.

 On Tue, May 12, 2015 at 5:36 PM, Chetan Mehrotra 
 chetan.mehro...@gmail.com
 wrote:

  Hi,
 
  Are there any plans to cut a release of Apache Felix Connect module?
  Anything in works or pending.
 
  In not then it would be good if we can have a first release done for
  this module!
 
  Chetan Mehrotra
  [1] https://github.com/apache/felix/blob/trunk/connect/
 



 --
 Karl Pauls
 karlpa...@gmail.com



Re: Apache Felix Connect release

2015-05-18 Thread Karl Pauls
@Guillaume, great - thanks for looking into it.

@Chetan are you going to apply your patch for  FELIX-4522
https://issues.apache.org/jira/browse/FELIX-4522?

regards,

Karl

On Mon, May 18, 2015 at 2:45 PM, Chetan Mehrotra chetan.mehro...@gmail.com
wrote:

 Thanks Guillaume and Karl for looking into this!. Makes sense to do a
 release now and then later do the enhancements
 Chetan Mehrotra


 On Mon, May 18, 2015 at 6:07 PM, Guillaume Nodet gno...@apache.org
 wrote:
  The Karaf team is is need for a release for a few tests, so I'll go ahead
  and do it today.
 
  2015-05-18 13:56 GMT+02:00 Karl Pauls karlpa...@gmail.com:
 
  Hi Chetan,
 
  I don't think we ended-up doing a release but probably should have. It
  looks like there is some renewed interested in PojoSR/connect so we
  probably should do a release now and then maybe look into updating to
 the
  latest OSGi APIs as well as maybe syncing with the latest service
 registry
  (as soon as development has stabilized in that area).
 
  Would you (or maybe somebody else) be interested in doing the release
  (Otherwise, I might try to get one done but i can't promise when)?
 
  regards,
 
  Karl
 
  p.s.: If you haven't done so, maybe you'd also like to apply your
  FELIX-4522
  https://issues.apache.org/jira/browse/FELIX-4522 patch.
 
  On Tue, May 12, 2015 at 5:36 PM, Chetan Mehrotra 
  chetan.mehro...@gmail.com
  wrote:
 
   Hi,
  
   Are there any plans to cut a release of Apache Felix Connect module?
   Anything in works or pending.
  
   In not then it would be good if we can have a first release done for
   this module!
  
   Chetan Mehrotra
   [1] https://github.com/apache/felix/blob/trunk/connect/
  
 
 
 
  --
  Karl Pauls
  karlpa...@gmail.com
 




-- 
Karl Pauls
karlpa...@gmail.com
http://twitter.com/karlpauls
http://www.linkedin.com/in/karlpauls
https://profiles.google.com/karlpauls


[jira] [Updated] (FELIX-4866) Improve service registry

2015-05-18 Thread Pierre De Rop (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre De Rop updated FELIX-4866:
-
Attachment: ConcurrencyTest.tgz

I have attached to this issue a framework testcase which can be added in the 
existing fwk junit tests. (see ConcurrencyTest.tgz, which contains 
src/test/java/org/apache/felix/framework/ConcurrencyTest.java).

When including this test in the fwk junit tests, mvn clean install fails with 
the following messages:

{code}
---
 T E S T S
---
Running org.apache.felix.framework.StartBundleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.32 sec
Running org.apache.felix.framework.BundleWiringImplTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
Running org.apache.felix.framework.ConcurrencyTest
Starting load test.
Starting Concurrency test ...
.
Test failed
junit.framework.AssertionFailedError: Found unsatisfied components 
expected:10 but was:9
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:277)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:130)
at 
org.apache.felix.framework.ConcurrencyTest$Loader.createComponentsConcurrently(ConcurrencyTest.java:327)
at 
org.apache.felix.framework.ConcurrencyTest$Loader.run(ConcurrencyTest.java:268)
at java.lang.Thread.run(Thread.java:745)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 61.056 sec  
FAILURE!
{code}


 Improve service registry
 

 Key: FELIX-4866
 URL: https://issues.apache.org/jira/browse/FELIX-4866
 Project: Felix
  Issue Type: Improvement
  Components: Framework
Affects Versions: framework-5.0.0
Reporter: Carsten Ziegeler
Assignee: David Bosschaert
 Fix For: framework-5.2.0

 Attachments: ConcurrencyTest.tgz


 The current service registry is currently not using any of the Java 5 
 concurrent data structures. Using those could improve the implementation, the 
 readibility of the code and potentially the performance of the service 
 registry.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (FELIX-4866) Improve service registry

2015-05-18 Thread Pierre De Rop (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre De Rop reopened FELIX-4866:
--

Hi David, 

I'm sorry but I'm reopening this issue and I just attached a framework test 
case (ConcurrencyTest.tgz) which I think is reproducing the issue.




 Improve service registry
 

 Key: FELIX-4866
 URL: https://issues.apache.org/jira/browse/FELIX-4866
 Project: Felix
  Issue Type: Improvement
  Components: Framework
Affects Versions: framework-5.0.0
Reporter: Carsten Ziegeler
Assignee: David Bosschaert
 Fix For: framework-5.2.0

 Attachments: ConcurrencyTest.tgz


 The current service registry is currently not using any of the Java 5 
 concurrent data structures. Using those could improve the implementation, the 
 readibility of the code and potentially the performance of the service 
 registry.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: [VOTE] Release Apache Felix Connect 0.1.0

2015-05-18 Thread Jean-Baptiste Onofré

+1 (non binding)

Regards
JB

On 05/18/2015 02:49 PM, Guillaume Nodet wrote:

I've cut a release of Felix Connect 0.1.0

http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.connect-0.1.0/

Staging repository:
   https://repository.apache.org/content/repositories/orgapachefelix-1068

You can use this UNIX script to download the release and verify the
signatures:
http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh

Usage:
sh check_staged_release.sh 1068 /tmp/felix-staging

Please vote to approve this release:

[ ] +1 Approve the release
[ ] -1 Veto the release (please provide specific comments)

Cheers,
Guillaume Nodet



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


[jira] [Commented] (FELIX-4873) Enhance DM API to get missing and circular dependencies

2015-05-18 Thread Pierre De Rop (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-4873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14547719#comment-14547719
 ] 

Pierre De Rop commented on FELIX-4873:
--

Thank you Raluca;

I saw that you have also created another issue (FELIX-4889) in order to reuse 
the new diagnostic api from the shell commands, so I will wait for your other 
patch before committing.

by the way, In the org.apache.felix.dm.itest.api.DiagnosticsTest.java, I saw 
your TODO:

{code}
// TODO: check why org.apache.felix.dm.itest.bundle is needed
{code}.

This component is actually needed and used by the FELIX2955_ShellCommandTest 
integration test.



 Enhance DM API to get missing and circular dependencies
 ---

 Key: FELIX-4873
 URL: https://issues.apache.org/jira/browse/FELIX-4873
 Project: Felix
  Issue Type: Improvement
  Components: Dependency Manager
Reporter: Raluca Grigoras
 Attachments: FELIX-4873.patch


 Enhance the DependencyManager API with methods to get:
 - all missing dependencies of a given type / all missing dependencies
 - circular dependencies



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FELIX-4889) Refactor dm shell command to use the org.apache.dm.diagnostics api

2015-05-18 Thread Raluca Grigoras (JIRA)
Raluca Grigoras created FELIX-4889:
--

 Summary: Refactor dm shell command to use the 
org.apache.dm.diagnostics api
 Key: FELIX-4889
 URL: https://issues.apache.org/jira/browse/FELIX-4889
 Project: Felix
  Issue Type: Improvement
  Components: Dependency Manager Shell
Reporter: Raluca Grigoras
Priority: Minor


Refactor the dm shell commands (dm, dm notavail, dm wtf) to make use of the dm 
diagnostics api added by https://issues.apache.org/jira/browse/FELIX-4873.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FELIX-4873) Enhance DM API to get missing and circular dependencies

2015-05-18 Thread Raluca Grigoras (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-4873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raluca Grigoras updated FELIX-4873:
---
Attachment: FELIX-4873.patch

Patch created by git format-patch, relative to the dependencymanager folder 
from the github mirror of the felix repository.

 Enhance DM API to get missing and circular dependencies
 ---

 Key: FELIX-4873
 URL: https://issues.apache.org/jira/browse/FELIX-4873
 Project: Felix
  Issue Type: Improvement
  Components: Dependency Manager
Reporter: Raluca Grigoras
 Attachments: FELIX-4873.patch


 Enhance the DependencyManager API with methods to get:
 - all missing dependencies of a given type / all missing dependencies
 - circular dependencies



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FELIX-4890) Implement a MetaType service inventory printer

2015-05-18 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-4890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger updated FELIX-4890:
-
Fix Version/s: webconsole-metatype-plugin-1.0.0

 Implement a MetaType service inventory printer
 --

 Key: FELIX-4890
 URL: https://issues.apache.org/jira/browse/FELIX-4890
 Project: Felix
  Issue Type: Task
  Components: Web Console
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: webconsole-metatype-plugin-1.0.0


 For completeness of information of the status output of a framework 
 supporting inventory printing, it would be good to have an InventoryPrinter 
 for MetaType service information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FELIX-4890) Implement a MetaType service inventory printer

2015-05-18 Thread Felix Meschberger (JIRA)
Felix Meschberger created FELIX-4890:


 Summary: Implement a MetaType service inventory printer
 Key: FELIX-4890
 URL: https://issues.apache.org/jira/browse/FELIX-4890
 Project: Felix
  Issue Type: Task
  Components: Web Console
Reporter: Felix Meschberger
Assignee: Felix Meschberger


For completeness of information of the status output of a framework supporting 
inventory printing, it would be good to have an InventoryPrinter for MetaType 
service information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FELIX-4890) Implement a MetaType service inventory printer

2015-05-18 Thread Felix Meschberger (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-4890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14547767#comment-14547767
 ] 

Felix Meschberger commented on FELIX-4890:
--

Added first version in commit 1679974 to 
http://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/metatype

 Implement a MetaType service inventory printer
 --

 Key: FELIX-4890
 URL: https://issues.apache.org/jira/browse/FELIX-4890
 Project: Felix
  Issue Type: Task
  Components: Web Console
Reporter: Felix Meschberger
Assignee: Felix Meschberger

 For completeness of information of the status output of a framework 
 supporting inventory printing, it would be good to have an InventoryPrinter 
 for MetaType service information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)