From 1d693376205c66af93283d04e8e9740c947a7d02 Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Fri, 24 Aug 2018 13:15:04 -0400 Subject: 4.2.0 policy-handler - periodic reconfigure - reconfigure == periodically retrieve the policy-handler config from consul-kv and compare to previous config and subconfigs. If changed, reconfigure the subunits - selectively change one or any settings for the following = catch_up timer interval = reconfigure timer interval = deployment-handler url and params (thread-safe) = policy-engine url and params (thread-safe) = web-socket url to policy-engine (through a callback) - each subunit has its own Settings that keep track of changes - try-catch and metrics around discovery - consul API - hidden the secrets from logs - froze the web-socket version to 0.49.0 because 0.50.0 and 0.51.0 are broken - looking around for stable alternatives - fixed-adapted the callbacks passed to the web-socket lib that changed its API in 0.49.0 and later - log the stack on the exception occurring in the web-socket lib - unit test refactoring Change-Id: Id53bad59660a197f59d9aeb7c05ab761d1060cd0 Signed-off-by: Alex Shatov Issue-ID: DCAEGEN2-470 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'requirements.txt') diff --git a/requirements.txt b/requirements.txt index 72c36de..df9b56d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ CherryPy>=15.0.0,<16.0.0 psutil>=5.4.5,<6.0.0 requests>=2.18.4,<3.0.0 -websocket-client>=0.48.0,<1.0.0 +websocket-client==0.49.0 -- cgit 1.2.3-korg