Further updates to the auto-test environment

Aligned python to python 3

Added test script of ric re-sync

Preparing for secure port of simulator and agent

Integrated SNDC ONAP adapter to the test environment

MR-stub now support long poll and message limits

Change-Id: I280f173f811a9fd859c4cc5234084a5a20f77a90
Issue-ID: NONRTRIC-154
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
diff --git a/test/auto-test/FTC10.sh b/test/auto-test/FTC10.sh
index 8808895..58128b7 100755
--- a/test/auto-test/FTC10.sh
+++ b/test/auto-test/FTC10.sh
@@ -21,7 +21,7 @@
 
 . ../common/testcase_common.sh $@
 . ../common/agent_api_functions.sh
-
+. ../common/ricsimulator_api_functions.sh
 
 #### TEST BEGIN ####
 
@@ -47,11 +47,11 @@
 
 start_control_panel
 
-#start_sdnc
-
 start_policy_agent
 
-use_agent_rest
+set_agent_debug
+
+use_agent_rest_http
 
 api_get_status 200
 
@@ -65,9 +65,9 @@
 
 
 # Create policies
-use_agent_rest
+use_agent_rest_http
 
-api_put_service 201 "rapp1" 3600 "$CR_PATH/callbacks/1"
+api_put_service 201 "rapp1" 3600 "$CR_PATH/1"
 
 api_put_policy 201 "rapp1" ricsim_g1_1 1 2000 testdata/OSC/pi1_template.json 1
 
@@ -81,7 +81,7 @@
 sim_equal ricsim_g1_1 num_instances 2
 
 
-use_agent_rest
+use_agent_rest_http
 
 api_put_policy 201 "rapp1" ricsim_g2_1 NOTYPE 2100 testdata/STD/pi1_template.json 1
 
@@ -96,7 +96,7 @@
 
 
 #Update policies
-use_agent_rest
+use_agent_rest_http
 
 api_put_service 200 "rapp1" 3600 "$CR_PATH/callbacks/1"
 
@@ -112,7 +112,7 @@
 sim_equal ricsim_g1_1 num_instances 2
 
 
-use_agent_rest
+use_agent_rest_http
 
 
 api_put_policy 200 "rapp1" ricsim_g2_1 NOTYPE 2100 testdata/STD/pi1_template.json 1
@@ -136,18 +136,18 @@
 
 use_agent_dmaap
 api_delete_policy 204 2000
-use_agent_rest
+use_agent_rest_http
 api_delete_policy 204 3000
 use_agent_dmaap
 api_delete_policy 204 2100
-use_agent_rest
+use_agent_rest_http
 api_delete_policy 204 3100
 
 sim_equal ricsim_g1_1 num_instances 0
 sim_equal ricsim_g2_1 num_instances 0
 
 # Check policy removal
-use_agent_rest
+use_agent_rest_http
 api_get_policy 404 2000
 api_get_policy 404 3000
 api_get_policy 404 2100