]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.jcr/src/main/resources/org/argeo/slc/jcr/slc.cnd
Improve diff issue
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.jcr / src / main / resources / org / argeo / slc / jcr / slc.cnd
1 <slc = 'http://www.argeo.org/ns/slc'>
2
3 // COMMON
4 [slc:nameVersion] > nt:base
5 mixin
6 - slc:name (STRING) m
7 - slc:version (STRING) m
8
9 // AGENT
10 [slc:agentFactory] > nt:unstructured, mix:title
11 + * (slc:agent)
12
13 [slc:agent] > nt:unstructured, mix:title
14 + * (slc:module)
15
16 [slc:module] > slc:nameVersion, mix:title
17 mixin
18
19 [slc:activableModule] > slc:module
20 mixin
21
22 [slc:executionModule] > slc:activableModule
23 mixin
24
25 [slc:executionSpec] > nt:unstructured, mix:referenceable, mix:title
26 - slc:name (STRING) m
27 + * (slc:executionSpecAttribute) *
28
29 [slc:executionSpecAttribute] > nt:base
30 mixin abstract
31 - slc:isImmutable (BOOLEAN)
32 - slc:isConstant (BOOLEAN)
33 - slc:isHidden (BOOLEAN)
34
35 [slc:primitiveSpecAttribute] > slc:executionSpecAttribute
36 mixin
37 - slc:type (STRING)
38 - slc:value (UNDEFINED)
39
40 [slc:refSpecAttribute] > slc:executionSpecAttribute
41 mixin
42 // typically a class name
43 - slc:type (STRING)
44 + slc:value
45 + * (mix:title)
46
47 [slc:executionFlow] > nt:unstructured, mix:title
48 - slc:name (STRING) ! m
49 // if the execution spec is a referenceable node
50 - slc:spec (REFERENCE)
51 // if the execution spec is internal (without name)
52 + * (slc:executionSpecAttribute) *
53
54 // PROCESS
55 [slc:process] > nt:unstructured, mix:created, mix:lastModified
56 - slc:uuid (STRING) ! m
57 - slc:status (STRING) m
58 + slc:flow (slc:realizedFlow)
59 + slc:log
60
61 // The first part of the relative path is the thread name, rest is location
62 [slc:logEntry] > nt:unstructured
63 abstract
64 - slc:message (STRING) !
65 - slc:timestamp (STRING)
66
67 // Log levels are set via types.
68 // Querying one level also queries the higher levels thanks to the inheritance
69 // e.g. 'select * from [slc:logWarn]' also returns errors
70 [slc:logTrace] > slc:logEntry
71
72 [slc:logDebug] > slc:logTrace
73
74 [slc:logInfo] > slc:logDebug
75
76 [slc:logWarning] > slc:logInfo
77
78 [slc:logError] > slc:logWarning
79
80 [slc:realizedFlow] > nt:base
81 mixin
82 // the name of the flow
83 // - slc:flow (STRING)
84 // the name of the execution spec
85 // - slc:spec (STRING)
86 - slc:started (DATE)
87 - slc:completed (DATE)
88 //- slc:status (STRING)
89 + slc:address (nt:address)
90 + slc:flow (slc:realizedFlow) *
91 // the realized execution spec attributes
92 + * (slc:executionSpecAttribute) *
93
94 // RESULT
95 [slc:result] > nt:unstructured, mix:created, mix:lastModified
96 - slc:uuid (STRING) ! m
97 - slc:testCase (STRING)
98 - slc:completed (DATE)
99
100 [slc:diffResult] > slc:result
101 + slc:summary
102 + slc:issues
103
104 [slc:check] > nt:unstructured
105 // true for PASSED, false for FAILED or ERROR
106 - slc:success (BOOLEAN) ! m
107 - slc:message (STRING)
108 // ERROR if set, the check could not be performed because of an unexpected exception
109 - slc:errorMessage (STRING)
110 // to ease transition with legacy approach
111 + * (slc:property) *
112
113 [slc:property] > nt:unstructured
114 - slc:name (STRING) ! m
115 - slc:value (STRING) m