Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2016-12-04 03:01:59 +0000
committerslewis2016-12-04 03:01:59 +0000
commit54ecf9ffc65d78250b511c20f6a29fad3e6e734f (patch)
tree6d30fbb7473234cc2ffdce6b440403017824171d /examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async
parentba0b856b94843e069119b11755896ea492ffa3ff (diff)
downloadorg.eclipse.ecf-54ecf9ffc65d78250b511c20f6a29fad3e6e734f.tar.gz
org.eclipse.ecf-54ecf9ffc65d78250b511c20f6a29fad3e6e734f.tar.xz
org.eclipse.ecf-54ecf9ffc65d78250b511c20f6a29fad3e6e734f.zip
Updated documentation.
Diffstat (limited to 'examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async')
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/TimeServiceConsumer.generic.zeroconf.product (renamed from examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.zeroconf.product)2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.edef.product2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.etcd.product2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jgroups.zeroconf.product2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jms.zeronconf.product2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.ws.zeroconf.product2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.wss.zeroconf.product2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.zeroconf.product2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.xmlrpc.zeroconf.product2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/runningexample.readme.txt24
10 files changed, 33 insertions, 9 deletions
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.zeroconf.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/TimeServiceConsumer.generic.zeroconf.product
index 63e72a787..d1e8ffb63 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.zeroconf.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/TimeServiceConsumer.generic.zeroconf.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService ROSGi Consumer No Extension Registry Java8" uid="com.mycorp.examples.timeservice.consumer.rosgi.noreg.java8.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer ROSGi Zerocconf Discovery" uid="com.mycorp.examples.timeservice.consumer.rosgi.noreg.java8.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.edef.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.edef.product
index 41f1dbd7f..c42e8439c 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.edef.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.edef.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService Generic Consumer DS EDEF No Registry" uid="com.mycorp.examples.timeservice.consumer.generic.ds.edef.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer Generic EDEF Discovery" uid="com.mycorp.examples.timeservice.consumer.generic.ds.edef.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.etcd.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.etcd.product
index a11953810..7c3035239 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.etcd.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.etcd.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService Generic Consumer Etcd Discovery" uid="com.mycorp.examples.timeservice.consumer.generic.etcd.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer Generic Etcd Discovery" uid="com.mycorp.examples.timeservice.consumer.generic.etcd.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jgroups.zeroconf.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jgroups.zeroconf.product
index 90ec0a8c5..c67cbfa94 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jgroups.zeroconf.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jgroups.zeroconf.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService JGroups Consumer DS No Registry" uid="com.mycorp.examples.timeservice.consumer.jgroups.ds.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer JGroups Zeroconf Discovery" uid="com.mycorp.examples.timeservice.consumer.jgroups.ds.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jms.zeronconf.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jms.zeronconf.product
index 41b673ced..a6c3d83e7 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jms.zeronconf.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.jms.zeronconf.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService JMS/ActiveMQ Consumer DS" uid="com.mycorp.examples.timeservice.consumer.jms.activemq.ds.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer JMS/ActiveMQ Zeroconf Discovery" uid="com.mycorp.examples.timeservice.consumer.jms.activemq.ds.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.ws.zeroconf.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.ws.zeroconf.product
index 8313ca1e7..3e675630e 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.ws.zeroconf.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.ws.zeroconf.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService Consumer ROSGI Websockets DS No Registry" uid="com.mycorp.examples.timeservice.consumer.rosgi.ws.ds.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer ROSGI Websockets Zeroconf Discovery" uid="com.mycorp.examples.timeservice.consumer.rosgi.ws.ds.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.wss.zeroconf.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.wss.zeroconf.product
index 92b669016..ba9761c5f 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.wss.zeroconf.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.wss.zeroconf.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService Consumer ROSGI Websockets Secure DS No Registry" uid="com.mycorp.examples.timeservice.consumer.rosgi.wss.ds.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer ROSGI Secure Websockets Zeroconf Discovery" uid="com.mycorp.examples.timeservice.consumer.rosgi.wss.ds.async.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.zeroconf.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.zeroconf.product
index 3b9b11771..9f520f907 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.zeroconf.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.rosgi.zeroconf.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService Generic Consumer No Extension Registry Java8" uid="com.mycorp.examples.timeservice.consumer.generic.noreg.java8.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer ROSGi Consumer Zeroconf Discovery" uid="com.mycorp.examples.timeservice.consumer.rosgi.noreg.java8.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.xmlrpc.zeroconf.product b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.xmlrpc.zeroconf.product
index ab872d6c3..40bca4bf2 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.xmlrpc.zeroconf.product
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.xmlrpc.zeroconf.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="MyCorp Remote TimeService Fabric8" uid="com.mycorp.examples.timeservice.consumer.fabric8.j8.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
+<product name="TimeServiceConsumer XmlRpc Consumer Zeroconf Discovery" uid="com.mycorp.examples.timeservice.consumer.xmlrpc.j8.product" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
<configIni use="default">
</configIni>
diff --git a/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/runningexample.readme.txt b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/runningexample.readme.txt
new file mode 100644
index 000000000..99495ded5
--- /dev/null
+++ b/examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/runningexample.readme.txt
@@ -0,0 +1,24 @@
+This project provides a runnable example of a remote TimeServiceAsync Consumer. This consumer
+is to be used in combination with the TimeService Remote Service Host which is in the
+com.mycorp.examples.timeservice.host bundle project. See the readme.txt file in that
+project for details on how to start the TimeService Host. It's necessary to start the
+TimeServiceHost before it can be accessed by this TimeServiceConsumer.
+
+To run the TimeServiceAsync Remote Service Consumer:
+
+1) Open the TimeServiceConsumer.generic.zeroconf.product file
+2) Go to the Overview tab
+3) Click on Launch an Eclipse Application or Launch an Eclipse Application in Debug Mode
+
+If the example TimeServiceHost is running on the local LAN, it should be automatically
+discovered (via Zeroconf) and output similar to the following should appear on
+the Console after ~10 seconds:
+
+osgi> Discovered ITimeServiceAsync via DS
+Remote time is: 1480820262391
+
+This is discovering the remote TimeService and then calling the ITimeService.getCurrentTime()
+remote method (implementation provided by the remote TimeService Host) and printing out
+the results. Note that the class TimeServiceComponent (source code in this project in /src)
+is being injected by Declarative Services when the remote ITimeService is discovered by
+ECF Remote Services Admin.

Back to the top