diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-06 14:35:56 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-06 14:35:56 +0000 |
commit | cac430949436218c139f5790daadf4ec5d6ee5ee (patch) | |
tree | 56124aece308f62131068fcd72028d28233be499 /sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src | |
parent | 6071f17763f89f716cd5d1f25a9973d91a293fbf (diff) |
Delete itests folder as its now in testing folder
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1005062 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src')
5 files changed, 0 insertions, 146 deletions
diff --git a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/Helloworld.java b/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/Helloworld.java deleted file mode 100644 index 1cb9b813f2..0000000000 --- a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/Helloworld.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * 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 itest.nodes.sac; - -public interface Helloworld { - - String sayHello(String name) throws Exception; - -} diff --git a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/HelloworldClientImpl.java b/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/HelloworldClientImpl.java deleted file mode 100644 index d64536a998..0000000000 --- a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/HelloworldClientImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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 itest.nodes.sac; - -import org.oasisopen.sca.annotation.Reference; - -public class HelloworldClientImpl implements Helloworld { - - @Reference - public Helloworld service; - - - public String sayHello(String name) throws Exception { - return "Hi " + service.sayHello(name); - } - -} diff --git a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/HelloworldServiceImpl.java b/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/HelloworldServiceImpl.java deleted file mode 100644 index 728804b08c..0000000000 --- a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/java/itest/nodes/sac/HelloworldServiceImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 itest.nodes.sac; - -public class HelloworldServiceImpl implements Helloworld { - - public String sayHello(String name) { - String response = "Hello " + name; - System.out.println("At service - " + response); - return response; - } - -} diff --git a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 555824a94e..0000000000 --- a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?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. ---> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" - xmlns:itest="http://itest"> - <deployable composite="itest:HelloworldServiceAndClient"/> -</contribution>
\ No newline at end of file diff --git a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/resources/helloworld-service.composite b/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/resources/helloworld-service.composite deleted file mode 100644 index 38ac479275..0000000000 --- a/sca-java-2.x/trunk/itest/nodes/helloworld-service-and-client/src/main/resources/helloworld-service.composite +++ /dev/null @@ -1,33 +0,0 @@ -<?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://docs.oasis-open.org/ns/opencsa/sca/200912" - targetNamespace="http://itest" - name="HelloworldServiceAndClient"> - - <component name="HelloworldClient"> - <implementation.java class="itest.nodes.sac.HelloworldClientImpl"/> - <reference name="service" target="HelloworldService"/> - </component> - - <component name="HelloworldService"> - <implementation.java class="itest.nodes.sac.HelloworldServiceImpl"/> - </component> - -</composite> |