summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/apps/relay
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/edit/apps/relay')
-rw-r--r--sca-cpp/trunk/modules/edit/apps/relay/app.composite81
-rw-r--r--sca-cpp/trunk/modules/edit/apps/relay/app.html27
2 files changed, 0 insertions, 108 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps/relay/app.composite b/sca-cpp/trunk/modules/edit/apps/relay/app.composite
deleted file mode 100644
index 2f630872de..0000000000
--- a/sca-cpp/trunk/modules/edit/apps/relay/app.composite
+++ /dev/null
@@ -1,81 +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"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://relay"
- name="relay">
-
- <service name="JSONTwit" promote="JSONTwit"/>
- <service name="XMLTwit" promote="XMLTwit"/>
- <service name="RSSTwit" promote="RSSTwit"/>
- <service name="HTML" promote="HTML"/>
- <service name="JSONFB" promote="JSONFB"/>
-
- <component name="JSONTwit" t:color="blue1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="jsontwit"/>
- </service>
- <reference name="target">
- <t:binding.http uri="http://api.twitter.com/1/statuses/user_timeline.json?screen_name=jsdelfino"/>
- </reference>
- </component>
-
- <component name="XMLTwit" t:color="green1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="xmltwit"/>
- </service>
- <reference name="target">
- <t:binding.http uri="http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=jsdelfino"/>
- </reference>
- </component>
-
- <component name="RSSTwit" t:color="blue1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="rsstwit"/>
- </service>
- <reference name="target">
- <t:binding.http uri="http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=jsdelfino"/>
- </reference>
- </component>
-
- <component name="HTML" t:color="yellow1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="html"/>
- </service>
- <reference name="target">
- <t:binding.http uri="http://people.apache.org/~jsdelfino/"/>
- </reference>
- </component>
-
- <component name="JSONFB" t:color="orange1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="jsonfb"/>
- </service>
- <reference name="target">
- <t:binding.http uri="https://graph.facebook.com/100001053301307"/>
- </reference>
- </component>
-
-</composite>
diff --git a/sca-cpp/trunk/modules/edit/apps/relay/app.html b/sca-cpp/trunk/modules/edit/apps/relay/app.html
deleted file mode 100644
index 1b255b8199..0000000000
--- a/sca-cpp/trunk/modules/edit/apps/relay/app.html
+++ /dev/null
@@ -1,27 +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.
--->
-<div id="page">
-
-<span id="html" class="button" style="position:absolute; left: 0px; top: 0px"><input type="button" value="Sample HTML Request"/></span>
-<span id="jsontwit" class="button" style="position:absolute; left: 0px; top: 40px"><input type="button" value="Sample Twitter JSON Request"/></span>
-<span id="xmltwit" class="button" style="position:absolute; left: 0px; top: 80px"><input type="button" value="Sample Twitter XML Request"/></span>
-<span id="rsstwit" class="button" style="position:absolute; left: 0px; top: 120px"><input type="button" value="Sample Twitter RSS Request"/></span>
-<span id="jsonfb" class="button" style="position:absolute; left: 0px; top: 160px"><input type="button" value="Sample Facebook JSON Request"/></span>
-
-</div>