diff --git a/orchestrator/activities/mongo_db.py b/orchestrator/activities/mongo_db.py index e969e43..866e3b9 100644 --- a/orchestrator/activities/mongo_db.py +++ b/orchestrator/activities/mongo_db.py @@ -1,14 +1,9 @@ -from ast import Not -from pydoc import doc -import trace -from grpc import server import pymongo from temporalio import workflow, activity with workflow.unsafe.imports_passed_through(): from typing import Any import traceback - import json from logging import Logger from sientia_do.notifications.handlers import NotificationHandler from sientia_do.notifications.models import NotificationLevel diff --git a/values.yaml b/values.yaml index 59e971a..d06746b 100644 --- a/values.yaml +++ b/values.yaml @@ -11,7 +11,7 @@ image: # This sets the pull policy for images. pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. - tag: "0.1.0" + tag: "0.2.0" # This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ imagePullSecrets: @@ -123,7 +123,7 @@ env: - name: GITHUB_REPO_URL value: "git@github.com:Aignosi/sientia-dataops-orchestrator_temporal.git" - name: GITHUB_BRANCH - value: "main" + value: "SIENTIAPDE-1107-testar-o-uso-do-mongo-db-no-lugar-do-couchbase" - name: PYTHON_APP value: "orchestrator.worker.worker" @@ -150,6 +150,15 @@ env: - name: COUCHBASE_PASSWORD value: "sientia" + - name: MONGODB_USERNAME + value: "root" + - name: MONGODB_PASSWORD + value: "wKZDbMNU1c" + - name: MONGODB_URL + value: "my-release-mongodb.mongodb.svc.cluster.local:27017" + - name: MONGODB_DATABASE + value: "sientia" + - name: KAFKA_BOOTSTRAP_SERVERS value: "kafka.kafka.svc.cluster.local:9092" @@ -171,7 +180,7 @@ ssh: # kubectl create secret docker-registry docker-hub-secret --namespace sientia --docker-server=http://aignosi.azurecr.io --docker-username=aignosi --docker-password=5I5zpQ6sRaHqX1hD3dr+2mo647yO3FRc359/wu6gsP+ACRDRz5mp -# helm upgrade --install sientia-orchestrator-worker sientia/sientia-module -n sientia --create-namespace -f ./values.yaml --version 0.1.0-uat +# helm upgrade --install sientia-orchestrator-worker sientia/sientia-module -n sientia --create-namespace -f ./values.yaml --version 0.2.0-uat # kubectl create secret generic git-ssh-key-sientia-orchestrator-worker \ # --namespace sientia \