cpee 1.5.27 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{FEATURES → FEATURES.md} +7 -6
- data/INSTALL.md +1 -0
- data/{README → README.md} +3 -3
- data/Rakefile +1 -0
- data/cockpit/index.html +7 -7
- data/cockpit/js/details.js +13 -14
- data/cockpit/js/instance.js +191 -284
- data/cockpit/js/parameters.js +13 -3
- data/cockpit/js/ui.js +2 -2
- data/cockpit/model.html +1 -0
- data/cockpit/rngs/attributes.rng +1 -1
- data/cockpit/rngs/dataelements.rng +1 -1
- data/cockpit/rngs/endpoints.rng +1 -1
- data/cockpit/templates.legacy/Async.xml +7 -7
- data/cockpit/templates.legacy/BCO.xml +7 -10
- data/cockpit/templates.legacy/BCS.xml +7 -10
- data/cockpit/templates.legacy/Centurio.xml +6 -6
- data/cockpit/templates.legacy/Concurrent.xml +6 -6
- data/cockpit/templates.legacy/Coopis Testset.xml +6 -6
- data/cockpit/templates.legacy/Endpoints and Data Manipulation.xml +6 -6
- data/cockpit/templates.legacy/ICSOC Testset.xml +6 -6
- data/cockpit/templates.legacy/Infinity.xml +3 -3
- data/cockpit/templates.legacy/Lego Boxer.xml +7 -7
- data/cockpit/templates.legacy/Lego Conveyor.xml +7 -7
- data/cockpit/templates.legacy/Lego Crane.xml +7 -7
- data/cockpit/templates.legacy/Lego Ejector.xml +7 -7
- data/cockpit/templates.legacy/Lego Full.xml +7 -7
- data/cockpit/templates.legacy/Lego Liddy.xml +7 -7
- data/cockpit/templates.legacy/Lego Plate.xml +7 -7
- data/cockpit/templates.legacy/Lego Transporter.xml +7 -7
- data/cockpit/templates.legacy/Lego_Part_1.xml +7 -7
- data/cockpit/templates.legacy/LgLinear.xml +6 -10
- data/cockpit/templates.legacy/Linear.xml +7 -7
- data/cockpit/templates.legacy/Log.xml +7 -7
- data/cockpit/templates.legacy/Mangler 1.xml +6 -6
- data/cockpit/templates.legacy/Mangler 2.xml +6 -6
- data/cockpit/templates.legacy/Manuel Labels.xml +7 -7
- data/cockpit/templates.legacy/Promise.xml +7 -7
- data/cockpit/templates.legacy/SOPROMO Test Sonification.xml +6 -6
- data/cockpit/templates.legacy/Subprocess.xml +56 -0
- data/cockpit/templates.legacy/Syncing P34 1.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34 2.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34 3.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34.xml +8 -11
- data/cockpit/templates.legacy/TEST - Bad Loop.xml +6 -6
- data/cockpit/templates.legacy/TEST - Wrong Positions.xml +6 -6
- data/cockpit/templates.legacy/Take_5.xml +48 -0
- data/cockpit/templates.legacy/Update.xml +7 -7
- data/cockpit/templates.legacy/Worklist Parallel.xml +7 -7
- data/cockpit/templates.legacy/Worklist Test CPEE.xml +7 -7
- data/cockpit/templates.legacy/Worklist Test.xml +7 -7
- data/cockpit/templates.legacy/Worklist Test2.xml +7 -7
- data/cockpit/templates.legacy/convert_cpee2.rb +15 -0
- data/cockpit/templates.legacy/testsets.xml +1 -1
- data/cockpit/templates/BPM 2020 Manual Adjust.xml +18 -71
- data/cockpit/templates/BPM 2020 Solution Baseline.xml +17 -71
- data/cockpit/templates/BPM 2020 Solution NN.xml +25 -71
- data/cockpit/templates/BPM 2020 Solution View.xml +15 -71
- data/cockpit/templates/BPM 2020.xml +17 -6
- data/cockpit/templates/Coopis 2010.xml +7 -7
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +7 -10
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +7 -10
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +7 -10
- data/cockpit/templates/Worklist.xml +7 -7
- data/cockpit/templates/convert_cpee2.rb +15 -0
- data/cockpit/themes/compact/rngs/alternative.rng +25 -0
- data/cockpit/themes/compact/rngs/call.rng +17 -17
- data/cockpit/themes/compact/rngs/callmanipulate.rng +26 -26
- data/cockpit/themes/compact/rngs/choose.rng +14 -0
- data/cockpit/themes/compact/rngs/critical.rng +5 -0
- data/cockpit/themes/compact/rngs/escape.rng +1 -0
- data/cockpit/themes/compact/rngs/group.rng +3 -0
- data/cockpit/themes/compact/rngs/loop.rng +22 -0
- data/cockpit/themes/compact/rngs/manipulate.rng +9 -0
- data/cockpit/themes/compact/rngs/otherwise.rng +22 -0
- data/cockpit/themes/compact/rngs/parallel.rng +21 -0
- data/cockpit/themes/compact/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/compact/rngs/scripts.rng +10 -11
- data/cockpit/themes/compact/rngs/stop.rng +5 -0
- data/cockpit/themes/compact/rngs/terminate.rng +1 -0
- data/cockpit/themes/convert_cpee2.rb +8 -0
- data/cockpit/themes/default/rngs/alternative.rng +8 -8
- data/cockpit/themes/default/rngs/call.rng +84 -48
- data/cockpit/themes/default/rngs/callmanipulate.rng +103 -64
- data/cockpit/themes/default/rngs/choose.rng +5 -3
- data/cockpit/themes/default/rngs/critical.rng +2 -2
- data/cockpit/themes/default/rngs/escape.rng +1 -1
- data/cockpit/themes/default/rngs/group.rng +3 -3
- data/cockpit/themes/default/rngs/loop.rng +8 -8
- data/cockpit/themes/default/rngs/manipulate.rng +3 -3
- data/cockpit/themes/default/rngs/otherwise.rng +8 -8
- data/cockpit/themes/default/rngs/parallel.rng +14 -6
- data/cockpit/themes/default/rngs/parallel_branch.rng +2 -2
- data/cockpit/themes/default/rngs/scripts.rng +23 -0
- data/cockpit/themes/default/rngs/stop.rng +2 -2
- data/cockpit/themes/default/rngs/terminate.rng +1 -1
- data/cockpit/themes/extended/rngs/alternative.rng +25 -0
- data/cockpit/themes/extended/rngs/call.rng +17 -17
- data/cockpit/themes/extended/rngs/callmanipulate.rng +26 -26
- data/cockpit/themes/extended/rngs/choose.rng +14 -0
- data/cockpit/themes/extended/rngs/critical.rng +5 -0
- data/cockpit/themes/extended/rngs/escape.rng +1 -0
- data/cockpit/themes/extended/rngs/group.rng +3 -0
- data/cockpit/themes/extended/rngs/loop.rng +22 -0
- data/cockpit/themes/extended/rngs/manipulate.rng +9 -0
- data/cockpit/themes/extended/rngs/otherwise.rng +22 -0
- data/cockpit/themes/extended/rngs/parallel.rng +21 -0
- data/cockpit/themes/extended/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/extended/rngs/scripts.rng +10 -11
- data/cockpit/themes/extended/rngs/stop.rng +5 -0
- data/cockpit/themes/extended/rngs/terminate.rng +1 -0
- data/cockpit/themes/extended/theme.js +7 -6
- data/cockpit/themes/model/rngs/alternative.rng +1 -1
- data/cockpit/themes/model/rngs/call.rng +16 -16
- data/cockpit/themes/model/rngs/callmanipulate.rng +17 -17
- data/cockpit/themes/model/rngs/choose.rng +1 -1
- data/cockpit/themes/model/rngs/critical.rng +1 -1
- data/cockpit/themes/model/rngs/escape.rng +1 -1
- data/cockpit/themes/model/rngs/group.rng +1 -1
- data/cockpit/themes/model/rngs/loop.rng +1 -1
- data/cockpit/themes/model/rngs/manipulate.rng +1 -1
- data/cockpit/themes/model/rngs/otherwise.rng +1 -1
- data/cockpit/themes/model/rngs/parallel.rng +1 -1
- data/cockpit/themes/model/rngs/parallel_branch.rng +1 -1
- data/cockpit/themes/model/rngs/scripts.rng +3 -4
- data/cockpit/themes/model/rngs/stop.rng +1 -1
- data/cockpit/themes/model/rngs/terminate.rng +1 -1
- data/cockpit/themes/model/theme.js +7 -6
- data/cockpit/themes/packed/rngs/alternative.rng +25 -0
- data/cockpit/themes/packed/rngs/call.rng +17 -17
- data/cockpit/themes/packed/rngs/callmanipulate.rng +26 -26
- data/cockpit/themes/packed/rngs/choose.rng +14 -0
- data/cockpit/themes/packed/rngs/critical.rng +5 -0
- data/cockpit/themes/packed/rngs/escape.rng +1 -0
- data/cockpit/themes/packed/rngs/group.rng +3 -0
- data/cockpit/themes/packed/rngs/loop.rng +22 -0
- data/cockpit/themes/packed/rngs/manipulate.rng +9 -0
- data/cockpit/themes/packed/rngs/otherwise.rng +22 -0
- data/cockpit/themes/packed/rngs/parallel.rng +21 -0
- data/cockpit/themes/packed/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/packed/rngs/scripts.rng +10 -11
- data/cockpit/themes/packed/rngs/stop.rng +5 -0
- data/cockpit/themes/packed/rngs/terminate.rng +1 -0
- data/cockpit/themes/packed/theme.js +7 -6
- data/cockpit/themes/preset/rngs/alternative.rng +25 -0
- data/cockpit/themes/preset/rngs/call.rng +17 -17
- data/cockpit/themes/preset/rngs/callmanipulate.rng +26 -26
- data/cockpit/themes/preset/rngs/choose.rng +14 -0
- data/cockpit/themes/preset/rngs/critical.rng +5 -0
- data/cockpit/themes/preset/rngs/escape.rng +1 -0
- data/cockpit/themes/preset/rngs/group.rng +3 -0
- data/cockpit/themes/preset/rngs/loop.rng +22 -0
- data/cockpit/themes/preset/rngs/manipulate.rng +9 -0
- data/cockpit/themes/preset/rngs/otherwise.rng +22 -0
- data/cockpit/themes/preset/rngs/parallel.rng +21 -0
- data/cockpit/themes/preset/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/preset/rngs/scripts.rng +10 -11
- data/cockpit/themes/preset/rngs/stop.rng +5 -0
- data/cockpit/themes/preset/rngs/terminate.rng +1 -0
- data/cockpit/themes/preset/theme.js +7 -6
- data/cpee.gemspec +10 -11
- data/{log/topics.xml → lib/callbacks.xml} +16 -6
- data/lib/{engine → callbacks}/callbacks.rng +2 -8
- data/lib/cpee.xml +10 -4
- data/lib/cpee/attributes_helper.rb +27 -0
- data/lib/cpee/controller.rb +113 -596
- data/lib/cpee/implementation.rb +167 -191
- data/lib/cpee/implementation_callbacks.rb +77 -0
- data/lib/cpee/implementation_notifications.rb +189 -0
- data/lib/cpee/implementation_properties.rb +714 -0
- data/lib/cpee/{callback.rb → message.rb} +20 -18
- data/lib/cpee/persistence.rb +135 -0
- data/lib/cpee/statemachine.rb +20 -0
- data/lib/cpee/transform.rb +95 -0
- data/lib/engine.xml +1 -59
- data/lib/properties.xml +236 -0
- data/lib/properties/arbitrary.rng +26 -0
- data/lib/properties/attributes.rng +10 -0
- data/lib/properties/dataelements.rng +10 -0
- data/lib/properties/description.rng +8 -0
- data/lib/properties/dsl.rng +7 -0
- data/lib/properties/dslx.rng +8 -0
- data/lib/properties/endpoints.rng +10 -0
- data/lib/properties/handlerwrapper.rng +9 -0
- data/lib/properties/position.rng +15 -0
- data/lib/properties/positions.rng +10 -0
- data/lib/properties/properties.rng +29 -0
- data/lib/properties/set-properties.rng +25 -0
- data/lib/properties/set-some-properties.rng +45 -0
- data/lib/properties/simple.rng +8 -0
- data/lib/properties/state.rng +33 -0
- data/lib/properties/status.rng +12 -0
- data/lib/properties/t_attributes.rng +7 -0
- data/lib/properties/t_dataelements.rng +7 -0
- data/lib/properties/t_endpoints.rng +7 -0
- data/lib/properties/t_position.rng +7 -0
- data/lib/properties/t_positions.rng +7 -0
- data/lib/properties/t_simple.rng +7 -0
- data/lib/properties/t_status.rng +7 -0
- data/lib/properties/t_transformation.rng +7 -0
- data/lib/properties/transformation.rng +40 -0
- data/server/dev.rb +1 -0
- data/server/handlerwrappers/default.rb +40 -38
- data/server/resources/backend/README.md +17 -0
- data/server/resources/backend/instance.rb +23 -0
- data/server/resources/backend/instance.template +19 -0
- data/server/resources/backend/opts.yaml +6 -0
- data/server/resources/backend/run +33 -0
- data/server/resources/notifications/logging/subscription.xml +19 -0
- data/server/resources/properties.empty +38 -0
- data/server/resources/properties.init +11 -11
- data/server/resources/states.dot +19 -0
- data/server/resources/states.xml +49 -0
- data/server/routing/end.rb +44 -0
- data/server/routing/forward-events.rb +59 -0
- data/server/routing/forward-votes.rb +108 -0
- data/server/routing/persist.rb +155 -0
- data/server/server.rb +1 -0
- data/tools/cpee +46 -16
- data/tools/instantiation/instantiation +0 -1
- data/tools/server/server.rb +0 -1
- metadata +78 -133
- data/INSTALL +0 -23
- data/cockpit/templates/convert_preset.rb +0 -32
- data/cockpit/templates/testsets.xml +0 -11
- data/cockpit/templates/transformations.xml +0 -4
- data/cockpit/themes/compact/rngs/alternative.rng +0 -1
- data/cockpit/themes/compact/rngs/choose.rng +0 -1
- data/cockpit/themes/compact/rngs/critical.rng +0 -1
- data/cockpit/themes/compact/rngs/escape.rng +0 -1
- data/cockpit/themes/compact/rngs/group.rng +0 -1
- data/cockpit/themes/compact/rngs/loop.rng +0 -1
- data/cockpit/themes/compact/rngs/manipulate.rng +0 -1
- data/cockpit/themes/compact/rngs/otherwise.rng +0 -1
- data/cockpit/themes/compact/rngs/parallel.rng +0 -1
- data/cockpit/themes/compact/rngs/parallel_branch.rng +0 -1
- data/cockpit/themes/compact/rngs/stop.rng +0 -1
- data/cockpit/themes/compact/rngs/terminate.rng +0 -1
- data/cockpit/themes/default/rngs/finalize.rng +0 -6
- data/cockpit/themes/default/rngs/update.rng +0 -6
- data/cockpit/themes/default/theme.js +0 -1286
- data/cockpit/themes/extended/rngs/alternative.rng +0 -1
- data/cockpit/themes/extended/rngs/choose.rng +0 -1
- data/cockpit/themes/extended/rngs/critical.rng +0 -1
- data/cockpit/themes/extended/rngs/escape.rng +0 -1
- data/cockpit/themes/extended/rngs/group.rng +0 -1
- data/cockpit/themes/extended/rngs/loop.rng +0 -1
- data/cockpit/themes/extended/rngs/manipulate.rng +0 -1
- data/cockpit/themes/extended/rngs/otherwise.rng +0 -1
- data/cockpit/themes/extended/rngs/parallel.rng +0 -1
- data/cockpit/themes/extended/rngs/parallel_branch.rng +0 -1
- data/cockpit/themes/extended/rngs/stop.rng +0 -1
- data/cockpit/themes/extended/rngs/terminate.rng +0 -1
- data/cockpit/themes/labels/rngs/alternative.rng +0 -25
- data/cockpit/themes/labels/rngs/call.rng +0 -81
- data/cockpit/themes/labels/rngs/callmanipulate.rng +0 -101
- data/cockpit/themes/labels/rngs/choose.rng +0 -12
- data/cockpit/themes/labels/rngs/critical.rng +0 -5
- data/cockpit/themes/labels/rngs/escape.rng +0 -1
- data/cockpit/themes/labels/rngs/finalize.rng +0 -6
- data/cockpit/themes/labels/rngs/group.rng +0 -3
- data/cockpit/themes/labels/rngs/loop.rng +0 -22
- data/cockpit/themes/labels/rngs/manipulate.rng +0 -9
- data/cockpit/themes/labels/rngs/otherwise.rng +0 -22
- data/cockpit/themes/labels/rngs/parallel.rng +0 -13
- data/cockpit/themes/labels/rngs/parallel_branch.rng +0 -8
- data/cockpit/themes/labels/rngs/stop.rng +0 -5
- data/cockpit/themes/labels/rngs/terminate.rng +0 -1
- data/cockpit/themes/labels/rngs/update.rng +0 -6
- data/cockpit/themes/labels/symbols/alternative.svg +0 -5
- data/cockpit/themes/labels/symbols/arrow.svg +0 -3
- data/cockpit/themes/labels/symbols/call.svg +0 -6
- data/cockpit/themes/labels/symbols/callmanipulate.svg +0 -8
- data/cockpit/themes/labels/symbols/choose.svg +0 -5
- data/cockpit/themes/labels/symbols/choose_exclusive.svg +0 -5
- data/cockpit/themes/labels/symbols/choose_inclusive.svg +0 -4
- data/cockpit/themes/labels/symbols/complex.svg +0 -8
- data/cockpit/themes/labels/symbols/critical.svg +0 -4
- data/cockpit/themes/labels/symbols/end.svg +0 -3
- data/cockpit/themes/labels/symbols/escape.svg +0 -5
- data/cockpit/themes/labels/symbols/event_end.svg +0 -3
- data/cockpit/themes/labels/symbols/loop.svg +0 -5
- data/cockpit/themes/labels/symbols/manipulate.svg +0 -4
- data/cockpit/themes/labels/symbols/otherwise.svg +0 -5
- data/cockpit/themes/labels/symbols/parallel.svg +0 -5
- data/cockpit/themes/labels/symbols/parallel_branch.svg +0 -5
- data/cockpit/themes/labels/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/labels/symbols/parallel_branch_event.svg +0 -14
- data/cockpit/themes/labels/symbols/parallel_branch_normal.svg +0 -5
- data/cockpit/themes/labels/symbols/scripts.svg +0 -4
- data/cockpit/themes/labels/symbols/start.svg +0 -3
- data/cockpit/themes/labels/symbols/stop.svg +0 -5
- data/cockpit/themes/labels/symbols/terminate.svg +0 -4
- data/cockpit/themes/packed/rngs/alternative.rng +0 -1
- data/cockpit/themes/packed/rngs/choose.rng +0 -1
- data/cockpit/themes/packed/rngs/critical.rng +0 -1
- data/cockpit/themes/packed/rngs/escape.rng +0 -1
- data/cockpit/themes/packed/rngs/group.rng +0 -1
- data/cockpit/themes/packed/rngs/loop.rng +0 -1
- data/cockpit/themes/packed/rngs/manipulate.rng +0 -1
- data/cockpit/themes/packed/rngs/otherwise.rng +0 -1
- data/cockpit/themes/packed/rngs/parallel.rng +0 -1
- data/cockpit/themes/packed/rngs/parallel_branch.rng +0 -1
- data/cockpit/themes/packed/rngs/stop.rng +0 -1
- data/cockpit/themes/packed/rngs/terminate.rng +0 -1
- data/cockpit/themes/preset/rngs/alternative.rng +0 -1
- data/cockpit/themes/preset/rngs/choose.rng +0 -1
- data/cockpit/themes/preset/rngs/critical.rng +0 -1
- data/cockpit/themes/preset/rngs/escape.rng +0 -1
- data/cockpit/themes/preset/rngs/group.rng +0 -1
- data/cockpit/themes/preset/rngs/loop.rng +0 -1
- data/cockpit/themes/preset/rngs/manipulate.rng +0 -1
- data/cockpit/themes/preset/rngs/otherwise.rng +0 -1
- data/cockpit/themes/preset/rngs/parallel.rng +0 -1
- data/cockpit/themes/preset/rngs/parallel_branch.rng +0 -1
- data/cockpit/themes/preset/rngs/stop.rng +0 -1
- data/cockpit/themes/preset/rngs/terminate.rng +0 -1
- data/lib/cpee/empty_workflow.rb +0 -28
- data/lib/cpee/handler_notifications.rb +0 -47
- data/lib/cpee/handler_properties.rb +0 -50
- data/lib/cpee/instantiation.rb +0 -369
- data/lib/cpee/processtransformation/bpel/Repository/booking.bpel +0 -125
- data/lib/cpee/processtransformation/bpel/Repository/booking.wsdl +0 -72
- data/lib/cpee/processtransformation/bpel/Repository/booking/airline.wsdl +0 -71
- data/lib/cpee/processtransformation/bpel/Repository/booking/hotel.wsdl +0 -64
- data/lib/cpee/processtransformation/bpel/Repository/booking/report.wsdl +0 -71
- data/lib/cpee/processtransformation/bpel/bpel2wee.rb +0 -34
- data/lib/cpee/processtransformation/bpel/bpelserver.ru +0 -64
- data/lib/cpee/processtransformation/bpel/bpelserver.xml +0 -70
- data/lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb +0 -367
- data/lib/cpee/processtransformation/bpmn2.rb +0 -297
- data/lib/cpee/processtransformation/cpee.rb +0 -119
- data/lib/cpee/processtransformation/structures.rb +0 -465
- data/lib/cpee/processtransformation/target.rb +0 -50
- data/log/azure.rb +0 -10
- data/log/azure_logger.rb +0 -136
- data/log/chain.xml +0 -27
- data/log/elasticsearch.rb +0 -15
- data/log/elasticsearch_logging.rb +0 -377
- data/log/legacy/test_es.rb +0 -26
- data/log/legacy/test_split.rb +0 -211
- data/log/log.xml +0 -13
- data/log/non_tamp.rb +0 -156
- data/log/sic.rb +0 -64
- data/log/template.xes_xml +0 -23
- data/log/template.xes_yaml +0 -28
- data/log/trace.yaml +0 -17717
- data/log/trace_sic.yaml +0 -18343
- data/log/xes_xml.rb +0 -121
- data/log/xes_yaml.rb +0 -96
- data/server/handlerwrappers/soap.rb +0 -146
- data/server/resources/properties.schema.active +0 -139
- data/server/resources/properties.schema.finished +0 -139
- data/server/resources/properties.schema.inactive +0 -136
- data/server/transformation_dslx.xsl +0 -790
- data/test/callback.rb +0 -9
@@ -0,0 +1,155 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
#
|
3
|
+
# This file is part of CPEE.
|
4
|
+
#
|
5
|
+
# CPEE is free software: you can redistribute it and/or modify it under the terms
|
6
|
+
# of the GNU General Public License as published by the Free Software Foundation,
|
7
|
+
# either version 3 of the License, or (at your option) any later version.
|
8
|
+
#
|
9
|
+
# CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
+
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
11
|
+
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU General Public License along with
|
14
|
+
# CPEE (file COPYING in the main directory). If not, see
|
15
|
+
# <http://www.gnu.org/licenses/>.
|
16
|
+
|
17
|
+
require 'json'
|
18
|
+
require 'redis'
|
19
|
+
require 'daemonite'
|
20
|
+
require_relative '../../lib/cpee/value_helper'
|
21
|
+
|
22
|
+
EVENTS = %w{
|
23
|
+
event:state/change
|
24
|
+
event:handlerwrapper/change
|
25
|
+
event:description/change
|
26
|
+
event:dataelements/change
|
27
|
+
event:endpoints/change
|
28
|
+
event:attributes/change
|
29
|
+
event:transformation/change
|
30
|
+
event:status/change
|
31
|
+
event:position/change
|
32
|
+
event:handler/change
|
33
|
+
callback:activity/content
|
34
|
+
}
|
35
|
+
|
36
|
+
Daemonite.new do |opts|
|
37
|
+
redis = Redis.new(path: "/tmp/redis.sock", db: 3)
|
38
|
+
pubsubredis = Redis.new(path: "/tmp/redis.sock", db: 3)
|
39
|
+
|
40
|
+
run do
|
41
|
+
pubsubredis.subscribe(EVENTS) do |on|
|
42
|
+
on.message do |what, message|
|
43
|
+
mess = JSON.parse(message[message.index(' ')+1..-1])
|
44
|
+
instance = mess.dig('instance')
|
45
|
+
case what
|
46
|
+
when 'callback:activity/content'
|
47
|
+
key = mess.dig('content','key')
|
48
|
+
redis.multi do |multi|
|
49
|
+
multi.sadd("instance:#{instance}/callbacks",key)
|
50
|
+
multi.set("instance:#{instance}/callback/#{key}/uuid",mess.dig('content','activity_uuid'))
|
51
|
+
multi.set("instance:#{instance}/callback/#{key}/label",mess.dig('content','label'))
|
52
|
+
multi.set("instance:#{instance}/callback/#{key}/position",mess.dig('content','activity'))
|
53
|
+
multi.set("instance:#{instance}/callback/#{key}/type",'callback')
|
54
|
+
end
|
55
|
+
when 'event:state/change'
|
56
|
+
redis.multi do |multi|
|
57
|
+
multi.set("instance:#{instance}/state",mess.dig('content','state'))
|
58
|
+
multi.set("instance:#{instance}/state/@changed",mess.dig('content','timestamp'))
|
59
|
+
end
|
60
|
+
when 'event:handlerwrapper/change'
|
61
|
+
redis.set("instance:#{instance}/handlerwrapper",mess.dig('content','handlerwrapper'))
|
62
|
+
when 'event:description/change'
|
63
|
+
redis.multi do |multi|
|
64
|
+
multi.set("instance:#{instance}/description",mess.dig('content','description'))
|
65
|
+
multi.set("instance:#{instance}/dslx",mess.dig('content','dslx'))
|
66
|
+
multi.set("instance:#{instance}/dsl",mess.dig('content','dsl'))
|
67
|
+
end
|
68
|
+
when 'event:dataelements/change', 'event:endpoints/change', 'event:attributes/change'
|
69
|
+
topic = mess.dig('topic')
|
70
|
+
redis.multi do |multi|
|
71
|
+
mess.dig('content','changed')&.each_with_index do |c,i|
|
72
|
+
unless what == 'event:attributes/change' && c == 'uuid'
|
73
|
+
multi.zadd("instance:#{instance}/#{topic}",i,c)
|
74
|
+
if what == 'event:dataelements/change'
|
75
|
+
multi.set("instance:#{instance}/#{topic}/#{c}",CPEE::ValueHelper::generate(mess.dig('content','values',c)))
|
76
|
+
else
|
77
|
+
multi.set("instance:#{instance}/#{topic}/#{c}",mess.dig('content','values',c))
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
mess.dig('content','deleted')&.to_a&.each do |c|
|
82
|
+
unless what == 'event:attributes/change' && c == 'uuid'
|
83
|
+
multi.zrem("instance:#{instance}/#{topic}",c)
|
84
|
+
multi.del("instance:#{instance}/#{topic}/#{c}")
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
when 'event:transformation/change'
|
89
|
+
redis.multi do |multi|
|
90
|
+
multi.set("instance:#{instance}/transformation/description/",mess.dig('content','description'))
|
91
|
+
multi.set("instance:#{instance}/transformation/description/@type",mess.dig('content','description_type'))
|
92
|
+
multi.set("instance:#{instance}/transformation/dataelements/",mess.dig('content','dataelements'))
|
93
|
+
multi.set("instance:#{instance}/transformation/dataelements/@type",mess.dig('content','dataelements_type'))
|
94
|
+
multi.set("instance:#{instance}/transformation/endpoints/",mess.dig('content','endpoints'))
|
95
|
+
multi.set("instance:#{instance}/transformation/endpoints/@type",mess.dig('content','endpoints_type'))
|
96
|
+
end
|
97
|
+
when 'event:status/change'
|
98
|
+
redis.multi do |multi|
|
99
|
+
multi.set("instance:#{instance}/status/id",mess.dig('content','id'))
|
100
|
+
multi.set("instance:#{instance}/status/message",mess.dig('content','message'))
|
101
|
+
end
|
102
|
+
when 'event:position/change'
|
103
|
+
redis.multi do |multi|
|
104
|
+
c = mess.dig('content')
|
105
|
+
c.dig('unmark')&.each do |ele|
|
106
|
+
multi.srem("instance:#{instance}/positions",ele['position'])
|
107
|
+
multi.del("instance:#{instance}/positions/#{ele['position']}")
|
108
|
+
multi.del("instance:#{instance}/positions/#{ele['position']}/@passthrough")
|
109
|
+
end
|
110
|
+
c.dig('before')&.each do |ele|
|
111
|
+
multi.sadd("instance:#{instance}/positions",ele['position'])
|
112
|
+
multi.set("instance:#{instance}/positions/#{ele['position']}",'before')
|
113
|
+
end
|
114
|
+
c.dig('at')&.each do |ele|
|
115
|
+
multi.sadd("instance:#{instance}/positions",ele['position'])
|
116
|
+
multi.set("instance:#{instance}/positions/#{ele['position']}",'at')
|
117
|
+
multi.set("instance:#{instance}/positions/#{ele['position']}/@passthrough",ele['passthrough']) if ele['passthrough']
|
118
|
+
end
|
119
|
+
c.dig('wait')&.each do |ele|
|
120
|
+
multi.sadd("instance:#{instance}/positions",ele['position'])
|
121
|
+
multi.set("instance:#{instance}/positions/#{ele['position']}",'at')
|
122
|
+
multi.set("instance:#{instance}/positions/#{ele['position']}/@passthrough",ele['passthrough']) if ele['passthrough']
|
123
|
+
end
|
124
|
+
c.dig('after')&.each do |ele|
|
125
|
+
multi.sadd("instance:#{instance}/positions",ele['position'])
|
126
|
+
multi.set("instance:#{instance}/positions/#{ele['position']}",'after')
|
127
|
+
end
|
128
|
+
end
|
129
|
+
when 'event:handler/change'
|
130
|
+
redis.multi do |multi|
|
131
|
+
mess.dig('content','changed').each do |c|
|
132
|
+
multi.sadd("instance:#{instance}/handlers",mess.dig('content','key'))
|
133
|
+
multi.sadd("instance:#{instance}/handlers/#{mess.dig('content','key')}",c)
|
134
|
+
multi.set("instance:#{instance}/handlers/#{mess.dig('content','key')}/url",mess.dig('content','url'))
|
135
|
+
multi.sadd("instance:#{instance}/handlers/#{c}",mess.dig('content','key'))
|
136
|
+
end
|
137
|
+
mess.dig('content','deleted').to_a.each do |c|
|
138
|
+
multi.srem("instance:#{instance}/handlers/#{mess.dig('content','key')}",c)
|
139
|
+
multi.srem("instance:#{instance}/handlers/#{c}",mess.dig('content','key'))
|
140
|
+
end
|
141
|
+
end
|
142
|
+
if redis.scard("instance:#{instance}/handlers/#{mess.dig('content','key')}") < 1
|
143
|
+
redis.multi do |multi|
|
144
|
+
multi.del("instance:#{instance}/handlers/#{mess.dig('content','key')}/url")
|
145
|
+
multi.srem("instance:#{instance}/handlers",mess.dig('content','key'))
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
rescue => e
|
150
|
+
puts e.message
|
151
|
+
puts e.backtrace
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end.go!
|
data/server/server.rb
CHANGED
@@ -21,6 +21,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../lib/cpee/implementation')
|
|
21
21
|
Riddl::Server.new(CPEE::SERVER, :port => 8298) do |opts|
|
22
22
|
accessible_description true
|
23
23
|
cross_site_xhr true
|
24
|
+
process_out false
|
24
25
|
|
25
26
|
use CPEE::implementation(opts)
|
26
27
|
end.loop!
|
data/tools/cpee
CHANGED
@@ -29,7 +29,8 @@ end
|
|
29
29
|
|
30
30
|
ARGV.options { |opt|
|
31
31
|
opt.summary_indent = ' ' * 2
|
32
|
-
opt.
|
32
|
+
opt.summary_width = 15
|
33
|
+
opt.banner = "Usage:\n#{opt.summary_indent}#{File.basename($0)} [options] convert | ui | cpui DIR | new DIR | archive DIR URL | start URL | delete! URL | abandon URL\n"
|
33
34
|
opt.on("Options:")
|
34
35
|
opt.on("--help", "-h", "This text") { puts opt; exit }
|
35
36
|
opt.on("")
|
@@ -43,16 +44,16 @@ ARGV.options { |opt|
|
|
43
44
|
opt.on("")
|
44
45
|
opt.on(wrap("[new DIR] scaffolds a sample execution engine. Everything except instances can be removed for default behaviour."))
|
45
46
|
opt.on("")
|
46
|
-
opt.on(wrap("[inst DIR] scaffolds a sample instantiation service. Post a testset to a model to keep going in one operation."))
|
47
|
-
opt.on("")
|
48
47
|
opt.on(wrap("[cpui DIR] scaffolds a sample html client. New versions might require manual merging if you changed something."))
|
49
48
|
opt.on("")
|
50
49
|
opt.on(wrap("[ui] starts a simple static web server with the ui on http://localhost:8080. Use [cpui DIR] if you want stuff in apache or nginx."))
|
50
|
+
opt.on("")
|
51
|
+
opt.on(wrap("[convert] converts all testsets in the current directory to cpee2"))
|
51
52
|
opt.parse!
|
52
53
|
}
|
53
54
|
if (ARGV.length == 0) ||
|
54
|
-
(ARGV.length == 1 && ARGV[0]
|
55
|
-
(ARGV.length == 2 && !(%w(abandon
|
55
|
+
(ARGV.length == 1 && !(%w(ui convert).include?(ARGV[0]))) ||
|
56
|
+
(ARGV.length == 2 && !(%w(abandon start delete! cpui new).include?(ARGV[0]))) ||
|
56
57
|
(ARGV.length == 3 && ARGV[0] != 'archive') ||
|
57
58
|
(ARGV.length > 3)
|
58
59
|
puts ARGV.options
|
@@ -100,11 +101,28 @@ elsif command == 'cpui'
|
|
100
101
|
puts "Directory already exists."
|
101
102
|
end
|
102
103
|
end
|
103
|
-
elsif command == '
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
104
|
+
elsif command == 'convert'
|
105
|
+
Dir['*.xml'].each do |f|
|
106
|
+
XML::Smart.modify(f) do |doc|
|
107
|
+
doc.register_namespace 'd', 'http://cpee.org/ns/description/1.0'
|
108
|
+
doc.register_namespace 'p', 'http://riddl.org/ns/common-patterns/properties/1.0'
|
109
|
+
doc.register_namespace 'x', 'http://cpee.org/ns/properties/2.0'
|
110
|
+
if doc.root.qname.name == 'testset'
|
111
|
+
doc.root.namespaces[nil] = 'http://cpee.org/ns/properties/2.0'
|
112
|
+
doc.root.namespace = nil
|
113
|
+
|
114
|
+
doc.find('//x:start_url').each do |e|
|
115
|
+
e.text = 'https://centurio.work/flow-test/start/url/'
|
116
|
+
end rescue nil
|
117
|
+
doc.find('//x:start_git').each do |e|
|
118
|
+
e.text = 'https://centurio.work/flow-test/start/git/'
|
119
|
+
end rescue nil
|
120
|
+
|
121
|
+
doc.find('//p:*').each do |e|
|
122
|
+
e.namespaces.delete_all!
|
123
|
+
end rescue nil
|
124
|
+
end
|
125
|
+
end
|
108
126
|
end
|
109
127
|
elsif command == 'archive'
|
110
128
|
p2 = File.join(p2,'*') if p2 =~ /([a-zA-Z]|\/)$/
|
@@ -146,11 +164,12 @@ elsif command == 'archive'
|
|
146
164
|
prop = Typhoeus.get(File.join(base,name.to_s,'properties','/'))
|
147
165
|
if prop.success?
|
148
166
|
xprop = XML::Smart::string(prop.response_body)
|
149
|
-
xprop.register_namespace 'p', 'http://
|
167
|
+
xprop.register_namespace 'p', 'http://cpee.org/ns/properties/2.0'
|
150
168
|
if ["finished","abandoned"].include?(xprop.find("string(/p:properties/p:state)"))
|
151
169
|
uuid = xprop.find("string(/p:properties/p:attributes/p:uuid)")
|
152
170
|
id = name.to_s
|
153
171
|
File.write(File.join(p1,uuid + '.xml'),prop.response_body) if prop.headers['Content-Type'] =~ /^(text|application)\/xml/
|
172
|
+
p File.join(base,name.to_s,'/')
|
154
173
|
Typhoeus.delete(File.join(base,name.to_s,'/'))
|
155
174
|
end
|
156
175
|
end
|
@@ -181,11 +200,11 @@ elsif command == 'abandon'
|
|
181
200
|
names << File.basename(p1)
|
182
201
|
end
|
183
202
|
names.each do |name|
|
184
|
-
res = Typhoeus.get(File.join(base,name.to_s,'properties','
|
203
|
+
res = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
|
185
204
|
if res.success?
|
186
205
|
case res.response_body
|
187
206
|
when "ready", "stopped" then
|
188
|
-
Typhoeus.put(File.join(base,name.to_s,'properties','
|
207
|
+
Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=abandoned")
|
189
208
|
end
|
190
209
|
end
|
191
210
|
end
|
@@ -211,13 +230,13 @@ elsif command == 'start'
|
|
211
230
|
names << File.basename(p1)
|
212
231
|
end
|
213
232
|
names.each do |name|
|
214
|
-
res = Typhoeus.get(File.join(base,name.to_s,'properties','
|
233
|
+
res = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
|
215
234
|
if res.success?
|
216
235
|
case res.response_body
|
217
236
|
when "stopped" then
|
218
|
-
keep_alive = Typhoeus.get(File.join(base,name.to_s,'properties','
|
237
|
+
keep_alive = Typhoeus.get(File.join(base,name.to_s,'properties','attributes','keep_alive','/'))
|
219
238
|
if keep_alive.success?
|
220
|
-
Typhoeus.put(File.join(base,name.to_s,'properties','
|
239
|
+
Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=running")
|
221
240
|
end
|
222
241
|
end
|
223
242
|
end
|
@@ -230,6 +249,17 @@ elsif command == 'new'
|
|
230
249
|
FileUtils.mkdir("#{p1}/instances") rescue nil
|
231
250
|
FileUtils.mkdir("#{p1}/resources") rescue nil
|
232
251
|
FileUtils.mkdir("#{p1}/handlerwrappers") rescue nil
|
252
|
+
Dir["#{curpath}/../systemd/*.service"].each do |f|
|
253
|
+
nam = File.basename f
|
254
|
+
cont = File.read(f)
|
255
|
+
cont.gsub!(/{CPEEUSER}/,`whoami`.strip)
|
256
|
+
cont.gsub!(/{CPEEWORKINGDIR}/,"#{File.realpath(p1)}")
|
257
|
+
cont.gsub!(/{CPEESERVER}/,"#{File.realpath(p1)}/server")
|
258
|
+
File.write("#{p1}/#{nam}",cont)
|
259
|
+
p f
|
260
|
+
p nam
|
261
|
+
p "#{p1}/#{nam}"
|
262
|
+
end
|
233
263
|
else
|
234
264
|
puts 'Directory already exists.'
|
235
265
|
end
|
data/tools/server/server.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
8
8
|
- Ralph Vigne
|
9
9
|
- Gerhard Stuermer
|
10
|
-
- Florian Stertz
|
11
10
|
autorequire:
|
12
11
|
bindir: tools
|
13
12
|
cert_chain: []
|
14
|
-
date: 2020-10-
|
13
|
+
date: 2020-10-08 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: riddl
|
@@ -19,14 +18,14 @@ dependencies:
|
|
19
18
|
requirements:
|
20
19
|
- - "~>"
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: '0.
|
21
|
+
version: '0.105'
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
26
25
|
requirements:
|
27
26
|
- - "~>"
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
28
|
+
version: '0.105'
|
30
29
|
- !ruby/object:Gem::Dependency
|
31
30
|
name: weel
|
32
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -36,7 +35,7 @@ dependencies:
|
|
36
35
|
version: '1.99'
|
37
36
|
- - ">="
|
38
37
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.99.
|
38
|
+
version: 1.99.90
|
40
39
|
type: :runtime
|
41
40
|
prerelease: false
|
42
41
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -46,69 +45,49 @@ dependencies:
|
|
46
45
|
version: '1.99'
|
47
46
|
- - ">="
|
48
47
|
- !ruby/object:Gem::Version
|
49
|
-
version: 1.99.
|
48
|
+
version: 1.99.90
|
50
49
|
- !ruby/object:Gem::Dependency
|
51
|
-
name:
|
50
|
+
name: highline
|
52
51
|
requirement: !ruby/object:Gem::Requirement
|
53
52
|
requirements:
|
54
53
|
- - "~>"
|
55
54
|
- !ruby/object:Gem::Version
|
56
|
-
version: '2'
|
55
|
+
version: '2.0'
|
57
56
|
type: :runtime
|
58
57
|
prerelease: false
|
59
58
|
version_requirements: !ruby/object:Gem::Requirement
|
60
59
|
requirements:
|
61
60
|
- - "~>"
|
62
61
|
- !ruby/object:Gem::Version
|
63
|
-
version: '2'
|
62
|
+
version: '2.0'
|
64
63
|
- !ruby/object:Gem::Dependency
|
65
|
-
name:
|
66
|
-
requirement: !ruby/object:Gem::Requirement
|
67
|
-
requirements:
|
68
|
-
- - ">="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 0.4.3
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '0'
|
74
|
-
type: :runtime
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - ">="
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 0.4.3
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: highline
|
64
|
+
name: json
|
86
65
|
requirement: !ruby/object:Gem::Requirement
|
87
66
|
requirements:
|
88
67
|
- - "~>"
|
89
68
|
- !ruby/object:Gem::Version
|
90
|
-
version: '1
|
69
|
+
version: '2.1'
|
91
70
|
type: :runtime
|
92
71
|
prerelease: false
|
93
72
|
version_requirements: !ruby/object:Gem::Requirement
|
94
73
|
requirements:
|
95
74
|
- - "~>"
|
96
75
|
- !ruby/object:Gem::Version
|
97
|
-
version: '1
|
76
|
+
version: '2.1'
|
98
77
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
78
|
+
name: redis
|
100
79
|
requirement: !ruby/object:Gem::Requirement
|
101
80
|
requirements:
|
102
81
|
- - "~>"
|
103
82
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
83
|
+
version: '4.1'
|
105
84
|
type: :runtime
|
106
85
|
prerelease: false
|
107
86
|
version_requirements: !ruby/object:Gem::Requirement
|
108
87
|
requirements:
|
109
88
|
- - "~>"
|
110
89
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
90
|
+
version: '4.1'
|
112
91
|
- !ruby/object:Gem::Dependency
|
113
92
|
name: rubyzip
|
114
93
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,13 +108,13 @@ executables:
|
|
129
108
|
- cpee
|
130
109
|
extensions: []
|
131
110
|
extra_rdoc_files:
|
132
|
-
- README
|
111
|
+
- README.md
|
133
112
|
files:
|
134
113
|
- AUTHORS
|
135
114
|
- COPYING
|
136
|
-
- FEATURES
|
137
|
-
- INSTALL
|
138
|
-
- README
|
115
|
+
- FEATURES.md
|
116
|
+
- INSTALL.md
|
117
|
+
- README.md
|
139
118
|
- Rakefile
|
140
119
|
- cockpit/README
|
141
120
|
- cockpit/contrib/graph_example.svg
|
@@ -187,17 +166,20 @@ files:
|
|
187
166
|
- cockpit/templates.legacy/Manuel Labels.xml
|
188
167
|
- cockpit/templates.legacy/Promise.xml
|
189
168
|
- cockpit/templates.legacy/SOPROMO Test Sonification.xml
|
169
|
+
- cockpit/templates.legacy/Subprocess.xml
|
190
170
|
- cockpit/templates.legacy/Syncing P34 1.xml
|
191
171
|
- cockpit/templates.legacy/Syncing P34 2.xml
|
192
172
|
- cockpit/templates.legacy/Syncing P34 3.xml
|
193
173
|
- cockpit/templates.legacy/Syncing P34.xml
|
194
174
|
- cockpit/templates.legacy/TEST - Bad Loop.xml
|
195
175
|
- cockpit/templates.legacy/TEST - Wrong Positions.xml
|
176
|
+
- cockpit/templates.legacy/Take_5.xml
|
196
177
|
- cockpit/templates.legacy/Update.xml
|
197
178
|
- cockpit/templates.legacy/Worklist Parallel.xml
|
198
179
|
- cockpit/templates.legacy/Worklist Test CPEE.xml
|
199
180
|
- cockpit/templates.legacy/Worklist Test.xml
|
200
181
|
- cockpit/templates.legacy/Worklist Test2.xml
|
182
|
+
- cockpit/templates.legacy/convert_cpee2.rb
|
201
183
|
- cockpit/templates.legacy/convert_preset.rb
|
202
184
|
- cockpit/templates.legacy/testsets.xml
|
203
185
|
- cockpit/templates.legacy/transformations.xml
|
@@ -211,9 +193,7 @@ files:
|
|
211
193
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
|
212
194
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
|
213
195
|
- cockpit/templates/Worklist.xml
|
214
|
-
- cockpit/templates/
|
215
|
-
- cockpit/templates/testsets.xml
|
216
|
-
- cockpit/templates/transformations.xml
|
196
|
+
- cockpit/templates/convert_cpee2.rb
|
217
197
|
- cockpit/themes/compact/rngs/alternative.rng
|
218
198
|
- cockpit/themes/compact/rngs/call.rng
|
219
199
|
- cockpit/themes/compact/rngs/callmanipulate.rng
|
@@ -254,22 +234,22 @@ files:
|
|
254
234
|
- cockpit/themes/compact/symbols/stop.svg
|
255
235
|
- cockpit/themes/compact/symbols/terminate.svg
|
256
236
|
- cockpit/themes/compact/theme.js
|
237
|
+
- cockpit/themes/convert_cpee2.rb
|
257
238
|
- cockpit/themes/default/rngs/alternative.rng
|
258
239
|
- cockpit/themes/default/rngs/call.rng
|
259
240
|
- cockpit/themes/default/rngs/callmanipulate.rng
|
260
241
|
- cockpit/themes/default/rngs/choose.rng
|
261
242
|
- cockpit/themes/default/rngs/critical.rng
|
262
243
|
- cockpit/themes/default/rngs/escape.rng
|
263
|
-
- cockpit/themes/default/rngs/finalize.rng
|
264
244
|
- cockpit/themes/default/rngs/group.rng
|
265
245
|
- cockpit/themes/default/rngs/loop.rng
|
266
246
|
- cockpit/themes/default/rngs/manipulate.rng
|
267
247
|
- cockpit/themes/default/rngs/otherwise.rng
|
268
248
|
- cockpit/themes/default/rngs/parallel.rng
|
269
249
|
- cockpit/themes/default/rngs/parallel_branch.rng
|
250
|
+
- cockpit/themes/default/rngs/scripts.rng
|
270
251
|
- cockpit/themes/default/rngs/stop.rng
|
271
252
|
- cockpit/themes/default/rngs/terminate.rng
|
272
|
-
- cockpit/themes/default/rngs/update.rng
|
273
253
|
- cockpit/themes/default/symbols/alternative.svg
|
274
254
|
- cockpit/themes/default/symbols/arrow.svg
|
275
255
|
- cockpit/themes/default/symbols/call.svg
|
@@ -294,7 +274,6 @@ files:
|
|
294
274
|
- cockpit/themes/default/symbols/start.svg
|
295
275
|
- cockpit/themes/default/symbols/stop.svg
|
296
276
|
- cockpit/themes/default/symbols/terminate.svg
|
297
|
-
- cockpit/themes/default/theme.js
|
298
277
|
- cockpit/themes/extended/rngs/alternative.rng
|
299
278
|
- cockpit/themes/extended/rngs/call.rng
|
300
279
|
- cockpit/themes/extended/rngs/callmanipulate.rng
|
@@ -335,46 +314,6 @@ files:
|
|
335
314
|
- cockpit/themes/extended/symbols/stop.svg
|
336
315
|
- cockpit/themes/extended/symbols/terminate.svg
|
337
316
|
- cockpit/themes/extended/theme.js
|
338
|
-
- cockpit/themes/labels/rngs/alternative.rng
|
339
|
-
- cockpit/themes/labels/rngs/call.rng
|
340
|
-
- cockpit/themes/labels/rngs/callmanipulate.rng
|
341
|
-
- cockpit/themes/labels/rngs/choose.rng
|
342
|
-
- cockpit/themes/labels/rngs/critical.rng
|
343
|
-
- cockpit/themes/labels/rngs/escape.rng
|
344
|
-
- cockpit/themes/labels/rngs/finalize.rng
|
345
|
-
- cockpit/themes/labels/rngs/group.rng
|
346
|
-
- cockpit/themes/labels/rngs/loop.rng
|
347
|
-
- cockpit/themes/labels/rngs/manipulate.rng
|
348
|
-
- cockpit/themes/labels/rngs/otherwise.rng
|
349
|
-
- cockpit/themes/labels/rngs/parallel.rng
|
350
|
-
- cockpit/themes/labels/rngs/parallel_branch.rng
|
351
|
-
- cockpit/themes/labels/rngs/stop.rng
|
352
|
-
- cockpit/themes/labels/rngs/terminate.rng
|
353
|
-
- cockpit/themes/labels/rngs/update.rng
|
354
|
-
- cockpit/themes/labels/symbols/alternative.svg
|
355
|
-
- cockpit/themes/labels/symbols/arrow.svg
|
356
|
-
- cockpit/themes/labels/symbols/call.svg
|
357
|
-
- cockpit/themes/labels/symbols/callmanipulate.svg
|
358
|
-
- cockpit/themes/labels/symbols/choose.svg
|
359
|
-
- cockpit/themes/labels/symbols/choose_exclusive.svg
|
360
|
-
- cockpit/themes/labels/symbols/choose_inclusive.svg
|
361
|
-
- cockpit/themes/labels/symbols/complex.svg
|
362
|
-
- cockpit/themes/labels/symbols/critical.svg
|
363
|
-
- cockpit/themes/labels/symbols/end.svg
|
364
|
-
- cockpit/themes/labels/symbols/escape.svg
|
365
|
-
- cockpit/themes/labels/symbols/event_end.svg
|
366
|
-
- cockpit/themes/labels/symbols/loop.svg
|
367
|
-
- cockpit/themes/labels/symbols/manipulate.svg
|
368
|
-
- cockpit/themes/labels/symbols/otherwise.svg
|
369
|
-
- cockpit/themes/labels/symbols/parallel.svg
|
370
|
-
- cockpit/themes/labels/symbols/parallel_branch.svg
|
371
|
-
- cockpit/themes/labels/symbols/parallel_branch_compact.svg
|
372
|
-
- cockpit/themes/labels/symbols/parallel_branch_event.svg
|
373
|
-
- cockpit/themes/labels/symbols/parallel_branch_normal.svg
|
374
|
-
- cockpit/themes/labels/symbols/scripts.svg
|
375
|
-
- cockpit/themes/labels/symbols/start.svg
|
376
|
-
- cockpit/themes/labels/symbols/stop.svg
|
377
|
-
- cockpit/themes/labels/symbols/terminate.svg
|
378
317
|
- cockpit/themes/model/rngs/alternative.rng
|
379
318
|
- cockpit/themes/model/rngs/call.rng
|
380
319
|
- cockpit/themes/model/rngs/callmanipulate.rng
|
@@ -503,64 +442,71 @@ files:
|
|
503
442
|
- contrib/logo2a.png
|
504
443
|
- contrib/logo2a.svg
|
505
444
|
- cpee.gemspec
|
445
|
+
- lib/callbacks.xml
|
446
|
+
- lib/callbacks/callbacks.rng
|
506
447
|
- lib/cpee.xml
|
507
|
-
- lib/cpee/
|
448
|
+
- lib/cpee/attributes_helper.rb
|
508
449
|
- lib/cpee/controller.rb
|
509
|
-
- lib/cpee/empty_workflow.rb
|
510
|
-
- lib/cpee/handler_notifications.rb
|
511
|
-
- lib/cpee/handler_properties.rb
|
512
450
|
- lib/cpee/implementation.rb
|
513
|
-
- lib/cpee/
|
514
|
-
- lib/cpee/
|
515
|
-
- lib/cpee/
|
516
|
-
- lib/cpee/
|
517
|
-
- lib/cpee/
|
518
|
-
- lib/cpee/
|
519
|
-
- lib/cpee/
|
520
|
-
- lib/cpee/processtransformation/bpel/bpelserver.ru
|
521
|
-
- lib/cpee/processtransformation/bpel/bpelserver.xml
|
522
|
-
- lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb
|
523
|
-
- lib/cpee/processtransformation/bpmn2.rb
|
524
|
-
- lib/cpee/processtransformation/cpee.rb
|
525
|
-
- lib/cpee/processtransformation/structures.rb
|
526
|
-
- lib/cpee/processtransformation/target.rb
|
451
|
+
- lib/cpee/implementation_callbacks.rb
|
452
|
+
- lib/cpee/implementation_notifications.rb
|
453
|
+
- lib/cpee/implementation_properties.rb
|
454
|
+
- lib/cpee/message.rb
|
455
|
+
- lib/cpee/persistence.rb
|
456
|
+
- lib/cpee/statemachine.rb
|
457
|
+
- lib/cpee/transform.rb
|
527
458
|
- lib/cpee/value_helper.rb
|
528
459
|
- lib/engine.xml
|
529
|
-
- lib/engine/callbacks.rng
|
530
460
|
- lib/engine/instance-info.rng
|
531
461
|
- lib/engine/instances.rng
|
532
462
|
- lib/instantiation.xml
|
533
|
-
-
|
534
|
-
-
|
535
|
-
-
|
536
|
-
-
|
537
|
-
-
|
538
|
-
-
|
539
|
-
-
|
540
|
-
-
|
541
|
-
-
|
542
|
-
-
|
543
|
-
-
|
544
|
-
-
|
545
|
-
-
|
546
|
-
-
|
547
|
-
-
|
548
|
-
-
|
549
|
-
-
|
463
|
+
- lib/properties.xml
|
464
|
+
- lib/properties/arbitrary.rng
|
465
|
+
- lib/properties/attributes.rng
|
466
|
+
- lib/properties/dataelements.rng
|
467
|
+
- lib/properties/description.rng
|
468
|
+
- lib/properties/dsl.rng
|
469
|
+
- lib/properties/dslx.rng
|
470
|
+
- lib/properties/endpoints.rng
|
471
|
+
- lib/properties/handlerwrapper.rng
|
472
|
+
- lib/properties/position.rng
|
473
|
+
- lib/properties/positions.rng
|
474
|
+
- lib/properties/properties.rng
|
475
|
+
- lib/properties/set-properties.rng
|
476
|
+
- lib/properties/set-some-properties.rng
|
477
|
+
- lib/properties/simple.rng
|
478
|
+
- lib/properties/state.rng
|
479
|
+
- lib/properties/status.rng
|
480
|
+
- lib/properties/t_attributes.rng
|
481
|
+
- lib/properties/t_dataelements.rng
|
482
|
+
- lib/properties/t_endpoints.rng
|
483
|
+
- lib/properties/t_position.rng
|
484
|
+
- lib/properties/t_positions.rng
|
485
|
+
- lib/properties/t_simple.rng
|
486
|
+
- lib/properties/t_status.rng
|
487
|
+
- lib/properties/t_transformation.rng
|
488
|
+
- lib/properties/transformation.rng
|
550
489
|
- server/dev.rb
|
551
490
|
- server/handlerwrappers/default.rb
|
552
|
-
- server/
|
491
|
+
- server/resources/backend/README.md
|
492
|
+
- server/resources/backend/instance.rb
|
493
|
+
- server/resources/backend/instance.template
|
494
|
+
- server/resources/backend/opts.yaml
|
495
|
+
- server/resources/backend/run
|
553
496
|
- server/resources/empty_dslx.xml
|
497
|
+
- server/resources/notifications/logging/subscription.xml
|
498
|
+
- server/resources/properties.empty
|
554
499
|
- server/resources/properties.init
|
555
|
-
- server/resources/
|
556
|
-
- server/resources/
|
557
|
-
- server/resources/properties.schema.inactive
|
500
|
+
- server/resources/states.dot
|
501
|
+
- server/resources/states.xml
|
558
502
|
- server/resources/topics.xml
|
559
503
|
- server/resources/transformation.xml
|
560
504
|
- server/resources/transformation_dslx.xsl
|
505
|
+
- server/routing/end.rb
|
506
|
+
- server/routing/forward-events.rb
|
507
|
+
- server/routing/forward-votes.rb
|
508
|
+
- server/routing/persist.rb
|
561
509
|
- server/server.rb
|
562
|
-
- server/transformation_dslx.xsl
|
563
|
-
- test/callback.rb
|
564
510
|
- tools/cpee
|
565
511
|
- tools/instantiation/instantiation
|
566
512
|
- tools/server/resources/notifications/logging/consumer-secret
|
@@ -580,7 +526,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
580
526
|
requirements:
|
581
527
|
- - ">="
|
582
528
|
- !ruby/object:Gem::Version
|
583
|
-
version: 2.
|
529
|
+
version: 2.7.0
|
584
530
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
585
531
|
requirements:
|
586
532
|
- - ">="
|
@@ -590,7 +536,6 @@ requirements: []
|
|
590
536
|
rubygems_version: 3.1.2
|
591
537
|
signing_key:
|
592
538
|
specification_version: 4
|
593
|
-
summary: Preliminary release of cloud process execution engine (cpee). If you
|
594
|
-
need workflow execution, without a rest
|
595
|
-
test_files:
|
596
|
-
- test/callback.rb
|
539
|
+
summary: Preliminary release of cloud process execution engine (cpee.org). If you
|
540
|
+
just need workflow execution, without a rest service exposing it, then use WEEL.
|
541
|
+
test_files: []
|