diff options
Diffstat (limited to 'branches/sca-java-1.2.1/tutorial/domain/cloud')
10 files changed, 345 insertions, 0 deletions
diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogEJBNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogEJBNode.composite new file mode 100644 index 0000000000..b495b45ebd --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogEJBNode.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:c="http://catalog" + name="CatalogEJBNode"> + + <component name="CatalogEJBNode"> + <t:implementation.node uri="catalog-ejb" composite="c:catalog-ejb"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8080"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogMediationNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogMediationNode.composite new file mode 100644 index 0000000000..bac96d9781 --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogMediationNode.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:c="http://catalog" + name="CatalogMediationNode"> + + <component name="CatalogMediationNode"> + <t:implementation.node uri="catalog-mediation" composite="c:catalog-mediation"/> + <service name="Node"> + <binding.ws uri="http://localhost:8105"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogWebAppNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogWebAppNode.composite new file mode 100644 index 0000000000..f3ed2dfdd5 --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogWebAppNode.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" + xmlns:c="http://catalog" + targetNamespace="http://tuscany.apache.org/cloud" + name="CatalogWebAppNode"> + + <component name="CatalogWebAppNode"> + <t:implementation.node uri="catalog-webapp" composite="c:catalog-web" /> + <service name="Node"> + <binding.ws uri="http://localhost:8080/CatalogWebAppNode" /> + <t:binding.http uri="http://localhost:8080/CatalogWebAppNode" /> + <t:binding.jsonrpc uri="http://localhost:8080/CatalogWebAppNode" /> + <t:binding.atom uri="http://localhost:8080/CatalogWebAppNode" /> + </service> + </component> + +</composite>
\ No newline at end of file diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogsNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogsNode.composite new file mode 100644 index 0000000000..3a5ec770cb --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/CatalogsNode.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:c="http://services" + name="CatalogsNode"> + + <component name="CatalogsNode"> + <t:implementation.node uri="web-services" composite="c:catalogs"/> + <service name="Node"> + <binding.ws uri="http://localhost:8200"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/CurrencyNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/CurrencyNode.composite new file mode 100644 index 0000000000..ed80268f22 --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/CurrencyNode.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:c="http://services" + name="CurrencyNode"> + + <component name="CurrencyNode"> + <t:implementation.node uri="web-services" composite="c:currency"/> + <service name="Node"> + <binding.ws uri="http://localhost:8201"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreDBNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreDBNode.composite new file mode 100644 index 0000000000..9b09bd7344 --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreDBNode.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:s="http://store" + name="StoreDBNode"> + + <component name="StoreDBNode"> + <t:implementation.node uri="store-db" composite="s:store-db"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8102"/> + <t:binding.jsonrpc uri="http://localhost:8102"/> + <t:binding.atom uri="http://localhost:8102"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreEUNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreEUNode.composite new file mode 100644 index 0000000000..6a50de56d5 --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreEUNode.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:s="http://store" + name="StoreEUNode"> + + <component name="StoreEUNode"> + <t:implementation.node uri="store-eu" composite="s:store-eu"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8104"/> + <t:binding.jsonrpc uri="http://localhost:8104"/> + <t:binding.atom uri="http://localhost:8104"/> + <binding.ws uri="http://localhost:8444"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreMergerNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreMergerNode.composite new file mode 100644 index 0000000000..0ce6e6a231 --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreMergerNode.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:s="http://store" + name="StoreMergerNode"> + + <component name="StoreMergerNode"> + <t:implementation.node uri="store-merger" composite="s:store-merger"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8101"/> + <t:binding.jsonrpc uri="http://localhost:8101"/> + <t:binding.atom uri="http://localhost:8101"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreNode.composite new file mode 100644 index 0000000000..e2b61a98e1 --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreNode.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:s="http://store" + name="StoreNode"> + + <component name="StoreNode"> + <t:implementation.node uri="store" composite="s:store"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8100"/> + <t:binding.jsonrpc uri="http://localhost:8100"/> + <t:binding.atom uri="http://localhost:8100"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreSupplierNode.composite b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreSupplierNode.composite new file mode 100644 index 0000000000..df46bb8813 --- /dev/null +++ b/branches/sca-java-1.2.1/tutorial/domain/cloud/StoreSupplierNode.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:s="http://store" + name="StoreSupplierNode"> + + <component name="StoreSupplierNode"> + <t:implementation.node uri="store-supplier" composite="s:store-supplier"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8103"/> + <t:binding.jsonrpc uri="http://localhost:8103"/> + <t:binding.atom uri="http://localhost:8103"/> + <binding.ws uri="http://localhost:8333"/> + </service> + </component> + +</composite> |