Skip to content
Commits on Feb 9, 2016
  1. [ARIES-1445] Bundles that are not direct dependencies of a subsystem …

    John Ross committed
    …can be removed while still in use
    
    The resolve context will now return an empty map for getWirings(). This means that when computing dependencies, a "total" resolution will occur ensuring that all involved resources are
    part of the resolution map. The wirings continue to be computed as before and used for purposes internal to the resolve context.
    
    In pseudocode, the findProviders algorithm is:
    
    If the requirement resource is already resolved, and the requirement is effective:=resolve, then:
         If the requirement resource is a fragment, and the requirement is payload, then:
              Get the requirement's resource.
              Get the resource's wiring.
              Get the required wires from the wiring for the osgi.wiring.host namespace.
              Process the provider of each wire as a bundle.
    
         Otherwise, process as a bundle.
              Get the requirement's namespace.
              Get the requirement's resource.
              Get the resource's wiring.
              Get the required wires from the wiring for the namespace.
              Return all matching capabilities.
    
         If no capabilities are found,
                   and the namespace is osgi.wiring.package,
                   and the requirement is mandatory,
                   assume the requirer is the same as the provider (i.e. substitutable export):
              Get the requirement's namespace.
              Get the requirement's resource.
              Get the resource's wiring.
              Get the resource capabilities from the wiring for the namespace.
              Return all matching capabilities.
    
    Otherwise, process the requirement as before.
    
    The effective:=active requirements are processed as before because it doesn't matter which capability is returned to the resolver since the framework ignores these requirements and no
    runtime wires exist.
    
    The implementation includes support for handling fragments, but it would be nice at some point to have some dedicated tests.
    
    (1) Ensure a payload requirement of an already resolved fragment is handled properly. The resolve context should return the matching wired capability from the required wires of each
    host to which the fragment is attached.
    
    (2) Ensure a non-payload requirement of an already resolved fragment is handled properly. The resolve context should return the matching wired capability from the required wires of the
    fragment.
    
    As a more general test, ensure that a multiple cardinality requirement of an already resolved resource is handled properly. The resolve context should return all matching wired
    capabilities.
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1729443 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 8, 2016
  1. @cschneider

    Fixes for repo

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1729148 13f79535-47bb-0310-9956-ffa450edef68
  2. @cschneider

    Update depends plugin to use incremental build

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1729147 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 4, 2016
  1. [ARIES-1383] Provide option to disable the provisioning of dependenci…

    John Ross committed
    …es at install time.
    
    Use the correct state when flagging an uninstall for re-entry protection.
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1728542 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 2, 2016
  1. [ARIES-1492] Exception creating a subclass proxy of class with packag…

    Sam Bratton committed
    …e-private access modifer.
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1728108 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 1, 2016
  1. [ARIES-1383] Provide option to disable the provisioning of dependenci…

    John Ross committed
    …es at install time.
    
    Fix CT failures. All three were related to not honoring the specified start order of content resources. The implemented start order rules are as follows.
    
    (1) Dependencies are started first (-1).
    (2) Followed by content with no specified start order (0).
    (3) Followed by content whose start order was specified (>= 1).
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1727999 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 29, 2016
  1. [ARIES-1486] can't create proxy on java 8 vm for interfaces containin…

    Sam Bratton committed
    …g lambda
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1727484 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 28, 2016
  1. [ARIES-1383] Provide option to disable the provisioning of dependenci…

    John Ross committed
    …es at install time.
    
    As part of the implemented locking strategy, three locks are used. The Global Read/Write Lock (GRWL) is used to ensure thread safety among all operations: install, install
    dependencies, resolve, start, stop, and uninstall. The write lock is acquired for install, install dependencies, and uninstall. The read lock is acquired for resolve, start, and stop.
    The Global Mutual Exlusion Lock (GMEL) is used to prevent cycle deadlocks when acquiring the state change locks of individual subsystems. Every subsystem has a Local State Change Lock
    (LSCL). These locks are used to prevent more than one state change operation at a time to occur for the same subsystem.
    
    A condition exists for the GMEL. The condition is used in order to notify waiting threads that the LSCL of at least one subsystem was released and that at least one thread may now be
    able to proceed. Threads that fail to acquire the LSCL of a subsystem while holding the GMEL will release all currently held locks and wait for the condition to apply. This is
    necessary because, when starting, the target subsystem must be locked before any other affected subsystems since the latter may only be computed after dependencies, which may include
    other subsystems, are installed.
    
    The consequences of this strategy is that installs and uninstalls are synchronous while resolutions, starts, and stops are asynchronous as long as the same subsystem is not affected.
    It may be possible to create an even more granular locking mechanism in the future if dictated by performance requirements.
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1727424 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 21, 2016
  1. @cschneider

    [ARIES-1489] Add jdbc spec

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1725946 13f79535-47bb-0310-9956-ffa450edef68
  2. @cschneider

    [ARIES-1489] Use provided scope for OSGi specs

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1725945 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 20, 2016
  1. @cschneider

    Switch version

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1725707 13f79535-47bb-0310-9956-ffa450edef68
  2. @cschneider

    Update async to parent 2.0.1

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1725682 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 19, 2016
  1. @cschneider

    [ARIES-1489] Add repository for Aries JPA

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1725546 13f79535-47bb-0310-9956-ffa450edef68
  2. [async] Generate indexes for Aries Async, and tidy up dependencies so…

    asf-sync-process committed
    … that the indexes are clean
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1725467 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 18, 2016
  1. @cschneider

    Add OBR repository

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1725305 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 15, 2016
  1. @cschneider
Commits on Jan 13, 2016
  1. @cschneider

    [ARIES-1481] Refactor to an Introspector class

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1724454 13f79535-47bb-0310-9956-ffa450edef68
  2. @cschneider

    [ARIES-1481] Reformat

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1724453 13f79535-47bb-0310-9956-ffa450edef68
  3. @cschneider

    [ARIES-1481] Fix inheritance of @OsgiService and @PersistenceContext/…

    cschneider committed
    …Unit fields
    
    
    @Inject fields are inherited from parent classes, but @OsgiService and
    @PersistenceContext/Unit annotations on fields declared in parent classes
    are ignored. This commit extracts the field-getting algorithm used for finding
    @Inject fields to a utility method which is used for finding fields for the other
    annotations.
    It also detects clashing field names that would cause blueprint to throw an
    exception, instead throwing an exception at blueprint xml generation.
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1724452 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 12, 2016
  1. [ARIES-1485] java.lang.UnsupportedOperationException when a hosted ca…

    John Ross committed
    …pability is being inserted by the resolver.
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1724284 13f79535-47bb-0310-9956-ffa450edef68
  2. @cschneider

    Dummy commit. This closes #16

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1724283 13f79535-47bb-0310-9956-ffa450edef68
  3. @cschneider

    [ARIES-1476] Support 0 or multiple OsgiServiceProvider#classes.

    cschneider committed
    - 0 classes adds auto-export="interfaces" to the service element
    - multiple classes adds the interfaces (e.g. A and B) to the interfaces
      element:
    <service ref="ref">
        <interfaces>
            <value>A</value>
            <value>B</value>
        </interfaces>
    <service/>
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1724231 13f79535-47bb-0310-9956-ffa450edef68
  4. @cschneider
  5. [ARIES-1474] Fix init/destroy method inheritence.

    asf-sync-process committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1724229 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 11, 2016
  1. @cschneider
Commits on Jan 5, 2016
  1. @gnodet
  2. @gnodet

    Fix possible NPE

    gnodet committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1723025 13f79535-47bb-0310-9956-ffa450edef68
  3. @gnodet

    [ARIES-1480] Leverage ARIES-1482

    gnodet committed
    Support for osgi compendium namespace
    Improve osgi namespace support
    Add spring extender integration test
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1723023 13f79535-47bb-0310-9956-ffa450edef68
  4. @gnodet

    [ARIES-1482] Support programmatic creation of blueprint container wit…

    gnodet committed
    …h specific additional namespaces
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1723022 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 17, 2015
  1. @cschneider

    Dummy commit closes #3

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1720512 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 15, 2015
  1. [ARIES-1383] Provide option to disable the provisioning of dependenci…

    John Ross committed
    …es at install time.
    
    Composites in the INSTALLING state and having apache-aries-provision-dependencies:=resolve must have their export sharing policies set in order for any offered capabilities
    to be considered valid as part of computing the dependencies of another subsystem having the same state and directive value. Currently, a brute force method is used whereby
    all composites fitting the above criteria will have their export policies temporarily enabled. Any that did not end up offering a capability used to resolve the other
    subsystem will have their policies rolled back.
    
    Plus test.
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1720175 13f79535-47bb-0310-9956-ffa450edef68
  2. Providing custom capabilities with a namespace but no filter is allow…

    John Ross committed
    …ed in the export sharing policy.
    
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1720174 13f79535-47bb-0310-9956-ffa450edef68
  3. Correct misspelling.

    John Ross committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1720173 13f79535-47bb-0310-9956-ffa450edef68
  4. @cschneider

    Fix wrong parser version

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1720136 13f79535-47bb-0310-9956-ffa450edef68
  5. @cschneider

    Update to new versions

    cschneider committed
    git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1720130 13f79535-47bb-0310-9956-ffa450edef68
Something went wrong with that request. Please try again.