From 4ed0ed906e82c9484b384419fa4ef4c980768731 Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 13 Nov 2008 20:02:36 +0000 Subject: Creating Java SCA 1.x branch git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@713805 13f79535-47bb-0310-9956-ffa450edef68 --- .../tutorials/store/domain/cloud.composite | 36 +++++ .../store/domain/cloud/CatalogEJBNode.composite | 35 +++++ .../domain/cloud/CatalogMediationNode.composite | 33 ++++ .../store/domain/cloud/CatalogWebAppNode.composite | 36 +++++ .../store/domain/cloud/CatalogsNode.composite | 33 ++++ .../store/domain/cloud/CurrencyNode.composite | 33 ++++ .../store/domain/cloud/StoreClientNode.composite | 33 ++++ .../store/domain/cloud/StoreDBNode.composite | 35 +++++ .../store/domain/cloud/StoreEUNode.composite | 36 +++++ .../store/domain/cloud/StoreMarketNode.composite | 35 +++++ .../store/domain/cloud/StoreMashupNode.composite | 35 +++++ .../store/domain/cloud/StoreMergerNode.composite | 35 +++++ .../store/domain/cloud/StoreNode.composite | 35 +++++ .../store/domain/cloud/StoreSupplierNode.composite | 36 +++++ .../tutorials/store/domain/domain.composite | 36 +++++ .../domain/launch/LaunchCatalogMediationNode.java | 28 ++++ .../store/domain/launch/LaunchCatalogsNode.java | 28 ++++ .../store/domain/launch/LaunchCurrencyNode.java | 28 ++++ .../store/domain/launch/LaunchStoreDBNode.java | 28 ++++ .../store/domain/launch/LaunchStoreEUNode.java | 28 ++++ .../store/domain/launch/LaunchStoreMarketNode.java | 28 ++++ .../store/domain/launch/LaunchStoreMashupNode.java | 28 ++++ .../store/domain/launch/LaunchStoreMergerNode.java | 28 ++++ .../store/domain/launch/LaunchStoreNode.java | 28 ++++ .../domain/launch/LaunchStoreSupplierNode.java | 28 ++++ .../domain/launch/LaunchTutorialDomainManager.java | 33 ++++ .../sca-java-1.x/tutorials/store/domain/pom.xml | 172 +++++++++++++++++++++ .../tutorials/store/domain/workspace.xml | 35 +++++ 28 files changed, 1042 insertions(+) create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogEJBNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogMediationNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogWebAppNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogsNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/CurrencyNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/StoreClientNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/StoreDBNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/StoreEUNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMarketNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMashupNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMergerNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/StoreNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/cloud/StoreSupplierNode.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/domain.composite create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogMediationNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogsNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCurrencyNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreDBNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreEUNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMarketNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMashupNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMergerNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreSupplierNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchTutorialDomainManager.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/pom.xml create mode 100644 branches/sca-java-1.x/tutorials/store/domain/workspace.xml (limited to 'branches/sca-java-1.x/tutorials/store/domain') diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud.composite new file mode 100644 index 0000000000..8f879c5261 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogEJBNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogEJBNode.composite new file mode 100644 index 0000000000..02e83d4c8d --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogEJBNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogMediationNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogMediationNode.composite new file mode 100644 index 0000000000..bac96d9781 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogMediationNode.composite @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogWebAppNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogWebAppNode.composite new file mode 100644 index 0000000000..f3ed2dfdd5 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogWebAppNode.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogsNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogsNode.composite new file mode 100644 index 0000000000..3a5ec770cb --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/CatalogsNode.composite @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/CurrencyNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/CurrencyNode.composite new file mode 100644 index 0000000000..ed80268f22 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/CurrencyNode.composite @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreClientNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreClientNode.composite new file mode 100644 index 0000000000..91948b5476 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreClientNode.composite @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreDBNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreDBNode.composite new file mode 100644 index 0000000000..9b09bd7344 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreDBNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreEUNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreEUNode.composite new file mode 100644 index 0000000000..6a50de56d5 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreEUNode.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMarketNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMarketNode.composite new file mode 100644 index 0000000000..1bdd994c2b --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMarketNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMashupNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMashupNode.composite new file mode 100644 index 0000000000..0db43df8c3 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMashupNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMergerNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMergerNode.composite new file mode 100644 index 0000000000..0ce6e6a231 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreMergerNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreNode.composite new file mode 100644 index 0000000000..e2b61a98e1 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreSupplierNode.composite b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreSupplierNode.composite new file mode 100644 index 0000000000..df46bb8813 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/cloud/StoreSupplierNode.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/domain.composite b/branches/sca-java-1.x/tutorials/store/domain/domain.composite new file mode 100644 index 0000000000..8d47697df8 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/domain.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogMediationNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogMediationNode.java new file mode 100644 index 0000000000..4e0772d211 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogMediationNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchCatalogMediationNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/CatalogMediationNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogsNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogsNode.java new file mode 100644 index 0000000000..a0c04a2f34 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogsNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchCatalogsNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/CatalogsNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCurrencyNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCurrencyNode.java new file mode 100644 index 0000000000..d9110f5804 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCurrencyNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchCurrencyNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/CurrencyNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreDBNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreDBNode.java new file mode 100644 index 0000000000..b83db75646 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreDBNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreDBNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreDBNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreEUNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreEUNode.java new file mode 100644 index 0000000000..de0e421e2d --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreEUNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreEUNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreEUNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMarketNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMarketNode.java new file mode 100644 index 0000000000..b95d2a8d74 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMarketNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreMarketNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreMarketNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMashupNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMashupNode.java new file mode 100644 index 0000000000..aa7cbdc4ca --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMashupNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreMashupNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreMashupNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMergerNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMergerNode.java new file mode 100644 index 0000000000..a29c9b7d61 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMergerNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreMergerNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreMergerNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreNode.java new file mode 100644 index 0000000000..11f1b2ce86 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreSupplierNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreSupplierNode.java new file mode 100644 index 0000000000..fce27d7d3b --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreSupplierNode.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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreSupplierNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreSupplierNode"}); + } +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchTutorialDomainManager.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchTutorialDomainManager.java new file mode 100644 index 0000000000..7408e99c63 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchTutorialDomainManager.java @@ -0,0 +1,33 @@ +/* + * 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; + +/** + * Launches the domain manager from this module. + * + * @version $Rev$ $Date$ + */ +public class LaunchTutorialDomainManager { + + public static void main(String[] args) throws Exception { + org.apache.tuscany.sca.node.launcher.DomainManagerLauncher.main(args); + } + +} diff --git a/branches/sca-java-1.x/tutorials/store/domain/pom.xml b/branches/sca-java-1.x/tutorials/store/domain/pom.xml new file mode 100644 index 0000000000..be3c8c38c9 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/pom.xml @@ -0,0 +1,172 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-tutorial-store + 1.4-SNAPSHOT + ../pom.xml + + tutorial-domain + Apache Tuscany SCA Store Tutorial Domain + + + + apache.incubator + http://people.apache.org/repo/m2-incubating-repository + + + + + + org.apache.tuscany.sca + tuscany-node-launcher + 1.4-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-domain-manager + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-node-runtime + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-java-runtime + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-widget-runtime + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-resource-runtime + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-atom-abdera + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-jsonrpc-runtime + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-http-runtime + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-ws-axis2 + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-sca-axis2 + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-ejb-runtime + 1.4-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-ejb + 1.4-SNAPSHOT + runtime + + + + org.apache.derby + derby + 10.3.1.4 + runtime + + + + + + ${artifactId} + ${basedir} + + + ${basedir} + + **/*.java + **/.*/** + pom.xml + build.xml + target/** + + + + + + org.apache.tuscany.sca + tuscany-maven-ant-generator + 1.4-SNAPSHOT + + + + launch.LaunchTutorialAdmin + + + generate + + + + + + + + diff --git a/branches/sca-java-1.x/tutorials/store/domain/workspace.xml b/branches/sca-java-1.x/tutorials/store/domain/workspace.xml new file mode 100644 index 0000000000..9cdbe04ac7 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/domain/workspace.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + -- cgit v1.2.3