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
@ -76,7 +84,7 @@ cp -r database %{buildroot}/opt/aops/
* Mon Dec 18 2023 wenxin<wenxin32@foxmail.com> - v1.4.0-2 * Mon Dec 18 2023 wenxin<wenxin32@foxmail.com> - v1.4.0-2
- Add interface for detecting host status. - Add interface for detecting host status.
- Update query host list api, add a new query method based on host name for it. - Update query host list api, add a new query method based on host name for it.
- Add rollback task execution method. - Add rollback task execution method.
- Fix cve scan callback error. - Fix cve scan callback error.
* Tue Dec 12 2023 wenxin<wenxin32@foxmail.com> - v1.4.0-1 * Tue Dec 12 2023 wenxin<wenxin32@foxmail.com> - v1.4.0-1
@ -95,7 +103,7 @@ cp -r database %{buildroot}/opt/aops/
* Wed Oct 18 2023 wenxin<wenxin32@foxmail.com> - v1.3.1-2 * Wed Oct 18 2023 wenxin<wenxin32@foxmail.com> - v1.3.1-2
- fix bug: metric proxy init failed - fix bug: metric proxy init failed
- add a way about key authentication for add host api - add a way about key authentication for add host api
- remove python3-prometheus-api-client - remove python3-prometheus-api-client
* Thu Sep 21 2023 wenxin<shusheng.wen@outlook.com> - v1.3.1-1 * Thu Sep 21 2023 wenxin<shusheng.wen@outlook.com> - v1.3.1-1
- update spec requires - update spec requires
@ -129,11 +137,11 @@ cp -r database %{buildroot}/opt/aops/
* Thu Apr 27 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-2 * Thu Apr 27 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-2
- Fix token is not invalidated after the token was refreshed - Fix token is not invalidated after the token was refreshed
- update args validation rules for add account and for add host - update args validation rules for add account and for add host
- replace thread scheduling with gevent scheduling when add host by batch - replace thread scheduling with gevent scheduling when add host by batch
* Mon Apr 17 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-1 * Mon Apr 17 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-1
- update the call method of ceres; add function how to add host from web - update the call method of ceres; add function how to add host from web
- add api: update host info - add api: update host info
* Tue Dec 27 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-4 * Tue Dec 27 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-4
- Modify uwsgi configuration file fields - Modify uwsgi configuration file fields
@ -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