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 <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
Cc: Santosh Bayas <santosh.ba...@amdocs.com>; Sumit Chandak 
<sumit.chan...@amdocs.com>; Mike Elliott <mike.elli...@amdocs.com>; Trevor 
Plestid <trevor.ples...@amdocs.com>; 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__sdnc.onap-3A8443_restconf_operations_SLI-2DAPI-3Ahealthcheck&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=zZW_DjTJvD_G_MYNZ1MG9hhFAlsx-KDh0r26SyKFgOk&s=LDSZvaevZOWJLfN_cWBTCnzltdUddpqGVz9BKd7ggZc&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__www.amdocs.com_about_email-2Dterms-2Dof-2Dservice&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=zZW_DjTJvD_G_MYNZ1MG9hhFAlsx-KDh0r26SyKFgOk&s=iuQtpmzs1JEsBt_qltFrvEPQ8JRsjhrduTr_1jAA_00&e=>


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

View/Reply Online (#21692): https://lists.onap.org/g/onap-discuss/message/21692
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