diff --git a/aops-zeus-v2.0.0.tar.gz b/aops-zeus-v2.0.0.tar.gz deleted file mode 100644 index 79539960551b050dd42321b596d28c3c940a14bf..0000000000000000000000000000000000000000 Binary files a/aops-zeus-v2.0.0.tar.gz and /dev/null differ diff --git a/aops-zeus-v2.0.1.tar.gz b/aops-zeus-v2.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e0c26663121eb2c83bb5b0a445827d763288aa46 Binary files /dev/null and b/aops-zeus-v2.0.1.tar.gz differ diff --git a/aops-zeus.spec b/aops-zeus.spec index a1cd9c51d3022fd0d6af168a85fdd8804215dd69..f7b8fa110919cb821772c82197a4e11ee60310fa 100644 --- a/aops-zeus.spec +++ b/aops-zeus.spec @@ -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 - v2.0.1-1 +- support osmind operation + * Thu Jul 18 2024 gongzhengtang - v2.0.0-1 - Update to v2.0.0 - Add microservice split, cluster management and user management