SIENTIAPDE-1094
Update environment configuration and refactor activity imports - Changed Kafka, Redis, and Temporal host configurations to use localhost. - Updated the version reference for the sientia-dataops-library in requirements.txt. - Refactored import paths for activities to align with new module structure. - Removed unused base.py and postgres.py files. - Updated logger and policies imports to reflect new module locations. - Adjusted values.yaml for branch and log level settings.
This commit is contained in:
@@ -4,13 +4,13 @@ from temporalio.worker import Worker
|
||||
with workflow.unsafe.imports_passed_through():
|
||||
import os
|
||||
from sientia_do.notifications.handlers import NotificationHandler
|
||||
from sientia_do.temporal.utils.logger import get_logger
|
||||
from scouter.activities.activities import Activities
|
||||
from scouter.workflow.scouter import Scouter
|
||||
from scouter.workflow.sub_workflows.core_scouter import CoreScouter
|
||||
from scouter.workflow.fake_data import FakeData
|
||||
from scouter.activities.faker import Faker
|
||||
import asyncio
|
||||
from scouter.utils.logger import get_logger
|
||||
from scouter.utils.connectors_config import (
|
||||
build_postgres_config,
|
||||
build_kafka_config,
|
||||
@@ -30,11 +30,7 @@ async def main():
|
||||
notification_handler = NotificationHandler(
|
||||
servers=os.getenv('KAFKA_BOOTSTRAP_SERVERS', 'http://localhost:9092'),
|
||||
logger=logger,
|
||||
project_name=os.getenv('PROJECT_NAME', 'scouter'),
|
||||
pipeline_name='-',
|
||||
trigger_name='-',
|
||||
model_name='-',
|
||||
model='-'
|
||||
project_name=os.getenv('PROJECT_NAME', 'scouter')
|
||||
)
|
||||
|
||||
logger.info('Starting Activities...')
|
||||
|
||||
Reference in New Issue
Block a user