root@onap2-nfs:~# kubectl get pods -n onap | egrep "ves|tca" | grep -v "testca" | grep -v "hv-ves" dep-dcae-tca-analytics-6f489778f5-qsc2w 2/2 Running 0 3d11h dep-dcae-ves-collector-c7bfbd8b-strbl 2/2 Running 0 3d7h dep-dcae-ves-collector-tls-856868b989-vhv5g 2/2 Running 0 80m dep-docker-tcagen2-694f788cf6-5fq84 2/2 Running 0 17m root@onap2-nfs:~# root@onap2-nfs:~# kubectl get svc -n onap | egrep "ves|tca" | grep -v "testca" | grep -v "hv-ves" dcae-tca-analytics ClusterIP 10.43.47.53 11011/TCP 3d11h dcae-ves-collector ClusterIP 10.43.26.210 8080/TCP,8443/TCP 3d7h dcae-ves-collector-tls ClusterIP 10.43.167.68 8080/TCP,8443/TCP 83m docker-tcagen2 ClusterIP 10.43.180.182 9091/TCP 21m xdcae-ves-collector NodePort 10.43.236.110 8080:30235/TCP 3d7h xdcae-ves-collector-tls NodePort 10.43.96.222 8443:30417/TCP 83m vv770d@pod-onap-01-vjhost:~$ curl http://10.12.7.116:30226/events/unauthenticated.DCAE_CL_OUTPUT/vv/1 Pvv770d@pod-onap-01-vjhost:~$ curl http://10.12.7.116:30226/events/unauthenticated.VES_MEASUREMENT_OUTPUT/vv/1 Pvv770d@pod-onap-01-vjhost:~$ curl http://10.12.7.116:30226/events/unauthenticated.TCAGEN2-OUTPUT/vv/1 Pvv770d@pod-onap-01-vjhost:~$ 1) Invalid user/pwd vv770d@pod-onap-01-vjhost:~$ curl -i -u 'sample1:sample' -X POST -d @fault.txt --header "Content-Type: application/json" https://10.12.7.116:30417/eventListener/v5 -k HTTP/1.1 401 Content-Length: 87 Date: Tue, 24 Mar 2020 03:34:20 GMT {"requestError":{"PolicyException":{"messageId":"POL2000","text":"Unauthorized user"}}} 2) Valid request (Fault) vv770d@pod-onap-01-vjhost:~$curl -i -u 'sample1:sample1' -X POST -d @fault.txt --header "Content-Type: application/json" https://10.12.7.116:30417/eventListener/v5 -k HTTP/1.1 202 Content-Type: application/json Content-Length: 8 Date: Tue, 24 Mar 2020 03:36:42 GMT Accepted 3) VES Collector logs 2020-03-24 03:36:42.189 INFO 24 [nio-8443-exec-1] o.o.d.c.p.DMaaPEventPublisher : Event: '{"event":{"commonEventHeader":{"startEpochMicrosec":1517517969993851,"sourceId":"6e138fd1-8900-4e90-aef4-c44ec7c49a78","eventId":"Fault_vDns_SvcDown_127.0.0.1","nfcNamingCode":"DNS","reportingEntityId":"6e138fd1-8900-4e90-aef4-c44ec7c49a78","internalHeaderFields":{"collectorTimeStamp":"Tue, 03 24 2020 03:36:42 UTC"},"eventType":"applicationVnf","priority":"High","version":3,"reportingEntityName":"pocnjafx41","sequence":3,"domain":"fault","lastEpochMicrosec":1517517969993851,"eventName":"Fault_vDns_SvcDown","sourceName":"pocnjafx41","nfNamingCode":"FAPN"},"faultFields":{"eventSeverity":"MAJOR","alarmCondition":"AFX services input down alarm","faultFieldsVersion":2.1,"eventCategory":"routing","specificProblem":"","alarmInterfaceA":"","eventSourceType":"router","vfStatus":"Active"}}}' scheduled to be send asynchronously on domain: 'ves-fault' 2020-03-24 03:36:42.190 INFO 24 [nio-8443-exec-1] o.o.d.c.p.DMaaPEventPublisher : Event: '{"event":{"commonEventHeader":{"startEpochMicrosec":1517517969993851,"sourceId":"6e138fd1-8900-4e90-aef4-c44ec7c49a78","eventId":"Fault_vDns_SvcDown_127.0.0.1","nfcNamingCode":"DNS","reportingEntityId":"6e138fd1-8900-4e90-aef4-c44ec7c49a78","internalHeaderFields":{"collectorTimeStamp":"Tue, 03 24 2020 03:36:42 UTC"},"eventType":"applicationVnf","priority":"High","version":3,"reportingEntityName":"pocnjafx41","sequence":3,"domain":"fault","lastEpochMicrosec":1517517969993851,"eventName":"Fault_vDns_SvcDown","sourceName":"pocnjafx41","nfNamingCode":"FAPN"},"faultFields":{"eventSeverity":"MAJOR","alarmCondition":"AFX services input down alarm","faultFieldsVersion":2.1,"eventCategory":"routing","specificProblem":"","alarmInterfaceA":"","eventSourceType":"router","vfStatus":"Active"}}}' scheduled to be send asynchronously on domain: 'ves-fault' 2020-03-24 03:36:42.192 WARN 24 [nio-8443-exec-1] o.o.d.s.s.s.h.CustomHeaderUtils : there is no api version configured in server. 2020-03-24 03:36:42.276 INFO 24 [pool-4-thread-1] c.a.n.c.c.i.CambriaSimplerBatchPublisher : sending 1 msgs to /events/unauthenticated.SEC_FAULT_OUTPUT. Oldest: 86 ms 2020-03-24 03:36:42.278 INFO 24 [pool-4-thread-1] c.a.n.a.h.HttpClient : POST http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT (anonymous) ... 2020-03-24 03:36:42.619 INFO 24 [pool-4-thread-1] c.a.n.a.h.HttpClient : --> HTTP/1.1 200 OK 4) CL trigger - Valid request (performance) vv770d@pod-onap-01-vjhost:~$ curl -i -u 'sample1:sample1' -X POST -d @f5-cl.txt --header "Content-Type: application/json" https://10.12.7.116:30417/eventListener/v5 -k HTTP/1.1 202 Content-Type: application/json Content-Length: 8 Date: Tue, 24 Mar 2020 03:40:58 GMT Accepted MR o/p vv770d@pod-onap-01-vjhost:~$ curl -i -u 'sample1:sample1' -X POST -d @f5-cl.txt --header "Content-Type: application/json" https://10.12.7.116:30417/eventListener/v5 -k HTTP/1.1 202 Content-Type: application/json Content-Length: 8 Date: Tue, 24 Mar 2020 03:52:33 GMT Acceptedvv770d@pod-onap-01-vjhost: https://10.12.7.116:30226/events/unauthenticated.VES_MEASUREMENT_OUTPUT/vv/1ten^C/v5 -k vv770d@pod-onap-01-vjhost:~$ curl https://10.12.7.116:30226/events/unauthenticated.VES_MEASUREMENT_OUTPUT/vv/1 -k ["{\"event\":{\"commonEventHeader\":{\"startEpochMicrosec\":1507750704126521,\"sourceId\":\"4c32fa09-83e7-43cf-8bba-c72557afe408\",\"eventId\":\"TrafficStats_1.2.3.4\",\"nfcNamingCode\":\"vVNF\",\"reportingEntityId\":\"No UUID available\",\"internalHeaderFields\":{\"collectorTimeStamp\":\"Tue, 03 24 2020 03:52:33 UTC\"},\"eventType\":\"HTTP request rate\",\"priority\":\"Normal\",\"version\":1.2,\"reportingEntityName\":\"fwll\",\"sequence\":85,\"domain\":\"measurementsForVfScaling\",\"lastEpochMicrosec\":1507750714317473,\"eventName\":\"vFirewallBroadcastPackets\",\"sourceName\":\"zdfw1fwl01fwl01\",\"nfNamingCode\":\"vVNF\"},\"measurementsForVfScalingFields\":{\"cpuUsageArray\":[{\"percentUsage\":0,\"cpuIdentifier\":\"cpu1\",\"cpuIdle\":100,\"cpuUsageSystem\":0,\"cpuUsageUser\":0}],\"measurementInterval\":10,\"requestRate\":2256,\"measurementsForVfScalingVersion\":2.1,\"vNicPerformanceArray\":[{\"transmittedOctetsDelta\":0,\"receivedTotalPacketsDelta\":1002,\"vNicIdentifier\":\"eth0\",\"valuesAreSuspect\":\"true\",\"transmittedTotalPacketsDelta\":0,\"receivedOctetsDelta\":61200}]}}}"] TCAGEN2 CL o/p 2020-03-24 03:41:20.452 INFO 1 --- [ask-scheduler-9] o.o.d.a.t.w.i.TcaAlertTransformer : Request Id: 4f52a716-516b-42e4-9eb3-0ddb918e408a:0, Transaction Id: NLZFT, Message counts - Received: 1, Errors: 0, Terminated Early: 0, Abated: [TcaAlert(aai=Aai(genericVNFName=null, genericServerName=zdfw1fwl01fwl01), closedLoopAlarmEnd=null, closedLoopAlarmStart=1507750704126521, closedLoopControlName=ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a, closedLoopEventClient=docker-tcagen2, closedLoopEventStatus=ONSET, from=DCAE, policyName=DCAE.Config_tca-hi-lo, policyScope=DCAE, policyVersion=v0.0.1, requestId=4f52a716-516b-42e4-9eb3-0ddb918e408a:0:0, target=vserver.vserver-name, targetType=VM, version=1.0.2)], Alerts: 0, Alerts size: 1 2020-03-24T03:41:20.552+0000|2020-03-24T03:41:20.875+0000|4f52a716-516b-42e4-9eb3-0ddb918e408a:0|UNKNOWN_INSTANCE_ID|task-scheduler-9||docker-tcagen2||DMAAP_MR_PUBLISHER|POST-/events/unauthenticated.TCAGEN2_OUTPUT/|COMPLETE|0|OK||INFO|0|10.42.2.105|323|docker-tcagen2||org.onap.dcae.analytics.web.http.EelfAuditLogInterceptor|||message-router:3904|||||Request Id: 4f52a716-516b-42e4-9eb3-0ddb918e408a:0, Transaction Id: NLZFT, Elapsed Time: 323 ms, REST Endpoint Call: OK-POST-/events/unauthenticated.TCAGEN2_OUTPUT/ 2020-03-24 03:41:20.875 INFO 1 --- [ask-scheduler-9] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: 4f52a716-516b-42e4-9eb3-0ddb918e408a:0, Transaction Id: NLZFT, Elapsed Time: 323 ms, REST Endpoint Call: OK-POST-/events/unauthenticated.TCAGEN2_OUTPUT/ 2020-03-24T03:41:16.559+0000|2020-03-24T03:41:20.877+0000|4f52a716-516b-42e4-9eb3-0ddb918e408a:0|UNKNOWN_INSTANCE_ID|task-scheduler-9||docker-tcagen2|tca-gen2|COMPLETE|0|||INFO|0|10.42.2.105|4318|docker-tcagen2||org.onap.dcae.analytics.tca.web.integration.TcaPublisherResponseHandler|||||||Request Id: 4f52a716-516b-42e4-9eb3-0ddb918e408a:0, Transaction Id: NLZFT, Transaction completion Time: 4318 ms, DMaaP MR Publisher Response: { "serverTimeMs": 316, "count": 1 } 2020-03-24 03:41:20.887 INFO 1 --- [ask-scheduler-9] .o.d.a.t.w.i.TcaPublisherResponseHandler : Request Id: 4f52a716-516b-42e4-9eb3-0ddb918e408a:0, Transaction Id: NLZFT, Transaction completion Time: 4318 ms, DMaaP MR Publisher Response: { "serverTimeMs": 316, "count": 1 } 5) CL - Valid request vv770d@pod-onap-01-vjhost:~$ curl -i -u 'sample1:sample1' -X POST -d @f5-cl-clear.txt --header "Content-Type: application/json" https://10.12.7.116:30417/eventListener/v5 -k HTTP/1.1 202 Content-Type: application/json Content-Length: 8 Date: Tue, 24 Mar 2020 03:46:33 GMT Accepted TCAGEN2 CL o/p 2020-03-24 03:48:17.662 INFO 1 --- [ask-scheduler-5] o.o.d.a.t.w.i.TcaAlertTransformer : Request Id: cc58ea86-2b47-4ad0-85ad-45969ca6dc63:0, Transaction Id: KJJ98, Message counts - Received: 1, Errors: 0, Terminated Early: 0, Abated: [TcaAlert(aai=Aai(genericVNFName=null, genericServerName=zdfw1fwl01fwl01), closedLoopAlarmEnd=null, closedLoopAlarmStart=1507750704126521, closedLoopControlName=ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a, closedLoopEventClient=docker-tcagen2, closedLoopEventStatus=ONSET, from=DCAE, policyName=DCAE.Config_tca-hi-lo, policyScope=DCAE, policyVersion=v0.0.1, requestId=cc58ea86-2b47-4ad0-85ad-45969ca6dc63:0:0, target=vserver.vserver-name, targetType=VM, version=1.0.2)], Alerts: 0, Alerts size: 1 2020-03-24T03:48:17.663+0000|2020-03-24T03:48:17.754+0000|cc58ea86-2b47-4ad0-85ad-45969ca6dc63:0|UNKNOWN_INSTANCE_ID|task-scheduler-5||docker-tcagen2||DMAAP_MR_PUBLISHER|POST-/events/unauthenticated.TCAGEN2_OUTPUT/|COMPLETE|0|OK||INFO|0|10.42.2.105|91|docker-tcagen2||org.onap.dcae.analytics.web.http.EelfAuditLogInterceptor|||message-router:3904|||||Request Id: cc58ea86-2b47-4ad0-85ad-45969ca6dc63:0, Transaction Id: KJJ98, Elapsed Time: 91 ms, REST Endpoint Call: OK-POST-/events/unauthenticated.TCAGEN2_OUTPUT/ 2020-03-24 03:48:17.754 INFO 1 --- [ask-scheduler-5] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: cc58ea86-2b47-4ad0-85ad-45969ca6dc63:0, Transaction Id: KJJ98, Elapsed Time: 91 ms, REST Endpoint Call: OK-POST-/events/unauthenticated.TCAGEN2_OUTPUT/ 2020-03-24T03:48:16.558+0000|2020-03-24T03:48:17.757+0000|cc58ea86-2b47-4ad0-85ad-45969ca6dc63:0|UNKNOWN_INSTANCE_ID|task-scheduler-5||docker-tcagen2|tca-gen2|COMPLETE|0|||INFO|0|10.42.2.105|1199|docker-tcagen2||org.onap.dcae.analytics.tca.web.integration.TcaPublisherResponseHandler|||||||Request Id: cc58ea86-2b47-4ad0-85ad-45969ca6dc63:0, Transaction Id: KJJ98, Transaction completion Time: 1199 ms, DMaaP MR Publisher Response: { "serverTimeMs": 1, "count": 1 } 2020-03-24 03:48:17.759 INFO 1 --- [ask-scheduler-5] .o.d.a.t.w.i.TcaPublisherResponseHandler : Request Id: cc58ea86-2b47-4ad0-85ad-45969ca6dc63:0, Transaction Id: KJJ98, Transaction completion Time: 1199 ms, DMaaP MR Publisher Response: { "serverTimeMs": 1, "count": 1 } 2020-03-24T03:48:46.558+0000|d4e8cc18-a76a-4773-ae2b-31848bc6c646|Request Id: d4e8cc18-a76a-4773-ae2b-31848bc6c646. Transaction Id: USBIC. Begin TS: 2020-03-24T03:48:46.558+0000. Starting new DMaaP MR Subscriber poll. TCAGEN2 o/p in DMAAP curl https://10.12.7.116:30226/events/unauthenticated.TCAGEN2_OUTPUT/vv/1 -k ["{\"closedLoopEventClient\":\"docker-tcagen2\",\"policyVersion\":\"v0.0.1\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyScope\":\"DCAE\",\"target_type\":\"VM\",\"AAI\":{\"vserver.vserver-name\":\"zdfw1fwl01fwl01\"},\"closedLoopAlarmStart\":1507750704126521,\"closedLoopEventStatus\":\"ONSET\",\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"target\":\"vserver.vserver-name\",\"requestID\":\"82dcbb06-e557-4306-8893-f16f87355fe5:0:0\",\"from\":\"DCAE\"}"] TCA o/p (CDAP) in DMAAP https://10.12.7.116:30226/events/unauthenticated.DCAE_CL_OUTPUT/vv/1 -k ["{\"closedLoopEventClient\":\"DCAE_INSTANCE_ID.dcae-tca\",\"policyVersion\":\"v0.0.1\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyScope\":\"DCAE\",\"target_type\":\"VM\",\"AAI\":{\"vserver.vserver-name\":\"zdfw1fwl01fwl01\"},\"closedLoopAlarmStart\":1507750704126521,\"closedLoopEventStatus\":\"ONSET\",\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"target\":\"vserver.vserver-name\",\"requestID\":\"86202c64-224e-4fa4-a5b9-ff3c3d2a52e2\",\"from\":\"DCAE\"}"]