From fdd5b43d3c139cf2cbd1655d2efbfaf9032a5b5e Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 11 Nov 2009 23:14:18 +0000 Subject: Moving 1.x branches git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835145 13f79535-47bb-0310-9956-ffa450edef68 --- .../store-secure/src/main/java/launch/Launch.java | 34 +++++ .../src/main/java/launch/LaunchProtected.java | 34 +++++ .../src/main/java/launch/LaunchSSL.java | 34 +++++ .../store-secure/src/main/java/services/Cart.java | 28 ++++ .../src/main/java/services/Catalog.java | 27 ++++ .../src/main/java/services/CurrencyConverter.java | 29 ++++ .../main/java/services/CurrencyConverterImpl.java | 38 +++++ .../src/main/java/services/FruitsCatalogImpl.java | 52 +++++++ .../store-secure/src/main/java/services/Item.java | 51 +++++++ .../src/main/java/services/ShoppingCartImpl.java | 112 ++++++++++++++ .../store-secure/src/main/java/services/Total.java | 29 ++++ .../src/main/resources/definitions.xml | 50 +++++++ .../src/main/resources/store-protected.composite | 64 ++++++++ .../src/main/resources/store-ssl.composite | 64 ++++++++ .../src/main/resources/store.composite | 64 ++++++++ .../src/main/resources/tuscany.keyStore | Bin 0 -> 1265 bytes .../src/main/resources/uiservices/store.html | 162 +++++++++++++++++++++ 17 files changed, 872 insertions(+) create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/Launch.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/LaunchProtected.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/LaunchSSL.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Cart.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Catalog.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/CurrencyConverter.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/CurrencyConverterImpl.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/FruitsCatalogImpl.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Item.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/ShoppingCartImpl.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Total.java create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/definitions.xml create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store-protected.composite create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store-ssl.composite create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store.composite create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/tuscany.keyStore create mode 100644 sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/uiservices/store.html (limited to 'sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src') diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/Launch.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/Launch.java new file mode 100644 index 0000000000..801697abea --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/Launch.java @@ -0,0 +1,34 @@ +/* + * 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. + */ + +package launch; + +import org.apache.tuscany.sca.host.embedded.SCADomain; + +public class Launch { + public static void main(String[] args) throws Exception { + System.out.println("Starting ..."); + SCADomain scaDomain = SCADomain.newInstance("store.composite"); + System.out.println("store.composite ready for big business !!!"); + System.in.read(); + System.out.println("Stopping ..."); + scaDomain.close(); + System.out.println(); + } +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/LaunchProtected.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/LaunchProtected.java new file mode 100644 index 0000000000..ffdf9db47b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/LaunchProtected.java @@ -0,0 +1,34 @@ +/* + * 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. + */ + +package launch; + +import org.apache.tuscany.sca.host.embedded.SCADomain; + +public class LaunchProtected { + public static void main(String[] args) throws Exception { + System.out.println("Starting ..."); + SCADomain scaDomain = SCADomain.newInstance("store-protected.composite"); + System.out.println("store.composite ready for big business !!!"); + System.in.read(); + System.out.println("Stopping ..."); + scaDomain.close(); + System.out.println(); + } +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/LaunchSSL.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/LaunchSSL.java new file mode 100644 index 0000000000..a3703869ac --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/launch/LaunchSSL.java @@ -0,0 +1,34 @@ +/* + * 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. + */ + +package launch; + +import org.apache.tuscany.sca.host.embedded.SCADomain; + +public class LaunchSSL { + public static void main(String[] args) throws Exception { + System.out.println("Starting ..."); + SCADomain scaDomain = SCADomain.newInstance("store-ssl.composite"); + System.out.println("store.composite ready for big business !!!"); + System.in.read(); + System.out.println("Stopping ..."); + scaDomain.close(); + System.out.println(); + } +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Cart.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Cart.java new file mode 100644 index 0000000000..9e6226d963 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Cart.java @@ -0,0 +1,28 @@ +/* + * 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. + */ + +package services; + +import org.apache.tuscany.sca.data.collection.Collection; +import org.osoa.sca.annotations.Remotable; + +@Remotable +public interface Cart extends Collection { + +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Catalog.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Catalog.java new file mode 100644 index 0000000000..2c3b19f579 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Catalog.java @@ -0,0 +1,27 @@ +/* + * 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. + */ + +package services; + +import org.osoa.sca.annotations.Remotable; + +@Remotable +public interface Catalog { + Item[] get(); +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/CurrencyConverter.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/CurrencyConverter.java new file mode 100644 index 0000000000..e104a0423a --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/CurrencyConverter.java @@ -0,0 +1,29 @@ +/* + * 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. + */ + +package services; + +import org.osoa.sca.annotations.Remotable; + +@Remotable +public interface CurrencyConverter { + public double getConversion(String fromCurrenycCode, String toCurrencyCode, double amount); + + public String getCurrencySymbol(String currencyCode); +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/CurrencyConverterImpl.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/CurrencyConverterImpl.java new file mode 100644 index 0000000000..c354aed447 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/CurrencyConverterImpl.java @@ -0,0 +1,38 @@ +/* + * 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. + */ + +package services; + +public class CurrencyConverterImpl implements CurrencyConverter { + public double getConversion(String fromCurrencyCode, String toCurrencyCode, double amount) { + if (toCurrencyCode.equals("USD")) + return amount; + else if (toCurrencyCode.equals("EUR")) + return ((double)Math.round(amount * 0.7256 * 100)) /100; + return 0; + } + + public String getCurrencySymbol(String currencyCode) { + if (currencyCode.equals("USD")) + return "$"; + else if (currencyCode.equals("EUR")) + return "E"; //"€"; + return "?"; + } +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/FruitsCatalogImpl.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/FruitsCatalogImpl.java new file mode 100644 index 0000000000..377b3d7e59 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/FruitsCatalogImpl.java @@ -0,0 +1,52 @@ +/* + * 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. + */ + +package services; + +import java.util.ArrayList; +import java.util.List; + +import org.osoa.sca.annotations.Init; +import org.osoa.sca.annotations.Property; +import org.osoa.sca.annotations.Reference; + +public class FruitsCatalogImpl implements Catalog { + + @Property + public String currencyCode = "USD"; + + @Reference + public CurrencyConverter currencyConverter; + + private List catalog = new ArrayList(); + + @Init + public void init() { + String currencySymbol = currencyConverter.getCurrencySymbol(currencyCode); + catalog.add(new Item("Apple", currencySymbol + currencyConverter.getConversion("USD", currencyCode, 2.99))); + catalog.add(new Item("Orange", currencySymbol + currencyConverter.getConversion("USD", currencyCode, 3.55))); + catalog.add(new Item("Pear", currencySymbol + currencyConverter.getConversion("USD", currencyCode, 1.55))); + } + + public Item[] get() { + Item[] catalogArray = new Item[catalog.size()]; + catalog.toArray(catalogArray); + return catalogArray; + } +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Item.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Item.java new file mode 100644 index 0000000000..27abd4f016 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Item.java @@ -0,0 +1,51 @@ +/* + * 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. + */ + +package services; + + +public class Item { + private String name; + private String price; + + public Item() { + } + + public Item(String name, String price) { + this.name = name; + this.price = price; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPrice() { + return price; + } + + public void setPrice(String price) { + this.price = price; + } + +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/ShoppingCartImpl.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/ShoppingCartImpl.java new file mode 100644 index 0000000000..9889921a96 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/ShoppingCartImpl.java @@ -0,0 +1,112 @@ +/* + * 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. + */ + +package services; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; + +import org.apache.tuscany.sca.data.collection.Entry; +import org.apache.tuscany.sca.data.collection.NotFoundException; +import org.osoa.sca.annotations.Init; +import org.osoa.sca.annotations.Scope; + +@Scope("COMPOSITE") +public class ShoppingCartImpl implements Cart, Total { + + private Map cart; + + @Init + public void init() { + cart = new HashMap(); + } + + public Entry[] getAll() { + Entry[] entries = new Entry[cart.size()]; + int i = 0; + for (Map.Entry e: cart.entrySet()) { + entries[i++] = new Entry(e.getKey(), e.getValue()); + } + return entries; + } + + public Item get(String key) throws NotFoundException { + Item item = cart.get(key); + if (item == null) { + throw new NotFoundException(key); + } else { + return item; + } + } + + public String post(String key, Item item) { + if (key == null) { + key ="cart-" + UUID.randomUUID().toString(); + } + cart.put(key, item); + return key; + } + + public void put(String key, Item item) throws NotFoundException { + if (!cart.containsKey(key)) { + throw new NotFoundException(key); + } + cart.put(key, item); + } + + public void delete(String key) throws NotFoundException { + if (key == null || key.equals("")) { + cart.clear(); + } else { + Item item = cart.remove(key); + if (item == null) + throw new NotFoundException(key); + } + } + + public Entry[] query(String queryString) { + List> entries = new ArrayList>(); + if (queryString.startsWith("name=")) { + String name = queryString.substring(5); + for (Map.Entry e: cart.entrySet()) { + Item item = e.getValue(); + if (item.getName().equals(name)) { + entries.add(new Entry(e.getKey(), e.getValue())); + } + } + } + return entries.toArray(new Entry[entries.size()]); + } + + public String getTotal() { + double total = 0; + String currencySymbol = ""; + if (!cart.isEmpty()) { + Item item = cart.values().iterator().next(); + currencySymbol = item.getPrice().substring(0, 1); + } + for (Item item : cart.values()) { + total += Double.valueOf(item.getPrice().substring(1)); + } + return currencySymbol + String.valueOf(total); + } +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Total.java b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Total.java new file mode 100644 index 0000000000..8f464e526f --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/java/services/Total.java @@ -0,0 +1,29 @@ +/* + * 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. + */ + +package services; + +import org.osoa.sca.annotations.Remotable; + +@Remotable +public interface Total { + + String getTotal(); + +} diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/definitions.xml b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/definitions.xml new file mode 100644 index 0000000000..140c5fd1c5 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/definitions.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store-protected.composite b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store-protected.composite new file mode 100644 index 0000000000..5619afd8d9 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store-protected.composite @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + USD + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store-ssl.composite b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store-ssl.composite new file mode 100644 index 0000000000..79ef3f31a3 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store-ssl.composite @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + USD + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store.composite b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store.composite new file mode 100644 index 0000000000..8aef45c53c --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/store.composite @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + USD + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/tuscany.keyStore b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/tuscany.keyStore new file mode 100644 index 0000000000..7ea23f7ff4 Binary files /dev/null and b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/tuscany.keyStore differ diff --git a/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/uiservices/store.html b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/uiservices/store.html new file mode 100644 index 0000000000..ba004e02ac --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5.1/samples/store-secure/src/main/resources/uiservices/store.html @@ -0,0 +1,162 @@ + + + +Store + + + + + + + + +

Store

+
+

Catalog

+
+
+
+ +
+ +
+ +

Your Shopping Cart

+
+
+
+
+
+ + + (feed) +
+
+ + -- cgit v1.2.3