1#  Copyright (c) 2022 Huawei Device Co., Ltd.
2#  Licensed under the Apache License, Version 2.0 (the "License");
3#  you may not use this file except in compliance with the License.
4#  You may obtain a copy of the License at
5#
6#      http://www.apache.org/licenses/LICENSE-2.0
7#
8#  Unless required by applicable law or agreed to in writing, software
9#  distributed under the License is distributed on an "AS IS" BASIS,
10#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11#  See the License for the specific language governing permissions and
12#  limitations under the License.
13
14domain: COMMONEVENT
15
16# fault event
17ORDERED_EVENT_PROC_TIMEOUT:
18  __BASE: {type: FAULT, level: MINOR, desc: process ordered event timeout}
19  USER_ID: {type: INT32, desc: userId}
20  BUNDLE_NAME_OF_SUBSCRIBER: {type: STRING, desc: bundle name of subscriber}
21  PID: {type: INT32, desc: subscriber pid}
22  UID: {type: INT32, desc: subscriber uid}
23  EVENT_NAME: {type: STRING, desc: event name}
24
25STATIC_EVENT_PROC_ERROR:
26  __BASE: {type: FAULT, level: MINOR, desc: process static event error}
27  USER_ID: {type: INT32, desc: userId}
28  BUNDLE_NAME_OF_PUBLISHER: {type: STRING, desc: bundle name of publisher}
29  BUNDLE_NAME_OF_SUBSCRIBER: {type: STRING, desc: bundle name of subscriber}
30  EVENT_NAME: {type: STRING, desc: event name}
31
32SUBSCRIBER_EXCEED_MAXIMUM:
33  __BASE: {type: FAULT, level: MINOR, desc: number of subscriber exceed maximum}
34  USER_ID: {type: INT32, desc: userId}
35  EVENT_NAME: {type: STRING, desc: event name}
36  SUBSCRIBER_NUM: {type: UINT32, desc: current subscriber number}
37
38PUBLISH_ERROR:
39  __BASE: {type: FAULT, level: MINOR, desc: publish event error}
40  USER_ID: {type: INT32, desc: userId}
41  BUNDLE_NAME_OF_PUBLISHER: {type: STRING, desc: bundle name of publisher}
42  PID: {type: INT32, desc: publisher pid}
43  UID: {type: INT32, desc: publisher uid}
44  EVENT_NAME: {type: STRING, desc: published event name}
45
46# statistic event
47SUBSCRIBE:
48  __BASE: {type: STATISTIC, level: MINOR, desc: subscribe event}
49  USER_ID: {type: INT32, desc: userId}
50  BUNDLE_NAME_OF_SUBSCRIBER: {type: STRING, desc: bundle name of subscriber}
51  PID: {type: INT32, desc: subscriber pid}
52  UID: {type: INT32, desc: subscriber uid}
53  EVENT_NAME: {type: STRING, desc: subscribed event name}
54
55UNSUBSCRIBE:
56  __BASE: {type: STATISTIC, level: MINOR, desc: unsubscribe event}
57  USER_ID: {type: INT32, desc: userId}
58  BUNDLE_NAME_OF_SUBSCRIBER: {type: STRING, desc: bundle name of subscriber}
59  PID: {type: INT32, desc: subscriber pid}
60  UID: {type: INT32, desc: subscriber uid}
61  EVENT_NAME: {type: STRING, desc: subscribed event name}
62
63PUBLISH:
64  __BASE: {type: STATISTIC, level: MINOR, desc: publish event}
65  USER_ID: {type: INT32, desc: userId}
66  BUNDLE_NAME_OF_PUBLISHER: {type: STRING, desc: bundle name of publisher}
67  PID: {type: INT32, desc: publisher pid}
68  UID: {type: INT32, desc: publisher uid}
69  EVENT_NAME: {type: STRING, desc: published event name}
70
71STATIC_SUBSCRIBER_START:
72  __BASE: {type: STATISTIC, level: MINOR, desc: static subscriber ability start}
73  USER_ID: {type: INT32, desc: userId}
74  BUNDLE_NAME_OF_SUBSCRIBER: {type: STRING, desc: bundle name of subscriber}
75  PID: {type: INT32, desc: subscriber pid}
76  UID: {type: INT32, desc: subscriber uid}
77  EVENT_NAME: {type: STRING, desc: subscribed event name}
78  ABILITY_NAME: {type: STRING, desc: the name of ability}
79
80STATIC_SUBSCRIBER_RUNTIME:
81  __BASE: {type: STATISTIC, level: MINOR, desc: static subscriber ability run time}
82  USER_ID: {type: INT32, desc: userId}
83  BUNDLE_NAME_OF_SUBSCRIBER: {type: STRING, desc: bundle name of subscriber}
84  PID: {type: INT32, desc: subscriber pid}
85  UID: {type: INT32, desc: subscriber uid}
86  EVENT_NAME: {type: STRING, desc: subscribed event name}
87  ABILITY_NAME: {type: STRING, desc: the name of ability}
88  RESULT_CODE: {type: INT32, desc: ability disconnect result}