diff options
Diffstat (limited to 'sca-cpp/trunk/hosting/server/data/apps/testhttp/app.composite')
-rw-r--r-- | sca-cpp/trunk/hosting/server/data/apps/testhttp/app.composite | 515 |
1 files changed, 261 insertions, 254 deletions
diff --git a/sca-cpp/trunk/hosting/server/data/apps/testhttp/app.composite b/sca-cpp/trunk/hosting/server/data/apps/testhttp/app.composite index 11723c7207..a252a2ca64 100644 --- a/sca-cpp/trunk/hosting/server/data/apps/testhttp/app.composite +++ b/sca-cpp/trunk/hosting/server/data/apps/testhttp/app.composite @@ -17,257 +17,264 @@ * 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="call" promote="call"/> - <service name="get" promote="get"/> - <service name="get2" promote="get2"/> - <service name="get3" promote="get3"/> - <service name="get4" promote="get4"/> - <service name="get5" promote="get5"/> - <service name="get6" promote="get6"/> - <service name="item" promote="property"/> - <service name="parse" promote="parse"/> - <component x="20" y="180" name="call" title="call" color="green1"> - <implementation.python script="nuvem/call.py"/> - <service name="call"/> - <reference target="name" name="name"/> - <reference name="proxy" wiredByImpl="true" visible="false"/> - </component> - <component name="first" title="first" color="yellow1"> - <implementation.python script="nuvem/first.py"/> - <service name="first"/> - <reference target="rest" name="list"/> - </component> - <component x="750" y="320" name="format1" title="format" color="cyan1"> - <implementation.python script="nuvem/format_.py"/> - <service name="format"/> - <reference target="text12" name="pattern"/> - <reference target="list2" name="values"/> - </component> - <component x="20" y="10" name="get" title="get" color="green1"> - <implementation.cpp path="lib/http" library="libhttpget"/> - <service name="get"/> - <reference target="text" name="url"/> - </component> - <component x="20" y="60" name="get2" title="get" color="green1"> - <implementation.cpp path="lib/http" library="libhttpget"/> - <service name="get"/> - <reference target="text2" name="url"/> - </component> - <component x="20" y="100" name="get3" title="get" color="green1"> - <implementation.cpp path="lib/http" library="libhttpget"/> - <service name="get"/> - <reference target="text3" name="url"/> - </component> - <component x="310" y="10" name="get4" title="get" color="green1"> - <implementation.cpp path="lib/http" library="libhttpget"/> - <service name="get"/> - <reference target="text4" name="url"/> - </component> - <component x="200" y="10" name="get5" title="get" color="green1"> - <implementation.cpp path="lib/http" library="libhttpget"/> - <service name="get"/> - <reference target="text5" name="url"/> - </component> - <component x="20" y="140" name="get6" title="get" color="green1"> - <implementation.cpp path="lib/http" library="libhttpget"/> - <service name="get"/> - <reference target="text6" name="url"/> - </component> - <component name="get7" title="get" color="green1"> - <implementation.cpp path="lib/http" library="libhttpget"/> - <service name="get"/> - <reference target="text7" name="url"/> - </component> - <component name="item2" title="{propval}:" color="orange1"> - <implementation.python script="nuvem/item.py"/> - <service name="item"/> - <reference target="user" name="value"/> - <property>user</property> - </component> - <component name="item3" title="{propval}:" color="orange1"> - <implementation.python script="nuvem/item.py"/> - <service name="item"/> - <reference target="params" name="value"/> - <property>name</property> - </component> - <component name="join" title="join" color="cyan1"> - <implementation.python script="nuvem/join.py"/> - <service name="join"/> - <reference target="text9" name="separator"/> - <reference target="first" name="list"/> - </component> - <component x="570" y="350" name="keychain1" title="keychain" color="green1"> - <implementation.python script="nuvem/keychain.py"/> - <service name="keychain"/> - <reference target="name1" name="name"/> - <reference name="account" target="Accounts" visible="false"/> - </component> - <component x="710" y="290" name="keychain2" title="keychain" color="green1"> - <implementation.python script="nuvem/keychain.py"/> - <service name="keychain"/> - <reference target="name2" name="name"/> - <reference name="account" target="Accounts" visible="false"/> - </component> - <component x="720" y="310" name="keychain3" title="keychain" color="green1"> - <implementation.python script="nuvem/keychain.py"/> - <service name="keychain"/> - <reference target="name3" name="name"/> - <reference name="account" target="Accounts" visible="false"/> - </component> - <component name="list" 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="list1" title="list" color="yellow1"> - <implementation.python script="nuvem/list_.py"/> - <service name="list"/> - <reference target="keychain1" name="item" clonable="true"/> - <reference target="text10" 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="text11" name="item" clonable="true"/> - <reference target="text13" name="item" clonable="true"/> - <reference target="text14" name="item" clonable="true"/> - <reference name="item" clonable="true"/> - </component> - <component name="list4" title="list" color="yellow1"> - <implementation.python script="nuvem/list_.py"/> - <service name="list"/> - <reference target="format1" name="item" clonable="true"/> - <reference name="item" clonable="true"/> - </component> - <component name="name" title="" color="orange1"> - <implementation.python script="nuvem/name.py"/> - <service name="name"/> - <property>https://testhttp.example.com:8453/components/property</property> - </component> - <component x="630" y="350" name="name1" title="" color="orange1"> - <implementation.python script="nuvem/name.py"/> - <service name="name"/> - <property>twilliosid</property> - </component> - <component x="780" y="280" name="name2" title="" color="orange1"> - <implementation.python script="nuvem/name.py"/> - <service name="name"/> - <property>twilliosid</property> - </component> - <component x="780" y="320" name="name3" title="" color="orange1"> - <implementation.python script="nuvem/name.py"/> - <service name="name"/> - <property>twilliotoken</property> - </component> - <component name="params" title="?params" color="green1"> - <implementation.python script="nuvem/params.py"/> - <service name="params"/> - <property name="query" visible="false"/> - </component> - <component x="340" y="180" name="parse" title="parse" color="cyan1"> - <implementation.python script="nuvem/parse.py"/> - <service name="parse"/> - <reference target="text8" name="regexp"/> - <reference target="join" name="string"/> - </component> - <component x="20" y="220" name="property" title="{propval}:" color="orange1"> - <implementation.python script="nuvem/item.py"/> - <service name="item"/> - <reference target="list" name="value"/> - <property>test</property> - </component> - <component name="rest" title="rest" color="yellow1"> - <implementation.python script="nuvem/rest.py"/> - <service name="rest"/> - <reference target="get7" name="list"/> - </component> - <component name="text" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>http://www.google.com</property> - </component> - <component x="530" y="320" name="text1" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>https://api.twilio.com/2010-04-01/Accounts/</property> - </component> - <component x="570" y="390" name="text10" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>SMS/Messages</property> - </component> - <component x="580" y="480" name="text11" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>+14155992671</property> - </component> - <component x="550" y="450" name="text12" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>From={0}&To={1}&Body={2}</property> - </component> - <component x="700" y="340" name="text13" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>+16508632924</property> - </component> - <component x="690" y="370" name="text14" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>This is a text message</property> - </component> - <component x="710" y="290" name="text15" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>application/x-www-form-urlencoded</property> - </component> - <component name="text2" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>http://maps.googleapis.com/maps/api/directions/json?origin=Boston,MA&destination=Concord,MA&waypoints=Charlestown,MA|Lexington,MA&sensor=false</property> - </component> - <component name="text3" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?whichClient=NDFDgen&lat=38.99&lon=-77.01&listLatLon=&lat1=&lon1=&lat2=&lon2=&resolutionSub=&listLat1=&listLon1=&listLat2=&listLon2=&resolutionList=&endPoint1Lat=&endPoint1Lon=&endPoint2Lat=&endPoint2Lon=&listEndPoint1Lat=&listEndPoint1Lon=&listEndPoint2Lat=&listEndPoint2Lon=&zipCodeList=&listZipCodeList=&centerPointLat=&centerPointLon=&distanceLat=&distanceLon=&resolutionSquare=&listCenterPointLat=&listCenterPointLon=&listDistanceLat=&listDistanceLon=&listResolutionSquare=&citiesLevel=&listCitiesLevel=&sector=&gmlListLatLon=&featureType=&requestedTime=&startTime=&endTime=&compType=&propertyName=&product=time-series&begin=2004-01-01T00%3A00%3A00&end=2015-03-10T00%3A00%3A00&maxt=maxt&Submit=Submit</property> - </component> - <component name="text4" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>http://feedproxy.google.com/TechCrunch</property> - </component> - <component name="text5" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>cnn.com</property> - </component> - <component name="text6" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>https://chart.googleapis.com/chart?cht=p3&chs=250x100&chd=60,40&chl=Hello|World</property> - </component> - <component name="text7" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>cnn.com</property> - </component> - <component name="text8" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>(CNN)</property> - </component> - <component name="text9" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property name="property"/> - </component> - <component name="user" title="user" color="green1"> - <implementation.python script="nuvem/user.py"/> - <service name="user"/> - <property name="user" visible="false"/> - </component> -</composite> +<entry xmlns="http://www.w3.org/2005/Atom"> + <title type="text">testhttp</title> + <id>testhttp</id> + <content type="application/xml"> + <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="app" targetNamespace="http://app"> + <service name="call" promote="call"/> + <service name="get" promote="get"/> + <service name="get2" promote="get2"/> + <service name="get3" promote="get3"/> + <service name="get4" promote="get4"/> + <service name="get5" promote="get5"/> + <service name="get6" promote="get6"/> + <service name="item" promote="property"/> + <service name="parse" promote="parse"/> + <component x="20" y="180" name="call" title="call" color="green1"> + <implementation.python script="nuvem/call.py"/> + <service name="call"/> + <reference target="name" name="name"/> + <reference name="proxy" wiredByImpl="true" visible="false"/> + </component> + <component name="first" title="first" color="yellow1"> + <implementation.python script="nuvem/first.py"/> + <service name="first"/> + <reference target="rest" name="list"/> + </component> + <component x="750" y="320" name="format1" title="format" color="cyan1"> + <implementation.python script="nuvem/format_.py"/> + <service name="format"/> + <reference target="text12" name="pattern"/> + <reference target="list2" name="values"/> + </component> + <component x="20" y="10" name="get" title="get" color="green1"> + <implementation.cpp path="lib/http" library="libhttpget"/> + <service name="get"/> + <reference target="text" name="url"/> + </component> + <component x="20" y="60" name="get2" title="get" color="green1"> + <implementation.cpp path="lib/http" library="libhttpget"/> + <service name="get"/> + <reference target="text2" name="url"/> + </component> + <component x="20" y="100" name="get3" title="get" color="green1"> + <implementation.cpp path="lib/http" library="libhttpget"/> + <service name="get"/> + <reference target="text3" name="url"/> + </component> + <component x="310" y="10" name="get4" title="get" color="green1"> + <implementation.cpp path="lib/http" library="libhttpget"/> + <service name="get"/> + <reference target="text4" name="url"/> + </component> + <component x="200" y="10" name="get5" title="get" color="green1"> + <implementation.cpp path="lib/http" library="libhttpget"/> + <service name="get"/> + <reference target="text5" name="url"/> + </component> + <component x="20" y="140" name="get6" title="get" color="green1"> + <implementation.cpp path="lib/http" library="libhttpget"/> + <service name="get"/> + <reference target="text6" name="url"/> + </component> + <component name="get7" title="get" color="green1"> + <implementation.cpp path="lib/http" library="libhttpget"/> + <service name="get"/> + <reference target="text7" name="url"/> + </component> + <component name="item2" title="{propval}:" color="orange1"> + <implementation.python script="nuvem/item.py"/> + <service name="item"/> + <reference target="user" name="value"/> + <property>user</property> + </component> + <component name="item3" title="{propval}:" color="orange1"> + <implementation.python script="nuvem/item.py"/> + <service name="item"/> + <reference target="params" name="value"/> + <property>name</property> + </component> + <component name="join" title="join" color="cyan1"> + <implementation.python script="nuvem/join.py"/> + <service name="join"/> + <reference target="text9" name="separator"/> + <reference target="first" name="list"/> + </component> + <component x="570" y="350" name="keychain1" title="keychain" color="green1"> + <implementation.python script="nuvem/keychain.py"/> + <service name="keychain"/> + <reference target="name1" name="name"/> + <reference name="account" target="Accounts" visible="false"/> + </component> + <component x="710" y="290" name="keychain2" title="keychain" color="green1"> + <implementation.python script="nuvem/keychain.py"/> + <service name="keychain"/> + <reference target="name2" name="name"/> + <reference name="account" target="Accounts" visible="false"/> + </component> + <component x="720" y="310" name="keychain3" title="keychain" color="green1"> + <implementation.python script="nuvem/keychain.py"/> + <service name="keychain"/> + <reference target="name3" name="name"/> + <reference name="account" target="Accounts" visible="false"/> + </component> + <component name="list" 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="list1" title="list" color="yellow1"> + <implementation.python script="nuvem/list_.py"/> + <service name="list"/> + <reference target="keychain1" name="item" clonable="true"/> + <reference target="text10" 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="text11" name="item" clonable="true"/> + <reference target="text13" name="item" clonable="true"/> + <reference target="text14" name="item" clonable="true"/> + <reference name="item" clonable="true"/> + </component> + <component name="list4" title="list" color="yellow1"> + <implementation.python script="nuvem/list_.py"/> + <service name="list"/> + <reference target="format1" name="item" clonable="true"/> + <reference name="item" clonable="true"/> + </component> + <component name="name" title="" color="orange1"> + <implementation.python script="nuvem/name.py"/> + <service name="name"/> + <property>https://testhttp.example.com:8453/components/property</property> + </component> + <component x="630" y="350" name="name1" title="" color="orange1"> + <implementation.python script="nuvem/name.py"/> + <service name="name"/> + <property>twilliosid</property> + </component> + <component x="780" y="280" name="name2" title="" color="orange1"> + <implementation.python script="nuvem/name.py"/> + <service name="name"/> + <property>twilliosid</property> + </component> + <component x="780" y="320" name="name3" title="" color="orange1"> + <implementation.python script="nuvem/name.py"/> + <service name="name"/> + <property>twilliotoken</property> + </component> + <component name="params" title="?params" color="green1"> + <implementation.python script="nuvem/params.py"/> + <service name="params"/> + <property name="query" visible="false"/> + </component> + <component x="340" y="180" name="parse" title="parse" color="cyan1"> + <implementation.python script="nuvem/parse.py"/> + <service name="parse"/> + <reference target="text8" name="regexp"/> + <reference target="join" name="string"/> + </component> + <component x="20" y="220" name="property" title="{propval}:" color="orange1"> + <implementation.python script="nuvem/item.py"/> + <service name="item"/> + <reference target="list" name="value"/> + <property>test</property> + </component> + <component name="rest" title="rest" color="yellow1"> + <implementation.python script="nuvem/rest.py"/> + <service name="rest"/> + <reference target="get7" name="list"/> + </component> + <component name="text" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>http://www.google.com</property> + </component> + <component x="530" y="320" name="text1" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>https://api.twilio.com/2010-04-01/Accounts/</property> + </component> + <component x="570" y="390" name="text10" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>SMS/Messages</property> + </component> + <component x="580" y="480" name="text11" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>+14155992671</property> + </component> + <component x="550" y="450" name="text12" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>From={0}&To={1}&Body={2}</property> + </component> + <component x="700" y="340" name="text13" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>+16508632924</property> + </component> + <component x="690" y="370" name="text14" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>This is a text message</property> + </component> + <component x="710" y="290" name="text15" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>application/x-www-form-urlencoded</property> + </component> + <component name="text2" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>http://maps.googleapis.com/maps/api/directions/json?origin=Boston,MA&destination=Concord,MA&waypoints=Charlestown,MA|Lexington,MA&sensor=false</property> + </component> + <component name="text3" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?whichClient=NDFDgen&lat=38.99&lon=-77.01&listLatLon=&lat1=&lon1=&lat2=&lon2=&resolutionSub=&listLat1=&listLon1=&listLat2=&listLon2=&resolutionList=&endPoint1Lat=&endPoint1Lon=&endPoint2Lat=&endPoint2Lon=&listEndPoint1Lat=&listEndPoint1Lon=&listEndPoint2Lat=&listEndPoint2Lon=&zipCodeList=&listZipCodeList=&centerPointLat=&centerPointLon=&distanceLat=&distanceLon=&resolutionSquare=&listCenterPointLat=&listCenterPointLon=&listDistanceLat=&listDistanceLon=&listResolutionSquare=&citiesLevel=&listCitiesLevel=&sector=&gmlListLatLon=&featureType=&requestedTime=&startTime=&endTime=&compType=&propertyName=&product=time-series&begin=2004-01-01T00%3A00%3A00&end=2015-03-10T00%3A00%3A00&maxt=maxt&Submit=Submit</property> + </component> + <component name="text4" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>http://feedproxy.google.com/TechCrunch</property> + </component> + <component name="text5" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>cnn.com</property> + </component> + <component name="text6" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>https://chart.googleapis.com/chart?cht=p3&chs=250x100&chd=60,40&chl=Hello|World</property> + </component> + <component name="text7" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>cnn.com</property> + </component> + <component name="text8" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>(CNN)</property> + </component> + <component name="text9" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property name="property"/> + </component> + <component name="user" title="user" color="green1"> + <implementation.python script="nuvem/user.py"/> + <service name="user"/> + <property name="user" visible="false"/> + </component> + </composite> + </content> + <link href="testhttp"/> +</entry> |