conf sync optimization and add file trace interface

(cherry picked from commit f6ec2c621812ce176182c812dc2d514ac0b524d7)
This commit is contained in:
smjiao 2024-07-01 17:25:43 +08:00 committed by openeuler-sync-bot
parent 9a8b43fa49
commit e4d8a6109b
2 changed files with 3059 additions and 7 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
Name: aops-zeus Name: aops-zeus
Version: v1.4.0 Version: v1.4.0
Release: 7 Release: 9
Summary: A host and user manager service which is the foundation of aops. Summary: A host and user manager service which is the foundation of aops.
License: MulanPSL2 License: MulanPSL2
URL: https://gitee.com/openeuler/%{name} URL: https://gitee.com/openeuler/%{name}
@ -16,7 +16,7 @@ Patch0008: 0008-check-host-status-when-query-host-detail.patch
Patch0009: 0009-fix-error-log-when-query-host-status.patch Patch0009: 0009-fix-error-log-when-query-host-status.patch
Patch0010: 0010-update-the-exception-catching-type-of-the-function.patch Patch0010: 0010-update-the-exception-catching-type-of-the-function.patch
Patch0011: 0011-fix-command-injection-vulnerabilities.patch Patch0011: 0011-fix-command-injection-vulnerabilities.patch
Patch0012: 0012-conf-trace-info-and-conf-sync-optimize.patch
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
Requires: aops-vulcanus >= v1.3.0 Requires: aops-vulcanus >= v1.3.0
@ -43,19 +43,27 @@ A host and user manager service which is the foundation of aops.
%py3_install %py3_install
mkdir -p %{buildroot}/opt/aops/ mkdir -p %{buildroot}/opt/aops/
cp -r database %{buildroot}/opt/aops/ cp -r database %{buildroot}/opt/aops/
cp -r ansible_task %{buildroot}/opt/aops/
%files %files
%doc README.* %doc README.*
%attr(0644,root,root) %{_sysconfdir}/aops/zeus.ini %attr(0644,root,root) %{_sysconfdir}/aops/zeus.ini
%attr(0644,root,root) %{_sysconfdir}/aops/zeus_crontab.yml
%attr(0755,root,root) %{_bindir}/aops-zeus %attr(0755,root,root) %{_bindir}/aops-zeus
%attr(0755,root,root) /usr/lib/systemd/system/aops-zeus.service %attr(0755,root,root) /usr/lib/systemd/system/aops-zeus.service
%{python3_sitelib}/aops_zeus*.egg-info %{python3_sitelib}/aops_zeus*.egg-info
%{python3_sitelib}/zeus/* %{python3_sitelib}/zeus/*
%attr(0755, root, root) /opt/aops/database/* %attr(0755, root, root) /opt/aops/database/*
%attr(0755, root, root) /opt/aops/ansible_task/*
%changelog %changelog
* Mon Jul 01 2024 smjiao<smjiao@isoftstone.com> - v1.4.0-9
- file trace interface
* Mon Jul 01 2024 smjiao<smjiao@isoftstone.com> - v1.4.0-8
- conf trace sync interface optimization
* Thu Mar 07 2024 wenxin<wenxin32@foxmail.com> - v1.4.0-7 * Thu Mar 07 2024 wenxin<wenxin32@foxmail.com> - v1.4.0-7
- fix command injection vulnerabilities - fix command injection vulnerabilities
@ -154,3 +162,4 @@ cp -r database %{buildroot}/opt/aops/
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1 * Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
- Package init - Package init