feat: update environment configuration and remove deprecated model serving

- Modified `.env.example` to set local defaults for PostgreSQL, MLflow, and MinIO configurations.
- Added MongoDB configuration parameters to the environment setup.
- Updated `README.md` to reflect changes in workflow input parameters and task queue naming conventions.
- Removed the `ModelServing` class to streamline the codebase, as it was deemed unnecessary.
- Adjusted `connectors_config.py` to align with new environment variable names and improve clarity.
- Updated tests to reflect changes in configuration handling and removed tests related to the deleted `ModelServing` class.
This commit is contained in:
vitor-aignosi
2026-04-07 16:58:50 -03:00
parent c5cd382350
commit 0ae03b246f
11 changed files with 301 additions and 1303 deletions

View File

@@ -1,52 +1,46 @@
POSTGRES_HOST=paradedb-rw.paradedb.svc.cluster.local
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=sientia
POSTGRES_PASSWORD=password
POSTGRES_USER=postgres
POSTGRES_PASSWORD=changeme
POSTGRES_DBNAME=sientia
POSTGRES_MIN_CONNECTIONS=10
POSTGRES_MAX_CONNECTIONS=30
MLFLOW_URL=http://sientia-tracker-mlflow-tracking.sientia-tracker.svc.cluster.local:80
MLFLOW_URL=http://localhost:5080
MLFLOW_USERNAME=aignosi
MLFLOW_PASSWORD=mlflow_password
MLFLOW_PASSWORD=changeme
LOG_LEVEL=DEBUG
HTTP_METRICS_PORT=9090
HTTP_SDK_METRICS_PORT=9091
PROJECT_NAME=sientia-model-manager
TEMPORAL_HOST=temporal-frontend.temporal.svc.cluster.local:7233
TEMPORAL_HOST=localhost:7233
TEMPORAL_NAMESPACE=model-manager
TEMPORAL_USE_TLS=false
RUNTIME=basic
RUNTIME=single
STORE_BASE_URL=http://gitea-http.gitea.svc.cluster.local
STORE_OWNER=aignosi
STORE_REPO=suse-model-store
STORE_BRANCH=main
STORE_USERNAME=
STORE_PASSWORD=
STORE_CACHE_TTL_SECONDS=3600
PYPI_SERVER=http://library-distribution-server.library.svc.cluster.local:5000
PYPI_USERNAME=
PYPI_PASSWORD=
MONGODB_USERNAME=mongo_user
MONGODB_PASSWORD=mongo_db_password
MONGODB_URL=my-release-mongodb.mongodb.svc.cluster.local:27017
MONGODB_USERNAME=root
MONGODB_PASSWORD=changeme
MONGODB_URL=localhost:27017
MONGODB_DATABASE=sientia
MONGODB_TTL_INDEX_HOURS=1
MINIO_ENDPOINT_URL=http://minio.minio.svc.cluster.local:9000
MINIO_ENDPOINT_URL=http://localhost:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_REGION=us-east-1
MINIO_USE_SSL=false
MINIO_MAX_RETRY_ATTEMPTS=3
MINIO_RETRY_MODE=adaptive
MINIO_CONNECT_TIMEOUT=10
MINIO_READ_TIMEOUT=60
MINIO_DEFAULT_BUCKET=model-training
MINIO_SECURE=false
STORE_BASE_URL=http://localhost:3000
STORE_OWNER=aignosi
STORE_REPO=suse-model-store
STORE_USERNAME=
STORE_PASSWORD=
STORE_CACHE_TTL_SECONDS=3600
PYPI_SERVER=http://localhost:5000
PYPI_USERNAME=
PYPI_PASSWORD=
TIMEOUT_VALIDATE_PARAMS=30
TIMEOUT_TRAIN_MODEL=2700
@@ -61,5 +55,3 @@ CLEANUP_SCHEDULE_ID=cleanup-files-daily
CLEANUP_CRON="0 0 * * *"
CLEANUP_TIMEZONE=UTC
CLEANUP_EXECUTION_TIMEOUT_HOURS=1
EXTRA_PIP_REQUIREMENTS=git+https://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@github.com/Aignosi/sientia-mlops-library.git