aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [1/2] aries-rsa git commit: [ARIES-1595] Support capabilities
Date Mon, 12 Sep 2016 08:33:32 GMT
Repository: aries-rsa
Updated Branches:
  refs/heads/master 42087ca27 -> 4c8ae19f4


[ARIES-1595] Support capabilities


Project: http://git-wip-us.apache.org/repos/asf/aries-rsa/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-rsa/commit/b95999c1
Tree: http://git-wip-us.apache.org/repos/asf/aries-rsa/tree/b95999c1
Diff: http://git-wip-us.apache.org/repos/asf/aries-rsa/diff/b95999c1

Branch: refs/heads/master
Commit: b95999c1d3a055dabbe5ec200d00bea01bee2e41
Parents: 42087ca
Author: Christian Schneider <chris@die-schneider.net>
Authored: Fri Aug 19 17:52:17 2016 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Fri Aug 19 17:52:17 2016 +0200

----------------------------------------------------------------------
 discovery/command/bnd.bnd   | 2 ++
 discovery/config/bnd.bnd    | 2 ++
 discovery/local/bnd.bnd     | 7 ++++++-
 discovery/zookeeper/bnd.bnd | 3 ++-
 provider/fastbin/bnd.bnd    | 2 ++
 provider/tcp/bnd.bnd        | 2 ++
 rsa/bnd.bnd                 | 6 +++++-
 topology-manager/bnd.bnd    | 6 ++++++
 8 files changed, 27 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/b95999c1/discovery/command/bnd.bnd
----------------------------------------------------------------------
diff --git a/discovery/command/bnd.bnd b/discovery/command/bnd.bnd
index 129d0df..c2cbb39 100644
--- a/discovery/command/bnd.bnd
+++ b/discovery/command/bnd.bnd
@@ -1,3 +1,5 @@
 Private-Package: \
 	org.apache.karaf.shell.table,\
 	org.apache.aries.rsa.discovery.command
+Provide-Capability: osgi.remoteserviceadmin.discovery;\
+	protocols:List<String>="command"; version:Version=1.0

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/b95999c1/discovery/config/bnd.bnd
----------------------------------------------------------------------
diff --git a/discovery/config/bnd.bnd b/discovery/config/bnd.bnd
index 6c6d30f..91bdcef 100644
--- a/discovery/config/bnd.bnd
+++ b/discovery/config/bnd.bnd
@@ -1,2 +1,4 @@
 Bundle-Activator: org.apache.aries.rsa.discovery.config.Activator
 Private-Package: org.apache.aries.rsa.discovery.config
+Provide-Capability: osgi.remoteserviceadmin.discovery;\
+	protocols:List<String>="config"; version:Version=1.0

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/b95999c1/discovery/local/bnd.bnd
----------------------------------------------------------------------
diff --git a/discovery/local/bnd.bnd b/discovery/local/bnd.bnd
index 6709868..32cdad8 100644
--- a/discovery/local/bnd.bnd
+++ b/discovery/local/bnd.bnd
@@ -2,4 +2,9 @@ Bundle-Activator: org.apache.aries.rsa.discovery.local.Activator
 Private-Package: org.apache.aries.rsa.discovery.local
 Export-Package: \
 	org.apache.aries.rsa.discovery.endpoint,\
-	org.osgi.xmlns.rsa.v1_0
\ No newline at end of file
+	org.osgi.xmlns.rsa.v1_0
+Provide-Capability: osgi.extender;osgi.extender="osgi.remoteserviceadmin.localdiscovery";\
+	version:Version="1.0";\
+	uses:="org.osgi.service.remoteserviceadmin"
+Provide-Capability: osgi.remoteserviceadmin.discovery;\
+	protocols:List<String>="local"; version:Version=1.0
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/b95999c1/discovery/zookeeper/bnd.bnd
----------------------------------------------------------------------
diff --git a/discovery/zookeeper/bnd.bnd b/discovery/zookeeper/bnd.bnd
index 3e572c6..9591418 100644
--- a/discovery/zookeeper/bnd.bnd
+++ b/discovery/zookeeper/bnd.bnd
@@ -1,2 +1,3 @@
 Bundle-Activator: org.apache.aries.rsa.discovery.zookeeper.Activator
-
+Provide-Capability: osgi.remoteserviceadmin.discovery;\
+	protocols:List<String>="zookeeper"; version:Version=1.0

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/b95999c1/provider/fastbin/bnd.bnd
----------------------------------------------------------------------
diff --git a/provider/fastbin/bnd.bnd b/provider/fastbin/bnd.bnd
index 5249b00..1aa94be 100644
--- a/provider/fastbin/bnd.bnd
+++ b/provider/fastbin/bnd.bnd
@@ -1 +1,3 @@
 Bundle-Activator:  org.apache.aries.rsa.provider.fastbin.Activator
+Provide-Capability: osgi.remoteserviceadmin.distribution;\
+	configs:List<String>="aries.fastbin"; version:Version=1.0

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/b95999c1/provider/tcp/bnd.bnd
----------------------------------------------------------------------
diff --git a/provider/tcp/bnd.bnd b/provider/tcp/bnd.bnd
index 1884efd..7742650 100644
--- a/provider/tcp/bnd.bnd
+++ b/provider/tcp/bnd.bnd
@@ -1 +1,3 @@
 Bundle-Activator:  org.apache.aries.rsa.provider.tcp.Activator
+Provide-Capability: osgi.remoteserviceadmin.distribution;\
+	configs:List<String>="aries.tcp"; version:Version=1.0

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/b95999c1/rsa/bnd.bnd
----------------------------------------------------------------------
diff --git a/rsa/bnd.bnd b/rsa/bnd.bnd
index 1222aef..d4e599d 100644
--- a/rsa/bnd.bnd
+++ b/rsa/bnd.bnd
@@ -1,3 +1,7 @@
 Bundle-Activator: org.apache.aries.rsa.core.Activator
 Private-Package: org.apache.aries.rsa.core
-Export-Package: org.osgi.service.remoteserviceadmin
\ No newline at end of file
+Export-Package: org.osgi.service.remoteserviceadmin
+Provide-Capability: osgi.service;\
+	objectClass:List<String>="org.osgi.service.remoteserviceadmin.RemoteServiceAdmin";\
+	uses:="org.osgi.service.remoteserviceadmin"
+

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/b95999c1/topology-manager/bnd.bnd
----------------------------------------------------------------------
diff --git a/topology-manager/bnd.bnd b/topology-manager/bnd.bnd
index 779dd72..87d8349 100644
--- a/topology-manager/bnd.bnd
+++ b/topology-manager/bnd.bnd
@@ -1 +1,7 @@
 Bundle-Activator: org.apache.aries.rsa.topologymanager.Activator
+Require-Capability: \
+	osgi.remoteserviceadmin.discovery;filter:="(&(version>=1.0)(!(version>=2.0)))",\
+	osgi.remoteserviceadmin.distribution;filter:="(&(version>=1.0)(!(version>=2.0)))"
+Provide-Capability: \
+	osgi.remoteserviceadmin.topology; version:Version=1.0
+


Mime
View raw message