aries

Checkout Tools
  • last updated 4 months ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[maven-release-plugin] prepare release org.apache.aries.blueprint.core-1.6.2
[ARIES-1540] Blueprint NamespaceHandler can't resolve XSD in offline mode
[tx-control] Make the OSGi API version 1.0, but add a mandatory attribute to indicate its instability
    • -1
    • +1
    /tx-control/tx-control-service-xa/pom.xml
[ARIES-1538] Never fail a subsystem resolution because an already resolved resource has a missing dependency.

When processing substitutable exports, the resource capabilities of host bundles must be inspected when the requirement resource is a fragment.

[ARIES-1538] Never fail a subsystem resolution because an already resolved resource has a missing dependency.

Add additional tests for the following scenarios.

(1) A fragment with a substitutable export.

(2) A host and fragment with a circular dependency.

Correct typo in method names.
[ARIES-1538] Never fail a subsystem resolution because an already resolved resource has a missing dependency.

When no matching capabilities are found, if the requirement is not optional and the requirement resource is already resolved, have the resolve context add a missing capability. Do not fail the

subsystem resolution.

[ARIES-1538] Never fail a subsystem resolution because an already resolved resource has a missing dependency.

Add test.

[tx-control] Add an itest using the coordinator to speed up database inserts
    • -6
    • +0
    /tx-control/tx-control-service-xa/pom.xml
[tx-control] Remove the link to the Coordinator service as per the latest RFC update
  1. … 10 more files in changeset.
[tx-control] Add support for read-only transactions
[ARIES-1533] Make sure interfaces do not cause a NPE
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release org.apache.aries.blueprint.core-1.6.1
[tx-control] Ensure that EclipseLink usee the non-jta-datasource for sequence generation
[jpa] Fix service capabilities
[ARIES-1522] NullPointerException (NPE) when creating a RequireBundleHeader using the filter provided by FelixRequirementAdapter.

When adapting a requirement in the "bundle" namespace from OBR, the adapter must replace "symbolicname" with "osgi.wiring.bundle" and "version" with "bundle-version" in the filter.

[ARIES-1522] NullPointerException (NPE) when creating a RequireBundleHeader using the filter provided by FelixRequirementAdapter.

Test installing and starting a subsystem with fragment and host bundles as content where the host is included in the archive and the fragment in OBR. Test both

apache-aries-provision-dependencies:=install and apache-aries-provision-dependencies:=resolve.

[ARIES-1523] Application with fragment in archive and host in OBR will fail to resolve.

If both the provider and requirer of a capability are content of the same subsystem, then the capability will be visible.

[ARIES-1523] Application with fragment in archive and host in OBR will fail to resolve.

The Felix OBR resource adapter now treats the osgi.wiring.host capability as a special case, similar to osgi.identity and osgi.content.

The osgi.wiring.host <-> fragment namespace translation was removed because it is unnecessary. In OBR, the fragment namespace is a capability added to fragments for the purpose of repository

searches. This capability would never be used as part of matching an osgi.wiring.host requirement because the resource of the corresponding capability must be the host.

The org.apache.aries.subsystem.util.felix package version was incremented from 1.0.1 to 1.1.0 because a new support class was added.

[ARIES-1523] Application with fragment in archive and host in OBR will fail to resolve.

Test installing and starting a subsystem with fragment and host bundles as content where the fragment is included in the archive and the host in OBR. Test both

apache-aries-provision-dependencies:=install and apache-aries-provision-dependencies:=resolve.

Modify existing unit test to expect the osgi.wiring.host capability from the Felix OBR resource adapter.

Add org.apache.aries.subsystem.obr and org.apache.felix.bundlerepository to the test configuration.

    • -1
    • +65
    /subsystem/subsystem-itests/pom.xml
[ARIES-1532] [jpa] Provide an extender capability
[tx-control] Actually enlist the XA connection
[tx-control] Initial support for XA transactions with EclipseLink and OpenJPA
[ARIES-1503] Another fix and small refactoring

The trick is to remember loaded resources and recognize 'bad' behaving namespace handlers, i.e. those that always return the same url, irrespective of the resource trying to be loaded. If a loader returns an already loaded url for a resource, we ignore those.

In order for this to work, we also need to be smarter about identifying similar resources. We need to cope with the fact that a schema can be imported with or without a location for example, so we ignore the systemId when the schema is imported. If the resource has already been loaded, quickly return the previously loaded resource.

The blueprint container is also fixed wrt to added namespaces. The handler set now do a copy of the schemas, and we use those to find missing namespaces. Whenever a handler is removed, we can't easily find out which namespaces have been dynamically added, so we simply recreate the handler set completely.

[ARIES-1503] Smarter fix for cxf

CXF jaxws namespace handler imports the standard cxf namespaces, but its namespace handler always return a url to the jaxws xsd, which is not used at all.

In order to work around those cases, we do allow the dynamic addition of namespaces while building the schema. If a schema can’t be found, we raise a MissingNamespaceException which is handled by the BlueprintContainerImpl and keep the container in the WaitForNamespaceHandlers state.

[ARIES-1530] Support plugins when using the EclipseLink adapter
[ARIES-1503] attempt to fix current code
    • -1
    • +1
    /blueprint/blueprint-testbundleb/pom.xml
    • -1
    • +1
    /blueprint/blueprint-testbundlea/pom.xml
  1. … 3 more files in changeset.
[tx-control] Add XA support for JPA using Hibernate
    • -0
    • +209
    /tx-control/tx-control-provider-jpa-xa/pom.xml
    • -0
    • +203
    /tx-control/tx-control-provider-jpa-xa/LICENSE
  1. … 47 more files in changeset.
Cancel blueprint-parser 1.5.0 release