aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject aries-rsa git commit: [ARIES-1576] Prefix properties of TcpEndpoint
Date Fri, 17 Jun 2016 16:40:27 GMT
Repository: aries-rsa
Updated Branches:
  refs/heads/master e4b221dfd -> a8d170a85


[ARIES-1576] Prefix properties of TcpEndpoint


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

Branch: refs/heads/master
Commit: a8d170a85e38bcf1975d30e934e5c87380a27d6b
Parents: e4b221d
Author: Christian Schneider <chris@die-schneider.net>
Authored: Fri Jun 17 18:40:20 2016 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Fri Jun 17 18:40:20 2016 +0200

----------------------------------------------------------------------
 .../aries/rsa/examples/echotcp/service/EchoServiceImpl.java  | 8 +++++---
 .../org/apache/aries/rsa/itests/felix/tcp/TestRoundTrip.java | 2 --
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/a8d170a8/examples/echotcp/service/src/main/java/org/apache/aries/rsa/examples/echotcp/service/EchoServiceImpl.java
----------------------------------------------------------------------
diff --git a/examples/echotcp/service/src/main/java/org/apache/aries/rsa/examples/echotcp/service/EchoServiceImpl.java
b/examples/echotcp/service/src/main/java/org/apache/aries/rsa/examples/echotcp/service/EchoServiceImpl.java
index ee7f3a4..4c86e0f 100644
--- a/examples/echotcp/service/src/main/java/org/apache/aries/rsa/examples/echotcp/service/EchoServiceImpl.java
+++ b/examples/echotcp/service/src/main/java/org/apache/aries/rsa/examples/echotcp/service/EchoServiceImpl.java
@@ -3,9 +3,11 @@ package org.apache.aries.rsa.examples.echotcp.service;
 import org.apache.aries.rsa.examples.echotcp.api.EchoService;
 import org.osgi.service.component.annotations.Component;
 
-@Component(property = {
-                       "service.exported.interfaces=*", "port=8201"
-})
+@Component(//
+    property = {
+                "service.exported.interfaces=*", //
+                "aries.rsa.port=8201"
+    })
 public class EchoServiceImpl implements EchoService {
 
     @Override

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/a8d170a8/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/tcp/TestRoundTrip.java
----------------------------------------------------------------------
diff --git a/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/tcp/TestRoundTrip.java
b/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/tcp/TestRoundTrip.java
index 70ca44e..0f80df2 100644
--- a/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/tcp/TestRoundTrip.java
+++ b/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/tcp/TestRoundTrip.java
@@ -27,8 +27,6 @@ import javax.inject.Inject;
 
 import org.apache.aries.rsa.examples.echotcp.api.EchoService;
 import org.apache.aries.rsa.itests.felix.RsaTestBase;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.Configuration;


Mime
View raw message