diff options
author | SrikanthNaidu <sn8492@att.com> | 2018-12-10 21:46:40 +0530 |
---|---|---|
committer | SrikanthNaidu <sn8492@att.com> | 2018-12-12 18:45:52 +0530 |
commit | 20110ffeb5071193e7b437e797636d9d6318dcd4 (patch) | |
tree | ebd4e64715f4cafc7261b2eff9990e4faa53d050 /etc | |
parent | 5712f01385eaa05178279aa7e730b3bdde3d1b80 (diff) |
Heartbeat Microservice Support
Heartbeat service monitors missing HB notification
Issue-ID: DCAEGEN2-267
Change-Id: I21f36056e9509a167bff476231a6bbd661aca1b9
Signed-off-by: SrikanthNaidu <sn8492@att.com>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/config.json | 27 | ||||
-rw-r--r-- | etc/config.yaml | 16 |
2 files changed, 1 insertions, 42 deletions
diff --git a/etc/config.json b/etc/config.json index 3f6e487..6562d0f 100644 --- a/etc/config.json +++ b/etc/config.json @@ -1,26 +1 @@ -{ - "heartbeat_config": { - "vnfs":[ - { "nfNamingCode": "VNFA", - "heartbeatcountmissed":3, "heartbeatinterval": 60, "closedLoopControlName":"ControlLoopEvent1"}, - { "nfNamingCode": "VNFB", - "heartbeatcountmissed":3, "heartbeatinterval": 60, "closedLoopControlName":"ControlLoopEvent1"}, - { "nfNamingCode": "VNFC", - "heartbeatcountmissed":3, "heartbeatinterval": 60, "closedLoopControlName":"ControlLoopEvent1"} - ] - }, - - "streams_publishes": { - "ves_heartbeat": { - "dmaap_info": {"topic_url": "http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT/"}, - "type": "message_router" - } - }, - "streams_subscribes": { - "ves_heartbeat": { - "dmaap_info": {"topic_url": "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_INPUT/"}, - "type": "message_router" - } - } -} - +{ "heartbeat_config": { "vnfs": [{ "eventName": "Heartbeat_vDNS", "heartbeatcountmissed": 3, "heartbeatinterval": 60, "closedLoopControlName": "ControlLoopEvent1", "policyVersion": "1.0.0.5", "policyName": "vFireWall", "policyScope": "resource=sampleResource,type=sampletype,CLName=sampleCLName", "target_type": "VNF", "target": "genVnfName", "version": "1.0" }, { "eventName": "Heartbeat_vFW", "heartbeatcountmissed": 3, "heartbeatinterval": 60, "closedLoopControlName": "ControlLoopEvent1", "policyVersion": "1.0.0.5", "policyName": "vFireWall", "policyScope": "resource=sampleResource,type=sampletype,CLName=sampleCLName", "target_type": "VNF", "target": "genVnfName", "version": "1.0" }, { "eventName": "Heartbeat_xx", "heartbeatcountmissed": 3, "heartbeatinterval": 60, "closedLoopControlName": "ControlLoopEvent1", "policyVersion": "1.0.0.5", "policyName": "vFireWall", "policyScope": "resource=sampleResource,type=sampletype,CLName=sampleCLName", "target_type": "VNF", "target": "genVnfName", "version": "1.0" } ] }, "streams_publishes": { "ves_heartbeat": { "dmaap_info": { "topic_url": "http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT/" }, "type": "message_router" } }, "streams_subscribes": { "ves_heartbeat": { "dmaap_info": { "topic_url": "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_INPUT/" }, "type": "message_router" } } }
\ No newline at end of file diff --git a/etc/config.yaml b/etc/config.yaml deleted file mode 100644 index 0dcc8bf..0000000 --- a/etc/config.yaml +++ /dev/null @@ -1,16 +0,0 @@ -global: - host: localhost - message_router_url: http://msgrouter.att.com:3904 -# Missing heartbeats -# Heartbeat interval -# Input topic -# Output topic -# ClosedLoopControlName -vnfs: - vnfa: - - 3 - - 60 - - VESCOLL-VNFNJ-SECHEARTBEAT-OUTPUT - - DCAE-POLICY-HILOTCA-EVENT-OUTPUT - - ControlLoopEvent1 - |