ARIES-1940 Handle failure that can happen during service export (#30)

Changed implementation and use of ExportRegistration to align with specification
Changed use of ExportRegistration to deal with cases the ExportRegistration relates to a failed exported services

2 files changed
tree: 6e2423274c07fdfe5c04c98ab48dcac658c619e8
  1. discovery/
  2. eapub/
  3. examples/
  4. features/
  5. itests/
  6. parent/
  7. provider/
  8. repository/
  9. rsa/
  10. spi/
  11. topology-manager/
  12. .gitignore
  14. NOTICE
  15. pom.xml

Aries Remote Service Admin (RSA)

Build Status Maven Central

The Aries Remote Service Admin (RSA) project is the reference implementation of Remote Services and Remote Service Admin from the OSGi R7 specs.

It allows to transparently use OSGi services for remote communication. OSGi services can be marked for export by adding a service property service.exported.interfaces=*. Various other properties can be used to customize how the service is to be exposed.

Distribution Provider

Aries Remote Service Admin provides two different transport layers out of the box and can be extended with custom transports.

  • aries.tcp - A very lightweight TCP based transport that is ideal to get a first demo running and to serve as template for custom distribution providers
  • aries.fastbin - A fast binary transport that uses multiplexing on a pool of java nio channels. Fastbin supports both sync and long running async calls (via Future/Promise)

Discovery Provider

The discovery providers are responsible for finding the available endpoint descriptions of remote services. Aries RSA provides three different implementations and can be extended with custom discovery providers. The three available implementations are

  • zookeeper - Manages endpoint descriptions as zookeeper nodes.
  • local - Scans bundles for endpoint descriptions
  • config - Reads endpoint descriptions from ConfigAdmin service


Maven release

mvn clean release:prepare -DskipTests -Darguments=-DskipTests
mvn release:perform -DskipTests -Darguments=-DskipTests

This creates a staging repository. After all artifacts are deployed login to the Apache maven repo and close the staging repository.


Promote in Apache Repository

Copy to apache release svn

The source zip needs to be copied to the Apache release svn.

Add checksum

gpg --print-md SHA512  <filename> >  <filename>.sha512