Hi Sandeep,

I was trying to follow your instructions on the pages below regarding the A1 
adapter testing:
https://wiki.onap.org/pages/viewpage.action?pageId=71837463 and
https://docs.onap.org/projects/onap-integration/en/latest/docs_5g_a1_adaptor.html

After a fresh ONAP install I ran the DMAAP query but go a error message :


vagrant@k8s-head:~/a1-test$ curl -X POST 10.97.213.7:3904/events/A1-P -v -H 
"Content-Type: application/json" -d@./test.json
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 10.97.213.7...
* Connected to 10.97.213.7 (10.97.213.7) port 3904 (#0)
> POST /events/A1-P HTTP/1.1
> Host: 10.97.213.7:3904
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 597
>
* upload completely sent off: 597 out of 597 bytes
< HTTP/1.1 400 Bad Request
< Date: Fri, 11 Dec 2020 01:46:17 GMT
< Content-Type: application/json;charset=utf-8
< Accept: */*
< breadcrumbId: 
ID-dev-message-router-0-message-router-onap-svc-cluster-local-1607644981566-0-31406
< User-Agent: curl/7.47.0
< X-CSI-Internal-WriteableRequest: true
< Content-Length: 202
< Server: Jetty(9.4.z-SNAPSHOT)
<
* Connection #0 to host 10.97.213.7 left intact
{"mrstatus":5007,"helpURL":"http://onap.readthedocs.io","message":"Error while 
publishing data to topic.:A1-P.Successfully published number of messages 
:0.Expected '{' to start an object.","status":400}vagrant@k8s-head:~/a1-test$



The list of topic in DMAAP is:

vagrant@k8s-head:~$ curl  10.106.20.101:3904/topics -v
*   Trying 10.106.20.101...
* Connected to 10.106.20.101 (10.106.20.101) port 3904 (#0)
> GET /topics HTTP/1.1
> Host: 10.106.20.101:3904
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Fri, 11 Dec 2020 21:26:10 GMT
< Content-Type: application/json
< Accept: */*
< breadcrumbId: 
ID-dev-message-router-0-message-router-onap-svc-cluster-local-1607701934762-0-99698
< User-Agent: curl/7.47.0
< X-CSI-Internal-WriteableRequest: true
< Content-Length: 313
< Server: Jetty(9.4.z-SNAPSHOT)
<
{"topics": [
    "org.onap.dmaap.mr.PNF_REGISTRATION",
    "AAI-EVENT",
    "SDC-DISTR-STATUS-TOPIC-AUTO",
    "SDC-DISTR-NOTIF-TOPIC-AUTO",
    "org.onap.dmaap.mr.PNF_READY",
    "POLICY-PDP-PAP",
    "unauthenticated.VES_MEASUREMENT_OUTPUT",
    "org.onap.dmaap.mr.mirrormakeragent",
    "__consumer_offsets"
* Connection #0 to host 10.106.20.101 left intact


Did I miss a step to get the A1 adapter to respond to DMAAP requests?

Thanks,
David.




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


Reply via email to