Adjust UUI to latest
Fixes:
add uui-server
fix uui health check
add MSB registration endpoint to uui
Change-Id: I0f1b10a67e980fd134f28c559ab1396b2e9febb3
Issue-ID: OOM-474
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
diff --git a/kubernetes/uui/templates/all-services.yaml b/kubernetes/uui/templates/all-services.yaml
index 9135622..7b23b36 100644
--- a/kubernetes/uui/templates/all-services.yaml
+++ b/kubernetes/uui/templates/all-services.yaml
@@ -25,4 +25,33 @@
selector:
app: uui
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableUuiServer }}
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: uui-server
+ name: uui-server
+ namespace: "{{ .Values.nsPrefix }}-uui"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "usecaseui-server",
+ "version": "v1",
+ "url": "/api/usecaseui/server/v1",
+ "protocol": "UI"
+ "port": "8080",
+ "visualRange":"1|0"
+ }
+ ]'
+spec:
+ ports:
+ - name: uui-server
+ nodePort: {{ .Values.uuiPortPrefix }}99
+ port: 8082
+ selector:
+ app: uui-server
+ type: NodePort
#{{ end }}
\ No newline at end of file