Service endpoint annotation for VF-C
Issue-Id: OOM-25
Change-Id: I76f87e25f58a0b1eb68dd5ff08224a2beaaf4479
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
diff --git a/kubernetes/vfc/templates/all-services.yaml b/kubernetes/vfc/templates/all-services.yaml
index 9a6f6f2..b1e8b1f 100755
--- a/kubernetes/vfc/templates/all-services.yaml
+++ b/kubernetes/vfc/templates/all-services.yaml
@@ -5,6 +5,17 @@
app: vfc-nslcm
name: vfc-nslcm
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "nslcm",
+ "version": "v1",
+ "url": "/api/nslcm/v1",
+ "protocol": "REST",
+ "port": "{{.Values.nslcm.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-nslcm
@@ -22,6 +33,17 @@
app: vfc-resmgr
name: vfc-resmgr
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "resmgr",
+ "version": "v1",
+ "url": "/api/resmgr/v1",
+ "protocol": "REST",
+ "port": "{{.Values.resmgr.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-resmgr
@@ -39,6 +61,17 @@
app: vfc-gvnfmdriver
name: vfc-gvnfmdriver
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "gvnfmdriver",
+ "version": "v1",
+ "url": "/api/gvnfmdriver/v1",
+ "protocol": "REST",
+ "port": "{{.Values.gvnfmdriver.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-gvnfmdriver
@@ -56,6 +89,17 @@
app: vfc-ztevmanagerdriver
name: vfc-ztevmanagerdriver
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "ztevmanagerdriver",
+ "version": "v1",
+ "url": "/api/ztevmanagerdriver/v1",
+ "protocol": "REST",
+ "port": "{{.Values.ztevmanagerdriver.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-ztevmanagerdriver
@@ -73,6 +117,17 @@
app: vfc-hwvnfmdriver
name: vfc-hwvnfmdriver
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "huaweivnfmdriver",
+ "version": "v1",
+ "url": "/api/huaweivnfmdriver/v1",
+ "protocol": "REST",
+ "port": "{{.Values.hwvnfmdriver.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-ztevmanagerdriver
@@ -90,6 +145,17 @@
app: vfc-ztesdncdriver
name: vfc-ztesdncdriver
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "ztesdncdriver",
+ "version": "v1",
+ "url": "/api/ztesdncdriver/v1",
+ "protocol": "REST",
+ "port": "{{.Values.ztesdncdriver.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-ztesdncdriver
@@ -107,6 +173,17 @@
app: vfc-jujudriver
name: vfc-jujudriver
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "jujuvnfmdriver",
+ "version": "v1",
+ "url": "/api/jujuvnfmdriver/v1",
+ "protocol": "REST",
+ "port": "{{.Values.jujudriver.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-jujudriver
@@ -124,6 +201,17 @@
app: vfc-vnflcm
name: vfc-vnflcm
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "vnflcm",
+ "version": "v1",
+ "url": "/api/vnflcm/v1",
+ "protocol": "REST",
+ "port": "{{.Values.vnflcm.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-vnflcm
@@ -141,6 +229,17 @@
app: vfc-vnfres
name: vfc-vnfres
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "vnfres",
+ "version": "v1",
+ "url": "/api/vnfres/v1",
+ "protocol": "REST",
+ "port": "{{.Values.vnfres.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-vnfres
@@ -158,6 +257,17 @@
app: vfc-vnfmgr
name: vfc-vnfmgr
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "vnfmgr",
+ "version": "v1",
+ "url": "/api/vnfmgr/v1",
+ "protocol": "REST",
+ "port": "{{.Values.vnfmgr.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-vnfmgr
@@ -175,6 +285,17 @@
app: vfc-emsdriver
name: vfc-emsdriver
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "emsdriver",
+ "version": "v1",
+ "url": "/api/emsdriver/v1",
+ "protocol": "REST",
+ "port": "{{.Values.emsdriver.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-emsdriver
@@ -191,6 +312,17 @@
app: vfc-workflow
name: vfc-workflow
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "workflow",
+ "version": "v1",
+ "url": "/api/workflow/v1",
+ "protocol": "REST",
+ "port": "{{.Values.workflow.port}}",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: vfc-workflow
@@ -208,6 +340,17 @@
app: vfc-catalog
name: vfc-catalog
namespace: "{{ .Values.nsPrefix }}-vfc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "catalog",
+ "version": "v1",
+ "url": "/api/catalog/v1",
+ "protocol": "REST",
+ "port": "{{.Values.catalog.port}}",
+ "visualRange":"1"
+ }
+ ]
spec:
ports:
- name: vfc-catalog