[SO] MSB connection fixed in nonTLS setup 52/133152/2
authorAndreas Geissler <andreas-geissler@telekom.de>
Mon, 6 Feb 2023 10:36:13 +0000 (11:36 +0100)
committerAndreas Geissler <andreas-geissler@telekom.de>
Mon, 6 Feb 2023 12:52:05 +0000 (12:52 +0000)
In case of non-TLS setup the connection to the MSB (when MSB enabled)
needs to use the port 80 and does not need a SSL configuration

Issue-ID: OOM-3097

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I2f3828249fcf7865c15eac9dd014d9c29e7b094e

kubernetes/so/components/so-etsi-nfvo-ns-lcm/resources/config/overrides/override.yaml
kubernetes/so/components/so-etsi-sol003-adapter/resources/config/overrides/override.yaml

index df47c0a..cc668fb 100644 (file)
@@ -63,14 +63,14 @@ etsi-catalog-manager:
   {{- if .Values.global.msbEnabled }}
     {{ if (include "common.needTLS" .) }}
     endpoint: https://msb-iag:443/api
-    {{ else }}
-    endpoint: http://msb-iag:443/api
-    {{ end }}
   http:
     client:
       ssl:
         trust-store: file:${TRUSTSTORE}
         trust-store-password: ${TRUSTSTORE_PASSWORD}
+    {{ else }}
+    endpoint: http://msb-iag:80/api
+    {{ end }}
   {{- else }}
     endpoint: http://modeling-etsicatalog.{{ include "common.namespace" . }}:8806/api
   {{- end }}
index fed38f7..e6a3d7c 100755 (executable)
@@ -59,12 +59,16 @@ vnfmadapter:
 etsi-catalog-manager:
   vnfpkgm:
   {{- if .Values.global.msbEnabled }}
+    {{ if (include "common.needTLS" .) }}
     endpoint: https://msb-iag:443/api/vnfpkgm/v1
   http:
     client:
       ssl:
         trust-store: file:${TRUSTSTORE}
         trust-store-password: ${TRUSTSTORE_PASSWORD}
+    {{ else }}
+    endpoint: http://msb-iag:80/api
+    {{ end }}
   {{- else }}
     endpoint: http://modeling-etsicatalog.{{ include "common.namespace" . }}:8806/api/vnfpkgm/v1
   {{- end }}