Hi Brian, I was going through "https://wiki.onap.org/display/DW/SDNC+APIs" 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. 3. 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. Outgoing API: 1. A&AI --> SDNC will read/write objects to A&AI. Idea is to send one GET request. Thanks. Nagendra From: [email protected] <[email protected]> On Behalf Of Brian Freeman Sent: Tuesday, July 14, 2020 6:48 PM To: [email protected]; Nagendra Kumar Pal <[email protected]> Cc: Santosh Bayas <[email protected]>; Sumit Chandak <[email protected]>; Mike Elliott <[email protected]>; Trevor Plestid <[email protected]>; [email protected] 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: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of Nagendra Kumar Pal Sent: Monday, July 13, 2020 10:13 AM To: [email protected]<mailto:[email protected]> Cc: Santosh Bayas <[email protected]<mailto:[email protected]>>; Sumit Chandak <[email protected]<mailto:[email protected]>>; Mike Elliott <[email protected]<mailto:[email protected]>>; Trevor Plestid <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__sdnc.onap-3A8443_restconf_operations_SLI-2DAPI-3Ahealthcheck%26d%3DDwMFAg%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DzZW_DjTJvD_G_MYNZ1MG9hhFAlsx-KDh0r26SyKFgOk%26s%3DLDSZvaevZOWJLfN_cWBTCnzltdUddpqGVz9BKd7ggZc%26e%3D&data=02%7C01%7CNagendraKumar.Pal%40amdocs.com%7Ca0181efe094e40ea8a3608d827f89874%7Cc8eca3ca127646d59d9da0f2a028920f%7C0%7C0%7C637303295958780321&sdata=cX6iXNflE%2BQyXb8GA057LgM2y31QCLgj5qUpqnzKQAA%3D&reserved=0> 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.amdocs.com_about_email-2Dterms-2Dof-2Dservice%26d%3DDwMFAg%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DzZW_DjTJvD_G_MYNZ1MG9hhFAlsx-KDh0r26SyKFgOk%26s%3DiuQtpmzs1JEsBt_qltFrvEPQ8JRsjhrduTr_1jAA_00%26e%3D&data=02%7C01%7CNagendraKumar.Pal%40amdocs.com%7Ca0181efe094e40ea8a3608d827f89874%7Cc8eca3ca127646d59d9da0f2a028920f%7C0%7C0%7C637303295958790319&sdata=8ql%2FHqwglARVPYKGxs5aAuH3NyPLQ9SboVYXvBIDXBk%3D&reserved=0> 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://www.amdocs.com/about/email-terms-of-service> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21695): https://lists.onap.org/g/onap-discuss/message/21695 Mute This Topic: https://lists.onap.org/mt/75497905/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
