summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/apps/buzzprofile/app.composite
blob: 46ada96983321de2df72015c1dc7f5c4f661adbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?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://buzzprofile" name="buzzprofile">
 <service name="example" promote="example"/>
 <component t:x="107" t:y="131" name="example" t:title="get" t:color="green1">
  <implementation.cpp path="lib/http" library="libhttpget"/>
  <service name="get"/>
  <reference target="text2" name="url"/>
 </component>
 <service name="profile" promote="profile"/>
 <component t:x="106" t:y="36" name="profile" t:title="get" t:color="green1">
  <implementation.cpp path="lib/http" library="libhttpget"/>
  <service name="get"/>
  <reference target="format" name="url"/>
 </component>
 <component t:x="174" t:y="36" name="format" t:title="format" t:color="magenta1">
  <t:implementation.python script="nuvem/format_.py"/>
  <service name="format"/>
  <reference target="text" name="pattern"/>
  <reference target="path" name="values"/>
 </component>
 <component t:x="235" t:y="64" name="path" t:title="path" t:color="green1">
  <t:implementation.python script="nuvem/path.py"/>
  <service name="path"/>
  <property name="path" t:visible="false"/>
 </component>
 <component t:x="175" t:y="131" name="text2" t:title=" '{propval}'" t:color="orange1">
  <t:implementation.python script="nuvem/text.py"/>
  <service name="text"/>
  <property>https://buzzprofile.sca-store.com:8453/components/profile/jsdelfino</property>
 </component>
 <component t:x="235" t:y="36" name="text" t:title=" '{propval}'" t:color="orange1">
  <t:implementation.python script="nuvem/text.py"/>
  <service name="text"/>
  <property>https://www.googleapis.com/buzz/v1/people/{0}/@self?alt=json</property>
 </component>
</composite>