summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/tests/CIAO/EM-Launch-Failures/1NodeFailureAtStartup.cdp
blob: 8874e3f840a7e0f845e50779c72672f835469aee (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
<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>1NodePlan</label>
  <UUID>1NodePlan</UUID>

  <!-- Implementations declarations -->

  <!-- Server Dance implementation-->
  <!-- Home implementation -->
  <implementation xmi:id="SimpleFailureHomeImplementation">
    <name>SimpleFailureHomeImplementation</name>
    <source/>
    <artifact xmi:idref="SimpleFailure_ExecArtifact" />
    <artifact xmi:idref="SimpleFailure_SvntArtifact" />
    <execParameter>
      <!-- entrypoint as exec parameter (see ยง10.6.1) -->
      <name>home factory</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Simple_SimpleFailureHome_Impl</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Simple_SimpleFailureHome_Servant</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>SimpleFailure_svnt</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>SimpleFailure_exec</string>
        </value>
      </value>
    </execParameter>
  </implementation>

  <implementation xmi:id="SimpleFailureComponentImplementation">
    <name>SimpleFailureComponentImplementation</name>
    <source/>
    <artifact xmi:idref="SimpleFailure_ExecArtifact" />
    <artifact xmi:idref="SimpleFailure_SvntArtifact" />
  </implementation>

  <instance xmi:id="SimpleFailureHomeInstance">
    <name>SimpleFailureHome</name>
    <node>Node1</node>
    <!-- hostname -->
    <source/>
    <implementation xmi:idref="SimpleFailureHomeImplementation" />
  </instance>

  <instance xmi:id="SimpleFailureComponentInstance">
    <name>SimpleFailureComponent</name>
    <node>Node1</node>
    <!-- hostname -->
    <source/>
    <implementation xmi:idref="SimpleFailureComponentImplementation" />
    <configProperty>
      <name>edu.vanderbilt.dre.DAnCE.ExplicitHome</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>SimpleFailureHome</string>
        </value>
      </value>
    </configProperty>
    <configProperty>
      <name>type_attr</name>
      <value>
        <type>
          <kind>tk_enum</kind>
          <enum>
            <name>FailureType</name>
            <typeId>IDL:Simple/FailureType:1.0</typeId>
            <member>NO_FAILURE</member>
            <member>AT_STARTUP</member>
            <member>AT_ACTIVATE</member>
            <member>AT_PASSIVATE</member>
            <member>AT_REMOVE</member>
          </enum>
        </type>
        <value>
          <enum>AT_STARTUP</enum>
        </value>
      </value>
    </configProperty>
  </instance>

  <!-- Artifacts declarations -->
  <artifact xmi:id="SimpleFailure_ExecArtifact">
    <name>SimpleFailure_exec</name>
    <source/>
    <node/>
    <location>SimpleFailure_exec</location>
  </artifact>
  <artifact xmi:id="SimpleFailure_SvntArtifact">
    <name>SimpleFailure_svnt</name>
    <source/>
    <node/>
    <location>SimpleFailure_svnt</location>
  </artifact>

  </Deployment:DeploymentPlan>