Hi John,

Thanks a lot for the information. I was using ONAP Frankfurt release. I might 
just continue with Guiling then,

Thanks,
David

From: John Keeney <john.kee...@est.tech>
Sent: Monday, December 14, 2020 6:21 AM
To: onap-discuss@lists.onap.org
Cc: Elie Dit Cosaque, David (Nokia - US/Dallas) 
<david.elie_dit_cosa...@nokia.com>; sandeep.s...@ibm.com
Subject: RE: Help with A1 Adapter (Non RT RIC)

Hi David,
I am not sure which ONAP version you are using.
The functionality you reference was developed by Sandeep for ONAP Frankfurt.

That work has since been extended in ONAP Guilin, and the DMaaP interface has 
been refactored.
A new "A1 Policy Management Service" was added - with a configurable DMaaP NBI. 
This should be use instead of accessing the A1-Adapter directly.
See

  *   
https://docs.onap.org/projects/onap-ccsdk-oran/en/latest/architecture/architecture.html
  *   
https://docs.onap.org/projects/onap-ccsdk-oran/en/latest/guide/developer-guide.html#developer-guide
  *   
https://docs.onap.org/projects/onap-ccsdk-oran/en/latest/offeredapis/pms-api.html
  *   https://wiki.onap.org/pages/viewpage.action?pageId=84644984

I hope this helps, if you are using Guilin.
Thanks,
John

(PS: Sorry, we should have changed the documentation for the Frankfurt A1 
Adapter. We will uspdate this as soon as possible)



[logo]<http://www.ericsson.com/>

John Keeney PhD

Ericsson Software Technologies
Phone: +353 87 3791678
john.kee...@est.tech<mailto:john.kee...@est.tech>
john.kee...@ericsson.com<mailto:john.kee...@ericsson.com>

Ericsson EST
Ericsson Software Campus
Athlone, Westmeath
Ireland
https://www.est.tech/
https://www.ericsson.com<https://www.ericsson.com/>



From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
Elie Dit Cosaque, David (Nokia - US/Plano) via lists.onap.org
Sent: Friday 11 December 2020 21:30
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; 
sandeep.s...@ibm.com<mailto:sandeep.s...@ibm.com>
Subject: [onap-discuss] Help with A1 Adapter (Non RT RIC)

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<mailto:-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 (#22639): https://lists.onap.org/g/onap-discuss/message/22639
Mute This Topic: https://lists.onap.org/mt/78889566/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to