From: Nagendra Kumar Pal <nagendrakumar....@amdocs.com>
Sent: Tuesday, July 14, 2020 10:53 AM
To: onap-discuss@lists.onap.org; FREEMAN, BRIAN D <bf1...@att.com>; Mike 
Elliott <mike.elli...@amdocs.com>
Cc: Santosh Bayas <santosh.ba...@amdocs.com>; Sumit Chandak 
<sumit.chan...@amdocs.com>; Trevor Plestid <trevor.ples...@amdocs.com>; 
morgan.richo...@orange.com
Subject: RE: [onap-discuss] [SDNC] | SDNC health check enhancement | Need help 
in getting API's

Hi Brian,

I was going through 
"https://wiki.onap.org/display/DW/SDNC+APIs<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_SDNC-2BAPIs&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=NxeusLgqybeh8o05b5qY14ENDEeY9U9r6AnS8a3eyMY&s=d9x4rq6B1sYi1S2R53ieRVJPBs_rUxR_Zsh5ZvoF3s0&e=>"
  and came to know that there are few incoming and outgoing API's.
Incoming API:

  1.  RESTCONF APIs --> Health check already implemented
  2.  SDC client: --> Here seems that SDNC and SDC communicate with each other 
so I was thinking to send 1 GET/POST request to check that both are 
communicating fine.
>> I think the flow is that at boot of the container that the sdc client in 
>> ueb-listener reaches out to SDC to get the topic credentials
>> then ueb-listener does a looping GET to the DMaaP topic with those 
>> credentials.
>> ueb-listener doesn't move to running state until it hand shakes with SDC
>> Not sure you can send anything in other than a model distribution that would 
>> trigger SDNC ueb-listener to do the GET and then POST a reply to the topic.
>> might need to check with the SDC team to see if there is a DMaaP health 
>> check that they already support on this that you could emulate.


  1.  DMAAP listener--> Here seems that SDNC and DMAAP listener communicate 
with each other so I was thinking to send 1 GET/POST request to check that both 
are communicating fine.
>> Generally I think the dmaap-listener is looking for SDNC LCM events - not 
>> sure if there is an event defined that you could send in to the LCM-READ and 
>> view an output on LCM-WRITE but that might be very feasible. An LCM-WRITE 
>> error message is probably fairly easy. Talk to Scott Blandford and Dan - 
>> they might be able to give you an example DMaaP POST message (or check the 
>> wiki for SDNC LCM event DMaaP messages) - you might get a n error back from 
>> SDNC since there won't be a VNF instantiated but it would confirm 
>> connectivity.


Outgoing API:

  1.  A&AI --> SDNC will read/write objects to A&AI. Idea is to send one GET 
request.




Thanks.

Nagendra

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 
Brian Freeman
Sent: Tuesday, July 14, 2020 6:48 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Nagendra 
Kumar Pal <nagendrakumar....@amdocs.com<mailto:nagendrakumar....@amdocs.com>>
Cc: Santosh Bayas <santosh.ba...@amdocs.com<mailto:santosh.ba...@amdocs.com>>; 
Sumit Chandak <sumit.chan...@amdocs.com<mailto:sumit.chan...@amdocs.com>>; Mike 
Elliott <mike.elli...@amdocs.com<mailto:mike.elli...@amdocs.com>>; Trevor 
Plestid <trevor.ples...@amdocs.com<mailto:trevor.ples...@amdocs.com>>; 
morgan.richo...@orange.com<mailto:morgan.richo...@orange.com>
Subject: Re: [onap-discuss] [SDNC] | SDNC health check enhancement | Need help 
in getting API's

The existing SDNC healthcheck tests the odl container and the mariadb container 
and agree it doesn't test the other containers.

Adding test cases is fairly easy on the robot side 
(robot/resources/sdnc_interface.robot is where the keywords would be defined)

What API's did you want to be able to check in SDNC or its pods ?

For those items like ueb-listener it may be difficult without working with the 
SDNC team to define an appropriate test API.

UEB-listener for instance we test with the heathdist tag since that does a 
model onboard and distribution but that is a fairly lengthy test and can be 
affected by other component issues.

K8 is already doing liveness and readiness checks so not sure if you are 
looking to simply add a robot check via kubectl -n onap get pod | grep sdnc and 
check for the non-error state on the list of pods

Any healthcheck test needs to be repeatable and leave the SUT in a clean state 
, so for example if you do a PUT or POST then you should do a DELETE to clean 
up.

Do you have details on what you would want to develop/implement ?

Brian


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 
Nagendra Kumar Pal
Sent: Monday, July 13, 2020 10:13 AM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Cc: Santosh Bayas <santosh.ba...@amdocs.com<mailto:santosh.ba...@amdocs.com>>; 
Sumit Chandak <sumit.chan...@amdocs.com<mailto:sumit.chan...@amdocs.com>>; Mike 
Elliott <mike.elli...@amdocs.com<mailto:mike.elli...@amdocs.com>>; Trevor 
Plestid <trevor.ples...@amdocs.com<mailto:trevor.ples...@amdocs.com>>; 
morgan.richo...@orange.com<mailto:morgan.richo...@orange.com>
Subject: [onap-discuss] [SDNC] | SDNC health check enhancement | Need help in 
getting API's

Hi Team,

I ran Health check and noticed that for SDNC we are running below 1 TC:

Basic SDNC Health Check
    [Tags]    health    core   health-sdnc
    Run SDNC Health Check

Here we are running a post request to 
https://sdnc.onap:8443/restconf/operations/SLI-API:healthcheck<https://urldefense.proofpoint.com/v2/url?u=https-3A__eur01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fsdnc.onap-2D3A8443-5Frestconf-5Foperations-5FSLI-2D2DAPI-2D3Ahealthcheck-2526d-253DDwMFAg-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DzZW-5FDjTJvD-5FG-5FMYNZ1MG9hhFAlsx-2DKDh0r26SyKFgOk-2526s-253DLDSZvaevZOWJLfN-5FcWBTCnzltdUddpqGVz9BKd7ggZc-2526e-253D-26data-3D02-257C01-257CNagendraKumar.Pal-2540amdocs.com-257Ca0181efe094e40ea8a3608d827f89874-257Cc8eca3ca127646d59d9da0f2a028920f-257C0-257C0-257C637303295958780321-26sdata-3DcX6iXNflE-252BQyXb8GA057LgM2y31QCLgj5qUpqnzKQAA-253D-26reserved-3D0&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=NxeusLgqybeh8o05b5qY14ENDEeY9U9r6AnS8a3eyMY&s=W9QWHsfr7KULkmSAQt9ZgvH1aJMVKLWk5hpFCBm8qQ8&e=>
 and checking for 200 response.

Now we want to enhance this health check by adding few more TCs, in order to do 
that we need your help in getting few more API's.
Kindly help us in getting API's so that we can make it better.
These API's might be to check all the pods/applications are UP or not in SDNC 
or any other API's which can serve the purpose.


Thanks.

Nagendra

This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service<https://urldefense.proofpoint.com/v2/url?u=https-3A__eur01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fwww.amdocs.com-5Fabout-5Femail-2D2Dterms-2D2Dof-2D2Dservice-2526d-253DDwMFAg-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DzZW-5FDjTJvD-5FG-5FMYNZ1MG9hhFAlsx-2DKDh0r26SyKFgOk-2526s-253DiuQtpmzs1JEsBt-5FqltFrvEPQ8JRsjhrduTr-5F1jAA-5F00-2526e-253D-26data-3D02-257C01-257CNagendraKumar.Pal-2540amdocs.com-257Ca0181efe094e40ea8a3608d827f89874-257Cc8eca3ca127646d59d9da0f2a028920f-257C0-257C0-257C637303295958790319-26sdata-3D8ql-252FHqwglARVPYKGxs5aAuH3NyPLQ9SboVYXvBIDXBk-253D-26reserved-3D0&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=NxeusLgqybeh8o05b5qY14ENDEeY9U9r6AnS8a3eyMY&s=Ljd8Q-L3ePJf1qdQwr2f-pIV867mhEhL1hzgc2RdpQw&e=>

This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Dterms-2Dof-2Dservice&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=NxeusLgqybeh8o05b5qY14ENDEeY9U9r6AnS8a3eyMY&s=FF-UBh4lGHwX2faJNUH86yMjdMPij_kaTXEXYANVkjk&e=>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21696): https://lists.onap.org/g/onap-discuss/message/21696
Mute This Topic: https://lists.onap.org/mt/75497905/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