From d9ebf13190d93ec63502518987fb963213560859 Mon Sep 17 00:00:00 2001 From: nash Date: Tue, 26 Oct 2010 12:47:01 +0000 Subject: Merge r1006259 TUSCANY-3707: Use a local copy of the Tuscany home page so tests work without an internet connection git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027519 13f79535-47bb-0310-9956-ffa450edef68 --- .../itest/databindings/jaxb-bottom-up/pom.xml | 15 ++ .../src/main/resources/myContent/home.html | 210 +++++++++++++++++++++ .../resources/standard-types-service.composite | 9 + .../jaxb/StandardTypesDatabindingTestCase.java | 4 +- .../trunk/itest/databindings/jaxb-top-down/pom.xml | 15 +- .../src/main/resources/myContent/home.html | 210 +++++++++++++++++++++ .../wsdl/wrapped/standard-types-service.composite | 9 + .../topdown/StandardTypesDatabindingTestCase.java | 4 +- 8 files changed, 471 insertions(+), 5 deletions(-) create mode 100644 sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html create mode 100644 sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html (limited to 'sca-java-1.x/trunk/itest/databindings') diff --git a/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/pom.xml b/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/pom.xml index 2dd3381ba4..07925d9f7c 100644 --- a/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/pom.xml +++ b/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/pom.xml @@ -136,6 +136,21 @@ provided + + + org.apache.tuscany.sca + tuscany-implementation-resource-runtime + 1.6.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-http-runtime + 1.6.1-SNAPSHOT + runtime + + diff --git a/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html b/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html new file mode 100644 index 0000000000..d2bdecb1af --- /dev/null +++ b/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + + Apache Tuscany : Home + + + + + + + + + + + + + + + + +
+ + + + + +   + +
+ + +
+
+ + + + + + + + + + + +
+  Apache Tuscany > Home + + User List | Dev List | Issue Tracker   +
+ + + + + + + + +
+ + +
+ +
+ +
+ + +
+ + + +
Subprojects
+ +

SDO
+DAS

+
+ +

Welcome to Apache Tuscany

+

Apache Tuscany simplifies the task of developing SOA solutions by providing a comprehensive infrastructure for SOA development and management that is based on Service Component Architecture (SCA) standard. With SCA as it's foundation, Tuscany offers solution developers the following advantages:

+
    +
  • Provides a model for creating composite applications by defining the services in the fabric and their relationships with one another. The services can be implemented in any technology.
  • + +
  • Enables service developers to create reusable services that only contain business logic. Protocols are pushed out of business logic and are handled through pluggable bindings. This lowers development cost.
  • +
  • Applications can easily adapt to infrastructure changes without recoding since protocols are handled via pluggable bindings and quality of services (transaction, security) are handled declaratively.
  • +
  • Existing applications can work with new SCA compositions. This allows for incremental growth towards a more flexible architecture, outsourcing or providing services to others.
  • +
+ + + + +
+ +

In addition, Tuscany is integrated with various technologies and offers:

+ +
    +
  • a wide range of bindings (pluggable protocols)
  • +
  • various component types including and not limited to Java, C++, BPEL, Spring and scripting
  • +
  • an end to end service and data solution which includes support for Jaxb and SDO
  • +
  • a lightweight runtime that works standalone or with other application servers
  • +
  • a modular architecture that makes it easy to integrate with different technologies and to extend
  • +
  • Integration with web20 technologies
  • + +
+ + +

Apache Tuscany SCA is implemented in Java and C++ (referred to as Native) . Learn more about SCA

+ +

Please join us to create a practical SOA infrastructure that addresses the challenges which small to large scale businesses face.

+ +
+ + +
GSoC 2010
+ + +
+
Tuscany News Dashboard
+
Unknown macro: {rss}
+
+ +
+
+
+
+ + +
+ + + + + + + website stats + + + + + + diff --git a/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite b/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite index 61c8a70a9a..6d5742ac10 100644 --- a/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite +++ b/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite @@ -19,6 +19,7 @@ --> @@ -63,4 +64,12 @@ + + + + + + + + diff --git a/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java b/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java index 079e1cdfff..9788a7f2df 100644 --- a/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java +++ b/sca-java-1.x/trunk/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java @@ -1280,7 +1280,7 @@ public class StandardTypesDatabindingTestCase { private void performTestNewDataHandler(StandardTypesServiceClient serviceClient) throws IOException { DataHandler[] dha = new DataHandler[3]; dha[0] = new DataHandler("Some data", "text/plain"); - dha[1] = new DataHandler(new URL("http://tuscany.apache.org/home.html")); + dha[1] = new DataHandler(new URL("http://localhost:8080/myWeb/home.html")); dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes())); for (int i = 0; i < dha.length; ++i) { @@ -1294,7 +1294,7 @@ public class StandardTypesDatabindingTestCase { private void performTestNewDataHandlerArray(StandardTypesServiceClient serviceClient) throws IOException { DataHandler[] dha = new DataHandler[3]; dha[0] = new DataHandler("Some data", "text/plain"); - dha[1] = new DataHandler(new URL("http://tuscany.apache.org/home.html")); + dha[1] = new DataHandler(new URL("http://localhost:8080/myWeb/home.html")); dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes())); DataHandler[] actual = serviceClient.getNewDataHandlerArrayForward(dha); diff --git a/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/pom.xml b/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/pom.xml index 1f29db9ea9..35a03571b5 100644 --- a/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/pom.xml +++ b/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/pom.xml @@ -145,7 +145,20 @@ - + + org.apache.tuscany.sca + tuscany-implementation-resource-runtime + 1.6.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-http-runtime + 1.6.1-SNAPSHOT + runtime + + diff --git a/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html b/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html new file mode 100644 index 0000000000..d2bdecb1af --- /dev/null +++ b/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + + Apache Tuscany : Home + + + + + + + + + + + + + + + + +
+ + + + + +   + +
+ + +
+
+ + + + + + + + + + + +
+  Apache Tuscany > Home + + User List | Dev List | Issue Tracker   +
+ + + + + + + + +
+ + +
+ +
+ +
+ + +
+ + + +
Subprojects
+ +

SDO
+DAS

+
+ +

Welcome to Apache Tuscany

+

Apache Tuscany simplifies the task of developing SOA solutions by providing a comprehensive infrastructure for SOA development and management that is based on Service Component Architecture (SCA) standard. With SCA as it's foundation, Tuscany offers solution developers the following advantages:

+
    +
  • Provides a model for creating composite applications by defining the services in the fabric and their relationships with one another. The services can be implemented in any technology.
  • + +
  • Enables service developers to create reusable services that only contain business logic. Protocols are pushed out of business logic and are handled through pluggable bindings. This lowers development cost.
  • +
  • Applications can easily adapt to infrastructure changes without recoding since protocols are handled via pluggable bindings and quality of services (transaction, security) are handled declaratively.
  • +
  • Existing applications can work with new SCA compositions. This allows for incremental growth towards a more flexible architecture, outsourcing or providing services to others.
  • +
+ + + + +
+ +

In addition, Tuscany is integrated with various technologies and offers:

+ +
    +
  • a wide range of bindings (pluggable protocols)
  • +
  • various component types including and not limited to Java, C++, BPEL, Spring and scripting
  • +
  • an end to end service and data solution which includes support for Jaxb and SDO
  • +
  • a lightweight runtime that works standalone or with other application servers
  • +
  • a modular architecture that makes it easy to integrate with different technologies and to extend
  • +
  • Integration with web20 technologies
  • + +
+ + +

Apache Tuscany SCA is implemented in Java and C++ (referred to as Native) . Learn more about SCA

+ +

Please join us to create a practical SOA infrastructure that addresses the challenges which small to large scale businesses face.

+ +
+ + +
GSoC 2010
+ + +
+
Tuscany News Dashboard
+
Unknown macro: {rss}
+
+ +
+
+
+
+ + +
+ + + + + + + website stats + + + + + + diff --git a/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite b/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite index 59e30dc801..9c81b78e45 100644 --- a/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite +++ b/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite @@ -23,6 +23,7 @@ @@ -77,4 +78,12 @@ + + + + + + + + diff --git a/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java b/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java index 4713179267..cec01cf4d8 100644 --- a/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java +++ b/sca-java-1.x/trunk/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java @@ -1287,7 +1287,7 @@ public class StandardTypesDatabindingTestCase { private void performTestNewDataHandler(StandardTypesServiceClient serviceClient) throws IOException { DataHandler[] dha = new DataHandler[3]; dha[0] = new DataHandler("Some data", "text/plain"); - dha[1] = new DataHandler(new URL("http://tuscany.apache.org/home.html")); + dha[1] = new DataHandler(new URL("http://localhost:8080/myWeb/home.html")); dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes())); for (int i = 0; i < dha.length; ++i) { @@ -1301,7 +1301,7 @@ public class StandardTypesDatabindingTestCase { private void performTestNewDataHandlerArray(StandardTypesServiceClient serviceClient) throws IOException { DataHandler[] dha = new DataHandler[3]; dha[0] = new DataHandler("Some data", "text/plain"); - dha[1] = new DataHandler(new URL("http://tuscany.apache.org/home.html")); + dha[1] = new DataHandler(new URL("http://localhost:8080/myWeb/home.html")); dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes())); DataHandler[] actual = serviceClient.getNewDataHandlerArrayForward(dha); -- cgit v1.2.3