Thanks Sandeep for confirming, I will try Guilin next,

David.

From: Sandeep Shah <[email protected]>
Sent: Monday, December 14, 2020 4:03 PM
To: Elie Dit Cosaque, David (Nokia - US/Dallas) 
<[email protected]>
Cc: [email protected]; [email protected]
Subject: RE: Help with A1 Adapter (Non RT RIC)

Hi David - as John indicates, this was deprecated in Guilian, and you can 
follow instructions/UR's provided by John below....

Thanks John!

Sincerely,

Sandeep Shah
E-mail: [email protected]<mailto:[email protected]>
847-708-1068 (Mobile)


----- Original message -----
From: "Elie Dit Cosaque, David (Nokia - US/Dallas)" 
<[email protected]<mailto:[email protected]>>
To: John Keeney <[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL] RE: Help with A1 Adapter (Non RT RIC)
Date: Mon, Dec 14, 2020 9:29 AM


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 <[email protected]<mailto:[email protected]>>
Sent: Monday, December 14, 2020 6:21 AM
To: [email protected]<mailto:[email protected]>
Cc: Elie Dit Cosaque, David (Nokia - US/Dallas) 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
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://urldefense.proofpoint.com/v2/url?u=https-3A__docs.onap.org_projects_onap-2Dccsdk-2Doran_en_latest_architecture_architecture.html&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=F9wOhbYptSajuUNJBPGt1XcawDXG5bklmUw8xFz37hY&e=>
·        
https://docs.onap.org/projects/onap-ccsdk-oran/en/latest/guide/developer-guide.html#developer-guide<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.onap.org_projects_onap-2Dccsdk-2Doran_en_latest_guide_developer-2Dguide.html-23developer-2Dguide&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=jLOsD9KAsM9SmKuj4pJOUOxiKg65ZL2WvxNc7L_YKKk&e=>
·        
https://docs.onap.org/projects/onap-ccsdk-oran/en/latest/offeredapis/pms-api.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.onap.org_projects_onap-2Dccsdk-2Doran_en_latest_offeredapis_pms-2Dapi.html&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=8iIRiSKj96NdY0eOoN-Qey8VN5YxjeTm4OLAf53IC6Q&e=>
·        
https://wiki.onap.org/pages/viewpage.action?pageId=84644984<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_pages_viewpage.action-3FpageId-3D84644984&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=4wwrPT2PTXqsEZYI30BGdRl7DUiPFoLlyP95pRdIy3Q&e=>



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]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ericsson.com_&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=2WuE875xT2IgSwuzGIDJv-NmkT34g7QGVKdRbC0q6jE&e=>



John Keeney PhD



Ericsson Software Technologies

Phone: +353 87 3791678

[email protected]<mailto:[email protected]>

[email protected]<mailto:[email protected]>



Ericsson EST

Ericsson Software Campus

Athlone, Westmeath

Ireland

https://www.est.tech/<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.est.tech_&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=ezeBrcxhMu6n6SbDjZgM6hg_eCZt2uHokxpAAd4K0W8&e=>

https://www.ericsson.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ericsson.com_&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=Rs3y5RDiyE5qBdsETmSrrUIutXMZf7IDu5lF1zCZ5Eg&e=>







From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Elie Dit Cosaque, David (Nokia - US/Plano) via lists.onap.org
Sent: Friday 11 December 2020 21:30
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
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<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_pages_viewpage.action-3FpageId-3D71837463&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=Y7m2uoSYk_VD1Cq3gAdOvdujXL0NvcNRupOTUFtdH7M&e=>
 and

https://docs.onap.org/projects/onap-integration/en/latest/docs_5g_a1_adaptor.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.onap.org_projects_onap-2Dintegration_en_latest_docs-5F5g-5Fa1-5Fadaptor.html&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=fxcLe5M4viyU8OFS9NdehJtLxhoPb8JFyu8_NbdcARM&e=>



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<https://urldefense.proofpoint.com/v2/url?u=http-3A__onap.readthedocs.io&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=qabE0-oGkp5puUB5U-JX3noH6KXT34mH_XIEz3usyhk&m=K2nfeCDDC-9IXEeG2AcsobYlK-fm0dgE1Ny3-5Fm0_c&s=avSF60OALxDt8dO4i4QNWJDDg2KENsQ1h-mARWJ1E4w&e=>","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 (#22642): https://lists.onap.org/g/onap-discuss/message/22642
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