]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.api/src/org/argeo/slc/slc.cnd
Start working on migration to new format.
[gpl/argeo-slc.git] / org.argeo.slc.api / src / org / argeo / slc / 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
140
141 //
142 // DISTRIBUTION
143 //
144
145 // AETHER
146 [slc:artifact] > mix:referenceable, mix:created, mix:lastModified
147 mixin
148 - slc:artifactId (STRING) m
149 - slc:groupId (STRING) m
150 - slc:artifactVersion (STRING) m
151 - slc:artifactExtension (STRING) m
152 - slc:artifactClassifier (STRING) ='' m a
153
154 [slc:artifactVersion] > mix:referenceable, mix:created, mix:lastModified, mix:title
155 mixin
156 - slc:artifactId (STRING) m
157 - slc:groupId (STRING) m
158 - slc:artifactVersion (STRING) m
159
160 [slc:artifactBase] > mix:referenceable, mix:created, mix:lastModified
161 mixin
162 - slc:artifactId (STRING) m
163 - slc:groupId (STRING) m
164
165 [slc:groupBase] > mix:referenceable, mix:created, mix:lastModified
166 mixin
167 // it is possible to have groupBase being artifact base (e.g. org.argeo.commons.basic)
168 // so using groupId would conflict
169 - slc:groupBaseId (STRING) m
170
171 [slc:modularDistributionBase]
172 mixin
173
174 [slc:modularDistribution]
175 mixin
176 + slc:modules (nt:unstructured) m
177
178 [slc:moduleCoordinates] > nt:unstructured
179 - slc:category (STRING)
180 - slc:name (STRING)
181 - slc:version (STRING)
182
183 // ORIGINS
184 [slc:knownOrigin] > nt:base
185 mixin
186 + slc:origin (nt:address)
187
188 [slc:proxied] > nt:address
189 - slc:proxy (REFERENCE)
190
191 // JAVA
192 [slc:jarFile] > mix:referenceable
193 mixin
194 - 'slc:manifest' (BINARY) m
195 - 'slc:Manifest-Version' (STRING)
196 - 'slc:Signature-Version' (STRING)
197 - 'slc:Class-Path' (STRING)
198 - 'slc:Main-Class' (STRING)
199 - 'slc:Extension-Name' (STRING)
200 - 'slc:Implementation-Version' (STRING)
201 - 'slc:Implementation-Vendor' (STRING)
202 - 'slc:Implementation-Vendor-Id' (STRING)
203 - 'slc:Implementation-URL' (STRING)
204 - 'slc:Specification-Title' (STRING)
205 - 'slc:Specification-Version' (STRING)
206 - 'slc:Specification-Vendor' (STRING)
207 - 'slc:Sealed' (STRING)
208
209 // OSGi
210 // see http://www.osgi.org/Specifications/Reference
211
212 [slc:javaPackage] > mix:referenceable
213 - slc:name (STRING) primary m
214
215 [slc:osgiBaseVersion] > mix:referenceable
216 - slc:asString (STRING) primary m
217 - slc:major (LONG) m
218 - slc:minor (LONG) m
219 - slc:micro (LONG) m
220
221 [slc:osgiVersion] > slc:osgiBaseVersion
222 - slc:qualifier (STRING)
223
224 [slc:exportedPackage] > slc:javaPackage
225 + slc:uses (slc:javaPackage) multiple
226 + slc:version (slc:osgiVersion)
227
228 [slc:importedPackage] > slc:javaPackage
229 - slc:version (STRING) ='0.0.0' m a
230 - slc:optional (BOOLEAN) ='false' m a
231
232 [slc:dynamicImportedPackage] > slc:javaPackage
233 - slc:version (STRING) ='0.0.0' m a
234 - slc:optional (BOOLEAN) ='false' m a
235
236 [slc:requiredBundle] > mix:referenceable
237 - 'slc:symbolic-name' (STRING) primary m
238 - 'slc:bundle-version' (STRING) ='0.0.0' m a
239 - slc:optional (BOOLEAN) ='false' m a
240
241 [slc:fragmentHost] > mix:referenceable
242 - 'slc:symbolic-name' (STRING) m
243 - 'slc:bundle-version' (STRING) ='0.0.0' m a
244
245 [slc:bundleNativeCode] > mix:referenceable
246 - slc:path (STRING) primary m
247 - slc:osname (STRING)
248 - slc:processor (STRING)
249
250 // see http://www.osgi.org/Specifications/ReferenceHeaders
251 [slc:bundle] > mix:referenceable
252 mixin
253 - 'slc:symbolic-name' (STRING) primary m
254 - 'slc:bundle-version' (STRING) m
255 - 'slc:Bundle-SymbolicName' (STRING) m
256 - 'slc:Bundle-Name' (STRING)
257 - 'slc:Bundle-Description' (STRING)
258 - 'slc:Bundle-ManifestVersion' (STRING)
259 - 'slc:Bundle-Category' (STRING)
260 - 'slc:Bundle-ActivationPolicy' (STRING)
261 - 'slc:Bundle-Copyright' (STRING)
262 - 'slc:Bundle-Vendor' (STRING)
263 - 'slc:Bundle-License' (STRING)
264 - 'slc:Bundle-DocURL' (STRING)
265 - 'slc:Bundle-ContactAddress' (STRING)
266 - 'slc:Bundle-Activator' (STRING)
267 - 'slc:Bundle-UpdateLocation' (STRING)
268 - 'slc:Bundle-Localization' (STRING)
269 - 'slc:Bundle-ClassPath' (STRING) *
270 // see http://wiki.eclipse.org/EE < 'OSGi/Minimum-1.0','OSGi/Minimum-1.1','CDC-1.0/Foundation-1.0','CDC-1.1/Foundation-1.1','JRE-1.1','J2SE-1.2','J2SE-1.3','J2SE-1.4','J2SE-1.5','JavaSE-1.6','JavaSE-1.7'
271 - 'slc:Bundle-RequiredExecutionEnvironment' (STRING) *
272 + 'slc:Bundle-Version' (slc:osgiVersion) m
273 + 'slc:Fragment-Host' (slc:fragmentHost)
274 + 'slc:Import-Package' (slc:importedPackage) multiple
275 + 'slc:Export-Package' (slc:exportedPackage) multiple
276 + 'slc:Require-Bundle' (slc:requiredBundle) multiple
277 + 'slc:Bundle-NativeCode' (slc:bundleNativeCode) multiple
278 + 'slc:DynamicImport-Package' (slc:dynamicImportedPackage) multiple
279
280 [slc:bundleArtifact] > slc:artifact,slc:jarFile,slc:bundle
281 mixin
282
283 // RPM
284 [slc:rpm] > mix:referenceable, mix:created, mix:lastModified, mix:title
285 mixin
286 - slc:name (STRING)
287 - slc:version (STRING)
288 - slc:rpmVersion (STRING)
289 - slc:rpmRelease (STRING)
290 - slc:rpmArch (STRING)
291 - slc:rpmArchiveSize (STRING)
292 // TYPO - TO BE REMOVED
293 - slc:rpmArchivaeSize (STRING)
294