summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/apps/testsearch
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/edit/apps/testsearch')
-rw-r--r--sca-cpp/trunk/modules/edit/apps/testsearch/app.composite240
-rw-r--r--sca-cpp/trunk/modules/edit/apps/testsearch/app.stats1
-rw-r--r--sca-cpp/trunk/modules/edit/apps/testsearch/htdocs/app.html24
3 files changed, 0 insertions, 265 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps/testsearch/app.composite b/sca-cpp/trunk/modules/edit/apps/testsearch/app.composite
deleted file mode 100644
index 493e9a253a..0000000000
--- a/sca-cpp/trunk/modules/edit/apps/testsearch/app.composite
+++ /dev/null
@@ -1,240 +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" name="app" targetNamespace="http://app">
- <service name="bingsearch" promote="bingsearch"/>
- <service name="gaddress1" promote="gaddress1"/>
- <service name="get" promote="get"/>
- <service name="ggeopos1" promote="ggeopos1"/>
- <service name="googlemap" promote="googlemap"/>
- <service name="googlemap2" promote="googlemap2"/>
- <service name="googlesearch" promote="googlesearch"/>
- <service name="weather" promote="weather"/>
- <service name="weather2" promote="weather2"/>
- <service name="yahoosearch" promote="yahoosearch"/>
- <component x="330" y="10" name="bingsearch" title="bing" color="pink1">
- <implementation.python script="nuvem/bsearch.py"/>
- <service name="bingsearch"/>
- <reference target="text10" name="query"/>
- <reference name="s" visible="false">
- <binding.http uri="http://www.bing.com/search"/>
- </reference>
- </component>
- <component x="330" y="50" name="gaddress1" title="address" color="pink1">
- <implementation.python script="nuvem/gaddress.py"/>
- <service name="gaddress"/>
- <reference target="text1" name="address"/>
- <reference name="s" visible="false">
- <binding.http uri="http://maps.googleapis.com/maps/api/geocode/json"/>
- </reference>
- </component>
- <component x="20" y="250" name="get" title="get" color="green1">
- <implementation.cpp path="lib/http" library="libhttpget"/>
- <service name="get"/>
- <reference target="text3" name="url"/>
- </component>
- <component x="490" y="10" name="ggeopos1" title="geo position" color="pink1">
- <implementation.python script="nuvem/ggeopos.py"/>
- <service name="ggeopos"/>
- <reference target="number1" name="latitude"/>
- <reference target="number4" name="longitude"/>
- <reference name="s" visible="false">
- <binding.http uri="http://maps.googleapis.com/maps/api/geocode/json"/>
- </reference>
- </component>
- <component x="310" y="100" name="googlemap" title="google map" color="pink1">
- <implementation.python script="nuvem/gmap.py"/>
- <service name="googlemap"/>
- <reference target="list2" name="locations"/>
- <reference name="s" visible="false">
- <binding.http uri="http://maps.google.com/maps/api/staticmap"/>
- </reference>
- </component>
- <component x="15" y="96" name="googlemap2" title="google map" color="pink1">
- <implementation.python script="nuvem/gmap.py"/>
- <service name="googlemap"/>
- <reference target="list3" name="locations"/>
- <reference name="s" visible="false">
- <binding.http uri="http://maps.google.com/maps/api/staticmap"/>
- </reference>
- </component>
- <component x="20" y="10" name="googlesearch" title="google" color="pink1">
- <implementation.python script="nuvem/gsearch.py"/>
- <service name="googlesearch"/>
- <reference target="text" name="query"/>
- <reference name="s" visible="false">
- <binding.http uri="http://ajax.googleapis.com/ajax/services/search/web"/>
- </reference>
- </component>
- <component name="item" title="{propval}:" color="orange1">
- <implementation.python script="nuvem/item.py"/>
- <service name="item"/>
- <reference target="list" name="value"/>
- <property>A</property>
- </component>
- <component name="item2" title="{propval}:" color="orange1">
- <implementation.python script="nuvem/item.py"/>
- <service name="item"/>
- <reference target="list24" name="value"/>
- <property>A</property>
- </component>
- <component name="item3" title="{propval}:" color="orange1">
- <implementation.python script="nuvem/item.py"/>
- <service name="item"/>
- <reference target="list25" name="value"/>
- <property>B</property>
- </component>
- <component name="list" title="list" color="yellow1">
- <implementation.python script="nuvem/list_.py"/>
- <service name="list"/>
- <reference target="text4" name="item" clonable="true"/>
- <reference target="number2" name="item" clonable="true"/>
- <reference target="number3" name="item" clonable="true"/>
- <reference name="item" clonable="true"/>
- </component>
- <component name="list2" title="list" color="yellow1">
- <implementation.python script="nuvem/list_.py"/>
- <service name="list"/>
- <reference target="item" name="item" clonable="true"/>
- <reference name="item" clonable="true"/>
- </component>
- <component name="list24" title="list2" color="yellow1">
- <implementation.python script="nuvem/pair.py"/>
- <service name="list2"/>
- <reference target="text7" name="name"/>
- <reference target="text5" name="value"/>
- </component>
- <component name="list25" title="list2" color="yellow1">
- <implementation.python script="nuvem/pair.py"/>
- <service name="list2"/>
- <reference target="text8" name="name"/>
- <reference target="text6" name="value"/>
- </component>
- <component name="list3" title="list" color="yellow1">
- <implementation.python script="nuvem/list_.py"/>
- <service name="list"/>
- <reference target="item2" name="item" clonable="true"/>
- <reference target="item3" name="item" clonable="true"/>
- <reference name="item" clonable="true"/>
- </component>
- <component name="number" title="#" color="orange1">
- <implementation.python script="nuvem/number.py"/>
- <service name="number"/>
- <property>94070</property>
- </component>
- <component x="730" y="80" name="number1" title="#" color="orange1">
- <implementation.python script="nuvem/number.py"/>
- <service name="number"/>
- <property>37.507156</property>
- </component>
- <component name="number2" title="#" color="orange1">
- <implementation.python script="nuvem/number.py"/>
- <service name="number"/>
- <property>37.507156</property>
- </component>
- <component name="number3" title="#" color="orange1">
- <implementation.python script="nuvem/number.py"/>
- <service name="number"/>
- <property>-122.260526</property>
- </component>
- <component x="730" y="120" name="number4" title="#" color="orange1">
- <implementation.python script="nuvem/number.py"/>
- <service name="number"/>
- <property>-122.260526</property>
- </component>
- <component name="text" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>apache tuscany</property>
- </component>
- <component x="710" y="20" name="text1" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>San Carlos, CA</property>
- </component>
- <component name="text10" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>apache tuscany</property>
- </component>
- <component name="text2" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>94070</property>
- </component>
- <component name="text3" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&amp;zoom=14&amp;size=512x512&amp;maptype=roadmap%20&amp;markers=color:blue|label:S|40.702147,-74.015794&amp;markers=color:green|label:G|40.711614,-74.012318%20&amp;markers=color:red|color:red|label:C|40.718217,-73.998284&amp;sensor=false</property>
- </component>
- <component name="text4" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>green</property>
- </component>
- <component name="text5" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>San Francisco, CA</property>
- </component>
- <component name="text6" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>San Carlos, CA</property>
- </component>
- <component name="text7" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>yellow</property>
- </component>
- <component name="text8" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>green</property>
- </component>
- <component name="text9" title=" '{propval}'" color="orange1">
- <implementation.python script="nuvem/text.py"/>
- <service name="text"/>
- <property>apache tuscany</property>
- </component>
- <component x="18" y="49" name="weather" title="weather" color="pink1">
- <implementation.python script="nuvem/gweather.py"/>
- <service name="weather"/>
- <reference target="number" name="zip"/>
- <reference name="ws" visible="false">
- <binding.http uri="http://www.google.com/ig/api"/>
- </reference>
- </component>
- <component x="190" y="51" name="weather2" title="weather" color="pink1">
- <implementation.python script="nuvem/gweather.py"/>
- <service name="weather"/>
- <reference target="text2" name="zip"/>
- <reference name="ws" visible="false">
- <binding.http uri="http://www.google.com/ig/api"/>
- </reference>
- </component>
- <component x="180" y="10" name="yahoosearch" title="yahoo" color="pink1">
- <implementation.python script="nuvem/ysearch.py"/>
- <service name="yahoosearch"/>
- <reference target="text9" name="query"/>
- <reference name="s" visible="false">
- <binding.http uri="http://search.yahooapis.com/WebSearchService/V1/webSearch"/>
- </reference>
- </component>
-</composite>
diff --git a/sca-cpp/trunk/modules/edit/apps/testsearch/app.stats b/sca-cpp/trunk/modules/edit/apps/testsearch/app.stats
deleted file mode 100644
index 691c43875d..0000000000
--- a/sca-cpp/trunk/modules/edit/apps/testsearch/app.stats
+++ /dev/null
@@ -1 +0,0 @@
-((entry (title "Test search components") (id "testsearch"))) \ No newline at end of file
diff --git a/sca-cpp/trunk/modules/edit/apps/testsearch/htdocs/app.html b/sca-cpp/trunk/modules/edit/apps/testsearch/htdocs/app.html
deleted file mode 100644
index ca5462f07a..0000000000
--- a/sca-cpp/trunk/modules/edit/apps/testsearch/htdocs/app.html
+++ /dev/null
@@ -1,24 +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.
--->
-<DIV id="page">
- <SPAN id="page:h1" class="h1" style="position: absolute; top: 0px; left: 2px; ">
- <H1>Test search components</H1>
- </SPAN>
-</DIV>