cpee 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. checksums.yaml +5 -5
  2. data/cpee.gemspec +1 -1
  3. data/lib/cpee/controller.rb +7 -16
  4. data/lib/cpee/implementation.rb +1 -1
  5. data/server/handlerwrappers/default.rb +12 -1
  6. data/server/instances/1/properties.xml +122 -34
  7. data/server/instances/10/properties.xml +127 -141
  8. data/server/instances/11/properties.xml +179 -162
  9. data/server/instances/12/properties.xml +87 -163
  10. data/server/instances/13/properties.xml +2002 -131
  11. data/server/instances/14/properties.xml +2044 -9
  12. data/server/instances/15/properties.xml +2039 -8
  13. data/server/instances/16/properties.xml +2069 -8
  14. data/server/instances/17/properties.xml +2065 -11
  15. data/server/instances/18/properties.xml +2109 -10
  16. data/server/instances/19/properties.xml +90 -5
  17. data/server/instances/2/properties.xml +135 -10
  18. data/server/instances/20/properties.xml +9 -169
  19. data/server/instances/21/properties.xml +82 -122
  20. data/server/instances/22/properties.xml +2042 -53
  21. data/server/instances/23/properties.xml +68 -75
  22. data/server/instances/24/properties.xml +2033 -82
  23. data/server/instances/25/properties.xml +37 -121
  24. data/server/instances/26/properties.xml +9 -9
  25. data/server/instances/27/properties.xml +2044 -48
  26. data/server/instances/28/properties.xml +2058 -83
  27. data/server/instances/29/properties.xml +2072 -83
  28. data/server/instances/3/properties.xml +211 -76
  29. data/server/instances/30/properties.xml +112 -293
  30. data/server/instances/31/properties.xml +9 -332
  31. data/server/instances/32/properties.xml +65 -582
  32. data/server/instances/33/properties.xml +99 -113
  33. data/server/instances/34/properties.xml +183 -0
  34. data/server/instances/35/properties.xml +183 -0
  35. data/server/instances/36/properties.xml +185 -0
  36. data/server/instances/37/properties.xml +183 -0
  37. data/server/instances/38/properties.xml +183 -0
  38. data/server/instances/39/properties.xml +183 -0
  39. data/server/instances/4/properties.xml +9 -92
  40. data/server/instances/40/properties.xml +183 -0
  41. data/server/instances/41/properties.xml +183 -0
  42. data/server/instances/42/properties.xml +183 -0
  43. data/server/instances/43/properties.xml +183 -0
  44. data/server/instances/44/properties.xml +183 -0
  45. data/server/instances/45/properties.xml +185 -0
  46. data/server/instances/{670 → 46}/properties.xml +1 -1
  47. data/server/instances/47/properties.xml +185 -0
  48. data/server/instances/48/properties.xml +185 -0
  49. data/server/instances/49/properties.xml +185 -0
  50. data/server/instances/5/properties.xml +1505 -49
  51. data/server/instances/50/properties.xml +183 -0
  52. data/server/instances/51/properties.xml +183 -0
  53. data/server/instances/52/properties.xml +2129 -0
  54. data/server/instances/53/properties.xml +2129 -0
  55. data/server/instances/54/properties.xml +319 -0
  56. data/server/instances/55/properties.xml +2114 -0
  57. data/server/instances/56/properties.xml +2114 -0
  58. data/server/instances/57/properties.xml +2119 -0
  59. data/server/instances/58/properties.xml +2119 -0
  60. data/server/instances/59/properties.xml +2119 -0
  61. data/server/instances/6/properties.xml +11 -186
  62. data/server/instances/60/properties.xml +2119 -0
  63. data/server/instances/61/properties.xml +2114 -0
  64. data/server/instances/62/properties.xml +2116 -0
  65. data/server/instances/63/properties.xml +2116 -0
  66. data/server/instances/64/properties.xml +2116 -0
  67. data/server/instances/65/properties.xml +76 -0
  68. data/server/instances/66/properties.xml +97 -0
  69. data/server/instances/7/properties.xml +1691 -82
  70. data/server/instances/8/properties.xml +1738 -53
  71. data/server/instances/9/properties.xml +680 -95
  72. data/server/resources/base.xml +78 -0
  73. data/server/resources/test.rb +19 -0
  74. data/server/resources/test.xml +33 -0
  75. data/server/server.pid +1 -0
  76. data/server/test.rb +3 -0
  77. metadata +41 -41
  78. data/log/logs/1/test +0 -1
  79. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/consumer-secret +0 -1
  80. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/producer-secret +0 -1
  81. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/subscription.xml +0 -23
  82. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/consumer-secret +0 -1
  83. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/producer-secret +0 -1
  84. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/subscription.xml +0 -6
  85. data/server/instances/313/notifications/crisp/consumer-secret +0 -1
  86. data/server/instances/313/notifications/crisp/producer-secret +0 -1
  87. data/server/instances/313/notifications/crisp/subscription.xml +0 -7
  88. data/server/instances/313/notifications/logging/consumer-secret +0 -1
  89. data/server/instances/313/notifications/logging/producer-secret +0 -1
  90. data/server/instances/313/notifications/logging/subscription.xml +0 -7
  91. data/server/instances/313/notifications/logging_yaml/consumer-secret +0 -1
  92. data/server/instances/313/notifications/logging_yaml/producer-secret +0 -1
  93. data/server/instances/313/notifications/logging_yaml/subscription.xml +0 -7
  94. data/server/instances/313/properties.xml +0 -524
  95. data/server/instances/662/notifications/crisp/consumer-secret +0 -1
  96. data/server/instances/662/notifications/crisp/producer-secret +0 -1
  97. data/server/instances/662/notifications/crisp/subscription.xml +0 -7
  98. data/server/instances/662/notifications/logging/consumer-secret +0 -1
  99. data/server/instances/662/notifications/logging/producer-secret +0 -1
  100. data/server/instances/662/notifications/logging/subscription.xml +0 -7
  101. data/server/instances/662/notifications/logging_yaml/consumer-secret +0 -1
  102. data/server/instances/662/notifications/logging_yaml/producer-secret +0 -1
  103. data/server/instances/662/notifications/logging_yaml/subscription.xml +0 -7
  104. data/server/instances/662/properties.xml +0 -427
  105. data/server/instances/663/properties.xml +0 -31
  106. data/server/instances/664/properties.xml +0 -425
  107. data/server/instances/665/properties.xml +0 -425
  108. data/server/instances/666/properties.xml +0 -427
  109. data/server/instances/667/properties.xml +0 -427
  110. data/server/instances/668/properties.xml +0 -425
  111. data/server/instances/669/properties.xml +0 -425
  112. data/server/instances/671/properties.xml +0 -158
  113. data/server/instances/672/properties.xml +0 -199
  114. data/server/instances/673/properties.xml +0 -52
@@ -0,0 +1,183 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>0bab100a-6937-40ee-8c3d-46738344e70a</uuid>
4
+ <info>Plain Instance</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>finished</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements/>
12
+ <endpoints>
13
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
14
+ </endpoints>
15
+ <dsl>manipulate :a1, { :label =&gt; "tester" }, &lt;&lt;-END
16
+ puts "hallo"
17
+ END
18
+ choose :exclusive do
19
+ alternative test{true} do
20
+ call :a4, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
21
+ puts "brrr"
22
+ END
23
+ terminate
24
+ end
25
+ alternative test{} do
26
+ call :a3, nil, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
27
+ stop
28
+ end
29
+ end
30
+ call :a2, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
31
+ </dsl>
32
+ <dslx>
33
+ <description xmlns="http://cpee.org/ns/description/1.0">
34
+ <manipulate id="a1" label="tester">puts "hallo"</manipulate>
35
+ <choose mode="exclusive">
36
+ <alternative condition="true">
37
+ <call id="a4" endpoint="timeout">
38
+ <parameters>
39
+ <label/>
40
+ <method>:post</method>
41
+ <arguments/>
42
+ </parameters>
43
+ <finalize output="result">puts "brrr"</finalize>
44
+ <update output="result"/>
45
+ <_timing>
46
+ <_timing_min/>
47
+ <_timing_max/>
48
+ <_timing_avg/>
49
+ </_timing>
50
+ <_notes>
51
+ <_notes_general/>
52
+ <_notes_output/>
53
+ <_attachments/>
54
+ </_notes>
55
+ </call>
56
+ <terminate/>
57
+ </alternative>
58
+ <alternative condition="">
59
+ <call id="a3" endpoint="">
60
+ <parameters>
61
+ <label/>
62
+ <method>:post</method>
63
+ <arguments/>
64
+ </parameters>
65
+ <finalize output="result"/>
66
+ <update output="result"/>
67
+ <_timing>
68
+ <_timing_min/>
69
+ <_timing_max/>
70
+ <_timing_avg/>
71
+ </_timing>
72
+ <_notes>
73
+ <_notes_general/>
74
+ <_notes_output/>
75
+ <_attachments/>
76
+ </_notes>
77
+ </call>
78
+ <stop/>
79
+ </alternative>
80
+ <otherwise/>
81
+ </choose>
82
+ <call id="a2" endpoint="timeout">
83
+ <parameters>
84
+ <label/>
85
+ <method>:post</method>
86
+ <arguments/>
87
+ </parameters>
88
+ <finalize output="result"/>
89
+ <update output="result"/>
90
+ <_timing>
91
+ <_timing_min/>
92
+ <_timing_max/>
93
+ <_timing_avg/>
94
+ </_timing>
95
+ <_notes>
96
+ <_notes_general/>
97
+ <_notes_output/>
98
+ <_attachments/>
99
+ </_notes>
100
+ </call>
101
+ </description>
102
+ </dslx>
103
+ <status>
104
+ <id>0</id>
105
+ <message>undefined</message>
106
+ </status>
107
+ <description>
108
+ <description xmlns="http://cpee.org/ns/description/1.0">
109
+ <manipulate id="a1" label="tester">puts "hallo"</manipulate>
110
+ <choose mode="exclusive">
111
+ <alternative condition="true">
112
+ <call id="a4" endpoint="timeout">
113
+ <parameters>
114
+ <label/>
115
+ <method>:post</method>
116
+ <arguments/>
117
+ </parameters>
118
+ <finalize output="result">puts "brrr"</finalize>
119
+ <update output="result"/>
120
+ <_timing>
121
+ <_timing_min/>
122
+ <_timing_max/>
123
+ <_timing_avg/>
124
+ </_timing>
125
+ <_notes>
126
+ <_notes_general/>
127
+ <_notes_output/>
128
+ <_attachments/>
129
+ </_notes>
130
+ </call>
131
+ <terminate/>
132
+ </alternative>
133
+ <alternative condition="">
134
+ <call id="a3" endpoint="">
135
+ <parameters>
136
+ <label/>
137
+ <method>:post</method>
138
+ <arguments/>
139
+ </parameters>
140
+ <finalize output="result"/>
141
+ <update output="result"/>
142
+ <_timing>
143
+ <_timing_min/>
144
+ <_timing_max/>
145
+ <_timing_avg/>
146
+ </_timing>
147
+ <_notes>
148
+ <_notes_general/>
149
+ <_notes_output/>
150
+ <_attachments/>
151
+ </_notes>
152
+ </call>
153
+ <stop/>
154
+ </alternative>
155
+ <otherwise/>
156
+ </choose>
157
+ <call id="a2" endpoint="timeout">
158
+ <parameters>
159
+ <label/>
160
+ <method>:post</method>
161
+ <arguments/>
162
+ </parameters>
163
+ <finalize output="result"/>
164
+ <update output="result"/>
165
+ <_timing>
166
+ <_timing_min/>
167
+ <_timing_max/>
168
+ <_timing_avg/>
169
+ </_timing>
170
+ <_notes>
171
+ <_notes_general/>
172
+ <_notes_output/>
173
+ <_attachments/>
174
+ </_notes>
175
+ </call>
176
+ </description>
177
+ </description>
178
+ <transformation>
179
+ <description type="copy"/>
180
+ <dataelements type="none"/>
181
+ <endpoints type="none"/>
182
+ </transformation>
183
+ </properties>
@@ -1,114 +1,31 @@
1
1
  <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
2
  <attributes>
3
- <uuid>3e8bef88-b2b4-484d-a3ae-17441983c57c</uuid>
4
- <info>Linear</info>
3
+ <uuid>3adc9be8-e71c-43b0-912a-2dd71a96971b</uuid>
4
+ <info/>
5
5
  <modeltype>CPEE</modeltype>
6
6
  <theme>default</theme>
7
7
  </attributes>
8
8
  <state>ready</state>
9
9
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
- <positions>
11
- <a1>after</a1>
12
- </positions>
13
- <dataelements>
14
- <x/>
15
- </dataelements>
10
+ <positions/>
11
+ <dataelements/>
16
12
  <endpoints>
17
13
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
18
14
  </endpoints>
19
- <dsl>call :a1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
20
- data.x += "a1,"
21
- END
22
- call :a2, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }, finalize: &lt;&lt;-END
23
- data.x += "a2,"
24
- END
25
- call :a3, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }, finalize: &lt;&lt;-END
26
- data.x += "a3,"
27
- END
28
- </dsl>
15
+ <dsl/>
29
16
  <dslx>
30
- <description xmlns="http://cpee.org/ns/description/1.0">
31
- <!--{{{-->
32
- <call id="a1" endpoint="timeout">
33
- <parameters>
34
- <!--{{{-->
35
- <method>:post</method>
36
- <arguments>
37
- <timeout>2</timeout>
38
- </arguments>
39
- </parameters>
40
- <!--}}}-->
41
- <finalize output="result">data.x += "a1,"</finalize>
42
- </call>
43
- <call id="a2" endpoint="timeout">
44
- <parameters>
45
- <!--{{{-->
46
- <method>:post</method>
47
- <arguments>
48
- <timeout>4</timeout>
49
- </arguments>
50
- </parameters>
51
- <!--}}}-->
52
- <finalize output="result">data.x += "a2,"</finalize>
53
- </call>
54
- <call id="a3" endpoint="timeout">
55
- <parameters>
56
- <!--{{{-->
57
- <method>:post</method>
58
- <arguments>
59
- <timeout>4</timeout>
60
- </arguments>
61
- </parameters>
62
- <!--}}}-->
63
- <finalize output="result">data.x += "a3,"</finalize>
64
- </call>
65
- </description>
17
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
66
18
  </dslx>
67
19
  <status>
68
20
  <id>0</id>
69
21
  <message>undefined</message>
70
22
  </status>
71
23
  <description>
72
- <description xmlns="http://cpee.org/ns/description/1.0">
73
- <!--{{{-->
74
- <call id="a1" endpoint="timeout">
75
- <parameters>
76
- <!--{{{-->
77
- <method>:post</method>
78
- <arguments>
79
- <timeout>2</timeout>
80
- </arguments>
81
- </parameters>
82
- <!--}}}-->
83
- <finalize output="result">data.x += "a1,"</finalize>
84
- </call>
85
- <call id="a2" endpoint="timeout">
86
- <parameters>
87
- <!--{{{-->
88
- <method>:post</method>
89
- <arguments>
90
- <timeout>4</timeout>
91
- </arguments>
92
- </parameters>
93
- <!--}}}-->
94
- <finalize output="result">data.x += "a2,"</finalize>
95
- </call>
96
- <call id="a3" endpoint="timeout">
97
- <parameters>
98
- <!--{{{-->
99
- <method>:post</method>
100
- <arguments>
101
- <timeout>4</timeout>
102
- </arguments>
103
- </parameters>
104
- <!--}}}-->
105
- <finalize output="result">data.x += "a3,"</finalize>
106
- </call>
107
- </description>
24
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
108
25
  </description>
109
26
  <transformation>
110
27
  <description type="copy"/>
111
- <dataelements type="rest"/>
112
- <endpoints type="rest"/>
28
+ <dataelements type="none"/>
29
+ <endpoints type="none"/>
113
30
  </transformation>
114
31
  </properties>
@@ -0,0 +1,183 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>2107a689-26c1-4716-a830-ba1a61db8d71</uuid>
4
+ <info>Plain Instance</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>finished</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements/>
12
+ <endpoints>
13
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
14
+ </endpoints>
15
+ <dsl>manipulate :a1, { :label =&gt; "tester" }, &lt;&lt;-END
16
+ puts "hallo"
17
+ END
18
+ choose :exclusive do
19
+ alternative test{true} do
20
+ call :a4, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
21
+ puts "brrr"
22
+ END
23
+ terminate
24
+ end
25
+ alternative test{} do
26
+ call :a3, nil, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
27
+ stop
28
+ end
29
+ end
30
+ call :a2, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
31
+ </dsl>
32
+ <dslx>
33
+ <description xmlns="http://cpee.org/ns/description/1.0">
34
+ <manipulate id="a1" label="tester">puts "hallo"</manipulate>
35
+ <choose mode="exclusive">
36
+ <alternative condition="true">
37
+ <call id="a4" endpoint="timeout">
38
+ <parameters>
39
+ <label/>
40
+ <method>:post</method>
41
+ <arguments/>
42
+ </parameters>
43
+ <finalize output="result">puts "brrr"</finalize>
44
+ <update output="result"/>
45
+ <_timing>
46
+ <_timing_min/>
47
+ <_timing_max/>
48
+ <_timing_avg/>
49
+ </_timing>
50
+ <_notes>
51
+ <_notes_general/>
52
+ <_notes_output/>
53
+ <_attachments/>
54
+ </_notes>
55
+ </call>
56
+ <terminate/>
57
+ </alternative>
58
+ <alternative condition="">
59
+ <call id="a3" endpoint="">
60
+ <parameters>
61
+ <label/>
62
+ <method>:post</method>
63
+ <arguments/>
64
+ </parameters>
65
+ <finalize output="result"/>
66
+ <update output="result"/>
67
+ <_timing>
68
+ <_timing_min/>
69
+ <_timing_max/>
70
+ <_timing_avg/>
71
+ </_timing>
72
+ <_notes>
73
+ <_notes_general/>
74
+ <_notes_output/>
75
+ <_attachments/>
76
+ </_notes>
77
+ </call>
78
+ <stop/>
79
+ </alternative>
80
+ <otherwise/>
81
+ </choose>
82
+ <call id="a2" endpoint="timeout">
83
+ <parameters>
84
+ <label/>
85
+ <method>:post</method>
86
+ <arguments/>
87
+ </parameters>
88
+ <finalize output="result"/>
89
+ <update output="result"/>
90
+ <_timing>
91
+ <_timing_min/>
92
+ <_timing_max/>
93
+ <_timing_avg/>
94
+ </_timing>
95
+ <_notes>
96
+ <_notes_general/>
97
+ <_notes_output/>
98
+ <_attachments/>
99
+ </_notes>
100
+ </call>
101
+ </description>
102
+ </dslx>
103
+ <status>
104
+ <id>0</id>
105
+ <message>undefined</message>
106
+ </status>
107
+ <description>
108
+ <description xmlns="http://cpee.org/ns/description/1.0">
109
+ <manipulate id="a1" label="tester">puts "hallo"</manipulate>
110
+ <choose mode="exclusive">
111
+ <alternative condition="true">
112
+ <call id="a4" endpoint="timeout">
113
+ <parameters>
114
+ <label/>
115
+ <method>:post</method>
116
+ <arguments/>
117
+ </parameters>
118
+ <finalize output="result">puts "brrr"</finalize>
119
+ <update output="result"/>
120
+ <_timing>
121
+ <_timing_min/>
122
+ <_timing_max/>
123
+ <_timing_avg/>
124
+ </_timing>
125
+ <_notes>
126
+ <_notes_general/>
127
+ <_notes_output/>
128
+ <_attachments/>
129
+ </_notes>
130
+ </call>
131
+ <terminate/>
132
+ </alternative>
133
+ <alternative condition="">
134
+ <call id="a3" endpoint="">
135
+ <parameters>
136
+ <label/>
137
+ <method>:post</method>
138
+ <arguments/>
139
+ </parameters>
140
+ <finalize output="result"/>
141
+ <update output="result"/>
142
+ <_timing>
143
+ <_timing_min/>
144
+ <_timing_max/>
145
+ <_timing_avg/>
146
+ </_timing>
147
+ <_notes>
148
+ <_notes_general/>
149
+ <_notes_output/>
150
+ <_attachments/>
151
+ </_notes>
152
+ </call>
153
+ <stop/>
154
+ </alternative>
155
+ <otherwise/>
156
+ </choose>
157
+ <call id="a2" endpoint="timeout">
158
+ <parameters>
159
+ <label/>
160
+ <method>:post</method>
161
+ <arguments/>
162
+ </parameters>
163
+ <finalize output="result"/>
164
+ <update output="result"/>
165
+ <_timing>
166
+ <_timing_min/>
167
+ <_timing_max/>
168
+ <_timing_avg/>
169
+ </_timing>
170
+ <_notes>
171
+ <_notes_general/>
172
+ <_notes_output/>
173
+ <_attachments/>
174
+ </_notes>
175
+ </call>
176
+ </description>
177
+ </description>
178
+ <transformation>
179
+ <description type="copy"/>
180
+ <dataelements type="none"/>
181
+ <endpoints type="none"/>
182
+ </transformation>
183
+ </properties>