Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ class ApplicationContainer(containers.DeclarativeContainer):
user_repository = providers.Dependency()
task_repository = providers.Dependency()

insights_service = providers.Dependency()
pvo_repository = providers.Dependency()

notification_repository = providers.Dependency()
notification_user_repository = providers.Dependency()
config_repository = providers.Dependency()
Expand Down
19 changes: 0 additions & 19 deletions wavefront/server/apps/floware/floware/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
from fastapi.responses import JSONResponse
from gold_module.controllers.router import gold_router
from gold_module.gold_container import GoldContainer
from insights_module.controllers.router import insights_router
from insights_module.insights_container import InsightsContainer

from knowledge_base_module.controllers.knowledge_base_controller import (
knowledge_base_router,
Expand Down Expand Up @@ -115,21 +113,13 @@
user_module_container = UserContainer(
db_client=db_repo_container.db_client, cache_manager=db_repo_container.cache_manager
)
insights_container = InsightsContainer(
notification_repository=db_repo_container.notification_repository,
cache_manager=db_repo_container.cache_manager,
)


application_container = ApplicationContainer(
db_client=db_repo_container.db_client,
cloud_storage_manager=common_container.cloud_storage_manager,
email_repository=db_repo_container.email_repository,
oauth_credential_repository=db_repo_container.oauth_credential_repository,
user_repository=db_repo_container.user_repository,
task_repository=db_repo_container.task_repository,
insights_service=insights_container.insights_service,
pvo_repository=insights_container.pvo_repository,
notification_repository=db_repo_container.notification_repository,
notification_user_repository=db_repo_container.notification_user_repository,
config_repository=db_repo_container.config_repository,
Expand Down Expand Up @@ -376,7 +366,6 @@ async def metrics(request: Request):
app.include_router(notification_router, prefix='/floware')
app.include_router(user_management_router, prefix='/floware')
app.include_router(superset_controller, prefix='/floware')
app.include_router(insights_router, prefix='/floware')
app.include_router(knowledge_base_router, prefix='/floware')
app.include_router(kb_document_router, prefix='/floware')
app.include_router(rag_retrieval_router, prefix='/floware')
Expand Down Expand Up @@ -452,7 +441,6 @@ async def global_exception_handler(request: Request, exc: Exception):
packages=[
'auth_module.controllers',
'plugins_module.controllers',
'insights_module.controllers',
'user_management_module.controllers',
'user_management_module.authorization',
'plugins_module.controllers',
Expand All @@ -465,18 +453,12 @@ async def global_exception_handler(request: Request, exc: Exception):
'auth_module.controllers',
'user_management_module.authorization',
'user_management_module.controllers',
'insights_module.controllers',
'plugins_module.services',
'plugins_module.controllers',
'llm_inference_config_module.controllers',
],
)

insights_container.wire(
modules=[__name__],
packages=['insights_module.controllers'],
)

gold_container.wire(
modules=[__name__],
packages=['gold_module.controllers'],
Expand All @@ -488,7 +470,6 @@ async def global_exception_handler(request: Request, exc: Exception):
'auth_module.controllers',
'user_management_module.controllers',
'user_management_module.authorization',
'insights_module.controllers',
'floware.controllers',
'knowledge_base_module.controllers',
'gold_module.controllers',
Expand Down
2 changes: 0 additions & 2 deletions wavefront/server/apps/floware/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ dependencies = [
"common-module",
"db-repo-module",
"gold-module",
"insights-module",
"knowledge-base-module",
"user-management-module",
"plugins-module",
Expand All @@ -38,7 +37,6 @@ auth-module = { workspace = true }
common-module = { workspace = true }
db-repo-module = { workspace = true }
gold-module = { workspace = true }
insights-module = { workspace = true }
knowledge-base-module = { workspace = true }
user-management-module = { workspace = true }
plugins-module = {workspace = true}
Expand Down
1 change: 0 additions & 1 deletion wavefront/server/docker/floware.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ COPY wavefront/server/modules/auth_module /app/modules/auth_module
COPY wavefront/server/modules/common_module /app/modules/common_module
COPY wavefront/server/modules/db_repo_module /app/modules/db_repo_module
COPY wavefront/server/modules/gold_module /app/modules/gold_module
COPY wavefront/server/modules/insights_module /app/modules/insights_module
COPY wavefront/server/modules/knowledge_base_module /app/modules/knowledge_base_module
COPY wavefront/server/modules/user_management_module /app/modules/user_management_module
COPY wavefront/server/modules/llm_inference_config_module /app/modules/llm_inference_config_module
Expand Down

This file was deleted.

Loading
Loading