diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-27 01:07:30 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-27 01:07:30 +0000 |
commit | 47d7bf03613dfd6a2db848df57306c0c2b8c2402 (patch) | |
tree | 47d5bc9c7e565ffc5f1a653c2ba2d3cc2df1a940 /sandbox/travelsample/launchers/fullapp-domain/src/main | |
parent | e55e032a7fbf42b17461e4fa4ad729b8f58a0f60 (diff) |
Apply the new naming conventions to the fullapp contributions and launchers
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/launchers/fullapp-domain/src/main')
11 files changed, 395 insertions, 0 deletions
diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud.composite new file mode 100644 index 0000000000..812736e620 --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud.composite @@ -0,0 +1,35 @@ +<?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. +--> +<composite name="cloud.composite" + targetNamespace="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:ns1="http://www.osoa.org/xmlns/sca/1.0" + xmlns:ns2="http://tuscany.apache.org/cloud"> + + <include name="ns2:ui" uri="http://tuscany.apache.org/cloud" /> + <include name="ns2:frontend" uri="http://tuscany.apache.org/cloud" /> + <include name="ns2:packagedtrip" uri="http://tuscany.apache.org/cloud" /> + <include name="ns2:bespoketrip" uri="http://tuscany.apache.org/cloud" /> + <include name="ns2:currency" uri="http://tuscany.apache.org/cloud" /> + <include name="ns2:shoppingcart" uri="http://tuscany.apache.org/cloud" /> + <include name="ns2:payment" uri="http://tuscany.apache.org/cloud" /> + <include name="ns2:creditcard" uri="http://tuscany.apache.org/cloud" /> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-bespoketrip.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-bespoketrip.composite new file mode 100644 index 0000000000..51f48a93f1 --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-bespoketrip.composite @@ -0,0 +1,36 @@ +<?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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/cloud" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:s="http://tuscanyscatours.com/" + name="bespoketrip"> + + <component name="bespoketrip"> + <t:implementation.node uri="fullapp-bespoketrip" composite="s:bespoketrip"/> + <service name="Node"> + <binding.sca uri="http://localhost:8086"/> + <binding.ws uri="http://localhost:8086"/> + <tuscany:binding.jsonrpc uri="http://localhost:8086"/> + </service> + </component> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-creditcard.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-creditcard.composite new file mode 100644 index 0000000000..93e1727266 --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-creditcard.composite @@ -0,0 +1,36 @@ +<?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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/cloud" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:s="http://tuscanyscatours.com/" + name="creditcard"> + + <component name="creditcard"> + <t:implementation.node uri="fullapp-creditcard" composite="s:creditcard"/> + <service name="Node"> + <binding.sca uri="http://localhost:8082"/> + <binding.ws uri="http://localhost:8082"/> + <tuscany:binding.jsonrpc uri="http://localhost:8082"/> + </service> + </component> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-currency.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-currency.composite new file mode 100644 index 0000000000..808d2843bd --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-currency.composite @@ -0,0 +1,36 @@ +<?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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/cloud" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:s="http://tuscanyscatours.com/" + name="currency"> + + <component name="currency"> + <t:implementation.node uri="fullapp-currency" composite="s:currency"/> + <service name="Node"> + <binding.sca uri="http://localhost:8083"/> + <binding.ws uri="http://localhost:8083"/> + <tuscany:binding.jsonrpc uri="http://localhost:8083"/> + </service> + </component> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-frontend.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-frontend.composite new file mode 100644 index 0000000000..75c95daf4b --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-frontend.composite @@ -0,0 +1,36 @@ +<?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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/cloud" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:s="http://tuscanyscatours.com/" + name="frontend"> + + <component name="frontend"> + <t:implementation.node uri="fullapp-frontend" composite="s:frontend"/> + <service name="Node"> + <binding.sca uri="http://localhost:8084"/> + <binding.ws uri="http://localhost:8084"/> + <tuscany:binding.jsonrpc uri="http://localhost:8084"/> + </service> + </component> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-packagedtrip.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-packagedtrip.composite new file mode 100644 index 0000000000..a6ec78b56c --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-packagedtrip.composite @@ -0,0 +1,35 @@ +<?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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/cloud" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:s="http://tuscanyscatours.com/" + name="packagedtrip"> + + <component name="packagedtrip"> + <t:implementation.node uri="fullapp-packagedtrip" composite="s:packagedtrip"/> + <service name="Node"> + <binding.sca uri="http://localhost:8085"/> + <tuscany:binding.jsonrpc uri="http://localhost:8085"/> + </service> + </component> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-payment.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-payment.composite new file mode 100644 index 0000000000..a73d034805 --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-payment.composite @@ -0,0 +1,36 @@ +<?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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/cloud" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:s="http://tuscanyscatours.com/" + name="payment"> + + <component name="payment"> + <t:implementation.node uri="fullapp-payment" composite="s:payment"/> + <service name="Node"> + <binding.sca uri="http://localhost:8081"/> + <binding.ws uri="http://localhost:8081"/> + <tuscany:binding.jsonrpc uri="http://localhost:8081"/> + </service> + </component> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-shoppingcart.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-shoppingcart.composite new file mode 100644 index 0000000000..dce5fe829e --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-shoppingcart.composite @@ -0,0 +1,36 @@ +<?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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/cloud" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:s="http://tuscanyscatours.com/" + name="shoppingcart"> + + <component name="shoppingcart"> + <t:implementation.node uri="fullapp-shoppingcart" composite="s:shoppingcart"/> + <service name="Node"> + <binding.sca uri="http://localhost:8087"/> + <binding.ws uri="http://localhost:8087"/> + <tuscany:binding.jsonrpc uri="http://localhost:8087"/> + </service> + </component> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-ui.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-ui.composite new file mode 100644 index 0000000000..d72432daff --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/cloud/fullapp-ui.composite @@ -0,0 +1,33 @@ +<?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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/cloud" + xmlns:s="http://tuscanyscatours.com/" + name="ui"> + + <component name="ui"> + <t:implementation.node uri="fullapp-ui" composite="s:ui"/> + <service name="Node"> + <binding.sca uri="http://localhost:8080"/> + </service> + </component> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/domain.composite b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/domain.composite new file mode 100644 index 0000000000..636397c705 --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/domain.composite @@ -0,0 +1,35 @@ +<?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. +--> +<composite name="domain.composite" + targetNamespace="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:ns1="http://www.osoa.org/xmlns/sca/1.0" + xmlns:ns2="http://tuscanyscatours.com/"> + + <include name="ns2:creditcard" uri="fullapp-creditcard" /> + <include name="ns2:payment" uri="fullapp-payment" /> + <include name="ns2:shoppingcart" uri="fullapp-shoppingcart" /> + <include name="ns2:currency" uri="fullapp-currency" /> + <include name="ns2:packagedtrip" uri="fullapp-packagedtrip" /> + <include name="ns2:bespoketrip" uri="fullapp-bespoketrip" /> + <include name="ns2:frontend" uri="fullapp-frontend" /> + <include name="ns2:ui" uri="fullapp-ui" /> + +</composite> diff --git a/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/workspace.xml b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/workspace.xml new file mode 100644 index 0000000000..59fea4eec2 --- /dev/null +++ b/sandbox/travelsample/launchers/fullapp-domain/src/main/resources/workspace.xml @@ -0,0 +1,41 @@ +<?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. +--> +<workspace xmlns="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:ns1="http://tuscany.apache.org/xmlns/sca/1.0"> + <contribution location="file:../../../../contributions/common/target/scatours-contribution-common.jar" uri="common"/> + <contribution location="file:../../../../contributions/currency/target/scatours-contribution-currency.jar" uri="currency"/> + <contribution location="file:../../../../contributions/hotel/target/scatours-contribution-hotel.jar" uri="hotel"/> + <contribution location="file:../../../../contributions/flight/target/scatours-contribution-flight.jar" uri="flight"/> + <contribution location="file:../../../../contributions/car/target/scatours-contribution-car.jar" uri="car"/> + <contribution location="file:../../../../contributions/trip/target/scatours-contribution-trip.jar" uri="trip"/> + <contribution location="file:../../../../contributions/tripbooking/target/scatours-contribution-tripbooking.jar" uri="tripbooking"/> + <contribution location="file:../../../../contributions/travelcatalog/target/scatours-contribution-travelcatalog.jar" uri="travelcatalog"/> + <contribution location="file:../../../../contributions/payment-java/target/scatours-contribution-payment-java.jar" uri="fullapp-payment"/> + <contribution location="file:../../../../contributions/creditcard-payment-jaxb/target/scatours-contribution-creditcard-payment-jaxb.jar" uri="fullapp-creditcard"/> + <contribution location="file:../../../../contributions/shoppingcart/target/scatours-contribution-shoppingcart.jar" uri="shoppingcart"/> + <contribution location="file:../../../../contributions/scatours/target/scatours-contribution-scatours.jar" uri="scatours"/> + <contribution location="file:../../../../contributions/fullapp-ui/target/scatours-contribution-fullapp-ui.jar" uri="fullapp-ui"/> + <contribution location="file:../../../../contributions/fullapp-frontend/target/scatours-contribution-fullapp-frontend.jar" uri="fullapp-frontend"/> + <contribution location="file:../../../../contributions/fullapp-currency/target/scatours-contribution-fullapp-currency.jar" uri="fullapp-currency"/> + <contribution location="file:../../../../contributions/fullapp-packagedtrip/target/scatours-contribution-fullapp-packagedtrip.jar" uri="fullapp-packagedtrip"/> + <contribution location="file:../../../../contributions/fullapp-bespoketrip/target/scatours-contribution-fullapp-bespoketrip.jar" uri="fullapp-bespoketrip"/> + <contribution location="file:../../../../contributions/fullapp-shoppingcart/target/scatours-contribution-fullapp-shoppingcart.jar" uri="fullapp-shoppingcart"/> + <contribution location="file:./cloud" uri="http://tuscany.apache.org/cloud"/> +</workspace>
\ No newline at end of file |