felix

Checkout Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1554084 is being indexed.

FELIX-4357: Renamed testPropertiesDefinedWithValueAttribute() method to testPropertiesWithTypes() method.

FELIX-4357: Added test cases for the 4357 issue.

FELIX-4357: Support types beside String/String[] in @Property annotation.

FELIX-4357: Support types beside String/String[] in @Property annotation.

FELIX-4357: Inline json dependency inside the target bundle.

FELIX-4302 Config Admin can create illegal names on windows

Configuration PIDs are encoded to be used as path names for

configuration files. On Windows platforms each segment in the

path must not start with one of the Windows device special names

such as LPT, COM, etc. Improved the encodePid method to encode

the first character of a segment name if it starts with one of the

special names.

FELIX-4362 Call ManagedService[Factory] methods as privileged actions

The privileged actions are called with an AccessControlContext

created from the ProtectionDomain of the called service's class.

FELIX-4360 Add a test case ensuring value order of Collection properties
FELIX-2647 : Implement Coordinator Service - remove unused code
FELIX-2647 : Implement Coordinator Service - minor updated to orphaned coordination handling, remove unused command code
FELIX-2647 : Implement Coordinator Service - reimplement orphaned coordination handling - passing CT now
FELIX-2647 : Implement Coordinator Service - start permission checking
Make sure we close input stream after reading framework version. (FELIX-4365)

[FELIX-4363] The CommandSession get/set methods are not thread safe
FELIX-4361 Applied the patch, including the suggestion from Sander Mak. Modified the existing test case to correctly terminate instead of waiting 30 seconds. Added a simpler test case that shows the problem without relying on multiple threads.
Remove unused files
FELIX-2647 : Implement Coordinator Service - further fixes for the CT tests cases, 59 of 61 passing (implemented nested failure handling, wrong thread)
FELIX-4305:

- Added toString() method in Tuple inner class.

- Added "void invoke(Object[] callbackInstances, DependencyService dependencyService, ServiceReference reference, Object service, String name)"

method, which can now be used by the AspectServiceImpl class.

- Added "void invokeSwappedCallback(...)" method, which can now be used by the AspectServiceImpl class.

- Use ds.autoConfig() and ds.propagate() methods instead of ds.dependencyChanged() method.

- Don't propagate added/changed/removed service properties if the events are not for us (see handleAspectAwareXXX methods).

- The invokeAdded/invokeChanged/invokeRemoved/handleAspectAwareXXX methods are now returning a boolean in order to indicate

if the callbacks have really been invoked, or have been ignored.

FELIX-4305: implements new autoConfig/propagate methods from ComponentDeclaration interface.

FELIX-4305: All aspect dependency callbacks are proxied in order to propagate original service properties modification.

Added setServiceProperties used to update current aspect service properties.

FELIX-4305: Configure adapter service dependency with "setPropagate" in order to automaically reflect

adaptee service properties modifications.

FELIX-4305: Added getServices() method, which returns a snapshot of all currently instantiated services.

FELIX-4305: Fixed some javadocs. Added autoConfig(final Dependency dependency), propagate(final Dependency dependency) methods.

FELIX-4294: Reverted the getServiceProperties() method to the previous version
FELIX-2647 : Implement Coordinator Service - further fixes for the CT tests cases, 56 of 61 passing (implemented orphaned conditions)
FELIX-2647 : Implement Coordinator Service - further fixes for the CT tests cases, 55 of 61 passing
FELIX-4352: Added the wtf enhancement (thanks Jago !). I think that service properties should be taken into account by the getRoot method.

  1. /dependencymanager/shell/src/test/java/org/apache
  2. /dependencymanager/shell/src/test/java/org
FELIX-2647 : Implement Coordinator Service - further fixes for the CT tests cases, 53 of 61 passing
FELIX-4294: adapted tests to the new dependency manager shell, which is now only using Gogo.