aops-hermes/aops-hermes.spec
Hu gang cda952ca5a bugfix: optimize the logic of adding hosts in host management
(cherry picked from commit a0dbce377542cf0a350affb8ba0c5a5a4963261d)
2023-11-28 10:09:40 +08:00

128 lines
4.6 KiB
RPMSpec

%define debug_package %{nil}
Name: aops-hermes
Version: v1.3.5
Release: 2
Summary: Web for an intelligent diagnose frame
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
Source0: %{name}-%{version}.tar.gz
Source1: node_modules.tar.gz
Patch0001: 0001-fix-add-host-model.patch
BuildRequires: nodejs node-gyp nodejs-yarn
Requires: nginx
%description
Web for an intelligent diagnose frame
%prep
%autosetup -n %{name}-%{version} -p1
%setup -T -D -a 1
%build
yarn build
%install
mkdir -p %{buildroot}/opt/aops/web
cp -r dist %{buildroot}/opt/aops/web/
mkdir -p %{buildroot}/%{_sysconfdir}/nginx
cp -r deploy/aops-nginx.conf %{buildroot}/%{_sysconfdir}/nginx/
mkdir -p %{buildroot}/usr/lib/systemd/system
cp -r deploy/aops-hermes.service %{buildroot}/usr/lib/systemd/system/
%files
%attr(0755, root, root) /opt/aops/web/dist/*
%attr(0755, root, root) %{_sysconfdir}/nginx/aops-nginx.conf
%attr(0755, root, root) /usr/lib/systemd/system/aops-hermes.service
%changelog
* Mon Nov 27 2023 Hu gang<18768366022@163.com> - v1.3.5-2
- Resolve the problem of host display of the expanded menu in the host management batch adding host interface
- Optimize the logic of adding hosts in batches under different circumstances
* Fri Nov 24 2023 Hu gang<18768366022@163.com> - v1.3.5-1
- Update the master branch code to the 1.3.5
* Tue Nov 14 2023 wangkunlong<505997900@qq.com> - v1.3.4-1
- update 22.03 LTS NEXT branch code to 1.3.4
* Wed Jun 14 2023 wangkunlong<505997900@qq.com> - v1.2.1-7
- The host list under cve has been fixed and the hot patch repair column has been changed to support hot patches
- The CVE list under the host list has-not been fixed and the hot patch support has been changed-to support hot patches
- Generate support for hot patches in the CVE repair task and add tooltip help text after accepting or not
* Fri Jun 9 2023 wangkunlong<505997900@qq.com> - v1.2.1-6
- Fix-token-refresh-issue
- Solve-the-issue-of-unreasonable-layout-in-the-CVE-detail-interface
- Resolve-the-issue-of-incorrect-task-list-filtering
* Fri Jun 2 2023 wangkunlong<505997900@qq.com> - v1.2.1-5
- Add host under cve hotpatch Filtering function
* Fri Jun 2 2023 wangkunlong<505997900@qq.com> - v1.2.1-4
- Add Hot patch Filtering function
* Fri Jun 2 2023 wangkunlong<505997900@qq.com> - v1.2.1-3
- Add the 'accepted' parameter to the interface for creating cve repair tasks
- Modify the cve list under the host and the hot patch support in the affected host list under cve to display two fields: hot patch repair and status
- Modify the display of host status in the host management interface
* Thu Jun 1 2023 wangkunlong<505997900@qq.com> - v1.2.1-2
- Resolve the issue of abnormal page display when switching host details
- Resolve the issue of host details and hot patch support column filtering failure
- Resolve the issue of incorrect filtering conditions in the "Rollback Status" column of the CVE list for task details
- Resolve the issue of incorrect display of the latest status of the host on the task details pag
* Tue May 23 2023 wangkunlong<505997900@qq.com> - v1.2.1-1
- Vulnerability Management Part Code Hot Update Function Update
* Fri Apr 28 2023 wangkunlong<505997900@qq.com> - v1.2.0-2
- Optimize page loading speed
- Optimize routing
- Optimize login and exit interface
- Solve the inconsistency in verifying the host name field between the front and back ends when adding hosts in a single and batch manner
- Optimize login interface UI display
- Resolve the display of registration interface icons and text
- Solve legacy issues with batch adding hosts and editing host interfaces
- Optimize CVE list refresh logic
- Add exit interface
- Optimize Gitee authorization login jump logic
* Mon Apr 17 2023 wangkunlong<505997900@qq.com> - v1.2.0-1
- add host interfaces, optimize the display effect of some interfaces
* Mon Dec 19 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-4
- Fix the bugs that are found
* Tue Dec 13 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-3
- Fix the bug that the total number of alarms is not synchronously refreshed
* Mon Dec 12 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.1.2-2
- fix some bugs in diana website
* Wed Dec 07 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-1
- fix some bugs
* Fri Dec 02 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-1
- fix some bugs
* Sat Nov 26 2022 gongzhengtang<gong_zhengtang@163.com> - v1.1.0-3
- Fix param error and input limit of length
* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-2
- Adjust the code style
* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-1
- Fix the bug of cve vulnerability management module
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
- Package init