Merge "Remove DMaaP Mediator Producer from repo"
[nonrtric.git] / test / common / httpproxy_api_functions.sh
index af11f14..e805264 100644 (file)
@@ -93,7 +93,7 @@ __HTTPPROXY_kube_delete_all() {
 # args: <log-dir> <file-prexix>
 __HTTPPROXY_store_docker_logs() {
        if [ $RUNMODE == "KUBE" ]; then
-               kubectl  logs -l "autotest=HTTPPROXY" -n $KUBE_SIM_NAMESPACE --tail=-1 > $1$2_httpproxy.log 2>&1
+               kubectl $KUBECONF  logs -l "autotest=HTTPPROXY" -n $KUBE_SIM_NAMESPACE --tail=-1 > $1$2_httpproxy.log 2>&1
        else
                docker logs $HTTP_PROXY_APP_NAME > $1$2_httpproxy.log 2>&1
        fi
@@ -118,6 +118,12 @@ __HTTPPROXY_statisics_setup() {
        fi
 }
 
+# Check application requirements, e.g. helm, the the test needs. Exit 1 if req not satisfied
+# args: -
+__HTTPPROXY_test_requirements() {
+       :
+}
+
 #######################################################
 
 # Set http as the protocol to use for all communication to the http proxy