From 88c59bfbef4d9ab7df1b590181671567952ef456 Mon Sep 17 00:00:00 2001 From: sumedh Date: Tue, 12 Nov 2024 11:52:26 +0530 Subject: [PATCH] deployment file modified --- manifests/apollo-deployment.yaml | 18 ++++-------------- src/main/resources/application.yml | 29 +++++++---------------------- 2 files changed, 11 insertions(+), 36 deletions(-) diff --git a/manifests/apollo-deployment.yaml b/manifests/apollo-deployment.yaml index 551db1f..3529b6e 100644 --- a/manifests/apollo-deployment.yaml +++ b/manifests/apollo-deployment.yaml @@ -23,20 +23,10 @@ spec: envFrom: - configMapRef: name: olympus-db-shared-cfg - env: - - name: DOCUMENT_UPLOAD_PATH - value: /mnt/apollo_storage/documents - - name: REPOSITORY_UPLOAD_PATH - value: /mnt/apollo_storage/repository - - name: GITLAB_CLOUD_TOKEN - value: glpat-z-72kM9b9yvqd8arvEX1 - - name: GITLAB_ONPREMISES_TOKEN - value: VScokCa7anraKbXisnwe - - name: APOLLO_FE_URL - value: http://apollo-aks.olympusai.live - - name: EUREKA_URI - value: >- - http://eureka-server-service.olympus.svc.cluster.local:8761/eureka + - configMapRef: + name: olympus-ai-shared-cfg + - configMapRef: + name: olympus-common-shared-cfg resources: {} volumeMounts: - name: apollo-pv-storage diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 9bbf31d..6a638e2 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -5,7 +5,7 @@ apollo: fe: url: "http://localhost:5173" java-parser-module: - url: "http://java-parser-module-service.olympus.svc.cluster.local:8080" + url: "http://localhost:8084" spring: application: name: apollo @@ -13,37 +13,30 @@ spring: azure: openai: endpoint: "https://ai-olympus.openai.azure.com/" - api-key: "9fb33cc69d914d4c8225b974876510b5" + api-key: "9fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" openai: api-key: "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" vectorstore: azure: - api-key: "jxKqZvbMKuo1MwXs8ilEAeRDeswtoTXO1lWX600jP2AzSeDXo1nq" + api-key: "jxKxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" url: "https://search-olympus.search.windows.net" initialize-schema: true data: mongodb: - uri: mongodb+srv://olympus_adm:26111979@olympus.l6qor4p.mongodb.net/?retryWrites=true&w=majority&appName=Olympus - database: olympus - username: olympus_adm - password: 26111979 + uri: + database: + username: + password: servlet: multipart: max-file-size: 5000000MB max-request-size: 500000MB -#path to the repository -ingestion: - repository: - basepath: C:\\Users\\andrea.terzani\\dev\\Olympus gitlab: - token: "xxxxxxxx" path: /mnt/apollo_storage/repository #C:\\repos\\olympus_ai\\gitClone cloud: - url: "https://gi2tlab.com/api/v4" token: "xxxxxxxx" onpremises: - url: "http://localhost:8081/api" token: "xxxxxxxx" eureka: @@ -53,14 +46,6 @@ eureka: instance: preferIpAddress: true -#spring.jpa.show-sql=true -#spring.jpa.hibernate.ddl-auto=update -#spring.datasource.url=jdbc:postgresql://localhost:5432/olympus -#spring.datasource.username=andreaterzani -#spring.datasource.password=26111979 -#spring.datasource.driver-class-name=org.postgresql.Driver -#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect - logging: level: root: INFO