]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.jcr/src/main/resources/org/argeo/slc/jcr/slc.cnd
Update license header
[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 orderable
42 mixin
43 // typically a class name
44 - slc:type (STRING)
45 - slc:value (UNDEFINED)
46 + * (mix:title)
47
48 [slc:executionFlow] > nt:unstructured, mix:title
49 - slc:name (STRING) ! m
50 // if the execution spec is a referenceable node
51 - slc:spec (REFERENCE)
52 // if the execution spec is internal (without name)
53 + * (slc:executionSpecAttribute) *
54
55 // PROCESS
56 [slc:process] > nt:unstructured, mix:created, mix:lastModified
57 orderable
58 - slc:uuid (STRING) ! m
59 - slc:status (STRING) m
60 + slc:flow (slc:realizedFlow)
61 + slc:log
62
63 // The first part of the relative path is the thread name, rest is location
64 [slc:logEntry] > nt:unstructured
65 abstract
66 - slc:message (STRING) !
67 - slc:timestamp (STRING)
68
69 // Log levels are set via types.
70 // Querying one level also queries the higher levels thanks to the inheritance
71 // e.g. 'select * from [slc:logWarn]' also returns errors
72 [slc:logTrace] > slc:logEntry
73
74 [slc:logDebug] > slc:logTrace
75
76 [slc:logInfo] > slc:logDebug
77
78 [slc:logWarning] > slc:logInfo
79
80 [slc:logError] > slc:logWarning
81
82 [slc:realizedFlow] > nt:base
83 orderable
84 mixin
85 // the name of the flow
86 // - slc:flow (STRING)
87 // the name of the execution spec
88 // - slc:spec (STRING)
89 - slc:started (DATE)
90 - slc:completed (DATE)
91 //- slc:status (STRING)
92 + slc:address (nt:address)
93 + slc:flow (slc:realizedFlow) *
94 // the realized execution spec attributes
95 + * (slc:executionSpecAttribute) *
96
97 // RESULT
98 [slc:result] > nt:unstructured, mix:created, mix:lastModified
99 - slc:uuid (STRING) ! m
100 - slc:testCase (STRING)
101 - slc:completed (DATE)
102
103 [slc:diffResult] > slc:result
104 + slc:summary
105 + slc:issues
106
107 [slc:check] > nt:unstructured
108 // true for PASSED, false for FAILED or ERROR
109 - slc:success (BOOLEAN) ! m
110 - slc:message (STRING)
111 // ERROR if set, the check could not be performed because of an unexpected exception
112 - slc:errorMessage (STRING)
113 // to ease transition with legacy approach
114 + * (slc:property) *
115
116 [slc:property] > nt:unstructured
117 - slc:name (STRING) ! m
118 - slc:value (STRING) m