PM-Mapper sends delete request to DR, once the data is received. Once the file 
gets deleted, it says " Execution error: File not found on server.". This is 
valid. But not sure, why it is throwing java.io.FileNotFoundException.

Have you tried consuming the PM VES events from message router? It requires a 
registered subscriber.

1. Create a subscriber using:
curl -k -X POST http://dmaap-bc:8443/webapi/mr_clients -H 
"Content-Type:application/json" -d { "dcaeLocationName": "san-francisco", 
"fqtn": "org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS", "clientIdentity": 
"[email protected]", "action": "sub" }

2. Post the PM message
curl -k -X PUT https://34.90.118.226:32344/delivery/Anf1_1.xml -H 
'X-DMAAP-DR-META:{"productName": 
"AcmeNode","vendorName":"Acme","lastEpochMicrosec": 
"1538478000000","sourceName": "oteNB5309","startEpochMicrosec": 
"1538478900000","timeZoneOffset": "UTC+05:00","location": 
"ftpes://127.0.0.1:22/ftp/rop/A20161224.1045-1100.bin.gz","compression": 
"gzip","fileFormatType": "org.3GPP.32.435#measCollec","fileFormatVersion": 
"V9"}' -H "Content-Type:application/xml" --data-binary @Anf1_1.xml-H 
'X-ONAP-RequestID: 12345' -H 'X-DMAAP-DR-PUBLISH-ID: 12345'

3. Listen to the topic:
curl -k 
https://message-router:3905/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS/1/1
 -u '[email protected]:demo123456!'

If still you are receiving 401 error, try the below command then repeat the 
steps 3 & 4.

curl -X POST https://dmaap-bc:8443/webapi/mr_clusters -d 
{"dcaeLocationName":"san-francisco","fqdn":"message-router","topicProtocol":"https","topicPort":"3905"}

Thanks & Regards,
Ahila P.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22793): https://lists.onap.org/g/onap-discuss/message/22793
Mute This Topic: https://lists.onap.org/mt/80286285/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to