You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2010/10/22 10:51:18 UTC

svn commit: r1026251 - in /tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp: README src/main/resources/FeedAggregator.composite src/main/webapp/index.html

Author: nash
Date: Fri Oct 22 08:51:17 2010
New Revision: 1026251

URL: http://svn.apache.org/viewvc?rev=1026251&view=rev
Log:
Remove explicit host name and port number from sample files

Modified:
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/README
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/resources/FeedAggregator.composite
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/webapp/index.html

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/README
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/README?rev=1026251&r1=1026250&r2=1026251&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/README (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/README Fri Oct 22 08:51:17 2010
@@ -20,11 +20,13 @@ Once the web app is deployed use your br
 
 http://localhost:8080/sample-feed-aggregator-webapp
 
+The port and hostname will of course vary depending on your local installation. 
+
 You will then see the following displayed in your Web browser. 
 
-http://localhost:8083/atomAggregator
-http://localhost:8083/atomAggregator/atomsvc 
-http://localhost:8083/rssAggregator
+http://{server-host}:{server-port}/sample-feed-aggregator-webapp/atomAggregator
+http://{server-host}:{server-port}/sample-feed-aggregator-webapp/atomAggregator/atomsvc 
+http://{server-host}:{server-port}/sample-feed-aggregator-webapp/rssAggregator
 
 ** Please note that if your browser is not configured correctly to receive
 feed information, you will be prompted to open each file that contains the feed

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/resources/FeedAggregator.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/resources/FeedAggregator.composite?rev=1026251&r1=1026250&r2=1026251&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/resources/FeedAggregator.composite (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/resources/FeedAggregator.composite Fri Oct 22 08:51:17 2010
@@ -23,10 +23,10 @@
     name="FeedAggregator">
 
 	<service name="rssSample" promote="RssAggregator">
-		<tuscany:binding.atom uri="http://localhost:8083/rssAggregator"/>
+		<tuscany:binding.atom uri="rssAggregator"/>
 	</service>
 	<service name="atomSample" promote="AtomAggregator">
-		<tuscany:binding.atom  uri="http://localhost:8083/atomAggregator"/>
+		<tuscany:binding.atom  uri="atomAggregator"/>
 	</service>	
 
     <component name="RssAggregator">

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/webapp/index.html?rev=1026251&r1=1026250&r2=1026251&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/webapp/index.html (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/webapp/index.html Fri Oct 22 08:51:17 2010
@@ -23,10 +23,11 @@
   <body>
 
     <h2>Apache Tuscany Feed Aggregator Sample</h2>
-    <p>To read the aggregated feeds, point your Web browser to the following addresses:</p>
-    <br/><a href="atomAggregator">http://localhost:8083/sample-feed-aggregator-webapp/atomAggregator</a>
-    <br/><a href="atomAggregator/atomsvc">http://localhost:8083/sample-feed-aggregator-webapp/atomAggregator/atomsvc (for the Atom service document)</a>
-    <br/><a href="rssAggregator">http://localhost:8083/sample-feed-aggregator-webapp/rssAggregator</a>
+    <p>To read the aggregated feeds, point your Web browser to the following addresses or click on these links:</p>
+    <a href="atomAggregator">http://{server-host}:{server-port}/sample-feed-aggregator-webapp/atomAggregator</a><br/>
+    <a href="atomAggregator/atomsvc">http://{server-host}:{server-port}/sample-feed-aggregator-webapp/atomAggregator/atomsvc (for the Atom service document)</a><br/>
+    <a href="rssAggregator">http://{server-host}:{server-port}/sample-feed-aggregator-webapp/rssAggregator</a>
+    <p>where {server-host} and {server-port} are the host and port of your web application server.</p>
      
   </body>
 </html>