summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/tests/CIAO/CommandlinePassage/Component.cdp
blob: f692ab3a7eb3a687a824533d16aac10682d0fb47 (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
<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_DDS_Deployment_1</label>
  <UUID>Hello_DDS_Deployment_1</UUID>

  <!-- Implementations declarations -->

  <!-- Home implementation -->
  
  <implementation xmi:id="CompSvrImpl">
    <name>CompSvr</name>
    <source />
    <artifact xmi:idref="CompSvrArt" />
    <execParameter>
      <name>edu.vanderbilt.dre.DAnCE.ImplementationType</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>edu.vanderbilt.dre.DAnCE.ServerExecutable</string>
        </value>
      </value>
    </execParameter>
  </implementation>
      
  <implementation xmi:id="CommandlinePassageComponentImplementation">
    <name>CommandlinePassageComponentImplementation</name>
    <source/>
    <artifact xmi:idref="CommandlinePassage_ExecArtifact" />
    <artifact xmi:idref="CommandlinePassage_SvntArtifact" />
    <execParameter>
      <!-- entrypoint as exec parameter (see 10.6.1) -->
      <name>component factory</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Component_Impl</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_command_line_test_A_Servant</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>CommandlinePassage_svnt</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>CommandlinePassage_exec</string>
        </value>
      </value>
    </execParameter>
  </implementation>
  
  <instance xmi:id="CompSvrInst">
    <name>ComponentServerInstance</name>
    <node>CommandlinePassageNode</node>
    <source />
    <implementation xmi:idref="CompSvrImpl" />
        <configProperty>
      <name>edu.vanderbilt.dre.CIAO.ComponentServer.Args</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>-ORBSvcConfDirective "static Resource_Factory '-ORBConnectionCacheMax 33'"</string>
        </value>
      </value>
    </configProperty>
  </instance>

  <instance xmi:id="CommandlinePassageComponentInstance">
    <name>CommandlinePassageComponent</name>
    <node>CommandlinePassageNode</node>
    <!-- hostname -->
    <source/>
    <implementation xmi:idref="CommandlinePassageComponentImplementation" />
    <!-- set both edu.vanderbilt.dre.CIAO.ComponentServer.Args and
         tc_max to the same number -->
    <configProperty>
      <name>tc_max</name>
      <value>
        <type>
          <kind>tk_long</kind>
        </type>
        <value>
          <long>33</long>
        </value>
      </value>
    </configProperty>
  </instance>

  <!-- Artifacts declarations -->
  <artifact xmi:id="CompSvrArt">
    <name>CompoSvrArtifactName</name>
    <source />
    <node />
    <location>ciao_componentserver</location>
  </artifact>
  <artifact xmi:id="CommandlinePassage_ExecArtifact">
    <name>CommandlinePassage_exec</name>
    <source/>
    <node/>
    <location>CommandlinePassage_exec</location>
  </artifact>
  <artifact xmi:id="CommandlinePassage_SvntArtifact">
    <name>CommandlinePassage_svnt</name>
    <source/>
    <node/>
    <location>CommandlinePassage_svnt</location>
  </artifact>
  <artifact xmi:id="CommandlinePassage_StubArtifact">
    <name>CommandlinePassage_stub</name>
    <source/>
    <node/>
    <location>CommandlinePassage_stub</location>
  </artifact>
  
  <localityConstraint>
    <constraint>SameProcess</constraint>
    <constrainedInstance xmi:idref="CompSvrInst" />
    <constrainedInstance xmi:idref="CommandlinePassageComponentInstance" />
  </localityConstraint>

</Deployment:DeploymentPlan>