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,9 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="manipulate" rngui:label="Script" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id()">
|
3
|
+
<data type="string" rngui:readonly="true"/>
|
4
|
+
</attribute>
|
5
|
+
<attribute name="label" rngui:label="Label">
|
6
|
+
<data type="string" rngui:label="Short description of the task"/>
|
7
|
+
</attribute>
|
8
|
+
<text rngui:label="Script that is executed"/>
|
9
|
+
</element>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="otherwise" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
3
|
+
<element name="_probability_min" rngui:label="Min in %">
|
4
|
+
<data type="integer" rngui:label="Percent 0-100">
|
5
|
+
<param name="minInclusive">1</param>
|
6
|
+
<param name="maxInclusive">100</param>
|
7
|
+
</data>
|
8
|
+
</element>
|
9
|
+
<element name="_probability_max" rngui:label="Max in %">
|
10
|
+
<data type="integer" rngui:label="Percent 0-100">
|
11
|
+
<param name="minInclusive">1</param>
|
12
|
+
<param name="maxInclusive">100</param>
|
13
|
+
</data>
|
14
|
+
</element>
|
15
|
+
<element name="_probability_avg" rngui:label="Avg in %">
|
16
|
+
<data type="integer" rngui:label="Percent 0-100">
|
17
|
+
<param name="minInclusive">1</param>
|
18
|
+
<param name="maxInclusive">100</param>
|
19
|
+
</data>
|
20
|
+
</element>
|
21
|
+
</element>
|
22
|
+
</element>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="parallel" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="wait" rngui:label="Wait" rngui:default="-1" rngui:hint="-1 to wait for all branches.">
|
3
|
+
<data type="integer"/>
|
4
|
+
</attribute>
|
5
|
+
<element rngui:ignore="true" name="parallel_branch">
|
6
|
+
<attribute name="pass">
|
7
|
+
<data type="string"/>
|
8
|
+
</attribute>
|
9
|
+
<attribute name="local">
|
10
|
+
<data type="string"/>
|
11
|
+
</attribute>
|
12
|
+
</element>
|
13
|
+
<element rngui:ignore="true" name="parallel_branch">
|
14
|
+
<attribute name="pass">
|
15
|
+
<data type="string"/>
|
16
|
+
</attribute>
|
17
|
+
<attribute name="local">
|
18
|
+
<data type="string"/>
|
19
|
+
</attribute>
|
20
|
+
</element>
|
21
|
+
</element>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="parallel_branch" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="pass" rngui:label="Pass to branch">
|
3
|
+
<data type="string" rngui:label="Data element passed to the local scope, thus not affected by global changes ..."/>
|
4
|
+
</attribute>
|
5
|
+
<attribute name="local" rngui:label="Local scope">
|
6
|
+
<data type="string" rngui:label="Name of the passed data element in the local scope ..."/>
|
7
|
+
</attribute>
|
8
|
+
</element>
|
@@ -1,24 +1,23 @@
|
|
1
|
-
<element rngui:version="1.2" name="code" rngui:header="Implementation" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
|
2
|
-
<element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold=
|
3
|
-
<text rngui:label=
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="code" rngui:header="Implementation" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
|
3
|
+
<text rngui:label="Script that is executed, before a service call"/>
|
4
4
|
</element>
|
5
|
-
<element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold=
|
5
|
+
<element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold="closed_conditional">
|
6
6
|
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
7
7
|
<data type="string" rngui:readonly="true"/>
|
8
8
|
</attribute>
|
9
|
-
<text rngui:label=
|
9
|
+
<text rngui:label="Script that is executed, when a service returns data"/>
|
10
10
|
</element>
|
11
|
-
<element name="update" rngui:header="Update" rngui:label="Code" rngui:fold=
|
11
|
+
<element name="update" rngui:header="Update" rngui:label="Code" rngui:fold="closed_conditional">
|
12
12
|
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
13
13
|
<data type="string" rngui:readonly="true"/>
|
14
14
|
</attribute>
|
15
|
-
<text rngui:label=
|
15
|
+
<text rngui:label="Script that is executed, when a service sends intermediate data"/>
|
16
16
|
</element>
|
17
|
-
<element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold=
|
17
|
+
<element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold="closed_conditional">
|
18
18
|
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
19
19
|
<data type="string" rngui:readonly="true"/>
|
20
20
|
</attribute>
|
21
|
-
<text rngui:label=
|
21
|
+
<text rngui:label="Script that is executed, if a service call fails"/>
|
22
22
|
</element>
|
23
|
-
</element>
|
24
|
-
|
23
|
+
</element>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="stop" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id()">
|
3
|
+
<data type="string" rngui:readonly="true"/>
|
4
|
+
</attribute>
|
5
|
+
</element>
|
@@ -0,0 +1 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="terminate" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0"/>
|
@@ -15,11 +15,7 @@ function WFAdaptorManifestation(adaptor) {
|
|
15
15
|
$('#relaxngworker').empty();
|
16
16
|
var rngw = new RelaxNGui(base,$('#relaxngworker'),self.adaptor.description.context_eval);
|
17
17
|
var nnew = $(rngw.save().documentElement);
|
18
|
-
|
19
|
-
var ntxt = nnew.serializeXML();
|
20
|
-
ntxt = ntxt.replace(/trans-xmlns/,'xmlns');
|
21
|
-
|
22
|
-
return($X(ntxt));
|
18
|
+
return(nnew);
|
23
19
|
} else {
|
24
20
|
if (opts && opts == 'clone') {
|
25
21
|
base = base.clone();
|
@@ -65,11 +61,16 @@ function WFAdaptorManifestation(adaptor) {
|
|
65
61
|
var schema = save['endpoints_cache'][$(node).attr('endpoint')].schema.documentElement;
|
66
62
|
$(rng).find(' > element[name="parameters"] > element[name="arguments"]').replaceWith($(schema).clone());
|
67
63
|
}
|
68
|
-
if (save['endpoints_list'][$(node).attr('endpoint')] && !save['endpoints_list'][$(node).attr('endpoint')].startsWith('http')) {
|
64
|
+
if (save['endpoints_list'][$(node).attr('endpoint')] && (!save['endpoints_list'][$(node).attr('endpoint')].startsWith('http') || save['endpoints_list'][$(node).attr('endpoint')].match(/^https?-/))) {
|
69
65
|
$(rng).find(' > element[name="parameters"] > element[name="method"]').remove();
|
70
66
|
}
|
71
67
|
save['details'] = new RelaxNGui(rng,tab,self.adaptor.description.context_eval,true);
|
72
|
-
|
68
|
+
var nn = $X($(node).serializeXML());
|
69
|
+
nn.removeAttr('svg-id');
|
70
|
+
nn.removeAttr('svg-type');
|
71
|
+
nn.removeAttr('svg-subtype');
|
72
|
+
nn.removeAttr('svg-label');
|
73
|
+
save['details'].content(nn);
|
73
74
|
format_visual_forms();
|
74
75
|
}
|
75
76
|
}; //}}}
|
@@ -264,33 +265,18 @@ function WFAdaptorManifestation(adaptor) {
|
|
264
265
|
'label': function(node){
|
265
266
|
var rep = $('body').attr('current-resources');
|
266
267
|
var ep = self.endpoints[$(node).attr('endpoint')];
|
267
|
-
var
|
268
|
+
var wait = $('_timing_wait',$(node).children('annotations')).text();
|
269
|
+
var threshold = $('_timing_threshold',$(node).children('annotations')).text();
|
268
270
|
var lab = $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'');
|
269
271
|
var ret = [ { column: 'ID', value: $(node).attr('id') } ];
|
270
272
|
if (lab != '') {
|
271
273
|
ret.unshift( { column: 'Label', value: lab } );
|
272
274
|
}
|
273
|
-
if (
|
274
|
-
|
275
|
-
ret.push({ column: 'Resource', value: lnd });
|
276
|
-
if (save['endpoints_cache'][lnd] && save['endpoints_cache'][lnd].properties) {
|
277
|
-
var prop = save['endpoints_cache'][lnd].properties;
|
278
|
-
if (prop.resource) {
|
279
|
-
if (prop.resource == 'exclusive' && prop.lock) {
|
280
|
-
ret.push({ column: 'RP', value: prop.resource + ' (' + prop.lock + ')' });
|
281
|
-
} else {
|
282
|
-
ret.push({ column: 'RP', value: prop.resource });
|
283
|
-
}
|
284
|
-
}
|
285
|
-
if (prop.alternatives) {
|
286
|
-
ret.push({ column: 'R#', value: prop.alternatives.length + 1});
|
287
|
-
} else {
|
288
|
-
ret.push({ column: 'R#', value: '1' });
|
289
|
-
}
|
290
|
-
}
|
275
|
+
if (wait != '') {
|
276
|
+
ret.push({ column: 'Wait', value: 'ω = ' + wait });
|
291
277
|
}
|
292
|
-
if (
|
293
|
-
ret.push({ column: '
|
278
|
+
if (threshold != '') {
|
279
|
+
ret.push({ column: 'Threshold', value: 'κ = ' + threshold });
|
294
280
|
}
|
295
281
|
return ret;
|
296
282
|
},
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/alternative.rng
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
2
|
<attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id()">
|
3
3
|
<data type="string" rngui:readonly="true"/>
|
4
4
|
</attribute>
|
@@ -10,53 +10,53 @@
|
|
10
10
|
<value id="subprocess">Subprocess</value>
|
11
11
|
</choice>
|
12
12
|
</attribute>
|
13
|
-
<element name=
|
13
|
+
<element name="parameters" rngui:header="Properties">
|
14
14
|
<element name="label" rngui:label="Label">
|
15
15
|
<data type="string" rngui:label="Short description of the task"/>
|
16
16
|
</element>
|
17
17
|
<element name="arguments"/>
|
18
18
|
<element name="input" rngui:header="Input Arguments">
|
19
19
|
<zeroOrMore rngui:label="Create Argument">
|
20
|
-
<element name=
|
20
|
+
<element name="item" rngui:label="Description">
|
21
21
|
<attribute name="label" rngui:label="Name">
|
22
22
|
<data type="string"/>
|
23
23
|
</attribute>
|
24
|
-
<text rngui:wrap=
|
24
|
+
<text rngui:wrap="true" rngui:label="What does it do?"/>
|
25
25
|
</element>
|
26
26
|
</zeroOrMore>
|
27
27
|
</element>
|
28
28
|
<element name="output" rngui:header="Output Elements">
|
29
29
|
<zeroOrMore rngui:label="Create Element">
|
30
|
-
<element name=
|
30
|
+
<element name="item" rngui:label="Description">
|
31
31
|
<attribute name="label" rngui:label="Name">
|
32
32
|
<data type="string"/>
|
33
33
|
</attribute>
|
34
|
-
<text rngui:wrap=
|
34
|
+
<text rngui:wrap="true" rngui:label="What does it do?"/>
|
35
35
|
</element>
|
36
36
|
</zeroOrMore>
|
37
37
|
</element>
|
38
38
|
</element>
|
39
39
|
<element name="implementation" rngui:header="Implementation">
|
40
40
|
<element name="description" rngui:label="Description">
|
41
|
-
<text rngui:wrap=
|
41
|
+
<text rngui:wrap="true" rngui:label="What is supposed to happen?"/>
|
42
42
|
</element>
|
43
43
|
</element>
|
44
44
|
<element name="annotations" rngui:header="Annotations">
|
45
45
|
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
46
|
-
<element name="_timing_min" rngui:label=
|
47
|
-
<data type=
|
46
|
+
<element name="_timing_min" rngui:label="Min in min">
|
47
|
+
<data type="float" rngui:label="Minutes"/>
|
48
48
|
</element>
|
49
|
-
<element name="_timing_max" rngui:label=
|
50
|
-
<data type=
|
49
|
+
<element name="_timing_max" rngui:label="Max in min">
|
50
|
+
<data type="float" rngui:label="Minutes"/>
|
51
51
|
</element>
|
52
|
-
<element name="_timing_avg" rngui:label=
|
53
|
-
<data type=
|
52
|
+
<element name="_timing_avg" rngui:label="Avg in min">
|
53
|
+
<data type="float" rngui:label="Minutes"/>
|
54
54
|
</element>
|
55
55
|
</element>
|
56
56
|
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
57
|
-
<element name="_notes_general" rngui:label=
|
58
|
-
<text rngui:wrap=
|
57
|
+
<element name="_notes_general" rngui:label="General">
|
58
|
+
<text rngui:wrap="true" rngui:label="Notes"/>
|
59
59
|
</element>
|
60
60
|
</element>
|
61
61
|
</element>
|
62
|
-
</element>
|
62
|
+
</element>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
2
|
<attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id()">
|
3
3
|
<data type="string" rngui:readonly="true"/>
|
4
4
|
</attribute>
|
@@ -10,58 +10,58 @@
|
|
10
10
|
<value id="subprocess">Subprocess</value>
|
11
11
|
</choice>
|
12
12
|
</attribute>
|
13
|
-
<element name=
|
13
|
+
<element name="parameters" rngui:header="Properties">
|
14
14
|
<element name="label" rngui:label="Label">
|
15
15
|
<data type="string" rngui:label="Short description of the task"/>
|
16
16
|
</element>
|
17
17
|
<element name="arguments"/>
|
18
18
|
<element name="input" rngui:header="Input Arguments">
|
19
19
|
<zeroOrMore rngui:label="Create Argument">
|
20
|
-
<element name=
|
20
|
+
<element name="item" rngui:label="Description">
|
21
21
|
<attribute name="label" rngui:label="Name">
|
22
22
|
<data type="string"/>
|
23
23
|
</attribute>
|
24
|
-
<text rngui:wrap=
|
24
|
+
<text rngui:wrap="true" rngui:label="What does it do?"/>
|
25
25
|
</element>
|
26
26
|
</zeroOrMore>
|
27
27
|
</element>
|
28
28
|
<element name="output" rngui:header="Output Elements">
|
29
29
|
<zeroOrMore rngui:label="Create Element">
|
30
|
-
<element name=
|
30
|
+
<element name="item" rngui:label="Description">
|
31
31
|
<attribute name="label" rngui:label="Name">
|
32
32
|
<data type="string"/>
|
33
33
|
</attribute>
|
34
|
-
<text rngui:wrap=
|
34
|
+
<text rngui:wrap="true" rngui:label="What does it do?"/>
|
35
35
|
</element>
|
36
36
|
</zeroOrMore>
|
37
37
|
</element>
|
38
38
|
</element>
|
39
39
|
<element name="implementation" rngui:header="Implementation">
|
40
40
|
<element name="description" rngui:label="Description">
|
41
|
-
<text rngui:wrap=
|
41
|
+
<text rngui:wrap="true" rngui:label="What is supposed to happen?"/>
|
42
42
|
</element>
|
43
43
|
</element>
|
44
44
|
<element name="code" rngui:header="Output Transformation">
|
45
45
|
<element name="description" rngui:label="Description">
|
46
|
-
<text rngui:wrap=
|
46
|
+
<text rngui:wrap="true" rngui:label="Which output elements are important? How to transform them?"/>
|
47
47
|
</element>
|
48
48
|
</element>
|
49
49
|
<element name="annotations" rngui:header="Annotations">
|
50
50
|
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
51
|
-
<element name="_timing_min" rngui:label=
|
52
|
-
<data type=
|
51
|
+
<element name="_timing_min" rngui:label="Min in min">
|
52
|
+
<data type="float" rngui:label="Minutes"/>
|
53
53
|
</element>
|
54
|
-
<element name="_timing_max" rngui:label=
|
55
|
-
<data type=
|
54
|
+
<element name="_timing_max" rngui:label="Max in min">
|
55
|
+
<data type="float" rngui:label="Minutes"/>
|
56
56
|
</element>
|
57
|
-
<element name="_timing_avg" rngui:label=
|
58
|
-
<data type=
|
57
|
+
<element name="_timing_avg" rngui:label="Avg in min">
|
58
|
+
<data type="float" rngui:label="Minutes"/>
|
59
59
|
</element>
|
60
60
|
</element>
|
61
61
|
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
62
|
-
<element name="_notes_general" rngui:label=
|
63
|
-
<text rngui:wrap=
|
62
|
+
<element name="_notes_general" rngui:label="General">
|
63
|
+
<text rngui:wrap="true" rngui:label="Notes"/>
|
64
64
|
</element>
|
65
65
|
</element>
|
66
66
|
</element>
|
67
|
-
</element>
|
67
|
+
</element>
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/choose.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/critical.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/escape.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/group.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/loop.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/manipulate.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/otherwise.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/parallel.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/parallel_branch.rng
|
@@ -1,8 +1,7 @@
|
|
1
|
-
<element rngui:version="1.2" name="code" rngui:header="Output Transformation" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="code" rngui:header="Output Transformation" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
2
|
<element name="code" rngui:header="Output Transformation">
|
3
3
|
<element name="description" rngui:label="Description">
|
4
|
-
<text rngui:wrap=
|
4
|
+
<text rngui:wrap="true" rngui:label="Which output elements are important? How to transform them?"/>
|
5
5
|
</element>
|
6
6
|
</element>
|
7
|
-
</element>
|
8
|
-
|
7
|
+
</element>
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/stop.rng
|
@@ -1 +1 @@
|
|
1
|
-
../../
|
1
|
+
../../preset/rngs/terminate.rng
|
@@ -15,11 +15,7 @@ function WFAdaptorManifestation(adaptor) {
|
|
15
15
|
$('#relaxngworker').empty();
|
16
16
|
var rngw = new RelaxNGui(base,$('#relaxngworker'),self.adaptor.description.context_eval);
|
17
17
|
var nnew = $(rngw.save().documentElement);
|
18
|
-
|
19
|
-
var ntxt = nnew.serializeXML();
|
20
|
-
ntxt = ntxt.replace(/trans-xmlns/,'xmlns');
|
21
|
-
|
22
|
-
return($X(ntxt));
|
18
|
+
return(nnew);
|
23
19
|
} else {
|
24
20
|
if (opts && opts == 'clone') {
|
25
21
|
base = base.clone();
|
@@ -65,11 +61,16 @@ function WFAdaptorManifestation(adaptor) {
|
|
65
61
|
var schema = save['endpoints_cache'][$(node).attr('endpoint')].schema.documentElement;
|
66
62
|
$(rng).find(' > element[name="parameters"] > element[name="arguments"]').replaceWith($(schema).clone());
|
67
63
|
}
|
68
|
-
if (save['endpoints_list'][$(node).attr('endpoint')] && !save['endpoints_list'][$(node).attr('endpoint')].startsWith('http')) {
|
64
|
+
if (save['endpoints_list'][$(node).attr('endpoint')] && (!save['endpoints_list'][$(node).attr('endpoint')].startsWith('http') || save['endpoints_list'][$(node).attr('endpoint')].match(/^https?-/))) {
|
69
65
|
$(rng).find(' > element[name="parameters"] > element[name="method"]').remove();
|
70
66
|
}
|
71
67
|
save['details'] = new RelaxNGui(rng,tab,self.adaptor.description.context_eval,true);
|
72
|
-
|
68
|
+
var nn = $X($(node).serializeXML());
|
69
|
+
nn.removeAttr('svg-id');
|
70
|
+
nn.removeAttr('svg-type');
|
71
|
+
nn.removeAttr('svg-subtype');
|
72
|
+
nn.removeAttr('svg-label');
|
73
|
+
save['details'].content(nn);
|
73
74
|
format_visual_forms();
|
74
75
|
}
|
75
76
|
}; //}}}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="alternative" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="condition" rngui:label="Condition">
|
3
|
+
<data type="string" rngui:label="Condition"/>
|
4
|
+
</attribute>
|
5
|
+
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
6
|
+
<element name="_probability_min" rngui:label="Min in %">
|
7
|
+
<data type="integer" rngui:label="Percent 0-100">
|
8
|
+
<param name="minInclusive">1</param>
|
9
|
+
<param name="maxInclusive">100</param>
|
10
|
+
</data>
|
11
|
+
</element>
|
12
|
+
<element name="_probability_max" rngui:label="Max in %">
|
13
|
+
<data type="integer" rngui:label="Percent 0-100">
|
14
|
+
<param name="minInclusive">1</param>
|
15
|
+
<param name="maxInclusive">100</param>
|
16
|
+
</data>
|
17
|
+
</element>
|
18
|
+
<element name="_probability_avg" rngui:label="Avg in %">
|
19
|
+
<data type="integer" rngui:label="Percent 0-100">
|
20
|
+
<param name="minInclusive">1</param>
|
21
|
+
<param name="maxInclusive">100</param>
|
22
|
+
</data>
|
23
|
+
</element>
|
24
|
+
</element>
|
25
|
+
</element>
|