summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kubernetes/mso/templates/all-services.yaml20
-rw-r--r--kubernetes/policy/templates/all-services.yaml2
2 files changed, 22 insertions, 0 deletions
diff --git a/kubernetes/mso/templates/all-services.yaml b/kubernetes/mso/templates/all-services.yaml
index a0807d759e..a674adb35e 100644
--- a/kubernetes/mso/templates/all-services.yaml
+++ b/kubernetes/mso/templates/all-services.yaml
@@ -20,6 +20,26 @@ metadata:
namespace: "{{ .Values.nsPrefix }}-mso"
labels:
app: mso
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "so",
+ "version": "v1",
+ "url": "/ecomp/mso/infra",
+ "protocol": "REST"
+ "port": "8080",
+ "visualRange":"1"
+ },
+ {
+ "serviceName": "so-deprecated",
+ "version": "v1",
+ "url": "/ecomp/mso/infra",
+ "protocol": "REST"
+ "port": "8080",
+ "visualRange":"1",
+ "path":"/ecomp/mso/infra"
+ }
+ ]'
spec:
selector:
app: mso
diff --git a/kubernetes/policy/templates/all-services.yaml b/kubernetes/policy/templates/all-services.yaml
index 0dc17853ed..eb524edfc4 100644
--- a/kubernetes/policy/templates/all-services.yaml
+++ b/kubernetes/policy/templates/all-services.yaml
@@ -77,6 +77,7 @@ metadata:
"version": "v1",
"url": "/pdp",
"protocol": "REST"
+ "port": "8081",
"visualRange":"1"
},
{
@@ -84,6 +85,7 @@ metadata:
"version": "v1",
"url": "/pdp",
"protocol": "REST"
+ "port": "8081",
"visualRange":"1",
"path":"/pdp"
}