aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock_config.json
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-12-05 15:23:50 -0500
committerAlex Shatov <alexs@att.com>2018-12-05 15:23:50 -0500
commita39f4e82cef0414f510cf20e25864ac04cc8f055 (patch)
tree759f5a9f51c368456e8d8f3be65dac1951de0bd9 /tests/mock_config.json
parent61fe1b8aa4f6e3c2388cbc573f655f60b4c1b5f3 (diff)
4.5.0 policy-handler - multi change
DCAEGEN2-853: - stop reporting the absence of policies or updates as error - this is an expected result == INFO or WARNING DCAEGEN2-903: preparation for TLS on the web-server of policy-handler DCAEGEN2-930: - configurable timeouts for http requests from policy-handler - added configurable pinging on the web-socket to PDP - added healthcheck info on the web-socket - upgraded websocket-client lib to 0.53.0 DCAEGEN2-1017: fixed a bug on policy-filter matching by filter_config_name - refactored and enhanced the unit-tests Change-Id: I111ddc57bb978554ef376cbf916965b6667dad9b Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-853 Issue-ID: DCAEGEN2-903 Issue-ID: DCAEGEN2-930 Issue-ID: DCAEGEN2-1017
Diffstat (limited to 'tests/mock_config.json')
-rw-r--r--tests/mock_config.json15
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/mock_config.json b/tests/mock_config.json
index 7ec0ac6..ef02a15 100644
--- a/tests/mock_config.json
+++ b/tests/mock_config.json
@@ -6,13 +6,13 @@
"policy_retry_count" : 5,
"policy_retry_sleep" : 5,
"catch_up" : {
- "interval" : 10
+ "interval" : 3600
},
"reconfigure" : {
- "interval" : 10
+ "interval" : 3600
},
"policy_engine" : {
- "url" : "https://pdp-server:8081",
+ "url" : "https://unit-test-pdp-server:8081000",
"path_notifications" : "/pdp/notifications",
"path_api" : "/pdp/api/",
"headers" : {
@@ -24,16 +24,19 @@
},
"target_entity" : "policy_engine",
"tls_ca_mode" : "cert_directory",
- "tls_wss_ca_mode" : "cert_directory"
+ "tls_wss_ca_mode" : "cert_directory",
+ "timeout_in_secs": 1,
+ "ws_ping_interval_in_secs": 1800
},
"deploy_handler" : {
"target_entity" : "deployment_handler",
- "url" : "http://deployment_handler:8188",
+ "url" : "http://unit-test-deployment_handler:8188000",
"max_msg_length_mb" : 5,
"query" : {
"cfy_tenant_name" : "default_tenant"
},
- "tls_ca_mode" : "cert_directory"
+ "tls_ca_mode" : "cert_directory",
+ "timeout_in_secs": 1
}
}
}