You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by cs...@apache.org on 2017/11/27 14:06:49 UTC
[2/3] aries-rsa git commit: [ARIES-1758] Add basic intent to tcp
provider
[ARIES-1758] Add basic intent to tcp provider
Project: http://git-wip-us.apache.org/repos/asf/aries-rsa/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-rsa/commit/9c746356
Tree: http://git-wip-us.apache.org/repos/asf/aries-rsa/tree/9c746356
Diff: http://git-wip-us.apache.org/repos/asf/aries-rsa/diff/9c746356
Branch: refs/heads/master
Commit: 9c746356ed46155351ec0620a425ad33aff1bb53
Parents: b6969f2
Author: Christian Schneider <cs...@adobe.com>
Authored: Thu Nov 23 15:39:50 2017 +0100
Committer: Christian Schneider <cs...@adobe.com>
Committed: Thu Nov 23 15:39:50 2017 +0100
----------------------------------------------------------------------
.../src/main/java/org/apache/aries/rsa/provider/tcp/Activator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/9c746356/provider/tcp/src/main/java/org/apache/aries/rsa/provider/tcp/Activator.java
----------------------------------------------------------------------
diff --git a/provider/tcp/src/main/java/org/apache/aries/rsa/provider/tcp/Activator.java b/provider/tcp/src/main/java/org/apache/aries/rsa/provider/tcp/Activator.java
index 82ebd3e..1ec4f33 100644
--- a/provider/tcp/src/main/java/org/apache/aries/rsa/provider/tcp/Activator.java
+++ b/provider/tcp/src/main/java/org/apache/aries/rsa/provider/tcp/Activator.java
@@ -32,7 +32,7 @@ public class Activator implements BundleActivator {
public void start(BundleContext context) throws Exception {
DistributionProvider provider = new TCPProvider();
Dictionary<String, Object> props = new Hashtable<>();
- props.put(RemoteConstants.REMOTE_INTENTS_SUPPORTED, new String[]{ "osgi.async" });
+ props.put(RemoteConstants.REMOTE_INTENTS_SUPPORTED, new String[]{ "osgi.basic", "osgi.async" });
props.put(RemoteConstants.REMOTE_CONFIGS_SUPPORTED, provider.getSupportedTypes());
context.registerService(DistributionProvider.class, provider, props);
}