Skip to content

Commit

Permalink
Merge pull request #26 from enolfc/rename
Browse files Browse the repository at this point in the history
Rename repository
  • Loading branch information
enolfc authored Dec 12, 2024
2 parents 7639632 + b82a0a3 commit 5318162
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 12 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
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 <[email protected]>",
"Enol Fernandez <[email protected]>"]
"Sebastián Luna-Valero <[email protected]>",
"Enol Fernández <[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 5318162

Please sign in to comment.