mirror of
https://github.com/openharmony/update_updateservice.git
synced 2026-07-01 21:03:59 -04:00
fee05b26c3
Signed-off-by: 戴琨 <jack.dai@huawei.com>
40 lines
1.7 KiB
YAML
40 lines
1.7 KiB
YAML
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
domain: UPDATE
|
|
|
|
UPGRADE_INTERVAL:
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: system upgrade event interval}
|
|
VERSION_INFO: {type: STRING, desc: version info}
|
|
TYPE: {type: STRING, desc: check or download or install}
|
|
INTERVAL: {type: UINT64, desc: event interval}
|
|
|
|
SYSTEM_UPGRADE_FAULT:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: system upgrade fault event}
|
|
DEVICE_ID: {type: STRING, desc: update devId and control devId}
|
|
VERSION_INFO: {type: STRING, desc: version info}
|
|
FAILED_REASON: {type: STRING, desc: upgrade failed reason}
|
|
LOCATION: {type: STRING, desc: code location}
|
|
|
|
SYSTEM_UPGRADE:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: system upgrade event}
|
|
UPDATE_RESULT: {type: STRING, desc: system update result}
|
|
|
|
SYSTEM_RESET:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: system reset event}
|
|
RESET_RESULT: {type: STRING, desc: system reset result}
|
|
|
|
VERIFY_FAILED:
|
|
__BASE: {type: SECURITY, level: CRITICAL, desc: permission and data verify failed}
|
|
DEVICE_ID: {type: STRING, desc: upgrade devId and control devId}
|
|
DESCRIPTION: {type: STRING, desc: failed description} |