cpee 2.1.134 → 2.1.136

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 (205) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/cockpit/compliance-view.html +12 -13
  4. data/cockpit/compliance.html +12 -13
  5. data/cockpit/css/llm.css +3 -3
  6. data/cockpit/css/llmmodel.css +140 -0
  7. data/cockpit/css/model.css +0 -1
  8. data/cockpit/css/ui.css +13 -7
  9. data/cockpit/css/wfadaptor.css +15 -10
  10. data/cockpit/edit.html +17 -13
  11. data/cockpit/graph.html +8 -8
  12. data/cockpit/index.html +12 -13
  13. data/cockpit/js/build-bpmn2.js +302 -0
  14. data/cockpit/js/details.js +27 -10
  15. data/cockpit/js/instance.js +193 -203
  16. data/cockpit/js/llm-ui-bubble.js +36 -0
  17. data/cockpit/js/llm-ui-status.js +34 -0
  18. data/cockpit/js/llm-ui.js +87 -0
  19. data/cockpit/js/llm.js +463 -118
  20. data/cockpit/js/parameters.js +45 -14
  21. data/cockpit/js/wfadaptor.js +394 -75
  22. data/cockpit/llm.html +17 -15
  23. data/cockpit/llmmodel.html +18 -17
  24. data/cockpit/model.html +9 -9
  25. data/cockpit/only_llm.html +15 -13
  26. data/cockpit/themes/base.js +1 -1
  27. data/cockpit/themes/packed/theme.js +3 -0
  28. data/cockpit/themes/presetlr/rngs/alternative.rng +28 -0
  29. data/cockpit/themes/presetlr/rngs/call.rng +249 -0
  30. data/cockpit/themes/presetlr/rngs/callmanipulate.rng +281 -0
  31. data/cockpit/themes/presetlr/rngs/choose.rng +27 -0
  32. data/cockpit/themes/presetlr/rngs/closed_loop.rng +62 -0
  33. data/cockpit/themes/presetlr/rngs/closed_loop_cancel.rng +5 -0
  34. data/cockpit/themes/presetlr/rngs/closed_loop_control.rng +31 -0
  35. data/cockpit/themes/presetlr/rngs/closed_loop_measuring.rng +12 -0
  36. data/cockpit/themes/presetlr/rngs/critical.rng +8 -0
  37. data/cockpit/themes/presetlr/rngs/escape.rng +5 -0
  38. data/cockpit/themes/presetlr/rngs/group.rng +3 -0
  39. data/cockpit/themes/presetlr/rngs/loop.rng +40 -0
  40. data/cockpit/themes/presetlr/rngs/manipulate.rng +76 -0
  41. data/cockpit/themes/presetlr/rngs/otherwise.rng +25 -0
  42. data/cockpit/themes/presetlr/rngs/parallel.rng +24 -0
  43. data/cockpit/themes/presetlr/rngs/parallel_branch.rng +5 -0
  44. data/cockpit/themes/presetlr/rngs/scripts.rng +23 -0
  45. data/cockpit/themes/presetlr/rngs/start.rng +143 -0
  46. data/cockpit/themes/presetlr/rngs/stop.rng +5 -0
  47. data/cockpit/themes/presetlr/rngs/terminate.rng +8 -0
  48. data/cockpit/themes/presetlr/rngs/wait_for_signal.rng +8 -0
  49. data/cockpit/themes/presetlr/symbols/alternative.svg +19 -0
  50. data/cockpit/themes/presetlr/symbols/arrow.svg +1 -0
  51. data/cockpit/themes/presetlr/symbols/call.svg +1 -0
  52. data/cockpit/themes/presetlr/symbols/call_sensor.svg +1 -0
  53. data/cockpit/themes/presetlr/symbols/callmanipulate.svg +1 -0
  54. data/cockpit/themes/presetlr/symbols/callmanipulate_sensor.svg +1 -0
  55. data/cockpit/themes/presetlr/symbols/callmanipulate_sensor_signal.svg +1 -0
  56. data/cockpit/themes/presetlr/symbols/callmanipulate_signal.svg +1 -0
  57. data/cockpit/themes/presetlr/symbols/choose.svg +15 -0
  58. data/cockpit/themes/presetlr/symbols/choose_exclusive.svg +15 -0
  59. data/cockpit/themes/presetlr/symbols/choose_exclusive_finish.svg +1 -0
  60. data/cockpit/themes/presetlr/symbols/choose_inclusive.svg +13 -0
  61. data/cockpit/themes/presetlr/symbols/choose_inclusive_finish.svg +1 -0
  62. data/cockpit/themes/presetlr/symbols/closed_loop.svg +1 -0
  63. data/cockpit/themes/presetlr/symbols/closed_loop_cancel.svg +1 -0
  64. data/cockpit/themes/presetlr/symbols/closed_loop_control.svg +1 -0
  65. data/cockpit/themes/presetlr/symbols/closed_loop_measuring.svg +1 -0
  66. data/cockpit/themes/presetlr/symbols/complex.svg +1 -0
  67. data/cockpit/themes/presetlr/symbols/critical.svg +1 -0
  68. data/cockpit/themes/presetlr/symbols/delete.svg +1 -0
  69. data/cockpit/themes/presetlr/symbols/end.svg +1 -0
  70. data/cockpit/themes/presetlr/symbols/escape.svg +1 -0
  71. data/cockpit/themes/presetlr/symbols/event_end.svg +1 -0
  72. data/cockpit/themes/presetlr/symbols/event_start.svg +1 -0
  73. data/cockpit/themes/presetlr/symbols/loop.svg +15 -0
  74. data/cockpit/themes/presetlr/symbols/loop_end.svg +15 -0
  75. data/cockpit/themes/presetlr/symbols/loop_end_pre.svg +15 -0
  76. data/cockpit/themes/presetlr/symbols/manipulate.svg +1 -0
  77. data/cockpit/themes/presetlr/symbols/mark.svg +1 -0
  78. data/cockpit/themes/presetlr/symbols/otherwise.svg +7 -0
  79. data/cockpit/themes/presetlr/symbols/parallel.svg +1 -0
  80. data/cockpit/themes/presetlr/symbols/parallel_branch.svg +7 -0
  81. data/cockpit/themes/presetlr/symbols/parallel_branch_event.svg +14 -0
  82. data/cockpit/themes/presetlr/symbols/parallel_branch_event_rev.svg +11 -0
  83. data/cockpit/themes/presetlr/symbols/parallel_branch_normal.svg +7 -0
  84. data/cockpit/themes/presetlr/symbols/parallel_eventbased_exclusive.svg +1 -0
  85. data/cockpit/themes/presetlr/symbols/parallel_eventbased_parallel.svg +1 -0
  86. data/cockpit/themes/presetlr/symbols/scripts.svg +1 -0
  87. data/cockpit/themes/presetlr/symbols/start.svg +1 -0
  88. data/cockpit/themes/presetlr/symbols/start_event.svg +1 -0
  89. data/cockpit/themes/presetlr/symbols/stop.svg +1 -0
  90. data/cockpit/themes/presetlr/symbols/terminate.svg +1 -0
  91. data/cockpit/themes/presetlr/symbols/wait_for_signal.svg +1 -0
  92. data/cockpit/themes/presetlr/theme.js +54 -0
  93. data/cockpit/themes/wellformed/rngs/alternative.rng +28 -0
  94. data/cockpit/themes/wellformed/rngs/call.rng +249 -0
  95. data/cockpit/themes/wellformed/rngs/callmanipulate.rng +281 -0
  96. data/cockpit/themes/wellformed/rngs/choose.rng +27 -0
  97. data/cockpit/themes/wellformed/rngs/closed_loop.rng +62 -0
  98. data/cockpit/themes/wellformed/rngs/closed_loop_cancel.rng +5 -0
  99. data/cockpit/themes/wellformed/rngs/closed_loop_control.rng +31 -0
  100. data/cockpit/themes/wellformed/rngs/closed_loop_measuring.rng +12 -0
  101. data/cockpit/themes/wellformed/rngs/critical.rng +8 -0
  102. data/cockpit/themes/wellformed/rngs/escape.rng +5 -0
  103. data/cockpit/themes/wellformed/rngs/group.rng +3 -0
  104. data/cockpit/themes/wellformed/rngs/loop.rng +40 -0
  105. data/cockpit/themes/wellformed/rngs/manipulate.rng +76 -0
  106. data/cockpit/themes/wellformed/rngs/otherwise.rng +25 -0
  107. data/cockpit/themes/wellformed/rngs/parallel.rng +24 -0
  108. data/cockpit/themes/wellformed/rngs/parallel_branch.rng +5 -0
  109. data/cockpit/themes/wellformed/rngs/scripts.rng +23 -0
  110. data/cockpit/themes/wellformed/rngs/start.rng +143 -0
  111. data/cockpit/themes/wellformed/rngs/stop.rng +5 -0
  112. data/cockpit/themes/wellformed/rngs/terminate.rng +8 -0
  113. data/cockpit/themes/wellformed/rngs/wait_for_signal.rng +8 -0
  114. data/cockpit/themes/wellformed/symbols/alternative.svg +1 -0
  115. data/cockpit/themes/wellformed/symbols/arrow.svg +1 -0
  116. data/cockpit/themes/wellformed/symbols/call.svg +1 -0
  117. data/cockpit/themes/wellformed/symbols/call_sensor.svg +1 -0
  118. data/cockpit/themes/wellformed/symbols/callmanipulate.svg +1 -0
  119. data/cockpit/themes/wellformed/symbols/callmanipulate_sensor.svg +1 -0
  120. data/cockpit/themes/wellformed/symbols/callmanipulate_sensor_signal.svg +1 -0
  121. data/cockpit/themes/wellformed/symbols/callmanipulate_signal.svg +1 -0
  122. data/cockpit/themes/wellformed/symbols/choose.svg +1 -0
  123. data/cockpit/themes/wellformed/symbols/choose_exclusive.svg +1 -0
  124. data/cockpit/themes/wellformed/symbols/choose_exclusive_finish.svg +1 -0
  125. data/cockpit/themes/wellformed/symbols/choose_inclusive.svg +1 -0
  126. data/cockpit/themes/wellformed/symbols/choose_inclusive_finish.svg +1 -0
  127. data/cockpit/themes/wellformed/symbols/closed_loop.svg +1 -0
  128. data/cockpit/themes/wellformed/symbols/closed_loop_cancel.svg +1 -0
  129. data/cockpit/themes/wellformed/symbols/closed_loop_control.svg +1 -0
  130. data/cockpit/themes/wellformed/symbols/closed_loop_measuring.svg +1 -0
  131. data/cockpit/themes/wellformed/symbols/complex.svg +1 -0
  132. data/cockpit/themes/wellformed/symbols/critical.svg +1 -0
  133. data/cockpit/themes/wellformed/symbols/delete.svg +1 -0
  134. data/cockpit/themes/wellformed/symbols/end.svg +1 -0
  135. data/cockpit/themes/wellformed/symbols/escape.svg +1 -0
  136. data/cockpit/themes/wellformed/symbols/event_end.svg +1 -0
  137. data/cockpit/themes/wellformed/symbols/event_start.svg +6 -0
  138. data/cockpit/themes/wellformed/symbols/loop.svg +1 -0
  139. data/cockpit/themes/wellformed/symbols/loop_end.svg +1 -0
  140. data/cockpit/themes/wellformed/symbols/manipulate.svg +1 -0
  141. data/cockpit/themes/wellformed/symbols/mark.svg +1 -0
  142. data/cockpit/themes/wellformed/symbols/otherwise.svg +1 -0
  143. data/cockpit/themes/wellformed/symbols/parallel.svg +1 -0
  144. data/cockpit/themes/wellformed/symbols/parallel_branch.svg +1 -0
  145. data/cockpit/themes/wellformed/symbols/parallel_branch_event.svg +1 -0
  146. data/cockpit/themes/wellformed/symbols/parallel_branch_event_rev.svg +11 -0
  147. data/cockpit/themes/wellformed/symbols/parallel_branch_normal.svg +1 -0
  148. data/cockpit/themes/wellformed/symbols/parallel_eventbased_exclusive.svg +1 -0
  149. data/cockpit/themes/wellformed/symbols/parallel_eventbased_parallel.svg +1 -0
  150. data/cockpit/themes/wellformed/symbols/scripts.svg +1 -0
  151. data/cockpit/themes/wellformed/symbols/start.svg +1 -0
  152. data/cockpit/themes/wellformed/symbols/start_event.svg +1 -0
  153. data/cockpit/themes/wellformed/symbols/stop.svg +1 -0
  154. data/cockpit/themes/wellformed/symbols/terminate.svg +1 -0
  155. data/cockpit/themes/wellformed/symbols/wait_for_signal.svg +1 -0
  156. data/cockpit/themes/wellformed/theme.js +32 -0
  157. data/cockpit/track.html +8 -8
  158. data/cpee.gemspec +2 -2
  159. data/lib/callbacks/callbacks.rng +4 -4
  160. data/lib/callbacks.xml +4 -4
  161. data/lib/cpee/constants.rb +4 -4
  162. data/lib/cpee/fail.rb +4 -4
  163. data/lib/cpee/implementation.rb +5 -4
  164. data/lib/cpee/implementation_callbacks.rb +4 -4
  165. data/lib/cpee/implementation_notifications.rb +4 -4
  166. data/lib/cpee/implementation_properties.rb +108 -12
  167. data/lib/cpee/message.rb +4 -4
  168. data/lib/cpee/persistence.rb +6 -4
  169. data/lib/cpee/redis.rb +4 -4
  170. data/lib/cpee/statemachine.rb +4 -4
  171. data/lib/cpee/value_helper.rb +4 -4
  172. data/lib/cpee.xml +4 -4
  173. data/lib/engine/executionhandler-list.rng +4 -4
  174. data/lib/engine/instance-info.rng +4 -4
  175. data/lib/engine/instances.rng +4 -4
  176. data/lib/engine.xml +4 -4
  177. data/lib/properties/t_dslx.rng +346 -0
  178. data/lib/properties/transformation.rng +14 -0
  179. data/lib/properties.xml +5 -4
  180. data/server/executionhandlers/eval/backend/opts.yaml +1 -1
  181. data/server/executionhandlers/eval/connection.rb +4 -4
  182. data/server/executionhandlers/eval/execution.rb +4 -4
  183. data/server/executionhandlers/ruby/backend/opts.yaml +1 -1
  184. data/server/executionhandlers/ruby/connection.rb +5 -6
  185. data/server/executionhandlers/ruby/controller.rb +4 -4
  186. data/server/executionhandlers/ruby/dsl_to_dslx.xsl +6 -2
  187. data/server/executionhandlers/ruby/execution.rb +4 -4
  188. data/server/resources/properties.empty +5 -4
  189. data/server/resources/properties.init +5 -4
  190. data/server/resources/topics.xml +4 -4
  191. data/server/routing/end.pid +1 -0
  192. data/server/routing/end.rb +4 -4
  193. data/server/routing/forward-events-00.pid +1 -0
  194. data/server/routing/forward-events.rb +4 -4
  195. data/server/routing/forward-votes.pid +1 -0
  196. data/server/routing/forward-votes.rb +4 -4
  197. data/server/routing/persist.pid +1 -0
  198. data/server/routing/persist.rb +6 -4
  199. data/tools/server/cpee +1 -1
  200. data/tools/server/resources/properties.init +4 -4
  201. metadata +140 -5
  202. data/cockpit/CPEE.xml +0 -8
  203. data/cockpit/Signavio.xml +0 -8
  204. data/cockpit/transformations.xml +0 -4
  205. /data/{COPYING → LICENSE} +0 -0
@@ -0,0 +1,23 @@
1
+ <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="code" rngui:header="Implementation" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
+ <element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
3
+ <text rngui:label="Script that is executed, before a service call"/>
4
+ </element>
5
+ <element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold="closed_conditional">
6
+ <attribute name="output" rngui:label="Access Variable" rngui:default="result">
7
+ <data type="string" rngui:readonly="true"/>
8
+ </attribute>
9
+ <text rngui:label="Script that is executed, when a service returns data"/>
10
+ </element>
11
+ <element name="update" rngui:header="Update" rngui:label="Code" rngui:fold="closed_conditional">
12
+ <attribute name="output" rngui:label="Access Variable" rngui:default="result">
13
+ <data type="string" rngui:readonly="true"/>
14
+ </attribute>
15
+ <text rngui:label="Script that is executed, when a service sends intermediate data"/>
16
+ </element>
17
+ <element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold="closed_conditional">
18
+ <attribute name="output" rngui:label="Access Variable" rngui:default="result">
19
+ <data type="string" rngui:readonly="true"/>
20
+ </attribute>
21
+ <text rngui:label="Script that is executed, if a service call fails"/>
22
+ </element>
23
+ </element>
@@ -0,0 +1,143 @@
1
+ <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
+ <attribute name="color" rngui:label="Default Color">
3
+ <choice rngui:type='color'>
4
+ <value>#ffffff</value>
5
+ <value>#d4e1f1</value>
6
+ <value>#d8f0dd</value>
7
+ <value>#ffffcc</value>
8
+ <value>#e4c3e4</value>
9
+ <value>#f8a8c6</value>
10
+ <value>#ded0c5</value>
11
+ <value>#deddda</value>
12
+ </choice>
13
+ </attribute>
14
+ <element name="_generic" rngui:header="Process Level Generic Annotations">
15
+ <zeroOrMore rngui:label="Create Annotation Pair">
16
+ <element rngui:label="Name" rngui:labeltype="xml">
17
+ <anyName/>
18
+ <data type="string" rngui:label="Value"/>
19
+ </element>
20
+ </zeroOrMore>
21
+ </element>
22
+
23
+ <element name="_shifting" rngui:header="Log Time Shifting">
24
+ <optional>
25
+ <element name="_shifting_factor" rngui:label="Multiplication Factor">
26
+ <data type="string" rngui:label="e.g.: 2 hours"/>
27
+ </element>
28
+ </optional>
29
+ <optional>
30
+ <element name="_shifting_start" rngui:label="Starting Point">
31
+ <data type="string" rngui:label="e.g.: monday, 5pm"/>
32
+ </element>
33
+ </optional>
34
+ <optional>
35
+ <element name="_shifting_modifier" rngui:label="Random +/- Starting Shift">
36
+ <data type="float" rngui:label="in seconds"/>
37
+ </element>
38
+ </optional>
39
+ </element>
40
+
41
+ <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
42
+
43
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
44
+ <zeroOrMore rngui:label="Add Probe">
45
+ <element name="probe">
46
+ <element name="id" rngui:label="ID">
47
+ <data type="string" rngui:label="ID"/>
48
+ </element>
49
+ <element name="source" rngui:label="Source">
50
+ <data type="string" rngui:label="Where does the sensor value come from?"/>
51
+ </element>
52
+ <element name="extractor_type" rngui:label="Extractor Type">
53
+ <choice>
54
+ <value rngui:label='Intrinsic'>intrinsic</value>
55
+ <value rngui:label='Extrinsic'>extrinsic</value>
56
+ <value rngui:label='Separate'>separate</value>
57
+ </choice>
58
+ </element>
59
+ <element name="extractor_code" rngui:label="Extractor Code" rngui:hint='For intrinsic &amp; extrinsic data'>
60
+ <text rngui:label="Code"/>
61
+ </element>
62
+ <element name="extractor_url" rngui:label="Extractor Service" rngui:hint='For separate data'>
63
+ <data type="string" rngui:label="Service Url"/>
64
+ </element>
65
+ <element name="extractor_params" rngui:label="Extractor Service Arguments:">
66
+ <zeroOrMore rngui:label="Create Argument Pairs">
67
+ <element rngui:label="Name">
68
+ <anyName/>
69
+ <data type="string" rngui:label="Value / Json"/>
70
+ </element>
71
+ </zeroOrMore>
72
+ </element>
73
+ <element name="visualizer_url" rngui:label="Visualizer Url">
74
+ <data type="string" rngui:label="Service Url"/>
75
+ </element>
76
+ <element name="visualizer_params" rngui:label="Visualizer Arguments">
77
+ <zeroOrMore rngui:label="Create Argument Pairs">
78
+ <element rngui:label="Name">
79
+ <anyName/>
80
+ <data type="string" rngui:label="Value / Json"/>
81
+ </element>
82
+ </zeroOrMore>
83
+ </element>
84
+ </element>
85
+ </zeroOrMore>
86
+ </element>
87
+
88
+ <element name="ips" rngui:header="Impact Profiles" rngui:fold="closed">
89
+ <zeroOrMore rngui:label="Add Impact Profile">
90
+ <element name="ip">
91
+ <element name="name" rngui:label="Label">
92
+ <data type="string" rngui:label="Label"/>
93
+ </element>
94
+ <element name="target" rngui:label="Target Value">
95
+ <data type="string" rngui:label="Value"/>
96
+ </element>
97
+ <element name="ifs" rngui:header="Impact Factors">
98
+ <zeroOrMore rngui:label="Add Impact Factor">
99
+ <element name="if">
100
+ <element name="ivs" rngui:header="Impact Values">
101
+ <zeroOrMore rngui:label="Add Impact Value ">
102
+ <element name="iv">
103
+ <element name="extractor_url" rngui:label="Extractor Url">
104
+ <data type="string" rngui:label="Service Url + Parameters"/>
105
+ </element>
106
+ <element name="extractor_params" rngui:header="Extractor Arguments">
107
+ <zeroOrMore rngui:label="Create Extractor Argument Pairs">
108
+ <element rngui:label="Name">
109
+ <anyName/>
110
+ <data type="string" rngui:label="Value / Json"/>
111
+ </element>
112
+ </zeroOrMore>
113
+ </element>
114
+ <element name="aggregator_url" rngui:label="Aggregator Url">
115
+ <data type="string" rngui:label="Service Url + Parameters"/>
116
+ </element>
117
+ <element name="aggregator_params" rngui:header="Extractor Arguments">
118
+ <zeroOrMore rngui:label="Create Aggregator Argument Pairs">
119
+ <element rngui:label="Name">
120
+ <anyName/>
121
+ <data type="string" rngui:label="Value / Json"/>
122
+ </element>
123
+ </zeroOrMore>
124
+ </element>
125
+ </element>
126
+ </zeroOrMore>
127
+ </element>
128
+ <element name="aggregator_url" rngui:label="Impact Function Url">
129
+ <data type="string" rngui:label="Service Url + Parameters"/>
130
+ </element>
131
+ </element>
132
+ </zeroOrMore>
133
+ </element>
134
+ <element name="vfunc_url" rngui:label="Violation Function Url">
135
+ <data type="string" rngui:label="Service Url + Parameters"/>
136
+ </element>
137
+ </element>
138
+ </zeroOrMore>
139
+ </element>
140
+
141
+ </element>
142
+
143
+ </element>
@@ -0,0 +1,5 @@
1
+ <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="stop" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
+ <attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id('a','id')">
3
+ <data type="string" rngui:readonly="true"/>
4
+ </attribute>
5
+ </element>
@@ -0,0 +1,8 @@
1
+ <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="terminate" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
+ <attribute name="eid" rngui:label="ID" rngui:default="javascript:get_free_id('e','eid')">
3
+ <data type="string" rngui:readonly="true"/>
4
+ </attribute>
5
+ <attribute name="abandon" rngui:label="Abandon instance">
6
+ <data type="boolean" rngui:label="Abandon instance instead of finishing it"/>
7
+ </attribute>
8
+ </element>
@@ -0,0 +1,8 @@
1
+ <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="wait_for_signal" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
+ <attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id('a','id')">
3
+ <data type="string" rngui:readonly="true"/>
4
+ </attribute>
5
+ <element name="label" rngui:label="Label">
6
+ <data type="string" rngui:label="What do we wait for? (data changes in a parallel task)"/>
7
+ </element>
8
+ </element>
@@ -0,0 +1 @@
1
+ ../../preset/symbols/alternative.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/arrow.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/call.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/call_sensor.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/callmanipulate.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/callmanipulate_sensor.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/callmanipulate_sensor_signal.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/callmanipulate_signal.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/choose.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/choose_exclusive.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/choose_exclusive_finish.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/choose_inclusive.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/choose_inclusive_finish.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/closed_loop.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/closed_loop_cancel.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/closed_loop_control.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/closed_loop_measuring.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/complex.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/critical.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/delete.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/end.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/escape.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/event_end.svg
@@ -0,0 +1,6 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="15" cy="15" r="14" class="colorstyle execstyle stand"/>
3
+ <line x1="15" y1="11" x2="11" y2="18" class="stand"/>
4
+ <line x1="11" y1="18" x2="19" y2="18" class="stand"/>
5
+ <line x1="19" y1="18" x2="15" y2="11" class="stand"/>
6
+ </svg>
@@ -0,0 +1 @@
1
+ ../../preset/symbols/loop.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/loop_end.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/manipulate.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/mark.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/otherwise.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/parallel.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/parallel_branch.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/parallel_branch_event.svg
@@ -0,0 +1,11 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="1" y="3" width="24" height="24" rx="4" class="colorstyle execstyle stand"/>
3
+
4
+ <circle cx="24" cy="15" r="9" class="execstyle standthin" style="stroke-dasharray: 1,2"/>
5
+ <circle cx="24" cy="15" r="7" class="execstyle standthin" style="stroke-dasharray: 1,2"/>
6
+ <line x1="24" y1="11" x2="20" y2="18" class="stand"/>
7
+ <line x1="20" y1="18" x2="28" y2="18" class="stand"/>
8
+ <line x1="28" y1="18" x2="24" y2="11" class="stand"/>
9
+
10
+ <circle cx="55.5" cy="15" r="14" class="colorstyle execstyle standfat"/>
11
+ </svg>
@@ -0,0 +1 @@
1
+ ../../preset/symbols/parallel_branch_normal.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/parallel_eventbased_exclusive.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/parallel_eventbased_parallel.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/scripts.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/start.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/start_event.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/stop.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/terminate.svg
@@ -0,0 +1 @@
1
+ ../../preset/symbols/wait_for_signal.svg
@@ -0,0 +1,32 @@
1
+ WFAdaptorManifestation = class extends WFAdaptorManifestationBase {
2
+ constructor(adaptor) {
3
+ super(adaptor);
4
+ this.compact = true;
5
+ this.rotated_labels = false;
6
+ this.wellformed_pre_test = true;
7
+ this.elements.loop.illustrator.resolve_symbol = function(node) {
8
+ return 'loop_tail'; // pre_test loops look like post_test loops, but reversed
9
+ };
10
+ this.elements.parallel_branch.illustrator.resolve_symbol = function(node,shift) {
11
+ if(shift == true) {
12
+ return adaptor.illustrator.inverted ? 'parallel_branch_event_rev' : 'parallel_branch_event'; // reversed: the flow goes from event_start up to the end circle
13
+ } else {
14
+ return 'parallel_branch_normal';
15
+ }
16
+ };
17
+ this.elements.parallel_branch_event_rev = {
18
+ 'parent': 'parallel_branch_event',
19
+ 'illustrator': {
20
+ 'implied': { 'type': 'event_end', 'x': 1 }, // the end circle, right of the signal
21
+ 'closing_symbol': 'event_start',
22
+ 'svg': adaptor.theme_dir + 'symbols/parallel_branch_event_rev.svg'
23
+ }
24
+ };
25
+ this.elements.event_start = {
26
+ 'parent': 'event_end',
27
+ 'illustrator': {
28
+ 'svg': adaptor.theme_dir + 'symbols/event_start.svg'
29
+ }
30
+ };
31
+ }
32
+ }
data/cockpit/track.html CHANGED
@@ -2,15 +2,15 @@
2
2
  This file is part of CPEE.
3
3
 
4
4
  CPEE is free software: you can redistribute it and/or modify it under the terms
5
- of the GNU General Public License as published by the Free Software Foundation,
5
+ of the GNU Lesser General Public License as published by the Free Software Foundation,
6
6
  either version 3 of the License, or (at your option) any later version.
7
7
 
8
8
  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
9
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
11
 
12
- You should have received a copy of the GNU General Public License along with
13
- CPEE (file COPYING in the main directory). If not, see
12
+ You should have received a copy of the GNU Lesser General Public License along with
13
+ CPEE (file LICENSE in the main directory). If not, see
14
14
  <http://www.gnu.org/licenses/>.
15
15
  -->
16
16
 
@@ -27,7 +27,7 @@
27
27
  <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
28
28
  <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
29
29
  <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
30
- <script type="text/javascript" src="/js_libs/util.js"></script>
30
+ <script type="text/javascript" src="/js_libs/uidash_util.js"></script>
31
31
  <script type="text/javascript" src="/js_libs/printf.js"></script>
32
32
  <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
33
33
  <script type="text/javascript" src="/js_libs/parsequery.js"></script>
@@ -38,9 +38,9 @@
38
38
  <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
39
39
 
40
40
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
41
- <script type="text/javascript" src="/js_libs/custommenu.js"></script>
41
+ <script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
42
42
 
43
- <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
43
+ <link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
44
44
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
45
45
 
46
46
  <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
@@ -63,7 +63,7 @@
63
63
  <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
64
64
  <link rel="stylesheet" href="css/track.css" type="text/css"/>
65
65
  </head>
66
- <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
66
+ <body data-base-port="9298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
67
67
  <div class='hidden' id='relaxngworker'></div>
68
68
  <template id="label">
69
69
  <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
data/cpee.gemspec CHANGED
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.134"
3
+ s.version = "2.1.136"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "The cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
7
7
 
8
8
  s.description = "see http://cpee.org"
9
9
 
10
- s.files = Dir['{example/**/*,server/**/*,tools/**/*,tools/archive,lib/**/*,cockpit/**/*,cockpit/templates/.templates.xml,cockpit/templates/.transformations.xml,cockpit/templates/.Signavio.xml,cockpit/templates/.CPEE.xml,cockpit/*.html,cockpit/themes/*/*,cockpit/themes/*/*/*,contrib/logo*,contrib/Screen*,contrib/transform.rb}'] - Dir['{server/instances/**/*,server/executionhandlers/rust/**/*,cockpit/js_libs/**/*,server/redis*}'] + %w(COPYING FEATURES.md INSTALL.md Rakefile cpee.gemspec README.md AUTHORS)
10
+ s.files = Dir['{example/**/*,server/**/*,tools/**/*,tools/archive,lib/**/*,cockpit/**/*,cockpit/templates/.templates.xml,cockpit/templates/.transformations.xml,cockpit/templates/.Signavio.xml,cockpit/templates/.CPEE.xml,cockpit/*.html,cockpit/themes/*/*,cockpit/themes/*/*/*,contrib/logo*,contrib/Screen*,contrib/transform.rb}'] - Dir['{server/instances/**/*,server/executionhandlers/rust/**/*,cockpit/js_libs/**/*,server/redis*}'] + %w(LICENSE FEATURES.md INSTALL.md Rakefile cpee.gemspec README.md AUTHORS)
11
11
  s.require_path = 'lib'
12
12
  s.extra_rdoc_files = ['README.md']
13
13
  s.bindir = 'tools'
@@ -2,15 +2,15 @@
2
2
  This file is part of CPEE.
3
3
 
4
4
  CPEE is free software: you can redistribute it and/or modify it under the terms
5
- of the GNU General Public License as published by the Free Software Foundation,
5
+ of the GNU Lesser General Public License as published by the Free Software Foundation,
6
6
  either version 3 of the License, or (at your option) any later version.
7
7
 
8
8
  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
9
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
11
 
12
- You should have received a copy of the GNU General Public License along with
13
- CPEE (file COPYING in the main directory). If not, see
12
+ You should have received a copy of the GNU Lesser General Public License along with
13
+ CPEE (file LICENSE in the main directory). If not, see
14
14
  <http://www.gnu.org/licenses/>.
15
15
  -->
16
16
 
data/lib/callbacks.xml CHANGED
@@ -2,15 +2,15 @@
2
2
  This file is part of CPEE.
3
3
 
4
4
  CPEE is free software: you can redistribute it and/or modify it under the terms
5
- of the GNU General Public License as published by the Free Software Foundation,
5
+ of the GNU Lesser General Public License as published by the Free Software Foundation,
6
6
  either version 3 of the License, or (at your option) any later version.
7
7
 
8
8
  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
9
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
11
 
12
- You should have received a copy of the GNU General Public License along with
13
- CPEE (file COPYING in the main directory). If not, see
12
+ You should have received a copy of the GNU Lesser General Public License along with
13
+ CPEE (file LICENSE in the main directory). If not, see
14
14
  <http://www.gnu.org/licenses/>.
15
15
  -->
16
16
 
@@ -1,15 +1,15 @@
1
1
  # This file is part of CPEE.
2
2
  #
3
3
  # CPEE is free software: you can redistribute it and/or modify it under the terms
4
- # of the GNU General Public License as published by the Free Software Foundation,
4
+ # of the GNU Lesser General Public License as published by the Free Software Foundation,
5
5
  # either version 3 of the License, or (at your option) any later version.
6
6
  #
7
7
  # CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
8
8
  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
9
- # PARTICULAR PURPOSE. See the GNU General Public License for more details.
9
+ # PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
10
10
  #
11
- # You should have received a copy of the GNU General Public License along with
12
- # CPEE (file COPYING in the main directory). If not, see
11
+ # You should have received a copy of the GNU Lesser General Public License along with
12
+ # CPEE (file LICENSE in the main directory). If not, see
13
13
  # <http://www.gnu.org/licenses/>.
14
14
 
15
15
  module CPEE
data/lib/cpee/fail.rb CHANGED
@@ -2,15 +2,15 @@
2
2
  # This file is part of CPEE.
3
3
  #
4
4
  # CPEE is free software: you can redistribute it and/or modify it under the terms
5
- # of the GNU General Public License as published by the Free Software Foundation,
5
+ # of the GNU Lesser General Public License as published by the Free Software Foundation,
6
6
  # either version 3 of the License, or (at your option) any later version.
7
7
  #
8
8
  # CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
9
  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- # PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ # PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
11
  #
12
- # You should have received a copy of the GNU General Public License along with
13
- # CPEE (file COPYING in the main directory). If not, see
12
+ # You should have received a copy of the GNU Lesser General Public License along with
13
+ # CPEE (file LICENSE in the main directory). If not, see
14
14
  # <http://www.gnu.org/licenses/>.
15
15
 
16
16
  module CPEE
@@ -1,15 +1,15 @@
1
1
  # This file is part of CPEE.
2
2
  #
3
3
  # CPEE is free software: you can redistribute it and/or modify it under the terms
4
- # of the GNU General Public License as published by the Free Software Foundation,
4
+ # of the GNU Lesser General Public License as published by the Free Software Foundation,
5
5
  # either version 3 of the License, or (at your option) any later version.
6
6
  #
7
7
  # CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
8
8
  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
9
- # PARTICULAR PURPOSE. See the GNU General Public License for more details.
9
+ # PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
10
10
  #
11
- # You should have received a copy of the GNU General Public License along with
12
- # CPEE (file COPYING in the main directory). If not, see
11
+ # You should have received a copy of the GNU Lesser General Public License along with
12
+ # CPEE (file LICENSE in the main directory). If not, see
13
13
  # <http://www.gnu.org/licenses/>.
14
14
 
15
15
  require 'fileutils'
@@ -66,6 +66,7 @@ module CPEE
66
66
  opts[:properties_init] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','properties.init'))
67
67
  opts[:properties_empty] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','properties.empty'))
68
68
  opts[:empty_dslx] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','empty_dslx.xml'))
69
+ opts[:dslx_rng] ||= File.expand_path(File.join(__dir__,'..','properties','t_dslx.rng'))
69
70
  opts[:notifications_init] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','notifications'))
70
71
  opts[:states] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','states.xml'))
71
72
  opts[:watchdog_frequency] ||= 7
@@ -1,15 +1,15 @@
1
1
  # This file is part of CPEE.
2
2
  #
3
3
  # CPEE is free software: you can redistribute it and/or modify it under the terms
4
- # of the GNU General Public License as published by the Free Software Foundation,
4
+ # of the GNU Lesser General Public License as published by the Free Software Foundation,
5
5
  # either version 3 of the License, or (at your option) any later version.
6
6
  #
7
7
  # CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
8
8
  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
9
- # PARTICULAR PURPOSE. See the GNU General Public License for more details.
9
+ # PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
10
10
  #
11
- # You should have received a copy of the GNU General Public License along with
12
- # CPEE (file COPYING in the main directory). If not, see
11
+ # You should have received a copy of the GNU Lesser General Public License along with
12
+ # CPEE (file LICENSE in the main directory). If not, see
13
13
  # <http://www.gnu.org/licenses/>.
14
14
 
15
15
  require 'json'
@@ -1,15 +1,15 @@
1
1
  # This file is part of CPEE.
2
2
  #
3
3
  # CPEE is free software: you can redistribute it and/or modify it under the terms
4
- # of the GNU General Public License as published by the Free Software Foundation,
4
+ # of the GNU Lesser General Public License as published by the Free Software Foundation,
5
5
  # either version 3 of the License, or (at your option) any later version.
6
6
  #
7
7
  # CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
8
8
  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
9
- # PARTICULAR PURPOSE. See the GNU General Public License for more details.
9
+ # PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
10
10
  #
11
- # You should have received a copy of the GNU General Public License along with
12
- # CPEE (file COPYING in the main directory). If not, see
11
+ # You should have received a copy of the GNU Lesser General Public License along with
12
+ # CPEE (file LICENSE in the main directory). If not, see
13
13
  # <http://www.gnu.org/licenses/>.
14
14
 
15
15
  require 'json'