cpee 2.1.85 → 2.1.87
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.
- checksums.yaml +4 -4
- data/cockpit/css/llm.css +79 -0
- data/cockpit/css/ui.css +11 -2
- data/cockpit/edit.html +6 -4
- data/cockpit/graph.html +5 -3
- data/cockpit/index.html +6 -4
- data/cockpit/js/instance.js +7 -0
- data/cockpit/js/llm.js +185 -0
- data/cockpit/js/llm_alternative.js +90 -0
- data/cockpit/js/ui.js +15 -15
- data/cockpit/js/wfadaptor.js +0 -1
- data/cockpit/llm.html +292 -0
- data/cockpit/llm_alternative.html +294 -0
- data/cockpit/model.html +4 -2
- data/cockpit/only_llm.html +250 -0
- data/cockpit/templates/Subprocess.xml +2 -16
- data/cockpit/templates/Worklist.xml +2 -1
- data/cockpit/themes/base.js +6 -1
- data/cockpit/track.html +5 -3
- data/cpee.gemspec +1 -1
- data/lib/cpee/implementation.rb +1 -2
- data/lib/cpee/implementation_callbacks.rb +69 -60
- data/lib/cpee/implementation_notifications.rb +36 -25
- data/lib/cpee/implementation_properties.rb +84 -30
- data/lib/cpee/statemachine.rb +7 -2
- data/lib/properties.xml +7 -0
- data/server/executionhandlers/ruby/ShiftingTestSimple.xml +100 -0
- data/server/executionhandlers/ruby/connection.rb +2 -1
- data/server/executionhandlers/ruby/dsl_to_dslx.xsl +9 -3
- metadata +9 -7
- data/server/resources/transformation.xml +0 -53
- data/server/routing/end.pid +0 -1
- data/server/routing/forward-events-00.pid +0 -1
- data/server/routing/forward-votes.pid +0 -1
- data/server/routing/persist.pid +0 -1
@@ -84,10 +84,11 @@ module CPEE
|
|
84
84
|
end
|
85
85
|
on resource 'dslx' do
|
86
86
|
run CPEE::Properties::GetComplex, 'dslx', 'text/xml', id, opts if get
|
87
|
+
run CPEE::Properties::PutDescription, id, opts, true if put 'dslx'
|
87
88
|
end
|
88
89
|
on resource 'description' do
|
89
90
|
run CPEE::Properties::GetComplex, 'description', 'text/xml', id, opts if get
|
90
|
-
run CPEE::Properties::PutDescription, id, opts if put 'description'
|
91
|
+
run CPEE::Properties::PutDescription, id, opts, false if put 'description'
|
91
92
|
end
|
92
93
|
on resource 'transformation' do
|
93
94
|
run CPEE::Properties::GetTransformation, id, opts if get
|
@@ -147,7 +148,9 @@ module CPEE
|
|
147
148
|
id = @a[0]
|
148
149
|
opts = @a[1]
|
149
150
|
if opts[:statemachine].readonly? id
|
150
|
-
@status =
|
151
|
+
@status = 423
|
152
|
+
elsif opts[:statemachine].final? id
|
153
|
+
@status = 410
|
151
154
|
else
|
152
155
|
doc = XML::Smart::string(@p[0].value.read)
|
153
156
|
doc.register_namespace 'p', 'http://cpee.org/ns/properties/2.0'
|
@@ -224,7 +227,9 @@ module CPEE
|
|
224
227
|
id = @a[0]
|
225
228
|
opts = @a[1]
|
226
229
|
if opts[:statemachine].readonly? id
|
227
|
-
@status =
|
230
|
+
@status = 423
|
231
|
+
elsif opts[:statemachine].final? id
|
232
|
+
@status = 410
|
228
233
|
else
|
229
234
|
doc = XML::Smart::string(@p[0].value.read)
|
230
235
|
doc.register_namespace 'p', 'http://cpee.org/ns/properties/2.0'
|
@@ -310,7 +315,9 @@ module CPEE
|
|
310
315
|
id = @a[0]
|
311
316
|
opts = @a[1]
|
312
317
|
if opts[:statemachine].readonly? id
|
313
|
-
@status =
|
318
|
+
@status = 423
|
319
|
+
elsif opts[:statemachine].final? id
|
320
|
+
@status = 410
|
314
321
|
else
|
315
322
|
PutStatus::set id, opts, @p[0].value.read
|
316
323
|
end
|
@@ -360,6 +367,8 @@ module CPEE
|
|
360
367
|
opts = @a[1]
|
361
368
|
if opts[:statemachine].readonly? id
|
362
369
|
@status = 423
|
370
|
+
elsif opts[:statemachine].final? id
|
371
|
+
@status = 410
|
363
372
|
else
|
364
373
|
PutExecutionHandler::set(id,opts,@p[0].value)
|
365
374
|
end
|
@@ -396,6 +405,8 @@ module CPEE
|
|
396
405
|
opts = @a[2]
|
397
406
|
if opts[:statemachine].readonly? id
|
398
407
|
@status = 423
|
408
|
+
elsif opts[:statemachine].final? id
|
409
|
+
@status = 410
|
399
410
|
else
|
400
411
|
begin
|
401
412
|
PatchItems::set(item,id,opts,@p[0].value.read)
|
@@ -425,6 +436,8 @@ module CPEE
|
|
425
436
|
opts = @a[2]
|
426
437
|
if opts[:statemachine].readonly? id
|
427
438
|
@status = 423
|
439
|
+
elsif opts[:statemachine].final? id
|
440
|
+
@status = 410
|
428
441
|
else
|
429
442
|
begin
|
430
443
|
PutItems::set(item,id,opts,@p[0].value.read)
|
@@ -442,6 +455,8 @@ module CPEE
|
|
442
455
|
opts = @a[2]
|
443
456
|
if opts[:statemachine].readonly? id
|
444
457
|
@status = 423
|
458
|
+
elsif opts[:statemachine].final? id
|
459
|
+
@status = 410
|
445
460
|
else
|
446
461
|
begin
|
447
462
|
doc = XML::Smart::string(@p[0].value.read)
|
@@ -495,6 +510,8 @@ module CPEE
|
|
495
510
|
val = { @r.last => nil }
|
496
511
|
if opts[:statemachine].readonly? id
|
497
512
|
@status = 423
|
513
|
+
elsif opts[:statemachine].final? id
|
514
|
+
@status = 410
|
498
515
|
else
|
499
516
|
if CPEE::Persistence::extract_item(id,opts,@r.join('/'))
|
500
517
|
CPEE::Persistence::set_list(id,opts,item,val,val.keys)
|
@@ -554,6 +571,8 @@ module CPEE
|
|
554
571
|
opts = @a[1]
|
555
572
|
if opts[:statemachine].readonly? id
|
556
573
|
@status = 423
|
574
|
+
elsif opts[:statemachine].final? id
|
575
|
+
@status = 410
|
557
576
|
else
|
558
577
|
begin
|
559
578
|
PatchPositions::set(id,opts,@p[0].value.read)
|
@@ -591,6 +610,8 @@ module CPEE
|
|
591
610
|
opts = @a[1]
|
592
611
|
if opts[:statemachine].readonly? id
|
593
612
|
@status = 423
|
613
|
+
elsif opts[:statemachine].final? id
|
614
|
+
@status = 410
|
594
615
|
else
|
595
616
|
begin
|
596
617
|
PutPositions::set(id,opts,@p[0].value.read)
|
@@ -607,6 +628,8 @@ module CPEE
|
|
607
628
|
opts = @a[1]
|
608
629
|
if opts[:statemachine].readonly? id
|
609
630
|
@status = 423
|
631
|
+
elsif opts[:statemachine].final? id
|
632
|
+
@status = 410
|
610
633
|
else
|
611
634
|
begin
|
612
635
|
doc = XML::Smart::string(@p[0].value.read)
|
@@ -694,10 +717,10 @@ module CPEE
|
|
694
717
|
ep = {}
|
695
718
|
|
696
719
|
### endpoints extraction
|
697
|
-
addit = if tendptype == 'rest' && !
|
698
|
-
srv = Riddl::Client.
|
720
|
+
addit = if tendptype == 'rest' && !tendp.empty?
|
721
|
+
srv = Riddl::Client.new(tendp)
|
699
722
|
status, res = srv.post [
|
700
|
-
Riddl::Parameter::Complex.new("description","text/xml",descxml),
|
723
|
+
desc.nil? ? Riddl::Parameter::Complex.new("description","text/plain",descxml) : Riddl::Parameter::Complex.new("description","text/xml",descxml),
|
701
724
|
Riddl::Parameter::Simple.new("type","endpoints")
|
702
725
|
]
|
703
726
|
if status >= 200 && status < 300
|
@@ -705,7 +728,7 @@ module CPEE
|
|
705
728
|
else
|
706
729
|
raise 'Could not extract endpoints'
|
707
730
|
end
|
708
|
-
elsif tendptype == 'xslt' && !
|
731
|
+
elsif tendptype == 'xslt' && !tendp.empty?
|
709
732
|
trans = XML::Smart::open_unprotected(tendp.text)
|
710
733
|
desc.transform_with(trans)
|
711
734
|
elsif tendptype == 'clean'
|
@@ -723,9 +746,9 @@ module CPEE
|
|
723
746
|
addit = if tdesctype == 'copy' || tdesc.empty?
|
724
747
|
desc || ''
|
725
748
|
elsif tdesctype == 'rest' && !tdesc.empty?
|
726
|
-
srv = Riddl::Client.
|
749
|
+
srv = Riddl::Client.new(tdesc)
|
727
750
|
status, res = srv.post [
|
728
|
-
Riddl::Parameter::Complex.new("description","text/xml",descxml),
|
751
|
+
desc.nil? ? Riddl::Parameter::Complex.new("description","text/plain",descxml) : Riddl::Parameter::Complex.new("description","text/xml",descxml),
|
729
752
|
Riddl::Parameter::Simple.new("type","description")
|
730
753
|
]
|
731
754
|
if status >= 200 && status < 300
|
@@ -748,9 +771,9 @@ module CPEE
|
|
748
771
|
|
749
772
|
### dataelements extraction
|
750
773
|
addit = if tdatatype == 'rest' && !tdata.empty?
|
751
|
-
srv = Riddl::Client.
|
774
|
+
srv = Riddl::Client.new(tdata)
|
752
775
|
status, res = srv.post [
|
753
|
-
Riddl::Parameter::Complex.new("description","text/xml",descxml),
|
776
|
+
desc.nil? ? Riddl::Parameter::Complex.new("description","text/plain",descxml) : Riddl::Parameter::Complex.new("description","text/xml",descxml),
|
754
777
|
Riddl::Parameter::Simple.new("type","dataelements")
|
755
778
|
]
|
756
779
|
if status >= 200 && status < 300
|
@@ -775,40 +798,69 @@ module CPEE
|
|
775
798
|
[dslx, dsl, de, ep]
|
776
799
|
end #}}}
|
777
800
|
|
778
|
-
def self::set(id,opts,xml)
|
779
|
-
dslx, dsl, de, ep =
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
801
|
+
def self::set(id,opts,xml,exposition=[],copy=false)
|
802
|
+
dslx, dsl, de, ep = if copy
|
803
|
+
PutDescription::transform(
|
804
|
+
xml,
|
805
|
+
'',
|
806
|
+
'copy',
|
807
|
+
'',
|
808
|
+
'none',
|
809
|
+
'',
|
810
|
+
'none',
|
811
|
+
CPEE::Persistence::extract_item(id,opts,'executionhandler'),
|
812
|
+
id,
|
813
|
+
opts
|
814
|
+
)
|
815
|
+
else
|
816
|
+
PutDescription::transform(
|
817
|
+
xml,
|
818
|
+
CPEE::Persistence::extract_item(id,opts,'transformation/description'),
|
819
|
+
CPEE::Persistence::extract_item(id,opts,'transformation/description/@type'),
|
820
|
+
CPEE::Persistence::extract_item(id,opts,'transformation/dataelements'),
|
821
|
+
CPEE::Persistence::extract_item(id,opts,'transformation/dataelements/@type'),
|
822
|
+
CPEE::Persistence::extract_item(id,opts,'transformation/endpoints'),
|
823
|
+
CPEE::Persistence::extract_item(id,opts,'transformation/endpoints/@type'),
|
824
|
+
CPEE::Persistence::extract_item(id,opts,'executionhandler'),
|
825
|
+
id,
|
826
|
+
opts
|
827
|
+
)
|
828
|
+
end
|
829
|
+
attrs = CPEE::Persistence::extract_list(id,opts,'attributes').to_h
|
830
|
+
change_uuid = Digest::SHA1.hexdigest(dslx)
|
791
831
|
CPEE::Persistence::set_item(id,opts,'description',
|
792
832
|
:description => xml,
|
793
833
|
:dslx => dslx,
|
834
|
+
:change_uuid => change_uuid,
|
794
835
|
:dsl => dsl,
|
795
836
|
:dataelements => CPEE::Persistence::extract_list(id,opts,'dataelements').to_h,
|
796
837
|
:endpoints => CPEE::Persistence::extract_list(id,opts,'endpoints').to_h,
|
797
|
-
:attributes =>
|
838
|
+
:attributes => attrs
|
798
839
|
)
|
799
840
|
PatchItems::set_hash('dataelements',id,opts,de) unless de.empty?
|
800
|
-
PatchItems::set_hash('
|
841
|
+
PatchItems::set_hash('endpoints',id,opts,ep) unless ep.empty?
|
842
|
+
exposition.each do |exp|
|
843
|
+
content = {
|
844
|
+
:change_uuid => change_uuid,
|
845
|
+
:exposition => exp.value.read,
|
846
|
+
:attributes => attrs
|
847
|
+
}
|
848
|
+
CPEE::Message::send(:event,'description/exposition',File.join(opts[:url],'/'),id,attrs['uuid'],attrs['info'],content,opts[:redis])
|
849
|
+
end
|
801
850
|
end
|
802
851
|
|
803
852
|
def response
|
804
853
|
id = @a[0]
|
805
854
|
opts = @a[1]
|
855
|
+
copy = @a[2]
|
806
856
|
if opts[:statemachine].readonly? id
|
807
|
-
@status =
|
857
|
+
@status = 423
|
858
|
+
elsif opts[:statemachine].final? id
|
859
|
+
@status = 410
|
808
860
|
else
|
809
861
|
begin
|
810
862
|
# force-encoding because johannes managed to sneak in ascii special characters. why the browser is not sanitizing it is beyond me.
|
811
|
-
PutDescription::set(id,opts,@p[0].value.read.force_encoding('UTF-8'))
|
863
|
+
PutDescription::set(id,opts,@p[0].value.read.force_encoding('UTF-8'),@p[1..-1],copy)
|
812
864
|
rescue => e
|
813
865
|
puts e.message
|
814
866
|
puts e.backtrace
|
@@ -852,7 +904,9 @@ module CPEE
|
|
852
904
|
id = @a[0]
|
853
905
|
opts = @a[1]
|
854
906
|
if opts[:statemachine].readonly? id
|
855
|
-
@status =
|
907
|
+
@status = 423
|
908
|
+
elsif opts[:statemachine].final? id
|
909
|
+
@status = 410
|
856
910
|
else
|
857
911
|
PutTransformation::set(id,opts,@p[0].value.read)
|
858
912
|
end
|
data/lib/cpee/statemachine.rb
CHANGED
@@ -15,10 +15,11 @@
|
|
15
15
|
module CPEE
|
16
16
|
|
17
17
|
class StateMachine
|
18
|
-
def initialize(file
|
18
|
+
def initialize(file,&state)
|
19
19
|
@states = XML::Smart.open_unprotected(file)
|
20
20
|
@state = state
|
21
|
-
@readonly =
|
21
|
+
@readonly = @states.find("/states/observable/*[*]").map { |e| e.qname.name }
|
22
|
+
@final = @states.find("/states/observable/*[not(*)]").map { |e| e.qname.name }
|
22
23
|
end
|
23
24
|
|
24
25
|
def setable?(id,nval)
|
@@ -29,6 +30,10 @@ module CPEE
|
|
29
30
|
def readonly?(id)
|
30
31
|
@readonly.include? @state.call(id)
|
31
32
|
end
|
33
|
+
|
34
|
+
def final?(id)
|
35
|
+
@final.include? @state.call(id)
|
36
|
+
end
|
32
37
|
end
|
33
38
|
|
34
39
|
end
|
data/lib/properties.xml
CHANGED
@@ -130,9 +130,15 @@
|
|
130
130
|
</message> <!--}}}-->
|
131
131
|
<message name="dslx"> <!--{{{-->
|
132
132
|
<parameter name="dslx" mimetype="*/xml"/>
|
133
|
+
<zeroOrMore>
|
134
|
+
<parameter name="exposition" mimetype="*"/>
|
135
|
+
</zeroOrMore>
|
133
136
|
</message> <!--}}}-->
|
134
137
|
<message name="description"> <!--{{{-->
|
135
138
|
<parameter name="description" mimetype="*"/>
|
139
|
+
<zeroOrMore>
|
140
|
+
<parameter name="exposition" mimetype="*"/>
|
141
|
+
</zeroOrMore>
|
136
142
|
</message> <!--}}}-->
|
137
143
|
|
138
144
|
<message name="transformation"> <!--{{{-->
|
@@ -221,6 +227,7 @@
|
|
221
227
|
</resource> <!--}}}-->
|
222
228
|
<resource relative="dslx"> <!--{{{-->
|
223
229
|
<get out="dslx"/>
|
230
|
+
<put in="dslx"/>
|
224
231
|
</resource> <!--}}}-->
|
225
232
|
<resource relative="description"> <!--{{{-->
|
226
233
|
<get out="description"/>
|
@@ -0,0 +1,100 @@
|
|
1
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
2
|
+
<_generic/>
|
3
|
+
<_shifting>
|
4
|
+
<_shifting_factor>45 minutes</_shifting_factor>
|
5
|
+
<_shifting_start>!data.basedate + ", 12:00"</_shifting_start>
|
6
|
+
<_shifting_modifier>2</_shifting_modifier>
|
7
|
+
</_shifting>
|
8
|
+
<_context_data_analysis>
|
9
|
+
<probes/>
|
10
|
+
<ips/>
|
11
|
+
</_context_data_analysis>
|
12
|
+
<loop mode="pre_test" condition="true">
|
13
|
+
<_probability>
|
14
|
+
<_probability_min/>
|
15
|
+
<_probability_max/>
|
16
|
+
<_probability_avg/>
|
17
|
+
</_probability>
|
18
|
+
<parallel wait="-1" cancel="last">
|
19
|
+
<parallel_branch pass="" local="">
|
20
|
+
<call id="a1" endpoint="send">
|
21
|
+
<parameters>
|
22
|
+
<label>send message</label>
|
23
|
+
<arguments>
|
24
|
+
<timeout>1</timeout>
|
25
|
+
<ignore/>
|
26
|
+
</arguments>
|
27
|
+
</parameters>
|
28
|
+
<annotations>
|
29
|
+
<_generic/>
|
30
|
+
<_timing>
|
31
|
+
<_timing_weight/>
|
32
|
+
<_timing_avg/>
|
33
|
+
<explanations/>
|
34
|
+
</_timing>
|
35
|
+
<_shifting>
|
36
|
+
<_shifting_type>Duration</_shifting_type>
|
37
|
+
<_shifting_expression>!rand(1.. 3) + " days"</_shifting_expression>
|
38
|
+
</_shifting>
|
39
|
+
<_context_data_analysis>
|
40
|
+
<probes/>
|
41
|
+
<ips/>
|
42
|
+
</_context_data_analysis>
|
43
|
+
<report>
|
44
|
+
<url/>
|
45
|
+
</report>
|
46
|
+
<_notes>
|
47
|
+
<_notes_general/>
|
48
|
+
</_notes>
|
49
|
+
</annotations>
|
50
|
+
<documentation>
|
51
|
+
<input/>
|
52
|
+
<output/>
|
53
|
+
<implementation>
|
54
|
+
<description/>
|
55
|
+
</implementation>
|
56
|
+
</documentation>
|
57
|
+
</call>
|
58
|
+
</parallel_branch>
|
59
|
+
<parallel_branch pass="" local="">
|
60
|
+
<call id="a5" endpoint="timeout">
|
61
|
+
<parameters>
|
62
|
+
<label>Wait till 16:00</label>
|
63
|
+
<arguments>
|
64
|
+
<timeout>2</timeout>
|
65
|
+
</arguments>
|
66
|
+
</parameters>
|
67
|
+
<annotations>
|
68
|
+
<_timing>
|
69
|
+
<_timing_weight/>
|
70
|
+
<_timing_avg/>
|
71
|
+
<explanations/>
|
72
|
+
</_timing>
|
73
|
+
<_shifting>
|
74
|
+
<_shifting_type>Ends</_shifting_type>
|
75
|
+
<_shifting_expression>same day, 16:00</_shifting_expression>
|
76
|
+
</_shifting>
|
77
|
+
<_context_data_analysis>
|
78
|
+
<probes/>
|
79
|
+
<ips/>
|
80
|
+
</_context_data_analysis>
|
81
|
+
<report>
|
82
|
+
<url/>
|
83
|
+
</report>
|
84
|
+
<_notes>
|
85
|
+
<_notes_general/>
|
86
|
+
</_notes>
|
87
|
+
</annotations>
|
88
|
+
<documentation>
|
89
|
+
<input/>
|
90
|
+
<output/>
|
91
|
+
<implementation>
|
92
|
+
<description/>
|
93
|
+
</implementation>
|
94
|
+
</documentation>
|
95
|
+
</call>
|
96
|
+
</parallel_branch>
|
97
|
+
</parallel>
|
98
|
+
<stop id="a4"/>
|
99
|
+
</loop>
|
100
|
+
</description>
|
@@ -467,7 +467,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
467
467
|
end #}}}
|
468
468
|
def join_branches(id, branches = []) # factual, so for inclusive or [[a],[b],[c,d,e]] {{{
|
469
469
|
payload = { :instance_uuid => @controller.uuid, :ecid => id.to_s }
|
470
|
-
payload[:branches] = branches
|
470
|
+
payload[:branches] = branches if branches.length > 0
|
471
|
+
payload[:branches_length] = branches.length if branches.length > 0
|
471
472
|
@controller.notify("gateway/join", payload )
|
472
473
|
end #}}}
|
473
474
|
end
|
@@ -519,7 +519,9 @@
|
|
519
519
|
<xsl:otherwise>
|
520
520
|
<xsl:choose>
|
521
521
|
<xsl:when test="substring(text(),1,1) = '!'">
|
522
|
-
<xsl:
|
522
|
+
<xsl:text>🠊("</xsl:text>
|
523
|
+
<xsl:value-of select="str:replace(str:replace(substring(text(),2),'\','\\'),'"','\"')"/>
|
524
|
+
<xsl:text>")</xsl:text>
|
523
525
|
</xsl:when>
|
524
526
|
<xsl:otherwise>
|
525
527
|
<xsl:text>"</xsl:text>
|
@@ -548,7 +550,9 @@
|
|
548
550
|
<xsl:otherwise>
|
549
551
|
<xsl:choose>
|
550
552
|
<xsl:when test="substring(text(),1,1) = '!'">
|
551
|
-
<xsl:
|
553
|
+
<xsl:text>🠊("</xsl:text>
|
554
|
+
<xsl:value-of select="str:replace(str:replace(substring(text(),2),'\','\\'),'"','\"')"/>
|
555
|
+
<xsl:text>")</xsl:text>
|
552
556
|
</xsl:when>
|
553
557
|
<xsl:otherwise>
|
554
558
|
<xsl:text>"</xsl:text>
|
@@ -577,7 +581,9 @@
|
|
577
581
|
<xsl:otherwise>
|
578
582
|
<xsl:choose>
|
579
583
|
<xsl:when test="substring(text(),1,1) = '!'">
|
580
|
-
<xsl:
|
584
|
+
<xsl:text>🠊("</xsl:text>
|
585
|
+
<xsl:value-of select="str:replace(str:replace(substring(text(),2),'\','\\'),'"','\"')"/>
|
586
|
+
<xsl:text>")</xsl:text>
|
581
587
|
</xsl:when>
|
582
588
|
<xsl:otherwise>
|
583
589
|
<xsl:text>"</xsl:text>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.87
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
- Gerhard Stuermer
|
10
10
|
bindir: tools
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: riddl
|
@@ -209,6 +209,7 @@ files:
|
|
209
209
|
- cockpit/contrib/transformation2.xsl
|
210
210
|
- cockpit/contrib/tree_example.svg
|
211
211
|
- cockpit/css/graph.css
|
212
|
+
- cockpit/css/llm.css
|
212
213
|
- cockpit/css/model.css
|
213
214
|
- cockpit/css/resources-label.css
|
214
215
|
- cockpit/css/resources-svg.css
|
@@ -221,6 +222,8 @@ files:
|
|
221
222
|
- cockpit/js/details.js
|
222
223
|
- cockpit/js/edit.js
|
223
224
|
- cockpit/js/instance.js
|
225
|
+
- cockpit/js/llm.js
|
226
|
+
- cockpit/js/llm_alternative.js
|
224
227
|
- cockpit/js/model.js
|
225
228
|
- cockpit/js/modifiers.js
|
226
229
|
- cockpit/js/parameters.js
|
@@ -229,7 +232,10 @@ files:
|
|
229
232
|
- cockpit/js/ui.js
|
230
233
|
- cockpit/js/wfadaptor.js
|
231
234
|
- cockpit/js_libs.zip
|
235
|
+
- cockpit/llm.html
|
236
|
+
- cockpit/llm_alternative.html
|
232
237
|
- cockpit/model.html
|
238
|
+
- cockpit/only_llm.html
|
233
239
|
- cockpit/rngs/attributes.rng
|
234
240
|
- cockpit/rngs/dataelements.rng
|
235
241
|
- cockpit/rngs/endpoints.rng
|
@@ -907,6 +913,7 @@ files:
|
|
907
913
|
- server/executionhandlers/eval/controller.rb
|
908
914
|
- server/executionhandlers/eval/dsl_to_dslx.xsl
|
909
915
|
- server/executionhandlers/eval/execution.rb
|
916
|
+
- server/executionhandlers/ruby/ShiftingTestSimple.xml
|
910
917
|
- server/executionhandlers/ruby/backend/README.md
|
911
918
|
- server/executionhandlers/ruby/backend/instance.template
|
912
919
|
- server/executionhandlers/ruby/backend/opts.yaml
|
@@ -922,14 +929,9 @@ files:
|
|
922
929
|
- server/resources/states.dot
|
923
930
|
- server/resources/states.xml
|
924
931
|
- server/resources/topics.xml
|
925
|
-
- server/resources/transformation.xml
|
926
|
-
- server/routing/end.pid
|
927
932
|
- server/routing/end.rb
|
928
|
-
- server/routing/forward-events-00.pid
|
929
933
|
- server/routing/forward-events.rb
|
930
|
-
- server/routing/forward-votes.pid
|
931
934
|
- server/routing/forward-votes.rb
|
932
|
-
- server/routing/persist.pid
|
933
935
|
- server/routing/persist.rb
|
934
936
|
- server/server.pid
|
935
937
|
- tools/cpee
|
@@ -1,53 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
This file is part of CPEE.
|
3
|
-
|
4
|
-
CPEE is free software: you can redistribute it and/or modify it under the terms
|
5
|
-
of the GNU General Public License as published by the Free Software Foundation,
|
6
|
-
either version 3 of the License, or (at your option) any later version.
|
7
|
-
|
8
|
-
CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
|
9
|
-
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
10
|
-
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
11
|
-
|
12
|
-
You should have received a copy of the GNU General Public License along with
|
13
|
-
CPEE (file COPYING in the main directory). If not, see
|
14
|
-
<http://www.gnu.org/licenses/>.
|
15
|
-
-->
|
16
|
-
|
17
|
-
<description datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://riddl.org/ns/description/1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
18
|
-
|
19
|
-
<message name="description">
|
20
|
-
<parameter name="description" mimetype="text/xml"/>
|
21
|
-
</message>
|
22
|
-
<message name="dataelements">
|
23
|
-
<zeroOrMore>
|
24
|
-
<parameter name="name" type="string"/>
|
25
|
-
<parameter name="value" type="string"/>
|
26
|
-
</zeroOrMore>
|
27
|
-
</message>
|
28
|
-
<message name="endpoints">
|
29
|
-
<zeroOrMore>
|
30
|
-
<parameter name="name" type="string"/>
|
31
|
-
<parameter name="value" type="string"/>
|
32
|
-
</zeroOrMore>
|
33
|
-
</message>
|
34
|
-
|
35
|
-
<message name="dedesc">
|
36
|
-
<parameter name="description" mimetype="text/xml"/>
|
37
|
-
<parameter name="type" fixed="description"/>
|
38
|
-
</message>
|
39
|
-
<message name="dadesc">
|
40
|
-
<parameter name="description" mimetype="text/xml"/>
|
41
|
-
<parameter name="type" fixed="dataelements"/>
|
42
|
-
</message>
|
43
|
-
<message name="endesc">
|
44
|
-
<parameter name="description" mimetype="text/xml"/>
|
45
|
-
<parameter name="type" fixed="endpoints"/>
|
46
|
-
</message>
|
47
|
-
|
48
|
-
<resource>
|
49
|
-
<post in="dedesc" out="description"/>
|
50
|
-
<post in="dadesc" out="dataelements"/>
|
51
|
-
<post in="endesc" out="endpoints"/>
|
52
|
-
</resource>
|
53
|
-
</description>
|
data/server/routing/end.pid
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
88347
|
@@ -1 +0,0 @@
|
|
1
|
-
88365
|
@@ -1 +0,0 @@
|
|
1
|
-
88359
|
data/server/routing/persist.pid
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
88353
|