From 4a15ba890cacb4478d02ce707b8f561dc015bbef Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 19 Nov 2009 17:58:40 +0000 Subject: Removing obsolete release candidate tag git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882225 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/samples/RubyBank/Makefile.am | 4 - .../sca/samples/RubyBank/README | 22 -- .../sca/samples/RubyBank/README.html | 235 --------------------- .../bigbank.account/AccountDataServiceImpl.rb | 72 ------- .../RubyBank/bigbank.account/AccountService.wsdl | 126 ----------- .../RubyBank/bigbank.account/AccountServiceImpl.rb | 94 --------- .../samples/RubyBank/bigbank.account/Makefile.am | 7 - .../bigbank.account/StockQuoteServiceImpl.rb | 41 ---- .../RubyBank/bigbank.account/StockQuoteTypes.xsd | 40 ---- .../bigbank.account/StockQuoteWebService.wsdl | 165 --------------- .../bigbank.account/bigbank.account.composite | 53 ----- .../RubyBank/bigbank.account/runwsserver.bat | 51 ----- .../RubyBank/bigbank.account/runwsserver.sh | 48 ----- .../RubyBank/bigbank.accountmanagement.composite | 29 --- .../RubyBank/bigbank.client/AccountClient.rb | 26 --- .../samples/RubyBank/bigbank.client/Makefile.am | 6 - .../samples/RubyBank/bigbank.client/runclient.bat | 51 ----- .../samples/RubyBank/bigbank.client/runclient.sh | 49 ----- .../sca/samples/RubyBank/deploy.cmd | 53 ----- 19 files changed, 1172 deletions(-) delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/README delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/README.html delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountDataServiceImpl.rb delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountService.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountServiceImpl.rb delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteServiceImpl.rb delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteTypes.xsd delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteWebService.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/bigbank.account.composite delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/runwsserver.bat delete mode 100755 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/runwsserver.sh delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.accountmanagement.composite delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/AccountClient.rb delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/runclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/runclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/deploy.cmd (limited to 'tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank') diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/Makefile.am b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/Makefile.am deleted file mode 100644 index 6a5f96c750..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -deploydir=$(prefix)/samples/RubyBank/deploy -SUBDIRS = bigbank.account bigbank.client -EXTRA_DIST = *.composite README.html -deploy_DATA = *.composite diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/README b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/README deleted file mode 100644 index 266b66cc9a..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/README +++ /dev/null @@ -1,22 +0,0 @@ -Tuscany SCA for C++ Samples - RubyBank Sample -=============================================== - -This sample implements the "Simplified BigBank" scenario. A whitepaper -describing the scenario based on the SCA 0.9 Assembly specification can be -found here. This sample uses multiple Ruby components, calls out to an -external Web Service via a reference, exposes the service as a Web Service -and also provides a PHP based client. - -There are two sub projects in this workspace: - - bigbank.account - This contains the source code and SCDL artifacts for the SCA BigBank - composite implementing the account services. - - - bigbank.client - A sample client which does a local call to the BigBank service. - -Additionally, there is the bigbank.accountmanagement.composite file. This -describes the configuration of the SCA Calculator composite deployed to the -SCA runtime. - -See the README.html file for instructions to build and run this sample diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/README.html b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/README.html deleted file mode 100644 index 0d59d27c23..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/README.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - - - - - Tuscany SCA for C++ Samples - RubyBank Sample - - - -
-
-
-

Tuscany SCA for C++ Samples - RubyBank Sample

- -

This sample implements the "Simplified RubyBank" scenario. A whitepaper describing - the scenario based on the SCA 0.9 Assembly specification can be found - here. - This sample uses multiple Ruby components, calls out to an external Web Service via a reference - and exposes the service as a Web Service. -

-

There are two sub projects in this workspace:

-
    -
  • bigbank.account
    - This contains the source code and SCDL artifacts for the SCA RubyBank - composite implementing the account services. -
  • -
  • bigbank.client
    - A sample client which does a local call to the RubyBank service. -
  • -
-

Additionally, there is the bigbank.accountmanagement.composite file. This - describes the configuration of the SCA Calculator composite deployed to the SCA - runtime. -

-
- - - - -
-

Building the C++ samples on Linux

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>/samples - go directly to Running the samples on Linux.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. As the RubyBank sample is based on Ruby scripts, a specific compilation step is not necessary - - only deployment is required. Deploy the Ruby samples only with the following command sequence: -
      -
    • cd <tuscany_sca_install_dir>/samples
    • -
    • ./configure --enable-ruby --enable-cpp=no --prefix=$TUSCANY_SCACPP
    • -
    • make install
    • -
    - NOTE: If you don't provide the --prefix configure option, it will by default install into - /usr/local/tuscany/sca/samples/RubyBank -
  4. -
-
- -
-

Running the RubyBank sample on Linux

-

RubyBank with basic client

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.92>
    • -
    -
  2. -
  3. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>/samples/RubyBank/deploy/bigbank.client
    • -
    • ./runclient.sh
    • -
    -
  4. -
-

RubyBank with Web Service clients

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/RubyBank/deploy/bigbank.account -
    4. -
    5. ./runwsserver.sh
    6. -
    -
  4. -
  5. The Web Service client and PHP web client detailed in the - BigBank sample can both be used - with the RubyBank service that is served by the Axis2C http server started above. -
  6. -
-
- -
-

Building the RubyBank sample on Windows

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>/samples - go directly to Running the samples on Windows.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. As this sample is based on Ruby scripts, a specific compilation step is not necessary - - only deployment is required. Deploy the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>/samples/RubyBank
    • -
    • ./deploy.cmd
    • -
    -
  4. -
-
- -
-

Running the RubyBank sample on Windows

-

RubyBank with basic client

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
    -
  2. -
  3. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>/samples/RubyBank/deploy/bigbank.client
    • -
    • ./runclient.bat
    • -
    -
  4. -
-

RubyBank with Web Service clients

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/RubyBank/deploy/bigbank.account -
    4. -
    5. ./runwsserver.bat
    6. -
    -
  4. -
  5. The Web Service client and PHP web client detailed in the - BigBank sample can both be used - with the RubyBank service that is served by the Axis2C http server started above. -
  6. -
-
- - - -
-

Getting Help

- -

First place to look is at the Tuscany FAQ at - http://incubator.apache.org/tuscany/faq.html

- -

Any problem with this release can be reported to the Tuscany - mailing lists or create a JIRA issue at - http://issues.apache.org/jira/browse/Tuscany.

-
-
-
- - - - diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountDataServiceImpl.rb b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountDataServiceImpl.rb deleted file mode 100644 index 8ae0e23bab..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountDataServiceImpl.rb +++ /dev/null @@ -1,72 +0,0 @@ -# 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. -# - -require "rexml/document" -include REXML - -class AccountDataServiceImpl - - def initialize() - print "Ruby - AccountDataServiceImpl.initialize\n" - end - - def getCheckingAccount(id) - print "Ruby - AccountDataServiceImpl.getCheckingAccount ", id, "\n" - - result = Document.new <<-eof - - #{ id.to_s + "_CHA12345"} - 1500.0 - - eof - - return result - end - - def getSavingsAccount(id) - print "Ruby - AccountDataServiceImpl.getSavingsAccount ", id, "\n" - - result = Document.new <<-eof - - #{ id.to_s + "_SAA12345"} - 1500.0 - - eof - - return result - end - - def getStockAccount(id) - print "Ruby - AccountDataServiceImpl.getStockAccount ", id, "\n" - - result = Document.new <<-eof - - #{ id.to_s + "_STA12345"} - IBM - 100 - - - eof - - return result - end - -end diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountService.wsdl b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountService.wsdl deleted file mode 100644 index cbfe180692..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountService.wsdl +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountServiceImpl.rb b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountServiceImpl.rb deleted file mode 100644 index a82b226a76..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/AccountServiceImpl.rb +++ /dev/null @@ -1,94 +0,0 @@ -# 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. -# - -require "rexml/document" -include REXML - -class AccountServiceImpl - - attr_writer :accountDataService - attr_writer :stockQuoteService - attr_writer :currency - - def initialize() - print "Ruby - AccountServiceImpl.initialize\n" - end - - def getAccountReport(customerID) - - checking = @accountDataService.getCheckingAccount(customerID) - - savings = @accountDataService.getSavingsAccount(customerID) - - stock = @accountDataService.getStockAccount(customerID); - symbol = stock.root.elements["symbol"].text - quantity = stock.root.elements["quantity"].text - - price = @stockQuoteService.getQuote(symbol); - - balance = fromUSDollarToCurrency(price.to_f * quantity.to_f) - - report = Document.new <<-eof - - - - - #{ checking.root.elements["accountNumber"].text } - - - #{ fromUSDollarToCurrency(checking.root.elements["balance"].text) } - - - - - - #{ savings.root.elements["accountNumber"].text } - - - #{ fromUSDollarToCurrency(savings.root.elements["balance"].text) } - - - - - - #{ stock.root.elements["accountNumber"].text } - - - #{ symbol } - - - #{ quantity } - - - #{ balance } - - - - - eof - - return report - end - - def fromUSDollarToCurrency(value) - return value.to_f * 0.8 if @currency == "EURO" - return value.to_f - end - -end diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/Makefile.am b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/Makefile.am deleted file mode 100644 index 66344fc2bf..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -deploydir=$(prefix)/samples/RubyBank/deploy -compositedir=$(deploydir)/bigbank.account - -composite_SCRIPTS = runwsserver.sh - -composite_DATA = *.composite *.wsdl *.xsd *.rb -EXTRA_DIST = *.composite *.wsdl *.xsd runwsserver.sh *.rb diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteServiceImpl.rb b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteServiceImpl.rb deleted file mode 100644 index c8bbe248a3..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteServiceImpl.rb +++ /dev/null @@ -1,41 +0,0 @@ -# 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. -# - -require "rexml/document" -include REXML - -class StockQuoteServiceImpl - - attr_writer :webService - - def initialize() - print "Ruby - StockQuoteServiceImpl.initialize\n" - end - - def getQuote(symbol) - print "Ruby - StockQuoteServiceImpl.getQuote ", symbol, "\n" - - result = @webService.GetQuote(symbol) - doc = Document.new(result) - - price = doc.root.elements["Stock"].elements["Last"].text; - - return price.to_f - end - -end \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteTypes.xsd b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteTypes.xsd deleted file mode 100644 index 2f7012b5fb..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteTypes.xsd +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteWebService.wsdl b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteWebService.wsdl deleted file mode 100644 index c14f97c87b..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/StockQuoteWebService.wsdl +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/bigbank.account.composite b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/bigbank.account.composite deleted file mode 100644 index 96f0bd652f..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/bigbank.account.composite +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - AccountServiceComponent - - - - - AccountDataServiceComponent - StockQuoteServiceComponent - EURO - - - - - - - - - StockQuoteWebService - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/runwsserver.bat b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/runwsserver.bat deleted file mode 100644 index f95d5136ef..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/runwsserver.bat +++ /dev/null @@ -1,51 +0,0 @@ -@echo off - -@REM Licensed to the Apache Software Foundation (ASF) under one -@REM or more contributor license agreements. See the NOTICE file -@REM distributed with this work for additional information -@REM regarding copyright ownership. The ASF licenses this file -@REM to you under the Apache License, Version 2.0 (the -@REM "License"); you may not use this file except in compliance -@REM with the License. You may obtain a copy of the License at -@REM -@REM http://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, -@REM software distributed under the License is distributed on an -@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -@REM KIND, either express or implied. See the License for the -@REM specific language governing permissions and limitations -@REM under the License. - -setlocal - -if "%TUSCANY_SCACPP%" == "" ( -echo "TUSCANY_SCACPP not set" -goto end -) -echo Using SCA installed at %TUSCANY_SCACPP% - -if "%TUSCANY_SDOCPP%" == "" ( -echo "TUSCANY_SDOCPP not set" -goto end -) -echo Using SDO installed at %TUSCANY_SDOCPP% - -if "%AXIS2C_HOME%" == "" ( -echo "AXIS2C_HOME not set" -goto end -) -echo Using Axis2C installed at %AXIS2C_HOME% - -set APFULLDIR=%~d0%~p0 -set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ -set TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -rem Run the client -set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SCACPP%\extensions\cpp\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% - -cd %AXIS2C_HOME%\bin -.\axis2_http_server.exe - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/runwsserver.sh b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/runwsserver.sh deleted file mode 100755 index eb20a3d670..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.account/runwsserver.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -# 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. - -APFULLDIR=`pwd` - -if [ x$TUSCANY_SCACPP = x ]; then -echo "TUSCANY_SCACPP not set" -exit; -fi -echo "Using SCA installed at $TUSCANY_SCACPP" - -if [ x$TUSCANY_SDOCPP = x ]; then -echo "TUSCANY_SDOCPP not set" -exit; -fi -echo "Using SDO installed at $TUSCANY_SDOCPP" - -if [ x$AXIS2C_HOME = x ]; then -echo "AXIS2C_HOME not set" -exit; -fi -echo "Using Axis2C installed at $AXIS2C_HOME" - -TEST_SYSTEM=$APFULLDIR/../ - -export LD_LIBRARY_PATH=$TUSCANY_SCACPP/extensions/cpp/lib:$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH - -export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM -export TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -cd $AXIS2C_HOME/bin -./axis2_http_server diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.accountmanagement.composite b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.accountmanagement.composite deleted file mode 100644 index f5f0bbbb57..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.accountmanagement.composite +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/AccountClient.rb b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/AccountClient.rb deleted file mode 100644 index 731c77c9ce..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/AccountClient.rb +++ /dev/null @@ -1,26 +0,0 @@ -# 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. -# -# - -require("tuscany_sca_ruby") - -accountService = SCA::locateService("AccountServiceComponent") - -report = accountService.getAccountReport(1234) - -print report diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/Makefile.am b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/Makefile.am deleted file mode 100644 index 4b0b201ac7..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -deploydir=$(prefix)/samples/RubyBank/deploy -clientdir=$(deploydir)/bigbank.client - -client_DATA = *.rb -client_SCRIPTS = runclient.sh -EXTRA_DIST = runclient.sh *.rb diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/runclient.bat b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/runclient.bat deleted file mode 100644 index f50bc2aa2d..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/runclient.bat +++ /dev/null @@ -1,51 +0,0 @@ -@echo off - -@REM Licensed to the Apache Software Foundation (ASF) under one -@REM or more contributor license agreements. See the NOTICE file -@REM distributed with this work for additional information -@REM regarding copyright ownership. The ASF licenses this file -@REM to you under the Apache License, Version 2.0 (the -@REM "License"); you may not use this file except in compliance -@REM with the License. You may obtain a copy of the License at -@REM -@REM http://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, -@REM software distributed under the License is distributed on an -@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -@REM KIND, either express or implied. See the License for the -@REM specific language governing permissions and limitations -@REM under the License. - -setlocal - -if "%TUSCANY_SCACPP%" == "" ( -echo "TUSCANY_SCACPP not set" -goto end -) -echo Using SCA installed at %TUSCANY_SCACPP% - -if "%TUSCANY_SDOCPP%" == "" ( -echo "TUSCANY_SDOCPP not set" -goto end -) -echo Using SDO installed at %TUSCANY_SDOCPP% - -if "%AXIS2C_HOME%" == "" ( -echo "AXIS2C_HOME not set" -goto end -) -echo Using Axis2C installed at %AXIS2C_HOME% - -set APFULLDIR=%~d0%~p0 -set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ -set TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -rem Run the client -set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% - -cd %TUSCANY_SCACPP_SYSTEM_ROOT%\bigbank.client -ruby -I%TUSCANY_SCACPP%\extensions\ruby\bin AccountClient.rb - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/runclient.sh b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/runclient.sh deleted file mode 100755 index 7ed579d393..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/bigbank.client/runclient.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -# 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. - - -APFULLDIR=`pwd` - -if [ x$TUSCANY_SCACPP = x ]; then -echo "TUSCANY_SCACPP not set" -exit; -fi -echo "Using SCA installed at $TUSCANY_SCACPP" - -if [ x$TUSCANY_SDOCPP = x ]; then -echo "TUSCANY_SDOCPP not set" -exit; -fi -echo "Using SDO installed at $TUSCANY_SDOCPP" - -if [ x$AXIS2C_HOME = x ]; then -echo "AXIS2C_HOME not set" -exit; -fi -echo "Using Axis2C installed at $AXIS2C_HOME" - -TEST_SYSTEM=$APFULLDIR/../ - -export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH - -export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM -export TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -cd $TUSCANY_SCACPP_SYSTEM_ROOT/bigbank.client -ruby -I$TUSCANY_SCACPP/extensions/ruby/lib AccountClient.rb diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/deploy.cmd b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/deploy.cmd deleted file mode 100644 index 59b797e564..0000000000 --- a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/RubyBank/deploy.cmd +++ /dev/null @@ -1,53 +0,0 @@ -@echo off -@REM Licensed to the Apache Software Foundation (ASF) under one -@REM or more contributor license agreements. See the NOTICE file -@REM distributed with this work for additional information -@REM regarding copyright ownership. The ASF licenses this file -@REM to you under the Apache License, Version 2.0 (the -@REM "License"); you may not use this file except in compliance -@REM with the License. You may obtain a copy of the License at -@REM -@REM http://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, -@REM software distributed under the License is distributed on an -@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -@REM KIND, either express or implied. See the License for the -@REM specific language governing permissions and limitations -@REM under the License. - -rem Will copy the correct files from the source tree for packaging and deployment of the -rem SCA sample. -setlocal -set currentPath=%~d0%~p0 -set sourcePath=%currentPath% - -set deploydir=%TUSCANY_SCACPP% -set samplesdir=%deploydir%\samples -set bbdir=%samplesdir%\RubyBank - - -if . == %1. ( -set destinationPath=%bbdir%\deploy -) ELSE ( -set destinationPath=%1 -) - -if not exist %samplesdir% mkdir %samplesdir% -if not exist %bbdir% mkdir %bbdir% -if not exist %destinationPath% mkdir %destinationPath% -if not exist %destinationPath%\bigbank.account mkdir %destinationPath%\bigbank.account -if not exist %destinationPath%\bigbank.client mkdir %destinationPath%\bigbank.client - -copy %sourcePath%\bigbank.account\*.rb %destinationPath%\bigbank.account -copy %sourcePath%\bigbank.account\*.composite %destinationPath%\bigbank.account -copy %sourcePath%\bigbank.account\*.wsdl %destinationPath%\bigbank.account -copy %sourcePath%\bigbank.account\*.xsd %destinationPath%\bigbank.account -copy %sourcePath%\bigbank.account\*.bat %destinationPath%\bigbank.account - -copy %sourcePath%\bigbank.client\*.rb %destinationPath%\bigbank.client -copy %sourcePath%\bigbank.client\*.bat %destinationPath%\bigbank.client - -copy %sourcePath%\*.composite %destinationPath% - -endlocal -- cgit v1.2.3