-
Story
-
Resolution: Done
-
Medium
-
None
-
None
The purpose of this test scenario is validate that APP-C successfully triggered the LCM API Healthcheck via Doc Explorer (REST)
Description (Design Steps)
Interface/Method Name: LCM API Healthcheck
Test Data: (example)
sample json request for healthcheck api:
{
"input" : {
"common-header" : {
"timestamp" : "2017-09-11T15:42:05.464Z",
"api-ver" : "2.00",
"originator-id" : "SDNGP",
"request-id" : "16th Aug-sg1-lcm-HealthCheck-Test#1",
"sub-request-id" : "16th Aug-sg1-lcm-HealthCheck-Test#1",
"flags" : {
"mode" : "NORMAL",
"force" : "TRUE",
"ttl" : 3600
}
},
"action" : "HealthCheck",
"action-identifiers" : {
"vnf-id" : "dbax001v"
},
"payload" : "{\"request-parameters\":{\"vnf-name\":\"dbax001v\",\"vnf-host-ip-address\":\"https://IP_Address:8080/Dispatch/\"},\"configuration-parameters\":{\"vnf_instance\":\"dbax001v\"}}"
}
}
Pre-conditions/Dependencies:
Access to APPC ONAP Doc Explorer (REST API)
Validation Steps:
1) Access APPC ONAP doc explorer with valid login credential
2) Expand:
post: /operations/appc-provider-lcm:health-check
3) Ensure "Response Content Type" = application/json is selected
4) Input the json request for healthcheck (see sample in Test Data into the "Value" field
Note: Ensure the "Timestamp" is current with server's time; data for the requested vnf-id existed in A&AI db
5) Click the "Try it out!" button
6) Check the "Response Body" section for results. Inspect the logs (karaf.log, appc-debug.log)
Validation Notes:
Testers might want to check the "Action Log" in openstack dashboard for the actual result.