cpee 1.5.24 → 2.0.1
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 +8 -8
- data/cockpit/js/details.js +13 -14
- data/cockpit/js/instance.js +192 -290
- data/cockpit/js/parameters.js +13 -3
- data/cockpit/js/ui.js +2 -2
- data/cockpit/rngs/attributes.rng +3 -3
- data/cockpit/rngs/dataelements.rng +3 -3
- data/cockpit/rngs/endpoints.rng +3 -3
- data/cockpit/{testsets → templates.legacy}/Async.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/BCO.xml +7 -10
- data/cockpit/{testsets → templates.legacy}/BCS.xml +7 -10
- data/cockpit/{testsets → templates.legacy}/Centurio.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/Concurrent.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/Coopis Testset.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/Endpoints and Data Manipulation.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/ICSOC Testset.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/Infinity.xml +3 -3
- data/cockpit/{testsets → templates.legacy}/Lego Boxer.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Lego Conveyor.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Lego Crane.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Lego Ejector.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Lego Full.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Lego Liddy.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Lego Plate.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Lego Transporter.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Lego_Part_1.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/LgLinear.xml +6 -10
- data/cockpit/{testsets → templates.legacy}/Linear.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Log.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Mangler 1.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/Mangler 2.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/Manuel Labels.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Promise.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/SOPROMO Test Sonification.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/Subprocess.xml +7 -7
- data/cockpit/templates.legacy/Syncing P34 1.xml +77 -0
- data/cockpit/templates.legacy/Syncing P34 2.xml +77 -0
- data/cockpit/templates.legacy/Syncing P34 3.xml +77 -0
- data/cockpit/{testsets → templates.legacy}/Syncing P34.xml +8 -11
- data/cockpit/{testsets → templates.legacy}/TEST - Bad Loop.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/TEST - Wrong Positions.xml +6 -6
- data/cockpit/{testsets → templates.legacy}/Take_5.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Update.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Worklist Parallel.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Worklist Test CPEE.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Worklist Test.xml +7 -7
- data/cockpit/{testsets → templates.legacy}/Worklist Test2.xml +7 -7
- data/cockpit/templates.legacy/convert_cpee2.rb +15 -0
- data/cockpit/{testsets → templates.legacy}/convert_preset.rb +0 -0
- data/cockpit/{testsets → templates.legacy}/testsets.xml +1 -1
- data/cockpit/{testsets → templates.legacy}/transformations.xml +0 -0
- data/cockpit/templates/BPM 2020 Manual Adjust.xml +182 -0
- data/cockpit/templates/BPM 2020 Solution Baseline.xml +196 -0
- data/cockpit/templates/BPM 2020 Solution NN.xml +197 -0
- data/cockpit/templates/BPM 2020 Solution View.xml +144 -0
- data/cockpit/templates/BPM 2020.xml +26 -0
- data/cockpit/templates/Coopis 2010.xml +76 -0
- data/cockpit/{testsets/Syncing P34 1.xml → templates/IUPC arXiv:1104.3609 P34 1.xml } +7 -10
- data/cockpit/{testsets/Syncing P34 2.xml → templates/IUPC arXiv:1104.3609 P34 2.xml } +7 -10
- data/cockpit/{testsets/Syncing P34 3.xml → templates/IUPC arXiv:1104.3609 P34 3.xml } +7 -10
- data/cockpit/templates/Worklist.xml +42 -0
- data/cockpit/templates/convert_cpee2.rb +15 -0
- data/cockpit/themes/compact/rngs/alternative.rng +25 -0
- data/cockpit/themes/compact/rngs/call.rng +19 -13
- data/cockpit/themes/compact/rngs/callmanipulate.rng +28 -22
- 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/compact/theme.js +1 -1
- 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 +19 -13
- data/cockpit/themes/extended/rngs/callmanipulate.rng +28 -22
- 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 +14 -28
- 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 +8 -7
- data/cockpit/themes/packed/rngs/alternative.rng +25 -0
- data/cockpit/themes/packed/rngs/call.rng +19 -13
- data/cockpit/themes/packed/rngs/callmanipulate.rng +28 -22
- 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 +8 -7
- data/cockpit/themes/preset/rngs/alternative.rng +25 -0
- data/cockpit/themes/preset/rngs/call.rng +19 -13
- data/cockpit/themes/preset/rngs/callmanipulate.rng +28 -22
- 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 +8 -7
- 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 +166 -191
- data/lib/cpee/implementation_callbacks.rb +77 -0
- data/lib/cpee/implementation_notifications.rb +189 -0
- data/lib/cpee/implementation_properties.rb +711 -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 +1 -1
- 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/resources/transformation_dslx.xsl +12 -3
- 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 +19 -15
- metadata +127 -177
- data/INSTALL +0 -23
- data/cockpit/test.html +0 -40
- 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 -63
- 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/notifications/logging/consumer-secret +0 -1
- data/server/resources/notifications/logging/producer-secret +0 -1
- 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/resources/test1.xml +0 -58
- data/server/resources/test2.xml +0 -60
- data/server/resources/test3.xml +0 -217
- 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] 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,8 +44,6 @@ 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."))
|
@@ -52,7 +51,7 @@ ARGV.options { |opt|
|
|
52
51
|
}
|
53
52
|
if (ARGV.length == 0) ||
|
54
53
|
(ARGV.length == 1 && ARGV[0] != 'ui') ||
|
55
|
-
(ARGV.length == 2 && !(%w(abandon
|
54
|
+
(ARGV.length == 2 && !(%w(abandon start delete! cpui new).include?(ARGV[0]))) ||
|
56
55
|
(ARGV.length == 3 && ARGV[0] != 'archive') ||
|
57
56
|
(ARGV.length > 3)
|
58
57
|
puts ARGV.options
|
@@ -100,12 +99,6 @@ elsif command == 'cpui'
|
|
100
99
|
puts "Directory already exists."
|
101
100
|
end
|
102
101
|
end
|
103
|
-
elsif command == 'inst'
|
104
|
-
if !File.exists?(p1)
|
105
|
-
FileUtils.cp_r("#{curpath}/instantiation/",p1)
|
106
|
-
else
|
107
|
-
puts 'Directory already exists.'
|
108
|
-
end
|
109
102
|
elsif command == 'archive'
|
110
103
|
p2 = File.join(p2,'*') if p2 =~ /([a-zA-Z]|\/)$/
|
111
104
|
base = File.dirname(p2)
|
@@ -181,11 +174,11 @@ elsif command == 'abandon'
|
|
181
174
|
names << File.basename(p1)
|
182
175
|
end
|
183
176
|
names.each do |name|
|
184
|
-
res = Typhoeus.get(File.join(base,name.to_s,'properties','
|
177
|
+
res = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
|
185
178
|
if res.success?
|
186
179
|
case res.response_body
|
187
180
|
when "ready", "stopped" then
|
188
|
-
Typhoeus.put(File.join(base,name.to_s,'properties','
|
181
|
+
Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=abandoned")
|
189
182
|
end
|
190
183
|
end
|
191
184
|
end
|
@@ -211,13 +204,13 @@ elsif command == 'start'
|
|
211
204
|
names << File.basename(p1)
|
212
205
|
end
|
213
206
|
names.each do |name|
|
214
|
-
res = Typhoeus.get(File.join(base,name.to_s,'properties','
|
207
|
+
res = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
|
215
208
|
if res.success?
|
216
209
|
case res.response_body
|
217
210
|
when "stopped" then
|
218
|
-
keep_alive = Typhoeus.get(File.join(base,name.to_s,'properties','
|
211
|
+
keep_alive = Typhoeus.get(File.join(base,name.to_s,'properties','attributes','keep_alive','/'))
|
219
212
|
if keep_alive.success?
|
220
|
-
Typhoeus.put(File.join(base,name.to_s,'properties','
|
213
|
+
Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=running")
|
221
214
|
end
|
222
215
|
end
|
223
216
|
end
|
@@ -230,6 +223,17 @@ elsif command == 'new'
|
|
230
223
|
FileUtils.mkdir("#{p1}/instances") rescue nil
|
231
224
|
FileUtils.mkdir("#{p1}/resources") rescue nil
|
232
225
|
FileUtils.mkdir("#{p1}/handlerwrappers") rescue nil
|
226
|
+
Dir["#{curpath}/../systemd/*.service"].each do |f|
|
227
|
+
nam = File.basename f
|
228
|
+
cont = File.read(f)
|
229
|
+
cont.gsub!(/{CPEEUSER}/,`whoami`.strip)
|
230
|
+
cont.gsub!(/{CPEEWORKINGDIR}/,"#{File.realpath(p1)}")
|
231
|
+
cont.gsub!(/{CPEESERVER}/,"#{File.realpath(p1)}/server")
|
232
|
+
File.write("#{p1}/#{nam}",cont)
|
233
|
+
p f
|
234
|
+
p nam
|
235
|
+
p "#{p1}/#{nam}"
|
236
|
+
end
|
233
237
|
else
|
234
238
|
puts 'Directory already exists.'
|
235
239
|
end
|
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.1
|
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-
|
13
|
+
date: 2020-10-06 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
|
@@ -161,49 +140,60 @@ files:
|
|
161
140
|
- cockpit/rngs/attributes.rng
|
162
141
|
- cockpit/rngs/dataelements.rng
|
163
142
|
- cockpit/rngs/endpoints.rng
|
164
|
-
- cockpit/
|
165
|
-
- cockpit/
|
166
|
-
- cockpit/
|
167
|
-
- cockpit/
|
168
|
-
- cockpit/
|
169
|
-
- cockpit/
|
170
|
-
- cockpit/
|
171
|
-
- cockpit/
|
172
|
-
- cockpit/
|
173
|
-
- cockpit/
|
174
|
-
- cockpit/
|
175
|
-
- cockpit/
|
176
|
-
- cockpit/
|
177
|
-
- cockpit/
|
178
|
-
- cockpit/
|
179
|
-
- cockpit/
|
180
|
-
- cockpit/
|
181
|
-
- cockpit/
|
182
|
-
- cockpit/
|
183
|
-
- cockpit/
|
184
|
-
- cockpit/
|
185
|
-
- cockpit/
|
186
|
-
- cockpit/
|
187
|
-
- cockpit/
|
188
|
-
- cockpit/
|
189
|
-
- cockpit/
|
190
|
-
- cockpit/
|
191
|
-
- cockpit/
|
192
|
-
- cockpit/
|
193
|
-
- cockpit/
|
194
|
-
- cockpit/
|
195
|
-
- cockpit/
|
196
|
-
- cockpit/
|
197
|
-
- cockpit/
|
198
|
-
- cockpit/
|
199
|
-
- cockpit/
|
200
|
-
- cockpit/
|
201
|
-
- cockpit/
|
202
|
-
- cockpit/
|
203
|
-
- cockpit/
|
204
|
-
- cockpit/
|
205
|
-
- cockpit/
|
206
|
-
- cockpit/
|
143
|
+
- cockpit/templates.legacy/Async.xml
|
144
|
+
- cockpit/templates.legacy/BCO.xml
|
145
|
+
- cockpit/templates.legacy/BCS.xml
|
146
|
+
- cockpit/templates.legacy/Centurio.xml
|
147
|
+
- cockpit/templates.legacy/Concurrent.xml
|
148
|
+
- cockpit/templates.legacy/Coopis Testset.xml
|
149
|
+
- cockpit/templates.legacy/Endpoints and Data Manipulation.xml
|
150
|
+
- cockpit/templates.legacy/ICSOC Testset.xml
|
151
|
+
- cockpit/templates.legacy/Infinity.xml
|
152
|
+
- cockpit/templates.legacy/Lego Boxer.xml
|
153
|
+
- cockpit/templates.legacy/Lego Conveyor.xml
|
154
|
+
- cockpit/templates.legacy/Lego Crane.xml
|
155
|
+
- cockpit/templates.legacy/Lego Ejector.xml
|
156
|
+
- cockpit/templates.legacy/Lego Full.xml
|
157
|
+
- cockpit/templates.legacy/Lego Liddy.xml
|
158
|
+
- cockpit/templates.legacy/Lego Plate.xml
|
159
|
+
- cockpit/templates.legacy/Lego Transporter.xml
|
160
|
+
- cockpit/templates.legacy/Lego_Part_1.xml
|
161
|
+
- cockpit/templates.legacy/LgLinear.xml
|
162
|
+
- cockpit/templates.legacy/Linear.xml
|
163
|
+
- cockpit/templates.legacy/Log.xml
|
164
|
+
- cockpit/templates.legacy/Mangler 1.xml
|
165
|
+
- cockpit/templates.legacy/Mangler 2.xml
|
166
|
+
- cockpit/templates.legacy/Manuel Labels.xml
|
167
|
+
- cockpit/templates.legacy/Promise.xml
|
168
|
+
- cockpit/templates.legacy/SOPROMO Test Sonification.xml
|
169
|
+
- cockpit/templates.legacy/Subprocess.xml
|
170
|
+
- cockpit/templates.legacy/Syncing P34 1.xml
|
171
|
+
- cockpit/templates.legacy/Syncing P34 2.xml
|
172
|
+
- cockpit/templates.legacy/Syncing P34 3.xml
|
173
|
+
- cockpit/templates.legacy/Syncing P34.xml
|
174
|
+
- cockpit/templates.legacy/TEST - Bad Loop.xml
|
175
|
+
- cockpit/templates.legacy/TEST - Wrong Positions.xml
|
176
|
+
- cockpit/templates.legacy/Take_5.xml
|
177
|
+
- cockpit/templates.legacy/Update.xml
|
178
|
+
- cockpit/templates.legacy/Worklist Parallel.xml
|
179
|
+
- cockpit/templates.legacy/Worklist Test CPEE.xml
|
180
|
+
- cockpit/templates.legacy/Worklist Test.xml
|
181
|
+
- cockpit/templates.legacy/Worklist Test2.xml
|
182
|
+
- cockpit/templates.legacy/convert_cpee2.rb
|
183
|
+
- cockpit/templates.legacy/convert_preset.rb
|
184
|
+
- cockpit/templates.legacy/testsets.xml
|
185
|
+
- cockpit/templates.legacy/transformations.xml
|
186
|
+
- cockpit/templates/BPM 2020 Manual Adjust.xml
|
187
|
+
- cockpit/templates/BPM 2020 Solution Baseline.xml
|
188
|
+
- cockpit/templates/BPM 2020 Solution NN.xml
|
189
|
+
- cockpit/templates/BPM 2020 Solution View.xml
|
190
|
+
- cockpit/templates/BPM 2020.xml
|
191
|
+
- cockpit/templates/Coopis 2010.xml
|
192
|
+
- cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
|
193
|
+
- cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
|
194
|
+
- cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
|
195
|
+
- cockpit/templates/Worklist.xml
|
196
|
+
- cockpit/templates/convert_cpee2.rb
|
207
197
|
- cockpit/themes/compact/rngs/alternative.rng
|
208
198
|
- cockpit/themes/compact/rngs/call.rng
|
209
199
|
- cockpit/themes/compact/rngs/callmanipulate.rng
|
@@ -244,22 +234,22 @@ files:
|
|
244
234
|
- cockpit/themes/compact/symbols/stop.svg
|
245
235
|
- cockpit/themes/compact/symbols/terminate.svg
|
246
236
|
- cockpit/themes/compact/theme.js
|
237
|
+
- cockpit/themes/convert_cpee2.rb
|
247
238
|
- cockpit/themes/default/rngs/alternative.rng
|
248
239
|
- cockpit/themes/default/rngs/call.rng
|
249
240
|
- cockpit/themes/default/rngs/callmanipulate.rng
|
250
241
|
- cockpit/themes/default/rngs/choose.rng
|
251
242
|
- cockpit/themes/default/rngs/critical.rng
|
252
243
|
- cockpit/themes/default/rngs/escape.rng
|
253
|
-
- cockpit/themes/default/rngs/finalize.rng
|
254
244
|
- cockpit/themes/default/rngs/group.rng
|
255
245
|
- cockpit/themes/default/rngs/loop.rng
|
256
246
|
- cockpit/themes/default/rngs/manipulate.rng
|
257
247
|
- cockpit/themes/default/rngs/otherwise.rng
|
258
248
|
- cockpit/themes/default/rngs/parallel.rng
|
259
249
|
- cockpit/themes/default/rngs/parallel_branch.rng
|
250
|
+
- cockpit/themes/default/rngs/scripts.rng
|
260
251
|
- cockpit/themes/default/rngs/stop.rng
|
261
252
|
- cockpit/themes/default/rngs/terminate.rng
|
262
|
-
- cockpit/themes/default/rngs/update.rng
|
263
253
|
- cockpit/themes/default/symbols/alternative.svg
|
264
254
|
- cockpit/themes/default/symbols/arrow.svg
|
265
255
|
- cockpit/themes/default/symbols/call.svg
|
@@ -284,7 +274,6 @@ files:
|
|
284
274
|
- cockpit/themes/default/symbols/start.svg
|
285
275
|
- cockpit/themes/default/symbols/stop.svg
|
286
276
|
- cockpit/themes/default/symbols/terminate.svg
|
287
|
-
- cockpit/themes/default/theme.js
|
288
277
|
- cockpit/themes/extended/rngs/alternative.rng
|
289
278
|
- cockpit/themes/extended/rngs/call.rng
|
290
279
|
- cockpit/themes/extended/rngs/callmanipulate.rng
|
@@ -325,46 +314,6 @@ files:
|
|
325
314
|
- cockpit/themes/extended/symbols/stop.svg
|
326
315
|
- cockpit/themes/extended/symbols/terminate.svg
|
327
316
|
- cockpit/themes/extended/theme.js
|
328
|
-
- cockpit/themes/labels/rngs/alternative.rng
|
329
|
-
- cockpit/themes/labels/rngs/call.rng
|
330
|
-
- cockpit/themes/labels/rngs/callmanipulate.rng
|
331
|
-
- cockpit/themes/labels/rngs/choose.rng
|
332
|
-
- cockpit/themes/labels/rngs/critical.rng
|
333
|
-
- cockpit/themes/labels/rngs/escape.rng
|
334
|
-
- cockpit/themes/labels/rngs/finalize.rng
|
335
|
-
- cockpit/themes/labels/rngs/group.rng
|
336
|
-
- cockpit/themes/labels/rngs/loop.rng
|
337
|
-
- cockpit/themes/labels/rngs/manipulate.rng
|
338
|
-
- cockpit/themes/labels/rngs/otherwise.rng
|
339
|
-
- cockpit/themes/labels/rngs/parallel.rng
|
340
|
-
- cockpit/themes/labels/rngs/parallel_branch.rng
|
341
|
-
- cockpit/themes/labels/rngs/stop.rng
|
342
|
-
- cockpit/themes/labels/rngs/terminate.rng
|
343
|
-
- cockpit/themes/labels/rngs/update.rng
|
344
|
-
- cockpit/themes/labels/symbols/alternative.svg
|
345
|
-
- cockpit/themes/labels/symbols/arrow.svg
|
346
|
-
- cockpit/themes/labels/symbols/call.svg
|
347
|
-
- cockpit/themes/labels/symbols/callmanipulate.svg
|
348
|
-
- cockpit/themes/labels/symbols/choose.svg
|
349
|
-
- cockpit/themes/labels/symbols/choose_exclusive.svg
|
350
|
-
- cockpit/themes/labels/symbols/choose_inclusive.svg
|
351
|
-
- cockpit/themes/labels/symbols/complex.svg
|
352
|
-
- cockpit/themes/labels/symbols/critical.svg
|
353
|
-
- cockpit/themes/labels/symbols/end.svg
|
354
|
-
- cockpit/themes/labels/symbols/escape.svg
|
355
|
-
- cockpit/themes/labels/symbols/event_end.svg
|
356
|
-
- cockpit/themes/labels/symbols/loop.svg
|
357
|
-
- cockpit/themes/labels/symbols/manipulate.svg
|
358
|
-
- cockpit/themes/labels/symbols/otherwise.svg
|
359
|
-
- cockpit/themes/labels/symbols/parallel.svg
|
360
|
-
- cockpit/themes/labels/symbols/parallel_branch.svg
|
361
|
-
- cockpit/themes/labels/symbols/parallel_branch_compact.svg
|
362
|
-
- cockpit/themes/labels/symbols/parallel_branch_event.svg
|
363
|
-
- cockpit/themes/labels/symbols/parallel_branch_normal.svg
|
364
|
-
- cockpit/themes/labels/symbols/scripts.svg
|
365
|
-
- cockpit/themes/labels/symbols/start.svg
|
366
|
-
- cockpit/themes/labels/symbols/stop.svg
|
367
|
-
- cockpit/themes/labels/symbols/terminate.svg
|
368
317
|
- cockpit/themes/model/rngs/alternative.rng
|
369
318
|
- cockpit/themes/model/rngs/call.rng
|
370
319
|
- cockpit/themes/model/rngs/callmanipulate.rng
|
@@ -493,69 +442,71 @@ files:
|
|
493
442
|
- contrib/logo2a.png
|
494
443
|
- contrib/logo2a.svg
|
495
444
|
- cpee.gemspec
|
445
|
+
- lib/callbacks.xml
|
446
|
+
- lib/callbacks/callbacks.rng
|
496
447
|
- lib/cpee.xml
|
497
|
-
- lib/cpee/
|
448
|
+
- lib/cpee/attributes_helper.rb
|
498
449
|
- lib/cpee/controller.rb
|
499
|
-
- lib/cpee/empty_workflow.rb
|
500
|
-
- lib/cpee/handler_notifications.rb
|
501
|
-
- lib/cpee/handler_properties.rb
|
502
450
|
- lib/cpee/implementation.rb
|
503
|
-
- lib/cpee/
|
504
|
-
- lib/cpee/
|
505
|
-
- lib/cpee/
|
506
|
-
- lib/cpee/
|
507
|
-
- lib/cpee/
|
508
|
-
- lib/cpee/
|
509
|
-
- lib/cpee/
|
510
|
-
- lib/cpee/processtransformation/bpel/bpelserver.ru
|
511
|
-
- lib/cpee/processtransformation/bpel/bpelserver.xml
|
512
|
-
- lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb
|
513
|
-
- lib/cpee/processtransformation/bpmn2.rb
|
514
|
-
- lib/cpee/processtransformation/cpee.rb
|
515
|
-
- lib/cpee/processtransformation/structures.rb
|
516
|
-
- 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
|
517
458
|
- lib/cpee/value_helper.rb
|
518
459
|
- lib/engine.xml
|
519
|
-
- lib/engine/callbacks.rng
|
520
460
|
- lib/engine/instance-info.rng
|
521
461
|
- lib/engine/instances.rng
|
522
462
|
- lib/instantiation.xml
|
523
|
-
-
|
524
|
-
-
|
525
|
-
-
|
526
|
-
-
|
527
|
-
-
|
528
|
-
-
|
529
|
-
-
|
530
|
-
-
|
531
|
-
-
|
532
|
-
-
|
533
|
-
-
|
534
|
-
-
|
535
|
-
-
|
536
|
-
-
|
537
|
-
-
|
538
|
-
-
|
539
|
-
-
|
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
|
540
489
|
- server/dev.rb
|
541
490
|
- server/handlerwrappers/default.rb
|
542
|
-
- 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
|
543
496
|
- server/resources/empty_dslx.xml
|
544
|
-
- server/resources/notifications/logging/consumer-secret
|
545
|
-
- server/resources/notifications/logging/producer-secret
|
546
497
|
- server/resources/notifications/logging/subscription.xml
|
498
|
+
- server/resources/properties.empty
|
547
499
|
- server/resources/properties.init
|
548
|
-
- server/resources/
|
549
|
-
- server/resources/
|
550
|
-
- server/resources/properties.schema.inactive
|
551
|
-
- server/resources/test1.xml
|
552
|
-
- server/resources/test2.xml
|
553
|
-
- server/resources/test3.xml
|
500
|
+
- server/resources/states.dot
|
501
|
+
- server/resources/states.xml
|
554
502
|
- server/resources/topics.xml
|
555
503
|
- server/resources/transformation.xml
|
556
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
|
557
509
|
- server/server.rb
|
558
|
-
- test/callback.rb
|
559
510
|
- tools/cpee
|
560
511
|
- tools/instantiation/instantiation
|
561
512
|
- tools/server/resources/notifications/logging/consumer-secret
|
@@ -575,7 +526,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
575
526
|
requirements:
|
576
527
|
- - ">="
|
577
528
|
- !ruby/object:Gem::Version
|
578
|
-
version: 2.
|
529
|
+
version: 2.7.0
|
579
530
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
580
531
|
requirements:
|
581
532
|
- - ">="
|
@@ -585,7 +536,6 @@ requirements: []
|
|
585
536
|
rubygems_version: 3.1.2
|
586
537
|
signing_key:
|
587
538
|
specification_version: 4
|
588
|
-
summary: Preliminary release of cloud process execution engine (cpee). If you
|
589
|
-
need workflow execution, without a rest
|
590
|
-
test_files:
|
591
|
-
- 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: []
|