diff options
Diffstat (limited to 'sandbox/sebastien/java/sca-node/tutorial/domain/cloud')
13 files changed, 450 insertions, 0 deletions
diff --git a/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogEJBNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogEJBNode.composite new file mode 100644 index 0000000000..02e83d4c8d --- /dev/null +++ b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogEJBNode.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: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"/> + <!-- <binding.ejb uri="corbaname:iiop:1.2@localhost:2809/NameServiceServerRoot#"/> --> + <binding.ejb uri="corbaname:iiop:1.2@localhost:1050#"/> + </service> + </component> + +</composite> diff --git a/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogMediationNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogMediationNode.composite new file mode 100644 index 0000000000..bac96d9781 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogWebAppNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogWebAppNode.composite new file mode 100644 index 0000000000..f3ed2dfdd5 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogsNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CatalogsNode.composite new file mode 100644 index 0000000000..3a5ec770cb --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CurrencyNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/CurrencyNode.composite new file mode 100644 index 0000000000..ed80268f22 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreClientNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreClientNode.composite new file mode 100644 index 0000000000..91948b5476 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreClientNode.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://store" + name="StoreClientNode"> + + <component name="StoreClientNode"> + <t:implementation.node uri="store-client" composite="s:store-client"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8107"/> + </service> + </component> + +</composite> diff --git a/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreDBNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreDBNode.composite new file mode 100644 index 0000000000..9b09bd7344 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreEUNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreEUNode.composite new file mode 100644 index 0000000000..6a50de56d5 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreMarketNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreMarketNode.composite new file mode 100644 index 0000000000..1bdd994c2b --- /dev/null +++ b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreMarketNode.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="StoreMarketNode"> + + <component name="StoreMarketNode"> + <t:implementation.node uri="store-market" composite="s:store-market"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8107"/> + <t:binding.jsonrpc uri="http://localhost:8107"/> + <t:binding.atom uri="http://localhost:8107"/> + </service> + </component> + +</composite> diff --git a/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreMashupNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreMashupNode.composite new file mode 100644 index 0000000000..0db43df8c3 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreMashupNode.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="StoreMashupNode"> + + <component name="StoreMashupNode"> + <t:implementation.node uri="store-mashup" composite="s:store-mashup"/> + <service name="Node"> + <t:binding.http uri="http://localhost:8106"/> + <t:binding.jsonrpc uri="http://localhost:8106"/> + <t:binding.atom uri="http://localhost:8106"/> + </service> + </component> + +</composite> diff --git a/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreMergerNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreMergerNode.composite new file mode 100644 index 0000000000..0ce6e6a231 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreNode.composite new file mode 100644 index 0000000000..e2b61a98e1 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreSupplierNode.composite b/sandbox/sebastien/java/sca-node/tutorial/domain/cloud/StoreSupplierNode.composite new file mode 100644 index 0000000000..df46bb8813 --- /dev/null +++ b/sandbox/sebastien/java/sca-node/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> |