From cbc7baadca00b5d0b62c4a1bbf73df74204173cc Mon Sep 17 00:00:00 2001 From: slaws Date: Sat, 21 Feb 2009 13:23:43 +0000 Subject: Add composite which uses the BPEL payment component git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@746500 13f79535-47bb-0310-9956-ffa450edef68 --- .../chapter-06/ui-bpel-contribution/build.xml | 116 ++++++ .../chapter-06/ui-bpel-contribution/pom.xml | 88 +++++ .../main/resources/META-INF/sca-contribution.xml | 37 ++ .../src/main/resources/scatours.composite | 178 ++++++++++ .../src/main/resources/scatours.html | 391 +++++++++++++++++++++ .../src/main/resources/scatours.odg | Bin 0 -> 11477 bytes .../src/main/resources/scatours.png | Bin 0 -> 11061 bytes .../src/main/resources/style.css | 135 +++++++ 8 files changed, 945 insertions(+) create mode 100644 sandbox/travelsample/chapter-06/ui-bpel-contribution/build.xml create mode 100644 sandbox/travelsample/chapter-06/ui-bpel-contribution/pom.xml create mode 100644 sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/META-INF/sca-contribution.xml create mode 100644 sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.composite create mode 100644 sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.html create mode 100644 sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.odg create mode 100644 sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.png create mode 100644 sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/style.css diff --git a/sandbox/travelsample/chapter-06/ui-bpel-contribution/build.xml b/sandbox/travelsample/chapter-06/ui-bpel-contribution/build.xml new file mode 100644 index 0000000000..591b58299e --- /dev/null +++ b/sandbox/travelsample/chapter-06/ui-bpel-contribution/build.xml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sandbox/travelsample/chapter-06/ui-bpel-contribution/pom.xml b/sandbox/travelsample/chapter-06/ui-bpel-contribution/pom.xml new file mode 100644 index 0000000000..1a04dbd879 --- /dev/null +++ b/sandbox/travelsample/chapter-06/ui-bpel-contribution/pom.xml @@ -0,0 +1,88 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-sca + 1.5-SNAPSHOT + + + scatours-chapter-06-ui-bpel-contribution + Apache Tuscany SCA Tours Chapter 06 User Interface Contribution + + + + org.apache.tuscany.sca + tuscany-host-embedded + 1.5-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-implementation-java-runtime + 1.5-SNAPSHOT + test + + + + org.apache.tuscany.sca + tuscany-binding-ws-axis2 + 1.5-SNAPSHOT + test + + + + org.apache.tuscany.sca + tuscany-host-tomcat + 1.5-SNAPSHOT + test + + + + junit + junit + 4.5 + test + + + + + + ${artifactId} + + + org.apache.tuscany.sca + tuscany-maven-ant-generator + 1.5-SNAPSHOT + + + + launch.LaunchTutorialAdmin + + + generate + + + + + + + diff --git a/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/META-INF/sca-contribution.xml b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..b3de1910d1 --- /dev/null +++ b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/META-INF/sca-contribution.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.composite b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.composite new file mode 100644 index 0000000000..4b5290b910 --- /dev/null +++ b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.composite @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GBP + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.html b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.html new file mode 100644 index 0000000000..b8e27e87fc --- /dev/null +++ b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.html @@ -0,0 +1,391 @@ + + + +SCA Tours + + + + + + + + + + + +
+
+

Search for trips, hotels, flights and cars

+
+ + + + + + + + + + + + + + + + + +
From Location:To Location:
Start Date:End Date:
Number of people: + +
+
+ +
+
+
+
+
+
+
+
+

Shopping Cart

+
+
+ Total Price:
+
+ +
+
+ + + diff --git a/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.odg b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.odg new file mode 100644 index 0000000000..8ca8fbf133 Binary files /dev/null and b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.odg differ diff --git a/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.png b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.png new file mode 100644 index 0000000000..f68cd84704 Binary files /dev/null and b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/scatours.png differ diff --git a/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/style.css b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/style.css new file mode 100644 index 0000000000..6e17c2747b --- /dev/null +++ b/sandbox/travelsample/chapter-06/ui-bpel-contribution/src/main/resources/style.css @@ -0,0 +1,135 @@ +/* + * 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. + */ + + + +/*******************************************/ + +p,table,li,h1,h2,h3 +{ +font-family: verdana, arial, 'sans serif'; +} + +p, h1, h2, h3, table, li, hr +{ +margin-left: 10pt; +} + +table +{ +border-color: black; +border-collapse: separate; +border-spacing: 0px 1px; + +margin-right: 10pt; +margin-left: 10pt; +width: 800px; +} + +.sourceDetailsTable +{ +width: 600px; +} + +tr, td +{ +margin-left: 0pt; +margin-right: 0pt; +padding-left: 10pt; +font-size: 90%; +} + +p,li,th +{ +font-size: 90%; +margin-left: 10pt; +} + +pre +{ +margin-left: 10pt; +} + +body +{ +#ffffff; +} + +h1,h2,h3,hr +{ +color: firebrick; +} + +a:link {COLOR: firebrick;} +a:visited {COLOR: firebrick;} +a:active {COLOR: navy;} + +.link +{ +COLOR: firebrick; +text-decoration: underline; +} + +.clickable +{ +cursor: pointer +} + +.unread_title +{ +font-weight: bold; +} + +.read_title +{ +font-weight: normal; +} + +.summary +{ +color: DimGrey; +} + +.hidden +{ +display: none; +} + +.source_name +{ +width: 600px; +} + +.alert_text +{ +width: 600px; +} + +.alert_data +{ +margin-left: 10px; +width: 800px; +height: 800px; +} + +.source_0 +{ +background-color: LightGreen; +} + -- cgit v1.2.3