-
-
Notifications
You must be signed in to change notification settings - Fork 301
Changes in 4.3.0
Raymond Augé edited this page Apr 20, 2019
·
30 revisions
- TDB
- TBD
- HttpClient has been significantly updated to support retrying failed connections including connection timeouts, read timeouts, hung connections, 5xx response codes, read-into-cache failures, and other exceptions in establishing the connection. The default retry count is 3; the retry count can be set via the
retries
method onHttpRequest
. HttpClient will delay between retry attempts. The default delay for the first retry is 1 second with the delay doubling for each subsequent retry up to a maximum of 10 minutes; the retry delay, in seconds, can be set via theretryDelay
method onHttpRequest
. - The MavenBndRepository got a bit of an overhaul:
- The index file can now use Workspace macros and properties. This allows values set in the workspace to be used in the index files and evaluated before processing by MavenBndRepository. Macros are applied per line so they only work for one GAV, you cannot specify a list of GAVs in a macro.
- A new configuration property
source
can contain space/newline separated GAVs that are always added to the set. This allows you to specify the GAVs in the bnd file, reducing clutter and allowing the use of list macros - When used in Bndtools, bnd will now automatically try to attach the source of an OSGi bundle.
- Adding and removing of bundles via the menu or drag and drop will now not destroy the format of the maven file. It will try to keep the file in the same format including comments. The features have been documented.
- Launchpad is a new comprehensive testing framework integrated with the Workspace model of Bndtools. It has been documented.
- P2Repository has been updated to support checking MD5 checksum on downloads and retrying if the MD5 does not match. Two retries will be made for failed MD5 checksums.
- OSGiRepository has been updated to support checking SHA256 checksum on downloads and retrying if the SHA256 does not match. Two retries will be made for failed SHA256 checksums.
- CDI Annotation processing can detect the appropriate discovery mode from a
beans.xml
file in the bundle when the discovery mode is not already selected in the-cdiannotations
instruction. This helps existing projects having abeans.xml
from having to duplicate the mode of choice. -
NEW Java SPI Annotations
@ServiceProvider
and@ServiceConsumer
to help developers to generate requirements and capabilities for the Service Loader Mediator Specification.- The
@ServiceProvider
annotation also results in generation of service descriptor files (a.k.a.META-INF/services
).
- The
- TBD
- TBD
-
bnd-run-maven-plugin
will now actively react to changes on the bndrun file as well as runbundles and update the running instance. This enables the live coding model.
- TBD
- TBD
- None at this time.