support osmind operation

This commit is contained in:
rearcher 2024-10-14 20:15:45 +08:00
parent 2409998f21
commit d92a1a82bd
3 changed files with 36 additions and 5 deletions

Binary file not shown.

BIN
aops-zeus-v2.0.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,5 +1,6 @@
%define vulcanus_version v2.0.0
Name: aops-zeus
Version: v2.0.0
Version: v2.0.1
Release: 1
Summary: A service which is the foundation of aops.
License: MulanPSL2
@ -18,7 +19,7 @@ Provides: aops-zeus
%package -n zeus-host-information
Summary: A host manager service which is the foundation of aops.
Requires: aops-vulcanus >= v2.0.0 aops-zeus >= v2.0.0
Requires: aops-vulcanus >= %{vulcanus_version} aops-zeus >= %{version}
Requires: python3-gevent python3-uWSGI python3-paramiko
%description -n zeus-host-information
@ -26,7 +27,7 @@ A host manager service which is the foundation of aops.
%package -n zeus-user-access
Summary: A user manager service which is the foundation of aops.
Requires: aops-vulcanus >= v2.0.0 aops-zeus >= v2.0.0
Requires: aops-vulcanus >= %{vulcanus_version} aops-zeus >= %{version}
Requires: python3-celery python3-uWSGI
%description -n zeus-user-access
@ -34,15 +35,23 @@ A user manager service which is the foundation of aops.
%package -n async-task
Summary: A async task of aops.
Requires: aops-vulcanus >= v2.0.0 python3-celery
Requires: aops-vulcanus >= %{vulcanus_version} python3-celery python3-paramiko
%description -n async-task
A async task of aops.
%package -n zeus-operation
Summary: A operation manager service which is the foundation of aops.
Requires: aops-vulcanus >= %{vulcanus_version} aops-zeus >= %{version}
Requires: python3-gevent python3-uWSGI python3-paramiko
%description -n zeus-operation
A operation manager of aops.
%package -n zeus-distribute
Summary: A distributed service of aops.
Requires: aops-vulcanus >= v2.0.0 aops-zeus >= v2.0.0
Requires: aops-vulcanus >= %{vulcanus_version} aops-zeus >= %{version}
Requires: python3-uWSGI python3-gevent
%description -n zeus-distribute
A distributed service of aops.
@ -59,6 +68,11 @@ pushd host-information-service
%py3_build
popd
# build for zeus-operation
pushd operation-service
%py3_build
popd
# build for zeus-user-access
pushd user-access-service
%py3_build
@ -84,6 +98,13 @@ mkdir -p %{buildroot}/opt/aops/database/
cp zeus/host_information_service/database/*.sql %{buildroot}/opt/aops/database/
popd
# install for zeus-operation
pushd operation-service
%py3_install
mkdir -p %{buildroot}/opt/aops/database/
cp zeus/operation_service/database/*.sql %{buildroot}/opt/aops/database/
popd
# install for zeus-user-access
pushd user-access-service
%py3_install
@ -115,6 +136,13 @@ popd
%{python3_sitelib}/zeus/host_information_service/*
%attr(0755, root, root) /opt/aops/database/*
%files -n zeus-operation
%attr(0644,root,root) %{_sysconfdir}/aops/conf.d/zeus-operation.yml
%attr(0755,root,root) %{_unitdir}/zeus-operation.service
%{python3_sitelib}/zeus_operation*.egg-info/*
%{python3_sitelib}/zeus/operation_service/*
%attr(0755, root, root) /opt/aops/database/*
%files -n zeus-user-access
%attr(0644,root,root) %{_sysconfdir}/aops/conf.d/zeus-user-access.yml
%attr(0755,root,root) %{_unitdir}/zeus-user-access.service
@ -139,6 +167,9 @@ popd
%{python3_sitelib}/zeus/distribute_service/*
%changelog
* Mon Oct 14 2024 luxuexian<luxuexian@huawei.com> - v2.0.1-1
- support osmind operation
* Thu Jul 18 2024 gongzhengtang<gong_zhengtang@163.com> - v2.0.0-1
- Update to v2.0.0
- Add microservice split, cluster management and user management