cpee 1.5.20 → 2.0
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/{testsets → templates.legacy}/Syncing P34 1.xml +8 -11
- data/cockpit/{testsets → templates.legacy}/Syncing P34 2.xml +8 -11
- data/cockpit/{testsets → templates.legacy}/Syncing P34 3.xml +8 -11
- 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 +85 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +77 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +77 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +77 -0
- 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 +20 -14
- 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 +85 -49
- 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 +20 -14
- 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 +20 -14
- 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 +20 -14
- 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 +9 -9
- 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 +152 -191
- data/lib/cpee/implementation_callbacks.rb +77 -0
- data/lib/cpee/implementation_notifications.rb +189 -0
- data/lib/cpee/implementation_properties.rb +707 -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 -34
- 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 +29 -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 +3 -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 +19 -15
- metadata +126 -156
- 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 -368
- 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,197 @@
|
|
1
|
+
<testset xmlns="http://cpee.org/ns/properties/2.0">
|
2
|
+
<dataelements>
|
3
|
+
<places>[[0,0],[1,0],[0,1],[1,1],[0,2],[1,2],[0,3],[1,3],[0,4],[1,4],[0,5],[1,5]]</places>
|
4
|
+
</dataelements>
|
5
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
6
|
+
<handlers>
|
7
|
+
<handler url="http://tango.wst.univie.ac.at:9332">
|
8
|
+
<votes topic='state'>change</votes>
|
9
|
+
<events topic='state'>change</events>
|
10
|
+
<events topic='task'>instantiation</events>
|
11
|
+
</handler>
|
12
|
+
</handlers>
|
13
|
+
<endpoints>
|
14
|
+
<overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
|
15
|
+
<move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
|
16
|
+
<move_camera>http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
|
17
|
+
<get_items_base>http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
|
18
|
+
<get_items_neural>http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
|
19
|
+
<get_offset_base>http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
|
20
|
+
<get_offset_neural>http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
21
|
+
<grip_and_place>http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
|
22
|
+
</endpoints>
|
23
|
+
<description>
|
24
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
25
|
+
<loop mode="pre_test" condition="data.places.length > 0">
|
26
|
+
<_probability>
|
27
|
+
<_probability_min/>
|
28
|
+
<_probability_max/>
|
29
|
+
<_probability_avg/>
|
30
|
+
</_probability>
|
31
|
+
<manipulate id="a2" label="Next Place">data.place = data.places.shift</manipulate>
|
32
|
+
<call id="a1" endpoint="overview">
|
33
|
+
<parameters>
|
34
|
+
<label>Move to overview position</label>
|
35
|
+
<arguments/>
|
36
|
+
<stream>
|
37
|
+
<sensors/>
|
38
|
+
<aggregators/>
|
39
|
+
<costs/>
|
40
|
+
</stream>
|
41
|
+
</parameters>
|
42
|
+
<annotations>
|
43
|
+
<_timing>
|
44
|
+
<_timing_wait/>
|
45
|
+
<_timing_threshold/>
|
46
|
+
<_timing_min/>
|
47
|
+
<_timing_max/>
|
48
|
+
<_timing_avg/>
|
49
|
+
</_timing>
|
50
|
+
<_notes>
|
51
|
+
<_notes_general/>
|
52
|
+
</_notes>
|
53
|
+
</annotations>
|
54
|
+
</call>
|
55
|
+
<call id="a3" endpoint="get_items_neural">
|
56
|
+
<parameters>
|
57
|
+
<label>Get item positions</label>
|
58
|
+
<arguments/>
|
59
|
+
<stream>
|
60
|
+
<sensors/>
|
61
|
+
<aggregators/>
|
62
|
+
<costs/>
|
63
|
+
</stream>
|
64
|
+
</parameters>
|
65
|
+
<code>
|
66
|
+
<prepare/>
|
67
|
+
<finalize output="result">data.items = result
|
68
|
+
data.item = result[0]</finalize>
|
69
|
+
<update output="result"/>
|
70
|
+
<rescue output="result"/>
|
71
|
+
</code>
|
72
|
+
<annotations>
|
73
|
+
<_timing>
|
74
|
+
<_timing_wait/>
|
75
|
+
<_timing_threshold/>
|
76
|
+
<_timing_min/>
|
77
|
+
<_timing_max/>
|
78
|
+
<_timing_avg/>
|
79
|
+
</_timing>
|
80
|
+
<_notes>
|
81
|
+
<_notes_general/>
|
82
|
+
</_notes>
|
83
|
+
</annotations>
|
84
|
+
</call>
|
85
|
+
<choose mode="exclusive">
|
86
|
+
<alternative condition="data.items.length > 0">
|
87
|
+
<call id="a5" endpoint="move_camera">
|
88
|
+
<parameters>
|
89
|
+
<label>Inspect first item</label>
|
90
|
+
<arguments>
|
91
|
+
<x>!data.item['x']</x>
|
92
|
+
<y>!data.item['y']</y>
|
93
|
+
</arguments>
|
94
|
+
<stream>
|
95
|
+
<sensors/>
|
96
|
+
<aggregators/>
|
97
|
+
<costs/>
|
98
|
+
</stream>
|
99
|
+
</parameters>
|
100
|
+
<annotations>
|
101
|
+
<_timing>
|
102
|
+
<_timing_wait/>
|
103
|
+
<_timing_threshold/>
|
104
|
+
<_timing_min/>
|
105
|
+
<_timing_max/>
|
106
|
+
<_timing_avg/>
|
107
|
+
</_timing>
|
108
|
+
<_notes>
|
109
|
+
<_notes_general/>
|
110
|
+
</_notes>
|
111
|
+
</annotations>
|
112
|
+
</call>
|
113
|
+
<call id="a6" endpoint="get_offset_neural">
|
114
|
+
<parameters>
|
115
|
+
<label>Get item offset</label>
|
116
|
+
<arguments/>
|
117
|
+
<stream>
|
118
|
+
<sensors/>
|
119
|
+
<aggregators/>
|
120
|
+
<costs/>
|
121
|
+
</stream>
|
122
|
+
</parameters>
|
123
|
+
<code>
|
124
|
+
<prepare/>
|
125
|
+
<finalize output="result">data.adjusted = {
|
126
|
+
'x' => data.item['x'] + result['dir_x'],
|
127
|
+
'y' => data.item['y'] + result['dir_y']
|
128
|
+
}</finalize>
|
129
|
+
<update output="result"/>
|
130
|
+
<rescue output="result"/>
|
131
|
+
</code>
|
132
|
+
<annotations>
|
133
|
+
<_timing>
|
134
|
+
<_timing_wait/>
|
135
|
+
<_timing_threshold/>
|
136
|
+
<_timing_min/>
|
137
|
+
<_timing_max/>
|
138
|
+
<_timing_avg/>
|
139
|
+
</_timing>
|
140
|
+
<_notes>
|
141
|
+
<_notes_general/>
|
142
|
+
</_notes>
|
143
|
+
</annotations>
|
144
|
+
</call>
|
145
|
+
<call id="a8" endpoint="grip_and_place">
|
146
|
+
<parameters>
|
147
|
+
<label>Grip and Place</label>
|
148
|
+
<arguments>
|
149
|
+
<x>!data.adjusted['x'].round(0)</x>
|
150
|
+
<y>!data.adjusted['y'].round(0)</y>
|
151
|
+
<place_x>!data.place[0]</place_x>
|
152
|
+
<place_y>!data.place[1]</place_y>
|
153
|
+
</arguments>
|
154
|
+
<stream>
|
155
|
+
<sensors/>
|
156
|
+
<aggregators/>
|
157
|
+
<costs/>
|
158
|
+
</stream>
|
159
|
+
</parameters>
|
160
|
+
<annotations>
|
161
|
+
<_timing>
|
162
|
+
<_timing_wait/>
|
163
|
+
<_timing_threshold/>
|
164
|
+
<_timing_min/>
|
165
|
+
<_timing_max/>
|
166
|
+
<_timing_avg/>
|
167
|
+
</_timing>
|
168
|
+
<_notes>
|
169
|
+
<_notes_general/>
|
170
|
+
</_notes>
|
171
|
+
</annotations>
|
172
|
+
</call>
|
173
|
+
<_probability>
|
174
|
+
<_probability_min/>
|
175
|
+
<_probability_max/>
|
176
|
+
<_probability_avg/>
|
177
|
+
</_probability>
|
178
|
+
</alternative>
|
179
|
+
<otherwise>
|
180
|
+
<terminate/>
|
181
|
+
</otherwise>
|
182
|
+
</choose>
|
183
|
+
</loop>
|
184
|
+
</description>
|
185
|
+
</description>
|
186
|
+
<transformation>
|
187
|
+
<description type="copy"/>
|
188
|
+
<dataelements type="none"/>
|
189
|
+
<endpoints type="none"/>
|
190
|
+
</transformation>
|
191
|
+
<attributes>
|
192
|
+
<info>BPM 2020 Solution NN</info>
|
193
|
+
<modeltype>CPEE</modeltype>
|
194
|
+
<theme>preset</theme>
|
195
|
+
<resource>ur51</resource>
|
196
|
+
</attributes>
|
197
|
+
</testset>
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<testset xmlns="http://cpee.org/ns/properties/2.0">
|
2
|
+
<dataelements/>
|
3
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
4
|
+
<endpoints>
|
5
|
+
<overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
|
6
|
+
<move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
|
7
|
+
<move_camera>http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
|
8
|
+
<get_items_base>http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
|
9
|
+
<get_items_neural>http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
|
10
|
+
<get_offset_base>http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
|
11
|
+
<get_offset_neural>http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
12
|
+
</endpoints>
|
13
|
+
<description>
|
14
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
15
|
+
<loop mode="pre_test" condition="true">
|
16
|
+
<_probability>
|
17
|
+
<_probability_min/>
|
18
|
+
<_probability_max/>
|
19
|
+
<_probability_avg/>
|
20
|
+
</_probability>
|
21
|
+
<call id="a1" endpoint="overview">
|
22
|
+
<parameters>
|
23
|
+
<label>Move to overview position</label>
|
24
|
+
<arguments/>
|
25
|
+
<stream>
|
26
|
+
<sensors/>
|
27
|
+
<aggregators/>
|
28
|
+
<costs/>
|
29
|
+
</stream>
|
30
|
+
</parameters>
|
31
|
+
<annotations>
|
32
|
+
<_timing>
|
33
|
+
<_timing_wait/>
|
34
|
+
<_timing_threshold/>
|
35
|
+
<_timing_min/>
|
36
|
+
<_timing_max/>
|
37
|
+
<_timing_avg/>
|
38
|
+
</_timing>
|
39
|
+
<_notes>
|
40
|
+
<_notes_general/>
|
41
|
+
</_notes>
|
42
|
+
</annotations>
|
43
|
+
</call>
|
44
|
+
<call id="a3" endpoint="get_items_base">
|
45
|
+
<parameters>
|
46
|
+
<label>Get item positions</label>
|
47
|
+
<arguments/>
|
48
|
+
<stream>
|
49
|
+
<sensors/>
|
50
|
+
<aggregators/>
|
51
|
+
<costs/>
|
52
|
+
</stream>
|
53
|
+
</parameters>
|
54
|
+
<code>
|
55
|
+
<prepare/>
|
56
|
+
<finalize output="result">data.items = result
|
57
|
+
data.item = result[0]</finalize>
|
58
|
+
<update output="result"/>
|
59
|
+
<rescue output="result"/>
|
60
|
+
</code>
|
61
|
+
<annotations>
|
62
|
+
<_timing>
|
63
|
+
<_timing_wait/>
|
64
|
+
<_timing_threshold/>
|
65
|
+
<_timing_min/>
|
66
|
+
<_timing_max/>
|
67
|
+
<_timing_avg/>
|
68
|
+
</_timing>
|
69
|
+
<_notes>
|
70
|
+
<_notes_general/>
|
71
|
+
</_notes>
|
72
|
+
</annotations>
|
73
|
+
</call>
|
74
|
+
<call id="a5" endpoint="move_camera">
|
75
|
+
<parameters>
|
76
|
+
<label>Inspect first item</label>
|
77
|
+
<arguments>
|
78
|
+
<x>!data.item['x']</x>
|
79
|
+
<y>!data.item['y']</y>
|
80
|
+
</arguments>
|
81
|
+
<stream>
|
82
|
+
<sensors/>
|
83
|
+
<aggregators/>
|
84
|
+
<costs/>
|
85
|
+
</stream>
|
86
|
+
</parameters>
|
87
|
+
<annotations>
|
88
|
+
<_timing>
|
89
|
+
<_timing_wait/>
|
90
|
+
<_timing_threshold/>
|
91
|
+
<_timing_min/>
|
92
|
+
<_timing_max/>
|
93
|
+
<_timing_avg/>
|
94
|
+
</_timing>
|
95
|
+
<_notes>
|
96
|
+
<_notes_general/>
|
97
|
+
</_notes>
|
98
|
+
</annotations>
|
99
|
+
</call>
|
100
|
+
<call id="a6" endpoint="get_offset_base">
|
101
|
+
<parameters>
|
102
|
+
<label>Get item offset</label>
|
103
|
+
<arguments/>
|
104
|
+
<stream>
|
105
|
+
<sensors/>
|
106
|
+
<aggregators/>
|
107
|
+
<costs/>
|
108
|
+
</stream>
|
109
|
+
</parameters>
|
110
|
+
<code>
|
111
|
+
<prepare/>
|
112
|
+
<finalize output="result">data.adjusted = result</finalize>
|
113
|
+
<update output="result"/>
|
114
|
+
<rescue output="result"/>
|
115
|
+
</code>
|
116
|
+
<annotations>
|
117
|
+
<_timing>
|
118
|
+
<_timing_wait/>
|
119
|
+
<_timing_threshold/>
|
120
|
+
<_timing_min/>
|
121
|
+
<_timing_max/>
|
122
|
+
<_timing_avg/>
|
123
|
+
</_timing>
|
124
|
+
<_notes>
|
125
|
+
<_notes_general/>
|
126
|
+
</_notes>
|
127
|
+
</annotations>
|
128
|
+
</call>
|
129
|
+
<stop id="a2"/>
|
130
|
+
</loop>
|
131
|
+
</description>
|
132
|
+
</description>
|
133
|
+
<transformation>
|
134
|
+
<description type="copy"/>
|
135
|
+
<dataelements type="none"/>
|
136
|
+
<endpoints type="none"/>
|
137
|
+
</transformation>
|
138
|
+
<attributes>
|
139
|
+
<info>BPM 2020 Solution View</info>
|
140
|
+
<modeltype>CPEE</modeltype>
|
141
|
+
<theme>preset</theme>
|
142
|
+
<resource>ur51</resource>
|
143
|
+
</attributes>
|
144
|
+
</testset>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<testset>
|
2
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
3
|
+
<handlers>
|
4
|
+
<handler url="http://tango.wst.univie.ac.at:9332">
|
5
|
+
<votes topic='state'>change</votes>
|
6
|
+
<events topic='state'>change</events>
|
7
|
+
<events topic='task'>instantiation</events>
|
8
|
+
</handler>
|
9
|
+
</handlers>
|
10
|
+
<endpoints>
|
11
|
+
<overview xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
|
12
|
+
<move_tool xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
|
13
|
+
<move_camera xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
|
14
|
+
<get_items_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
|
15
|
+
<get_items_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
|
16
|
+
<get_offset_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
|
17
|
+
<get_offset_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
18
|
+
<wait xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
|
19
|
+
<grip_and_place xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
|
20
|
+
<subprocess xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org:9296/url/</subprocess>
|
21
|
+
<adjust xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org/~demo/cpee-cockpit/templates/BPM%202020%20Manual%20Adjust.xml</adjust>
|
22
|
+
</endpoints>
|
23
|
+
<attributes>
|
24
|
+
<resource xmlns="http://riddl.org/ns/common-patterns/properties/1.0">ur51</resource>
|
25
|
+
</attributes>
|
26
|
+
</testset>
|
@@ -0,0 +1,85 @@
|
|
1
|
+
<testset>
|
2
|
+
<positions xmlns="http://cpee.org/ns/properties/2.0"/>
|
3
|
+
<handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
|
4
|
+
<handlers>
|
5
|
+
<handler url="http://localhost:9299/">
|
6
|
+
<events topic="activity">calling,receiving,done</events>
|
7
|
+
<events topic="dataelements">change</events>
|
8
|
+
<events topic="endpoints">change</events>
|
9
|
+
<events topic="attributes">change</events>
|
10
|
+
<events topic="task">instantiation</events>
|
11
|
+
</handler>
|
12
|
+
</handlers>
|
13
|
+
<dataelements xmlns="http://cpee.org/ns/properties/2.0">
|
14
|
+
<persons>3</persons>
|
15
|
+
<card>Visa_12345</card>
|
16
|
+
<airline>null</airline>
|
17
|
+
<hotels>[]</hotels>
|
18
|
+
<from>Vienna</from>
|
19
|
+
<to>Prague</to>
|
20
|
+
<costs>0</costs>
|
21
|
+
</dataelements>
|
22
|
+
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
23
|
+
<bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
|
24
|
+
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
25
|
+
<approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
|
26
|
+
</endpoints>
|
27
|
+
<description xmlns="http://cpee.org/ns/properties/2.0">
|
28
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
29
|
+
<call id="a1" endpoint="bookAir">
|
30
|
+
<parameters>
|
31
|
+
<label>Book Airline</label>
|
32
|
+
<method>:post</method>
|
33
|
+
<arguments>
|
34
|
+
<from>data.from</from>
|
35
|
+
<to>data.to</to>
|
36
|
+
<persons>data.persons</persons>
|
37
|
+
</arguments>
|
38
|
+
</parameters>
|
39
|
+
<code>
|
40
|
+
<finalize output="result">data.airline = result.value('id')
|
41
|
+
data.costs += result.value('costs').to_f
|
42
|
+
status.update 1, 'Hotel'</finalize>
|
43
|
+
</code>
|
44
|
+
</call>
|
45
|
+
<parallel>
|
46
|
+
<loop mode="pre_test" condition="data.persons > 0">
|
47
|
+
<parallel_branch pass="data.persons" local="p">
|
48
|
+
<call id="a2" endpoint="bookHotel">
|
49
|
+
<parameters>
|
50
|
+
<label>Book Hotel</label>
|
51
|
+
<method>:post</method>
|
52
|
+
<arguments>
|
53
|
+
<to>data.to</to>
|
54
|
+
</arguments>
|
55
|
+
</parameters>
|
56
|
+
<code>
|
57
|
+
<finalize output="result">data.hotels << result.value('id')
|
58
|
+
data.costs += result.value('costs').to_f</finalize>
|
59
|
+
</code>
|
60
|
+
</call>
|
61
|
+
</parallel_branch>
|
62
|
+
<manipulate id="a3">data.persons -= 1</manipulate>
|
63
|
+
</loop>
|
64
|
+
</parallel>
|
65
|
+
<choose mode="inclusive">
|
66
|
+
<alternative condition="data.costs > 700">
|
67
|
+
<call id="a4" endpoint="approve">
|
68
|
+
<parameters>
|
69
|
+
<label>Approve Hotel</label>
|
70
|
+
<method>:post</method>
|
71
|
+
<arguments>
|
72
|
+
<costs>data.costs</costs>
|
73
|
+
</arguments>
|
74
|
+
</parameters>
|
75
|
+
</call>
|
76
|
+
</alternative>
|
77
|
+
</choose>
|
78
|
+
</description>
|
79
|
+
</description>
|
80
|
+
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
81
|
+
<description type="copy"/>
|
82
|
+
<dataelements type="rest"/>
|
83
|
+
<endpoints type="rest"/>
|
84
|
+
</transformation>
|
85
|
+
</testset>
|