]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/org/argeo/slc/jcr/slc.cnd
Disable trace logging
[gpl/argeo-slc.git] / org.argeo.slc.core / src / 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 [slc:categorizedNameVersion] > slc:nameVersion
10 mixin
11 // define as mandatory?
12 - slc:category (STRING)
13
14 // AGENT
15 [slc:agentFactory] > nt:unstructured, mix:title
16 + * (slc:agent)
17
18 [slc:agent] > nt:unstructured, mix:title
19 + * (slc:module)
20
21 [slc:module] > slc:nameVersion, mix:title
22 mixin
23
24 [slc:activableModule] > slc:module
25 mixin
26
27 [slc:executionModule] > slc:activableModule
28 mixin
29
30 [slc:executionSpec] > nt:unstructured, mix:referenceable, mix:title
31 - slc:name (STRING) m
32 + * (slc:executionSpecAttribute) *
33
34 [slc:executionSpecAttribute] > nt:base
35 mixin abstract
36 - slc:isImmutable (BOOLEAN)
37 - slc:isConstant (BOOLEAN)
38 - slc:isHidden (BOOLEAN)
39
40 [slc:primitiveSpecAttribute] > slc:executionSpecAttribute
41 mixin
42 - slc:type (STRING)
43 - slc:value (UNDEFINED)
44
45 [slc:refSpecAttribute] > slc:executionSpecAttribute
46 orderable
47 mixin
48 // typically a class name
49 - slc:type (STRING)
50 - slc:value (UNDEFINED)
51 + * (mix:title)
52
53 [slc:executionFlow] > nt:unstructured, mix:title
54 - slc:name (STRING) ! m
55 // if the execution spec is a referenceable node
56 - slc:spec (REFERENCE)
57 // if the execution spec is internal (without name)
58 + * (slc:executionSpecAttribute) *
59
60 // PROCESS
61 [slc:process] > nt:unstructured, mix:created, mix:lastModified
62 orderable
63 - slc:uuid (STRING) ! m
64 - slc:status (STRING) m
65 + slc:flow (slc:realizedFlow)
66 + slc:log
67
68 // The first part of the relative path is the thread name, rest is location
69 [slc:logEntry] > nt:unstructured
70 abstract
71 - slc:message (STRING) !
72 - slc:timestamp (STRING)
73
74 // Log levels are set via types.
75 // Querying one level also queries the higher levels thanks to the inheritance
76 // e.g. 'select * from [slc:logWarn]' also returns errors
77 [slc:logTrace] > slc:logEntry
78
79 [slc:logDebug] > slc:logTrace
80
81 [slc:logInfo] > slc:logDebug
82
83 [slc:logWarning] > slc:logInfo
84
85 [slc:logError] > slc:logWarning
86
87 [slc:realizedFlow] > nt:base
88 orderable
89 mixin
90 // the name of the flow
91 // - slc:flow (STRING)
92 // the name of the execution spec
93 // - slc:spec (STRING)
94 - slc:started (DATE)
95 - slc:completed (DATE)
96 //- slc:status (STRING)
97 + slc:address (nt:address)
98 + slc:flow (slc:realizedFlow) *
99 // the realized execution spec attributes
100 + * (slc:executionSpecAttribute) *
101
102 // RESULT
103 [slc:testResult] > nt:unstructured, mix:created, mix:lastModified
104 - slc:uuid (STRING) ! m
105 - slc:testCase (STRING)
106 - slc:completed (DATE)
107 // Helper to keep a centralize place to have testResultStatus
108 // when adding more than one result part to a given testResult
109 + slc:aggregatedStatus (slc:check)
110 // DEPRECATED - FOR COMPATIBILITY - DO NOT USE
111 + slc:testStatus (slc:check)
112
113 [slc:diffResult] > slc:testResult
114 + slc:summary
115 + slc:issues
116
117 [slc:resultFolder] > nt:unstructured
118 + slc:folderStatus (slc:check)
119 + * (slc:resultFolder) *
120 + * (slc:testResult) *
121
122 // base node for user defined and managed result tree
123 // simplify UI management
124 [slc:myResultRootFolder] > nt:unstructured
125 + * (slc:resultFolder) *
126 + * (slc:testResult) *
127
128 [slc:check] > nt:unstructured
129 // true for PASSED, false for FAILED or ERROR
130 - slc:success (BOOLEAN) ! m
131 - slc:message (STRING)
132 // ERROR if set, the check could not be performed because of an unexpected exception
133 - slc:errorMessage (STRING)
134 // to ease transition with legacy approach
135 + * (slc:property) *
136
137 [slc:property] > nt:unstructured
138 - slc:name (STRING) ! m
139 - slc:value (STRING) m