summaryrefslogtreecommitdiff
path: root/CIAO/examples/Hello/descriptors_ReDaC/deploymentplan_add.cdp
blob: 90e5605aa8f87c836dabce2fd2f92c4236a13a6c (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<Deployment:deploymentPlan
 xmlns:Deployment="http://www.omg.org/Deployment"
 xmlns:xmi="http://www.omg.org/XMI"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">

  <label>Hello-DeploymentPlan</label>
  <UUID>Hello_Plan_UUID_0001</UUID>
  <!-- Could be ZERO  -->
  <realizes>
    <label>BasicSP-realizes-cid</label>
    <UUID>c0965470-7b83-11d9-9669-0800200c9a66</UUID>
    <specificType><!-- @@ What does here? --></specificType>
    <supportedType>IDL:BasicSP/EC:1.0</supportedType> 
    <port>
      <name>read_message</name>
      <specificType>IDL:Hello/ReadMessage:1.0</specificType>
      <supportedType>IDL:Hello/ReadMessage:1.0</supportedType>
      <provider>false</provider>
      <exclusiveProvider>false</exclusiveProvider>
      <exclusiveUser>true</exclusiveUser>
      <optional>false</optional>
      <kind>SimplexReceptacle</kind>
    </port>
  </realizes>
  
  <implementation id="Hello-Sender-mdd">
    <name>Hello-Sender-mdd</name>
    <source><!-- @@ Don't know what goes here --></source>
    <artifact>Hello-Sender_exec</artifact>
    <artifact>Hello-Sender_svnt</artifact>
    <!--
    <execParameter></execParameter>
    <deployRequirement></deployRequirement>
    -->
  </implementation>

  <implementation id="Hello-Receiver-mdd">
    <name>Hello-Receiver-mdd</name>
    <source><!-- @@ Don't know what goes here --></source>
    <artifact>Hello-Receiver_exec</artifact>
    <artifact>Hello-Receiver_svnt</artifact>
    <!--
    <execParameter></execParameter>
    <deployRequirement></deployRequirement>
    -->
  </implementation>

  <instance id="Hello-Sender-idd">
    <name>Hello-Sender-idd</name>
    <node>SenderNode</node>
    <source><!-- @@ What goes here --></source>
    <implementation>Hello-Sender-mdd</implementation>

    <!-- Add this property if you want to write component reference to IOR -->
    <configProperty>
      <name>ComponentIOR</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>Sender.ior</string>
        </value>
      </value>
    </configProperty>

    <!-- Add this property if you want to initialize component attribute -->
    <configProperty>
      <name>local_message</name>
      <value>
        <type>
         <kind>tk_string</kind>
        </type>
        <value>
          <string>This is a test message passed in through XML.</string>
        </value>
      </value> 
    </configProperty>
        
    <!-- This attribute initializes an enumerated value -->
    <configProperty>
      <name>color</name>
      <value>
        <type>
          <kind>tk_enum</kind>
          <enum>
            <name>COLOR_SELECTION</name>
            <typeId>IDL:Hello/COLOR_SELECTION:1.0</typeId>
            <member>empty</member>
            <member>white</member>
            <member>red</member>
            <member>yellow</member>
          </enum>
        </type>
        <value>
          <enum>yellow</enum>
        </value>
      </value>
    </configProperty>
  </instance>

  <instance id="Hello-Receiver-idd">
    <name>Hello-Receiver-idd</name>
    <node>SenderNode</node>
    <source><!-- @@ What goes here --></source>
    <implementation>Hello-Receiver-mdd</implementation>
    <configProperty>
      <name>ComponentIOR</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>Receiver.ior</string>
        </value>
      </value>
    </configProperty>
  </instance>

  <instance id="Hello-Receiver-idd-UPDATE-XXXXXXXX">
    <name>Hello-Receiver-idd-UPDATE-XXXXXXXXX</name>
    <node>ReceiverNode</node>
    <source><!-- @@ What goes here --></source>
    <implementation>Hello-Receiver-mdd</implementation>
    <configProperty>
      <name>ComponentIOR</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>Receiver_2.ior</string>
        </value>
      </value>
    </configProperty>
  </instance>

  <connection>
    <name>hello_event_connection</name>
    <internalEndpoint>
      <portName>click_out</portName>
      <kind>EventPublisher</kind>
      <instance>Hello-Sender-idd</instance>
    </internalEndpoint>
    <internalEndpoint>
      <portName>click_in</portName>
      <kind>EventConsumer</kind>
      <instance>Hello-Receiver-idd</instance>
    </internalEndpoint>
  </connection>

  <connection>
    <name>hello_facet_connection</name>
    <internalEndpoint>
      <portName>push_message</portName>
      <kind>Facet</kind>
      <instance>Hello-Sender-idd</instance>
    </internalEndpoint>
    <internalEndpoint>
      <portName>read_message</portName>
      <kind>SimplexReceptacle</kind>
      <instance>Hello-Receiver-idd</instance>
    </internalEndpoint>
  </connection>

  <connection>
    <name>hello_event_connection_new</name>
    <internalEndpoint>
      <portName>click_out</portName>
      <kind>EventPublisher</kind>
      <instance>Hello-Sender-idd</instance>
    </internalEndpoint>
    <internalEndpoint>
      <portName>click_in</portName>
      <kind>EventConsumer</kind>
      <instance>Hello-Receiver-idd-UPDATE-XXXXXXXX</instance>
    </internalEndpoint>
  </connection>

  <connection>
    <name>hello_facet_connection_new</name>
    <internalEndpoint>
      <portName>push_message</portName>
      <kind>Facet</kind>
      <instance>Hello-Sender-idd</instance>
    </internalEndpoint>
    <internalEndpoint>
      <portName>read_message</portName>
      <kind>SimplexReceptacle</kind>
      <instance>Hello-Receiver-idd-UPDATE-XXXXXXXX</instance>
    </internalEndpoint>
  </connection>

  <!-- @@ Runtime library name must match exactly in "location" tag -->
  <artifact id="Hello-Sender_exec">
    <name>Sender_exec</name>
    <source><!-- @@ Not sure about this--></source>
    <node><!-- blank --></node>
    <location>Sender_exec</location>
    <execParameter>
      <name>entryPoint</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Hello_SenderHome_Impl</string>
        </value>
      </value>
    </execParameter>
  </artifact>
  
  <artifact id="Hello-Sender_svnt">
    <name>Sender_svnt</name>
    <source><!-- @@ Not sure --></source>
    <node><!-- blank --></node>
    <location>Sender_svnt</location>
    <execParameter>
      <name>entryPoint</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Hello_SenderHome_Servant</string>
        </value>
      </value>
    </execParameter>
  </artifact>
  
  <artifact id="Hello-Receiver_exec">
    <name>Receiver_exec</name>
    <source><!-- @@ Not sure about this--></source>
    <node><!-- blank --></node>
    <location>Receiver_exec</location>
    <execParameter>
      <name>entryPoint</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Hello_ReceiverHome_Impl</string>
        </value>
      </value>
    </execParameter>
  </artifact>
  
  <artifact id="Hello-Receiver_svnt">
    <name>Receiver_svnt</name>
    <source><!-- @@ Not sure --></source>
    <node><!-- blank --></node>
    <location>Receiver_svnt</location>
    <execParameter>
      <name>entryPoint</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Hello_ReceiverHome_Servant</string>
        </value>
      </value>
    </execParameter>
  </artifact>
</Deployment:deploymentPlan>