From: aravind.est Date: Fri, 19 Apr 2024 14:09:28 +0000 (+0100) Subject: Fix the env variables to get from rApp manager X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;ds=inline;h=5dd9e2d24bacf2d403c76304284edfcbabeb5d4b;p=nonrtric.git Fix the env variables to get from rApp manager Env variables modifed to align with rApp manager to get the values Issue-ID: NONRTRIC-981 Change-Id: Id55b40fd6f714732c441999da8737d357c6fca1e Signed-off-by: aravind.est --- diff --git a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml index bbf621a2..f32bb9ad 100644 --- a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml +++ b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml @@ -36,10 +36,10 @@ spec: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" env: - - name: RAPP_INSTANCE_ID - value: "{{ .Values.environment.RAPP_INSTANCE_ID }}" + - name: APP_ID + value: "{{ .Values.environment.appId }}" - name: SME_DISCOVERY_ENDPOINT - value: "{{ .Values.environment.SME_DISCOVERY_ENDPOINT }}" + value: "{{ .Values.environment.smeDiscoveryEndpoint }}" ports: - name: http containerPort: {{ .Values.service.port }} diff --git a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml index 94c3b4f0..8d86d801 100644 --- a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml +++ b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml @@ -29,7 +29,7 @@ service: port: 8080 environment: - APP_ID: Invoker_Rapp_Id - SME_DISCOVERY_ENDPOINT: capifcore.nonrtric.svc.cluster.local:8090/service-apis/v1/allServiceAPIs + appId: Invoker_Rapp_Id + smeDiscoveryEndpoint: capifcore.nonrtric.svc.cluster.local:8090/service-apis/v1/allServiceAPIs