Author: slaws
Date: Wed Jan 9 07:45:09 2008
New Revision: 610423
URL: http://svn.apache.org/viewvc?rev=610423&view=rev
Log:
Fix up paths and fix README files
Added:
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/pom.xml
Modified:
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/README
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/build.xml
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/README
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/build.xml
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/README
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/build.xml
Added: incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/pom.xml?rev=610423&view=auto
==============================================================================
--- incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/pom.xml (added)
+++ incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/pom.xml Wed
Jan 9 07:45:09 2008
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-demos</artifactId>
+ <version>1.1-incubating-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <artifactId>demo-secure-bigbank</artifactId>
+ <packaging>pom</packaging>
+ <name>Apache Tuscany SCA Secure BigBank Demo</name>
+
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ </build>
+ <modules>
+ <module>secure-bigbank-account</module>
+ <module>secure-bigbank-calculator</module>
+ <module>secure-bigbank-stockquote</module>
+ </modules>
+
+</project>
Modified:
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/README?rev=610423&r1=610422&r2=610423&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/README
(original)
+++
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/README
Wed Jan 9 07:45:09 2008
@@ -1,58 +1,76 @@
-BigBank Demo
-============
+Secure BigBank Demo
+===================
-This application is made of 3 modules that represent the different aspects
-of a fictitious banking application. Please see bigbank.png in the
bigbank-account directory for a diagram of this demo.
+This application is a copy of the big bank demo but with various security
policies
+in force. For example, the wire between the AccountServiceComponent
requires="tuscany:wsAuthentication"
-To run the bigbank-account demo you need to first run bigbank-calculator and
bigbank-stockquote composites. This will bring up Tuscany runtime and load the
two applications and make them available as services. Bigbank-account is
dependent on these services.
+The application is made of 3 modules that represent the different aspects
+of a fictitious banking application. Please see bigbank.png in the
secure-bigbank-account
+directory for a diagram of this demo.
+
+To run the secure-bigbank-account demo you need to first run
secure-bigbank-calculator and
+secure-bigbank-stockquote application. This will bring up Tuscany runtime and
load the two
+applications and make them available as services. Secure-bigbank-account is
dependent on these
+services.
This demo uses ant. This is just one way of running this demo.
-Start Bigbank-calculator composite
-----------------------------------
+Start secure-bigbank-calculator composite
+-----------------------------------------
-Bigbank-calculator is a calculator application which handles add, subtract,
multiply and divide operations. Each of these operations is implemented in a
different language, including JavaScript, groovy, Ruby and Python.
+Secure-bigbank-calculator is a calculator application which handles add,
subtract, multiply and
+divide operations. Each of these operations is implemented in a different
language,
+including JavaScript, groovy, Ruby and Python.
-To run the bigbank-calculator composite and make it available as a service for
this demo do the following:
+To run the secure-bigbank-calculator composite and make it available as a
service for this
+demo do the following:
-cd bigbank-calculator
+cd secure-bigbank-calculator
ant compile
ant run
.. Leave the server running
-Note that 'ant compile' needs to be done the first time you run this demo out
of the binary distribution. No need to do 'ant compile' from there on.
+Note that 'ant compile' needs to be done the first time you run this demo out
of the
+binary distribution. No need to do 'ant compile' from there on.
-Start Bigbank-stockquote
-------------------------
+Start secure-bigbank-stockquote
+-------------------------------
A very simple web services based stock quote application which returns random
-stock quotes on request. Please note that the stockquote service is not live
and is implemented instead to allow for this application to always run without
dependency on the availability of a webservice.
+stock quotes on request. Please note that the stockquote service is not live
and is
+implemented instead to allow for this application to always run without
dependency on the
+availability of a webservice.
-cd bigbank-stockquote
+cd secure-bigbank-stockquote
ant compile
ant run
.. Leave the server running
-Note that 'ant compile' needs to be done the first time you run this demo out
of the binary distribution. No need to do 'ant compile' from there on.
+Note that 'ant compile' needs to be done the first time you run this demo out
of the
+binary distribution. No need to do 'ant compile' from there on.
-Start Bigbank-account
+Start secure-bigbank-account
---------------------
-Bigbank-account is entry point to this application running on Tuscany.
Bigbank-account composite calls into bigbank-stockquote and bigbank-calculator
services. Start bigbank-account in the following way:
+Secure-bigbank-account is entry point to this application running on Tuscany.
+Secure-bigbank-account composite calls into secure-bigbank-stockquote and
+secure-bigbank-calculator services. Start secure-bigbank-account in the
following way:
-cd bigbank-account
+cd secure-bigbank-account
ant compile
ant run
.. Leave the server running
-Note that 'ant compile' needs to be done the first time you run this demo out
ofthe binary distribution. No need to do 'ant compile' from there on.
+Note that 'ant compile' needs to be done the first time you run this demo out
of the
+binary distribution. No need to do 'ant compile' from there on.
Run the demo
-------------
-The front end of this demo application is a web app which users Json/RPC to
communicate with the backend for retrieving account information.
+The front end of this demo application is a web app which users Json/RPC to
communicate
+with the backend for retrieving account information.
To try the app out point you browser at:
@@ -62,11 +80,13 @@
a single set of account details exercising services across the three running
SCA applications.
-If you press on getAccountReport, you'll see a response posted, but the detail
of the data will be displayed in the screen where you started bigbank-account.
+If you press on getAccountReport, you'll see a response posted, but the detail
of the
+data will be displayed in the screen where you started secure-bigbank-account.
Stop the demo
-------------
-Go to each of the corresponding command line screens and hit 'enter'. This
will stop each of the applications.
+Go to each of the corresponding command line screens and hit 'enter'. This
will stop each
+of the applications.
Modified:
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/build.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/build.xml?rev=610423&r1=610422&r2=610423&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/build.xml
(original)
+++
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-account/build.xml
Wed Jan 9 07:45:09 2008
@@ -24,10 +24,10 @@
<path id="test.classpath">
<pathelement location="target/classes"/>
- <!--pathelement
location="../../modules/tuscany-host-jetty-1.1-incubating-SNAPSHOT.jar"/>
- <pathelement
location="../../modules/tuscany-binding-jsonrpc-1.1-incubating-SNAPSHOT.jar"/>
- <pathelement
location="../../modules/tuscany-binding-rmi-1.1-incubating-SNAPSHOT.jar"/-->
- <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <!--pathelement
location="../../../modules/tuscany-host-jetty-1.1-incubating-SNAPSHOT.jar"/>
+ <pathelement
location="../../../modules/tuscany-binding-jsonrpc-1.1-incubating-SNAPSHOT.jar"/>
+ <pathelement
location="../../../modules/tuscany-binding-rmi-1.1-incubating-SNAPSHOT.jar"/-->
+ <pathelement location="../../../lib/tuscany-sca-manifest.jar"/>
<!--pathelement location="target/demo-bigbank-account.jar"/-->
</path>
@@ -55,7 +55,7 @@
source="1.5"
target="1.5">
<classpath>
- <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <pathelement location="../../../lib/tuscany-sca-manifest.jar"/>
</classpath>
</javac>
<copy todir="target/classes">
Modified:
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/README?rev=610423&r1=610422&r2=610423&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/README
(original)
+++
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/README
Wed Jan 9 07:45:09 2008
@@ -1,3 +1,5 @@
-bigbank-calculator is part of a larger demo called bigbank-account. Please see
the Readme file under bigbank-account to understand how bigbank-calculator fits
into the overall demo.
+secure-bigbank-calculator is part of a larger demo called
secure-bigbank-account.
+Please see the Readme file under secure-bigbank-account to understand how
+secure-bigbank-calculator fits into the overall demo.
Modified:
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/build.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/build.xml?rev=610423&r1=610422&r2=610423&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/build.xml
(original)
+++
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-calculator/build.xml
Wed Jan 9 07:45:09 2008
@@ -20,9 +20,9 @@
<property name="test.class" value="calculator.demo.CalculatorServer" />
<path id="test.classpath">
- <pathelement
location="../../modules/tuscany-binding-rmi-1.1-incubating-SNAPSHOT.jar"/>
+ <pathelement
location="../../../modules/tuscany-binding-rmi-1.1-incubating-SNAPSHOT.jar"/>
<pathelement path="target/demo-bigbank-calculator.jar"/>
- <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <pathelement location="../../../lib/tuscany-sca-manifest.jar"/>
</path>
<target name="init">
@@ -36,7 +36,7 @@
source="1.5"
target="1.5">
<classpath>
- <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <pathelement location="../../../lib/tuscany-sca-manifest.jar"/>
</classpath>
</javac>
<copy todir="target/classes">
Modified:
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/README?rev=610423&r1=610422&r2=610423&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/README
(original)
+++
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/README
Wed Jan 9 07:45:09 2008
@@ -1,3 +1,5 @@
-bigbank-stockquote is a part of a larger demo called bigbank-account. Please
see the Readme file under bigbank-account to understand how bigbank-stockquote
fits into the overall demo.
+secure-bigbank-stockquote is a part of a larger demo called
secure-bigbank-account.
+Please see the Readme file under secure-bigbank-account to understand how
+secure-bigbank-stockquote fits into the overall demo.
Modified:
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/build.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/build.xml?rev=610423&r1=610422&r2=610423&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/build.xml
(original)
+++
incubator/tuscany/branches/sca-java-1.1/demos/secure-bigbank/secure-bigbank-stockquote/build.xml
Wed Jan 9 07:45:09 2008
@@ -20,7 +20,7 @@
<property name="test.class" value="stockquote.demo.StockQuoteServer" />
<path id="test.classpath">
- <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <pathelement location="../../../lib/tuscany-sca-manifest.jar"/>
<pathelement location="target/demo-bigbank-stockquote.jar"/>
</path>
@@ -35,7 +35,7 @@
source="1.5"
target="1.5">
<classpath>
- <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <pathelement location="../../../lib/tuscany-sca-manifest.jar"/>
</classpath>
</javac>
<copy todir="target/classes">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]