Skip to content

Commit

Permalink
monitoring: varius changes
Browse files Browse the repository at this point in the history
* split monitoring into cli, api and views files.
* adds missing cli for Redis and ES.

Co-Authored-by: Peter Weber <[email protected]>
  • Loading branch information
rerowep committed Aug 18, 2022
1 parent b463864 commit 436af72
Show file tree
Hide file tree
Showing 10 changed files with 794 additions and 642 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ concepts_rero = "rero_mef.concepts.rero.jsonresolvers.rero_resolver"

[tool.poetry.plugins."invenio_base.api_blueprints"]
api_rero_mef = "rero_mef.theme.views:api_blueprint"
api_monitoring = "rero_mef.monitoring:api_blueprint"
api_monitoring = "rero_mef.monitoring.views:api_blueprint"
api_agents_mef = "rero_mef.agents.mef.views:api_blueprint"
api_agents_viaf = "rero_mef.agents.viaf.views:api_blueprint"
api_agents_gnd = "rero_mef.agents.gnd.views:api_blueprint"
Expand All @@ -179,7 +179,7 @@ utils = "rero_mef.cli:utils"
celery = "rero_mef.cli:celery"
agents = "rero_mef.agents.cli:agents"
concepts = "rero_mef.concepts.cli:concepts"
monitoring = "rero_mef.monitoring:monitoring"
monitoring = "rero_mef.monitoring.cli:monitoring"

[tool.poetry.plugins."dojson.cli.rule"]
tomarc = "dojson.contrib.to_marc21:to_marc21"
Expand Down
2 changes: 1 addition & 1 deletion rero_mef/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
from werkzeug.security import gen_salt

from .marctojson.records import RecordsCount
from .monitoring import Monitoring
from .monitoring.api import Monitoring
from .tasks import create_or_update as task_create_or_update
from .tasks import delete as task_delete
from .tasks import process_bulk_queue as task_process_bulk_queue
Expand Down
Loading

0 comments on commit 436af72

Please sign in to comment.