Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename repository #26

Merged
merged 2 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ protocol.
You can install with `pip` (it is recommended to install in a virtualenv!):

```shell
pip install -U git+https://github.com/EGI-Federation/fedcloud-vm-monitoring.git
pip install -U git+https://github.com/EGI-Federation/fedcloud-monitoring-tools.git
```

Some sites use certificates issued by certificate authorities that are not
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

import click
import yaml
from fedcloud_vm_monitoring.accounting import Accounting
from fedcloud_vm_monitoring.appdb import AppDB
from fedcloud_vm_monitoring.goc import GOCDB
from fedcloud_monitoring_tools.accounting import Accounting
from fedcloud_monitoring_tools.appdb import AppDB
from fedcloud_monitoring_tools.goc import GOCDB


def check_site_slas(site, site_slas, goc, acct, appdb):
Expand Down Expand Up @@ -67,7 +67,7 @@ def main(
vo_map_src = f.read()
else:
vo_map_src = importlib.resources.read_text(
"fedcloud_vm_monitoring.data", "vos.yaml"
"fedcloud_monitoring_tools.data", "vos.yaml"
)
vo_map = yaml.load(vo_map_src, Loader=yaml.SafeLoader)
acct = Accounting()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Monitor VM instances running in the provider"""

import click
from fedcloud_vm_monitoring.appdb import AppDB
from fedcloud_vm_monitoring.site_monitor import SiteMonitor, SiteMonitorException
from fedcloud_monitoring_tools.appdb import AppDB
from fedcloud_monitoring_tools.site_monitor import SiteMonitor, SiteMonitorException
from fedcloudclient.decorators import oidc_params
from fedcloudclient.sites import list_sites

Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[tool.poetry]
name = "fedcloud-vm-monitoring"
name = "fedcloud-monitoring-tools"
version = "0.2.1"
description = "Monitoring fedcloud VMs and sites"
authors = ["Giuseppe La Rocca <giuseppe.larocca@egi.eu>",
"Enol Fernandez <enol.fernandez@egi.eu>"]
"Sebastián Luna-Valero <sebastian.luna.valero@egi.eu>",
"Enol Fernández <enol.fernandez@egi.eu>"]
readme = "README.md"
include = [
{ path = "fedcloud_vm_monitoring/data", format = ["sdist", "wheel"] }
{ path = "fedcloud_monitoring_tools/data", format = ["sdist", "wheel"] }
]

[tool.poetry.scripts]
fedcloud-vo-monitor = "fedcloud_vm_monitoring.vm_monitor_cli:main"
fedcloud-sla-monitor = "fedcloud_vm_monitoring.sla_monitor_cli:main"
fedcloud-vo-monitor = "fedcloud_monitoring_tools.vm_monitor_cli:main"
fedcloud-sla-monitor = "fedcloud_monitoring_tools.sla_monitor_cli:main"


[tool.poetry.dependencies]
Expand Down
Loading