]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.jcr/src/main/resources/org/argeo/slc/jcr/slc.cnd
d644de3ca63177e54f584600270b0fa6e146015c
[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
60 [slc:realizedFlow] > nt:base
61 mixin
62 // the name of the flow
63 // - slc:flow (STRING)
64 // the name of the execution spec
65 // - slc:spec (STRING)
66 - slc:started (DATE)
67 - slc:completed (DATE)
68 + slc:address (nt:address)
69 + slc:flow (slc:realizedFlow) *
70 // the realized execution spec attributes
71 + * (slc:executionSpecAttribute) *
72
73 // RESULT
74 [slc:result] > nt:unstructured, mix:created, mix:lastModified
75 - slc:uuid (STRING) ! m
76 - slc:completed (DATE)
77
78 [slc:check] > nt:unstructured
79 // true for PASSED, false for FAILED or ERROR
80 - slc:success (BOOLEAN) ! m
81 - slc:message (STRING)
82 // ERROR if set, the check could not be performed because of an unexpected exception
83 - slc:errorMessage (STRING)
84 + * (slc:property) *
85
86 [slc:property] > nt:unstructured
87 - slc:name (STRING) ! m
88 - slc:value (STRING) m