1
|
@namespace("eu.dnetlib.dhp.audit.schemas")
|
2
|
protocol DHP {
|
3
|
|
4
|
record Cause {
|
5
|
// generic cause code, root exception class name when derived from exception
|
6
|
string code;
|
7
|
// cause message
|
8
|
union { null , string } message = null;
|
9
|
}
|
10
|
|
11
|
record Fault {
|
12
|
// input object identifier
|
13
|
string inputObjectId;
|
14
|
// fault creation timestamp
|
15
|
long timestamp;
|
16
|
// generic fault code, root exception class name when derived from exception
|
17
|
string code;
|
18
|
// fault message
|
19
|
union { null , string } message = null;
|
20
|
// stack trace
|
21
|
union { null , string } stackTrace = null;
|
22
|
// fault causes, array is indexed with cause depth
|
23
|
union { null , array<Cause> } causes = null;
|
24
|
// Other supplementary data related to specific type of fault.
|
25
|
// See parameters description in oozie workflow.xml documentation of modules
|
26
|
// that use this structure for information what exactly can be stored as supplementary data.
|
27
|
union { null , map<string> } supplementaryData = null;
|
28
|
}
|
29
|
}
|