aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-05-10 20:42:49 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-05-10 20:42:55 +0800
commit9f68f09724d7aa14cba1d0423c8ccf8cba72c842 (patch)
tree3a602884992b0d8868314d35b143d8787902458c /kubernetes
parentcaf5e3d25271a6a821e58ad93ffcf9be697ced05 (diff)
change service-info for uui-ui and uui-server
Change-Id: I1c6fb244e015c055d45e5497b14b8f43ef172a14 Issue-ID: USECASEUI-112 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/uui/charts/uui-server/templates/service.yaml11
-rw-r--r--kubernetes/uui/templates/service.yaml6
2 files changed, 8 insertions, 9 deletions
diff --git a/kubernetes/uui/charts/uui-server/templates/service.yaml b/kubernetes/uui/charts/uui-server/templates/service.yaml
index 7d0d03f23f..2abe7fd9f8 100644
--- a/kubernetes/uui/charts/uui-server/templates/service.yaml
+++ b/kubernetes/uui/charts/uui-server/templates/service.yaml
@@ -25,13 +25,12 @@ metadata:
annotations:
msb.onap.org/service-info: '[
{
- "serviceName": "usecaseui-gui",
+ "serviceName": "usecaseui-server",
"version": "v1",
- "url": "/usecase-ui",
- "path":"/iui/usecaseui",
- "protocol": "UI"
- "port": "8080",
- "visualRange":"1|0"
+ "url": "/api/usecaseui/server/v1",
+ "protocol": "REST",
+ "port": "{{.Values.service.internalPort}}",
+ "visualRange":"1"
}
]'
spec:
diff --git a/kubernetes/uui/templates/service.yaml b/kubernetes/uui/templates/service.yaml
index 6baad45613..dedf9472a4 100644
--- a/kubernetes/uui/templates/service.yaml
+++ b/kubernetes/uui/templates/service.yaml
@@ -25,13 +25,13 @@ metadata:
annotations:
msb.onap.org/service-info: '[
{
- "serviceName": "usecaseui-gui",
+ "serviceName": "usecaseui-ui",
"version": "v1",
"url": "/usecase-ui",
"path":"/iui/usecaseui",
- "protocol": "UI"
+ "protocol": "UI",
"port": "{{ .Values.service.internalPort }}",
- "visualRange":"1|0"
+ "visualRange":"1"
}
]'
spec: