openwferu 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/{README → README.txt} +16 -13
- data/bin/validate-workflow.rb +46 -22
- data/examples/README.txt +8 -0
- data/examples/homeworkreview.rb +66 -0
- data/examples/quotereporter.rb +154 -0
- data/lib/{openwferu.rb → openwfe.rb} +6 -8
- data/lib/{ru → openwfe}/contextual.rb +11 -3
- data/lib/{ru → openwfe/engine}/engine.rb +50 -36
- data/lib/{ru/participant.rb → openwfe/engine/file_persisted_engine.rb} +21 -22
- data/lib/openwfe/expool/expressionpool.rb +534 -0
- data/lib/openwfe/expool/expstorage.rb +184 -0
- data/lib/openwfe/expool/journalexpstorage.rb +312 -0
- data/lib/openwfe/expool/yamlexpstorage.rb +127 -0
- data/lib/{ru → openwfe/expressions}/environment.rb +19 -14
- data/lib/{ru → openwfe/expressions}/expressionmap.rb +48 -21
- data/lib/{ru → openwfe/expressions}/fe_concurrence.rb +111 -35
- data/lib/openwfe/expressions/fe_cursor.rb +236 -0
- data/lib/{ru → openwfe/expressions}/fe_define.rb +5 -5
- data/lib/openwfe/expressions/fe_fqv.rb +99 -0
- data/lib/openwfe/expressions/fe_iterator.rb +182 -0
- data/lib/{ru/fe_misc.rb → openwfe/expressions/fe_losfor.rb} +14 -56
- data/lib/openwfe/expressions/fe_misc.rb +102 -0
- data/lib/{ru → openwfe/expressions}/fe_participant.rb +25 -14
- data/lib/{ru → openwfe/expressions}/fe_raw.rb +39 -75
- data/lib/{ru/fe_base.rb → openwfe/expressions/fe_sequence.rb} +40 -35
- data/lib/{ru → openwfe/expressions}/fe_subprocess.rb +30 -14
- data/lib/{ru → openwfe/expressions}/fe_time.rb +59 -31
- data/lib/{ru → openwfe/expressions}/fe_utils.rb +42 -26
- data/lib/{ru → openwfe/expressions}/fe_value.rb +20 -14
- data/lib/openwfe/expressions/flowexpression.rb +434 -0
- data/lib/openwfe/expressions/raw_prog.rb +391 -0
- data/lib/openwfe/expressions/raw_xml.rb +128 -0
- data/lib/openwfe/flowexpressionid.rb +148 -0
- data/lib/{ru → openwfe}/logging.rb +10 -6
- data/lib/{osocket.rb → openwfe/osocket.rb} +36 -35
- data/lib/{otime.rb → openwfe/otime.rb} +71 -21
- data/lib/openwfe/participants/atomparticipants.rb +144 -0
- data/lib/openwfe/participants/enoparticipant.rb +73 -0
- data/lib/openwfe/participants/participant.rb +85 -0
- data/lib/{ru → openwfe/participants}/participantmap.rb +40 -12
- data/lib/{ru → openwfe/participants}/participants.rb +41 -12
- data/lib/openwfe/participants/soapparticipants.rb +96 -0
- data/lib/{controlclient.rb → openwfe/rest/controlclient.rb} +12 -13
- data/lib/{definitions.rb → openwfe/rest/definitions.rb} +3 -3
- data/lib/{exception.rb → openwfe/rest/exception.rb} +3 -3
- data/lib/{restclient.rb → openwfe/rest/restclient.rb} +13 -22
- data/lib/{worklistclient.rb → openwfe/rest/worklistclient.rb} +33 -46
- data/lib/openwfe/rest/xmlcodec.rb +575 -0
- data/lib/{ru → openwfe}/rudefinitions.rb +32 -4
- data/lib/{ru → openwfe}/service.rb +20 -8
- data/lib/openwfe/storage/yamlfilestorage.rb +159 -0
- data/lib/{ru → openwfe/util}/dollar.rb +10 -8
- data/lib/openwfe/util/lru_cache.rb +149 -0
- data/lib/{ru → openwfe/util}/scheduler.rb +18 -10
- data/lib/{ru → openwfe/util}/schedulers.rb +7 -7
- data/lib/{utils.rb → openwfe/utils.rb} +93 -9
- data/lib/openwfe/workitem.rb +366 -0
- data/lib/openwfe/worklist/worklists.rb +175 -0
- data/test/README.txt +27 -0
- data/test/atomtest.rb +99 -0
- data/test/crontest.rb +58 -0
- data/test/dollartest.rb +3 -3
- data/test/feitest.rb +42 -14
- data/test/file_persistence_test.rb +93 -0
- data/test/flowtestbase.rb +72 -26
- data/test/ft_0.rb +1 -97
- data/test/ft_0b_sequence.rb +33 -0
- data/test/ft_0c_testname.rb +29 -0
- data/test/ft_10_loop.rb +48 -0
- data/test/ft_11_ppd.rb +292 -0
- data/test/ft_12_blockparticipant.rb +45 -0
- data/test/ft_13_eno.rb +51 -0
- data/test/ft_14_subprocess.rb +90 -0
- data/test/ft_14b_subprocess.rb +40 -0
- data/test/ft_15_iterator.rb +70 -0
- data/test/ft_16_fqv.rb +57 -0
- data/test/ft_1_unset.rb +25 -1
- data/test/ft_2_concurrence.rb +10 -5
- data/test/ft_3_equals.rb +35 -1
- data/test/ft_4_misc.rb +16 -1
- data/test/ft_5_time.rb +26 -1
- data/test/ft_6_lambda.rb +2 -1
- data/test/{ft_7_losfor.rb → ft_7_lose.rb} +41 -35
- data/test/ft_8_forget.rb +46 -0
- data/test/ft_9_cursor.rb +94 -0
- data/test/journal_persistence_test.rb +147 -0
- data/test/misctest.rb +13 -9
- data/test/rake_ptest.rb +18 -0
- data/test/rake_qtest.rb +43 -0
- data/test/{fulltest.rb → rake_test.rb} +2 -2
- data/test/raw_prog_test.rb +236 -0
- data/test/rest_test.rb +189 -0
- data/test/rutest_utils.rb +1 -1
- data/test/timetest.rb +42 -34
- metadata +125 -82
- data/lib/codec.rb +0 -573
- data/lib/flowexpressionid.rb +0 -139
- data/lib/ru/expressionpool.rb +0 -382
- data/lib/ru/expressionstorage.rb +0 -99
- data/lib/ru/flowexpression.rb +0 -272
- data/lib/ru/ruutils.rb +0 -70
- data/lib/test.rb +0 -222
- data/lib/workitem.rb +0 -249
- data/test/quicktest.rb +0 -21
data/test/rest_test.rb
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
#
|
|
2
|
+
#--
|
|
3
|
+
# Copyright (c) 2005-2007, John Mettraux, OpenWFE.org
|
|
4
|
+
# All rights reserved.
|
|
5
|
+
#
|
|
6
|
+
# Redistribution and use in source and binary forms, with or without
|
|
7
|
+
# modification, are permitted provided that the following conditions are met:
|
|
8
|
+
#
|
|
9
|
+
# . Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
# list of conditions and the following disclaimer.
|
|
11
|
+
#
|
|
12
|
+
# . Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
# this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
# and/or other materials provided with the distribution.
|
|
15
|
+
#
|
|
16
|
+
# . Neither the name of the "OpenWFE" nor the names of its contributors may be
|
|
17
|
+
# used to endorse or promote products derived from this software without
|
|
18
|
+
# specific prior written permission.
|
|
19
|
+
#
|
|
20
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
23
|
+
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
24
|
+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
25
|
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
26
|
+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
27
|
+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
28
|
+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
29
|
+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
30
|
+
# POSSIBILITY OF SUCH DAMAGE.
|
|
31
|
+
#--
|
|
32
|
+
#
|
|
33
|
+
# $Id: test.rb 3454 2006-10-08 16:51:00Z jmettraux $
|
|
34
|
+
#
|
|
35
|
+
|
|
36
|
+
#
|
|
37
|
+
# "hecho en Costa Rica"
|
|
38
|
+
# "Rewritten as a unit test in Japan"
|
|
39
|
+
#
|
|
40
|
+
|
|
41
|
+
require 'test/unit'
|
|
42
|
+
|
|
43
|
+
require 'worklistclient'
|
|
44
|
+
require 'controlclient'
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
#
|
|
48
|
+
# TESTING THE WORKLIST AND THE CONTROL INTERFACES
|
|
49
|
+
#
|
|
50
|
+
|
|
51
|
+
OWFE_HOST = ENV['OWFE_HOST']
|
|
52
|
+
OWFE_HOST = "127.0.0.1" if not OWFE_HOST
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class RestTest < Test::Unit::TestCase
|
|
56
|
+
|
|
57
|
+
#def setup
|
|
58
|
+
#end
|
|
59
|
+
|
|
60
|
+
#def teardown
|
|
61
|
+
#end
|
|
62
|
+
|
|
63
|
+
def test_worklist_0
|
|
64
|
+
#def xxxx_worklist_0
|
|
65
|
+
|
|
66
|
+
client = OpenWFE::WorklistClient\
|
|
67
|
+
.new("http://#{OWFE_HOST}:5080/worklist", "alice", "alice")
|
|
68
|
+
|
|
69
|
+
puts "session_id : #{client.session_id}"
|
|
70
|
+
|
|
71
|
+
#puts client.get('getstorenames', nil, nil)
|
|
72
|
+
|
|
73
|
+
puts "Stores :"
|
|
74
|
+
l = client.list_stores()
|
|
75
|
+
l.each do |s|
|
|
76
|
+
puts " - store name : '#{s.name}' wi count : #{s.workitem_count} permissions : #{s.permissions}"
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
puts
|
|
80
|
+
|
|
81
|
+
puts "launching a flow"
|
|
82
|
+
li = OpenWFE::LaunchItem.new()
|
|
83
|
+
li.workflow_definition_url = "http://localhost:7079/flow__1.0.xml"
|
|
84
|
+
li.attributes["__subject__"] = "openwfe-ruby"
|
|
85
|
+
|
|
86
|
+
fei = client.launch_flow("mainEngine", li)
|
|
87
|
+
puts fei
|
|
88
|
+
|
|
89
|
+
puts
|
|
90
|
+
|
|
91
|
+
feiToFetch = nil
|
|
92
|
+
|
|
93
|
+
puts "Store.alpha's headers :"
|
|
94
|
+
l = client.get_headers("Store.alpha")
|
|
95
|
+
l.each do |h|
|
|
96
|
+
puts " - header lastModified : #{h.last_modified} locked : #{h.locked} ac : #{h.attributes.length}"
|
|
97
|
+
puts " fei : #{h.flow_expression_id}"
|
|
98
|
+
|
|
99
|
+
feiToFetch = h.flow_expression_id
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
puts "Fetching the first workitem :"
|
|
103
|
+
wi = client.get_workitem("Store.alpha", feiToFetch)
|
|
104
|
+
|
|
105
|
+
#puts wi.inspect()
|
|
106
|
+
puts
|
|
107
|
+
|
|
108
|
+
puts "Fetching (and locking) the first workitem :"
|
|
109
|
+
wi = client.get_and_lock_workitem("Store.alpha", feiToFetch)
|
|
110
|
+
|
|
111
|
+
puts wi.inspect()
|
|
112
|
+
|
|
113
|
+
puts
|
|
114
|
+
|
|
115
|
+
puts "Releasing the workitem :"
|
|
116
|
+
puts "ok" if client.release_workitem(wi)
|
|
117
|
+
|
|
118
|
+
puts
|
|
119
|
+
|
|
120
|
+
puts "Listing launchables :"
|
|
121
|
+
client.list_launchables().each do |l|
|
|
122
|
+
puts " - launchable #{l.engine_id} :: #{l.url}"
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
puts
|
|
126
|
+
|
|
127
|
+
puts "Closing worklist worksession"
|
|
128
|
+
client.close()
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
def test_control_0
|
|
132
|
+
#def xxxx_control_0
|
|
133
|
+
|
|
134
|
+
puts "Testing the control interface..."
|
|
135
|
+
|
|
136
|
+
#
|
|
137
|
+
# launching a test flow
|
|
138
|
+
|
|
139
|
+
#TEST_NAME = '-- testing ruby control (0) --'
|
|
140
|
+
|
|
141
|
+
#client = OpenWFE::WorklistClient\
|
|
142
|
+
# .new("http://127.0.0.1:5080/worklist", "alice", "alice")
|
|
143
|
+
|
|
144
|
+
#li = OpenWFE::LaunchItem.new()
|
|
145
|
+
#li.workflowDefinitionUrl = "http://localhost:7079/flow__1.0.xml"
|
|
146
|
+
#li.attributes["__subject__"] = TEST_NAME
|
|
147
|
+
|
|
148
|
+
#fei = client.launchFlow("mainEngine", li)
|
|
149
|
+
#puts "launched : #{fei}"
|
|
150
|
+
|
|
151
|
+
#client.close()
|
|
152
|
+
|
|
153
|
+
#
|
|
154
|
+
# controlling the test flow
|
|
155
|
+
|
|
156
|
+
client = OpenWFE::ControlClient\
|
|
157
|
+
.new("http://#{OWFE_HOST}:6080/engine", "admin", "admin")
|
|
158
|
+
|
|
159
|
+
puts "sessionId : #{client.session_id}"
|
|
160
|
+
|
|
161
|
+
puts
|
|
162
|
+
|
|
163
|
+
puts "listing expressions :"
|
|
164
|
+
exps = client.list_expressions()
|
|
165
|
+
display_expressions(exps)
|
|
166
|
+
|
|
167
|
+
puts
|
|
168
|
+
|
|
169
|
+
wfid = exps[-1].id.workflow_instance_id
|
|
170
|
+
puts "get_flow_position() for flow #{wfid}"
|
|
171
|
+
exps = client.get_flow_position(wfid)
|
|
172
|
+
display_expressions(exps)
|
|
173
|
+
|
|
174
|
+
client.close()
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
protected
|
|
178
|
+
|
|
179
|
+
def display_expressions (exps)
|
|
180
|
+
i = 0
|
|
181
|
+
exps.each do |exp|
|
|
182
|
+
print " - exp #{i} : #{exp.id}"
|
|
183
|
+
print " / #{exp.apply_time}" if exp.apply_time
|
|
184
|
+
print "\n"
|
|
185
|
+
i = i+1
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
|
data/test/rutest_utils.rb
CHANGED
data/test/timetest.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
#
|
|
3
|
-
# Testing
|
|
3
|
+
# Testing OpenWFE
|
|
4
4
|
#
|
|
5
5
|
# John Mettraux at openwfe.org
|
|
6
6
|
#
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
#
|
|
9
9
|
|
|
10
10
|
require 'test/unit'
|
|
11
|
-
require 'otime'
|
|
12
|
-
require '
|
|
11
|
+
require 'openwfe/otime'
|
|
12
|
+
require 'openwfe/util/scheduler'
|
|
13
13
|
|
|
14
14
|
#
|
|
15
15
|
# testing otime and the scheduler
|
|
@@ -23,6 +23,30 @@ class TimeTest < Test::Unit::TestCase
|
|
|
23
23
|
#def teardown
|
|
24
24
|
#end
|
|
25
25
|
|
|
26
|
+
#def test_to_iso_date
|
|
27
|
+
def xxxx_to_iso_date
|
|
28
|
+
#
|
|
29
|
+
# well... this test is not timezone friendly...
|
|
30
|
+
# commented out thus...
|
|
31
|
+
|
|
32
|
+
t = 1169019813.93468
|
|
33
|
+
|
|
34
|
+
s = OpenWFE.to_iso8601_date(t)
|
|
35
|
+
puts s
|
|
36
|
+
|
|
37
|
+
assert \
|
|
38
|
+
OpenWFE.to_iso8601_date(t) == "2007-01-17 02:43:33-0500",
|
|
39
|
+
"conversion to iso8601 date failed"
|
|
40
|
+
|
|
41
|
+
d = OpenWFE.to_ruby_time(s)
|
|
42
|
+
|
|
43
|
+
#puts d.to_s
|
|
44
|
+
|
|
45
|
+
assert \
|
|
46
|
+
d.to_s == "2007-01-17T02:43:33-0500",
|
|
47
|
+
"iso8601 date parsing failed"
|
|
48
|
+
end
|
|
49
|
+
|
|
26
50
|
def test_is_digit
|
|
27
51
|
|
|
28
52
|
for i in 0...9
|
|
@@ -42,6 +66,7 @@ class TimeTest < Test::Unit::TestCase
|
|
|
42
66
|
|
|
43
67
|
def test_parse_time_string
|
|
44
68
|
|
|
69
|
+
pts("500", 0.5)
|
|
45
70
|
pts("1000", 1.0)
|
|
46
71
|
pts("1h", 3600.0)
|
|
47
72
|
pts("1h10s", 3610.0)
|
|
@@ -51,61 +76,44 @@ class TimeTest < Test::Unit::TestCase
|
|
|
51
76
|
|
|
52
77
|
$var = nil
|
|
53
78
|
|
|
54
|
-
scheduler =
|
|
79
|
+
scheduler = OpenWFE::Scheduler.new()
|
|
55
80
|
scheduler.start
|
|
56
81
|
|
|
57
|
-
scheduler.schedule_in('2s', TestSchedulable.new, nil)
|
|
58
|
-
|
|
59
|
-
sleep(2.5)
|
|
60
|
-
scheduler.stop
|
|
61
|
-
|
|
62
|
-
#puts ">#{$var}<"
|
|
82
|
+
sid = scheduler.schedule_in('2s', TestSchedulable.new, nil)
|
|
63
83
|
|
|
64
84
|
assert \
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
end
|
|
68
|
-
|
|
69
|
-
def test_cron_0
|
|
70
|
-
$var = 0
|
|
71
|
-
|
|
72
|
-
scheduler = OpenWFEru::Scheduler.new()
|
|
73
|
-
scheduler.start
|
|
85
|
+
sid,
|
|
86
|
+
"scheduler did not return a job id"
|
|
74
87
|
|
|
75
|
-
|
|
88
|
+
assert \
|
|
89
|
+
(not $var),
|
|
90
|
+
"scheduler_0 is blocking but should not"
|
|
76
91
|
|
|
77
|
-
sleep(
|
|
92
|
+
sleep(2.5)
|
|
78
93
|
scheduler.stop
|
|
79
94
|
|
|
80
95
|
#puts ">#{$var}<"
|
|
81
96
|
|
|
82
97
|
assert \
|
|
83
|
-
($var ==
|
|
84
|
-
"
|
|
98
|
+
($var == "ok"),
|
|
99
|
+
"scheduler_0 didn't work"
|
|
85
100
|
end
|
|
86
101
|
|
|
87
102
|
protected
|
|
88
103
|
|
|
89
104
|
class TestSchedulable
|
|
90
|
-
include
|
|
105
|
+
include OpenWFE::Schedulable
|
|
91
106
|
|
|
92
107
|
def trigger (params)
|
|
93
108
|
$var = "ok"
|
|
94
109
|
end
|
|
95
110
|
end
|
|
96
111
|
|
|
97
|
-
class CounterSchedulable
|
|
98
|
-
include OpenWFEru::Schedulable
|
|
99
|
-
|
|
100
|
-
def trigger (params)
|
|
101
|
-
$var = $var + 1
|
|
102
|
-
end
|
|
103
|
-
end
|
|
104
|
-
|
|
105
112
|
def pts (time_string, seconds)
|
|
113
|
+
|
|
106
114
|
assert \
|
|
107
|
-
|
|
108
|
-
|
|
115
|
+
OpenWFE::parse_time_string(time_string) == seconds,
|
|
116
|
+
"'#{time_string}' did not map to #{seconds} seconds"
|
|
109
117
|
end
|
|
110
118
|
|
|
111
119
|
end
|
metadata
CHANGED
|
@@ -3,11 +3,11 @@ rubygems_version: 0.9.0
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: openwferu
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 0.9.
|
|
7
|
-
date:
|
|
6
|
+
version: 0.9.2
|
|
7
|
+
date: 2007-01-26 00:00:00 +09:00
|
|
8
8
|
summary: An OpenWFE-compatible workflow engine in Ruby
|
|
9
9
|
require_paths:
|
|
10
|
-
- lib
|
|
10
|
+
- lib
|
|
11
11
|
email: john at openwfe dot org
|
|
12
12
|
homepage: http://rubyforge.org/projects/openwferu
|
|
13
13
|
rubyforge_project:
|
|
@@ -18,96 +18,139 @@ bindir: bin
|
|
|
18
18
|
has_rdoc: true
|
|
19
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
20
20
|
requirements:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
-
|
|
22
|
+
- ">"
|
|
23
|
+
- !ruby/object:Gem::Version
|
|
24
|
+
version: 0.0.0
|
|
24
25
|
version:
|
|
25
26
|
platform: ruby
|
|
26
27
|
signing_key:
|
|
27
28
|
cert_chain:
|
|
28
29
|
post_install_message:
|
|
29
30
|
authors:
|
|
30
|
-
- John Mettraux
|
|
31
|
-
- Alain Hoang
|
|
31
|
+
- John Mettraux
|
|
32
|
+
- Alain Hoang
|
|
32
33
|
files:
|
|
33
|
-
- bin/validate-workflow.rb
|
|
34
|
-
- lib/
|
|
35
|
-
- lib/
|
|
36
|
-
- lib/
|
|
37
|
-
- lib/
|
|
38
|
-
- lib/
|
|
39
|
-
- lib/
|
|
40
|
-
- lib/
|
|
41
|
-
- lib/
|
|
42
|
-
- lib/osocket.rb
|
|
43
|
-
- lib/otime.rb
|
|
44
|
-
- lib/
|
|
45
|
-
- lib/
|
|
46
|
-
- lib/
|
|
47
|
-
- lib/
|
|
48
|
-
- lib/
|
|
49
|
-
- lib/
|
|
50
|
-
- lib/
|
|
51
|
-
- lib/
|
|
52
|
-
- lib/
|
|
53
|
-
- lib/
|
|
54
|
-
- lib/
|
|
55
|
-
- lib/
|
|
56
|
-
- lib/
|
|
57
|
-
- lib/
|
|
58
|
-
- lib/
|
|
59
|
-
- lib/
|
|
60
|
-
- lib/
|
|
61
|
-
- lib/
|
|
62
|
-
- lib/
|
|
63
|
-
- lib/
|
|
64
|
-
- lib/
|
|
65
|
-
- lib/
|
|
66
|
-
- lib/
|
|
67
|
-
- lib/
|
|
68
|
-
- lib/
|
|
69
|
-
- lib/
|
|
70
|
-
- lib/
|
|
71
|
-
- lib/
|
|
72
|
-
- lib/
|
|
73
|
-
- lib/
|
|
74
|
-
- lib/
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
34
|
+
- bin/validate-workflow.rb
|
|
35
|
+
- lib/openwfe
|
|
36
|
+
- lib/openwfe.rb
|
|
37
|
+
- lib/openwfe/contextual.rb
|
|
38
|
+
- lib/openwfe/engine
|
|
39
|
+
- lib/openwfe/expool
|
|
40
|
+
- lib/openwfe/expressions
|
|
41
|
+
- lib/openwfe/flowexpressionid.rb
|
|
42
|
+
- lib/openwfe/logging.rb
|
|
43
|
+
- lib/openwfe/osocket.rb
|
|
44
|
+
- lib/openwfe/otime.rb
|
|
45
|
+
- lib/openwfe/participants
|
|
46
|
+
- lib/openwfe/rest
|
|
47
|
+
- lib/openwfe/rudefinitions.rb
|
|
48
|
+
- lib/openwfe/service.rb
|
|
49
|
+
- lib/openwfe/storage
|
|
50
|
+
- lib/openwfe/util
|
|
51
|
+
- lib/openwfe/utils.rb
|
|
52
|
+
- lib/openwfe/workitem.rb
|
|
53
|
+
- lib/openwfe/worklist
|
|
54
|
+
- lib/openwfe/engine/engine.rb
|
|
55
|
+
- lib/openwfe/engine/file_persisted_engine.rb
|
|
56
|
+
- lib/openwfe/expool/expressionpool.rb
|
|
57
|
+
- lib/openwfe/expool/expstorage.rb
|
|
58
|
+
- lib/openwfe/expool/journalexpstorage.rb
|
|
59
|
+
- lib/openwfe/expool/yamlexpstorage.rb
|
|
60
|
+
- lib/openwfe/expressions/environment.rb
|
|
61
|
+
- lib/openwfe/expressions/expressionmap.rb
|
|
62
|
+
- lib/openwfe/expressions/fe_concurrence.rb
|
|
63
|
+
- lib/openwfe/expressions/fe_cursor.rb
|
|
64
|
+
- lib/openwfe/expressions/fe_define.rb
|
|
65
|
+
- lib/openwfe/expressions/fe_fqv.rb
|
|
66
|
+
- lib/openwfe/expressions/fe_iterator.rb
|
|
67
|
+
- lib/openwfe/expressions/fe_losfor.rb
|
|
68
|
+
- lib/openwfe/expressions/fe_misc.rb
|
|
69
|
+
- lib/openwfe/expressions/fe_participant.rb
|
|
70
|
+
- lib/openwfe/expressions/fe_raw.rb
|
|
71
|
+
- lib/openwfe/expressions/fe_sequence.rb
|
|
72
|
+
- lib/openwfe/expressions/fe_subprocess.rb
|
|
73
|
+
- lib/openwfe/expressions/fe_time.rb
|
|
74
|
+
- lib/openwfe/expressions/fe_utils.rb
|
|
75
|
+
- lib/openwfe/expressions/fe_value.rb
|
|
76
|
+
- lib/openwfe/expressions/flowexpression.rb
|
|
77
|
+
- lib/openwfe/expressions/raw_prog.rb
|
|
78
|
+
- lib/openwfe/expressions/raw_xml.rb
|
|
79
|
+
- lib/openwfe/participants/atomparticipants.rb
|
|
80
|
+
- lib/openwfe/participants/enoparticipant.rb
|
|
81
|
+
- lib/openwfe/participants/participant.rb
|
|
82
|
+
- lib/openwfe/participants/participantmap.rb
|
|
83
|
+
- lib/openwfe/participants/participants.rb
|
|
84
|
+
- lib/openwfe/participants/soapparticipants.rb
|
|
85
|
+
- lib/openwfe/rest/controlclient.rb
|
|
86
|
+
- lib/openwfe/rest/definitions.rb
|
|
87
|
+
- lib/openwfe/rest/exception.rb
|
|
88
|
+
- lib/openwfe/rest/restclient.rb
|
|
89
|
+
- lib/openwfe/rest/worklistclient.rb
|
|
90
|
+
- lib/openwfe/rest/xmlcodec.rb
|
|
91
|
+
- lib/openwfe/storage/yamlfilestorage.rb
|
|
92
|
+
- lib/openwfe/util/dollar.rb
|
|
93
|
+
- lib/openwfe/util/lru_cache.rb
|
|
94
|
+
- lib/openwfe/util/scheduler.rb
|
|
95
|
+
- lib/openwfe/util/schedulers.rb
|
|
96
|
+
- lib/openwfe/worklist/worklists.rb
|
|
97
|
+
- test/atomtest.rb
|
|
98
|
+
- test/crontest.rb
|
|
99
|
+
- test/dollartest.rb
|
|
100
|
+
- test/feitest.rb
|
|
101
|
+
- test/file_persistence_test.rb
|
|
102
|
+
- test/flowtestbase.rb
|
|
103
|
+
- test/ft_0.rb
|
|
104
|
+
- test/ft_0b_sequence.rb
|
|
105
|
+
- test/ft_0c_testname.rb
|
|
106
|
+
- test/ft_10_loop.rb
|
|
107
|
+
- test/ft_11_ppd.rb
|
|
108
|
+
- test/ft_12_blockparticipant.rb
|
|
109
|
+
- test/ft_13_eno.rb
|
|
110
|
+
- test/ft_14_subprocess.rb
|
|
111
|
+
- test/ft_14b_subprocess.rb
|
|
112
|
+
- test/ft_15_iterator.rb
|
|
113
|
+
- test/ft_16_fqv.rb
|
|
114
|
+
- test/ft_1_unset.rb
|
|
115
|
+
- test/ft_2_concurrence.rb
|
|
116
|
+
- test/ft_3_equals.rb
|
|
117
|
+
- test/ft_4_misc.rb
|
|
118
|
+
- test/ft_5_time.rb
|
|
119
|
+
- test/ft_6_lambda.rb
|
|
120
|
+
- test/ft_7_lose.rb
|
|
121
|
+
- test/ft_8_forget.rb
|
|
122
|
+
- test/ft_9_cursor.rb
|
|
123
|
+
- test/journal_persistence_test.rb
|
|
124
|
+
- test/misctest.rb
|
|
125
|
+
- test/rake_ptest.rb
|
|
126
|
+
- test/rake_qtest.rb
|
|
127
|
+
- test/rake_test.rb
|
|
128
|
+
- test/raw_prog_test.rb
|
|
129
|
+
- test/README.txt
|
|
130
|
+
- test/rest_test.rb
|
|
131
|
+
- test/rutest_utils.rb
|
|
132
|
+
- test/timetest.rb
|
|
133
|
+
- examples/homeworkreview.rb
|
|
134
|
+
- examples/quotereporter.rb
|
|
135
|
+
- examples/README.txt
|
|
136
|
+
- README.txt
|
|
92
137
|
test_files:
|
|
93
|
-
- test/
|
|
138
|
+
- test/rake_test.rb
|
|
94
139
|
rdoc_options: []
|
|
95
|
-
|
|
96
140
|
extra_rdoc_files:
|
|
97
|
-
- README
|
|
141
|
+
- README.txt
|
|
98
142
|
executables: []
|
|
99
|
-
|
|
100
143
|
extensions: []
|
|
101
|
-
|
|
102
144
|
requirements:
|
|
103
|
-
- libxml-ruby
|
|
145
|
+
- libxml-ruby
|
|
104
146
|
dependencies:
|
|
105
|
-
- !ruby/object:Gem::Dependency
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
147
|
+
- !ruby/object:Gem::Dependency
|
|
148
|
+
name: libxml-ruby
|
|
149
|
+
version_requirement:
|
|
150
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
151
|
+
requirements:
|
|
152
|
+
-
|
|
153
|
+
- ">"
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: 0.0.0
|
|
156
|
+
version:
|