Skip to content

Commit

Permalink
Rename repository
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Dec 12, 2024
1 parent 7639632 commit 95830eb
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 11 deletions.
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.
File renamed without changes.
File renamed without changes.
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
9 changes: 5 additions & 4 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 <[email protected]>",
"Sebastián Luna-Valero <[email protected]>",
"Enol Fernandez <[email protected]>"]
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

0 comments on commit 95830eb

Please sign in to comment.