aboutsummaryrefslogtreecommitdiffstats
path: root/dpo
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2019-04-10 14:28:53 +0530
committerkrishnaa96 <krishna.moorthy6@wipro.com>2019-04-10 18:01:28 +0530
commit2896a24832902865313cd16081bba8b2d079748f (patch)
treefeb17dfb42f15d1f33dc76363aa5ce5835ded445 /dpo
parent80b0c61808d0958ef7d38a772a206f2c17dfd2a5 (diff)
Fix bugs and formatting issues
Added minor functionality changes License formatting fixed Change-Id: Ieed4aab7562256eaf15627de0cee53cfe1cc8956 Issue-ID: DCAEGEN2-1111 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Diffstat (limited to 'dpo')
-rw-r--r--dpo/blueprints/k8s-sonhms-inputs.yaml9
-rw-r--r--dpo/blueprints/k8s-sonhms.yaml9
-rw-r--r--dpo/spec/sonhandler-componentspec.json8
3 files changed, 16 insertions, 10 deletions
diff --git a/dpo/blueprints/k8s-sonhms-inputs.yaml b/dpo/blueprints/k8s-sonhms-inputs.yaml
index 42afba4..052f0b9 100644
--- a/dpo/blueprints/k8s-sonhms-inputs.yaml
+++ b/dpo/blueprints/k8s-sonhms-inputs.yaml
@@ -18,7 +18,7 @@
pgaas_cluster_name: dcae-pg-primary.onap
database_name: sonhms
-tag_version: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.son-handler:latest
+tag_version: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.son-handler:1.0.0
replicas: 1
aaf_username:
aaf_password:
@@ -30,12 +30,13 @@ min_confusion: 5
max_clusters: 5
bad_threshold: 50
poor_threshold: 70
-dmaap: message-router
+namespace: onap
+dmaap: message-router.onap
buffer_time: 60
cg: sonhms-cg
cid: sonhms-cid
-config_db: http://sdnc.onap.svc.cluster.local:8181
-oof: http://oof.onap.svc.cluster.local:8080
+config_db: http://sdnc.onap:8181
+oof: http://oof-osdf.onap:8080
pci_optimizer: pci
log_path: /dockerdata-nfs/son-handler
topic00_location: onap
diff --git a/dpo/blueprints/k8s-sonhms.yaml b/dpo/blueprints/k8s-sonhms.yaml
index 9e43fac..9d4e0db 100644
--- a/dpo/blueprints/k8s-sonhms.yaml
+++ b/dpo/blueprints/k8s-sonhms.yaml
@@ -29,7 +29,7 @@ inputs:
tag_version:
type: string
description: docker image name and version
- default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.son-handler:latest"
+ default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.son-handler:1.0.0"
pgaas_cluster_name:
type: string
description: pg cluster
@@ -76,6 +76,10 @@ inputs:
type: integer
description: threshold for poor neighbors
default: 70
+ namespace:
+ type: String
+ description: namespace
+ default: onap
dmaap:
type: string
description: dmaap server
@@ -143,7 +147,7 @@ node_templates:
- host:
path: { get_input: log_path }
container:
- bind: /var/log/onap
+ bind: /home/sonhms/logs
mode: rw
properties:
image:
@@ -209,6 +213,7 @@ node_templates:
sonhandler.maximumClusters: { get_input: max_clusters }
sonhandler.badThreshold: { get_input: bad_threshold }
sonhandler.poorThreshold: { get_input: poor_threshold }
+ sonhandler.namespace: { get_input: namespace }
sonhandler.sourceId: SONHMS
sonhandler.dmaap.server:
- { get_input: dmaap }
diff --git a/dpo/spec/sonhandler-componentspec.json b/dpo/spec/sonhandler-componentspec.json
index 1586dcf..6fc51be 100644
--- a/dpo/spec/sonhandler-componentspec.json
+++ b/dpo/spec/sonhandler-componentspec.json
@@ -14,14 +14,14 @@
"type": "message router"
},
{
- "format": "FM_ALARM_FROM_VES",
- "version": "1.0.0",
+ "format": "VES_specification",
+ "version": "7.30.1",
"config_key": "fault_management_topic",
"type": "message router"
},
{
- "format": "PM_ALARM_FROM_VES",
- "version": "1.0.0",
+ "format": "VES_specification",
+ "version": "7.30.1",
"config_key": "performance_management_topic",
"type": "message router"
},