Commit f93d14c
committed
feat(updateplatform): Add Helper support for machineID retrieval
and policy check interval configuration
- Added CheckPolicyInterval and GetHardwareIdByHelper fields to
the configuration structure;
- Added SetCheckPolicyInterval and SetStartCheckRange methods to
support dynamic adjustment of policy check configurations;
- Updated UpdatePlatformManager to support retrieving the machineID
via Helper, and added task ID management and event reporting
capabilities;
- Implemented the UpdateSourceList method for maintaining private
repository source files;
- Modified the hardware ID retrieval logic to add functionality
for obtaining the hardware ID via the DBus sync helper;
- Updated the Token configuration file generation logic to support
the new hardware ID retrieval method;
- Synchronized Token generation updates in the GatherInfo and
CheckPolicy tools to ensure authentication consistency;
- Added read/write methods for the cached task ID file to ensure
task information persistence and reading accuracy.
Task: https://pms.uniontech.com/task-view-385321.html1 parent 17c9c99 commit f93d14c
15 files changed
Lines changed: 321 additions & 41 deletions
File tree
- src
- internal
- config
- system
- updateplatform
- lastore-daemon
- lastore-tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| 202 | + | |
| 203 | + | |
200 | 204 | | |
201 | 205 | | |
202 | 206 | | |
| |||
620 | 624 | | |
621 | 625 | | |
622 | 626 | | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
623 | 645 | | |
624 | 646 | | |
625 | 647 | | |
| |||
897 | 919 | | |
898 | 920 | | |
899 | 921 | | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
900 | 932 | | |
901 | 933 | | |
902 | 934 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
0 commit comments