diff options
author | Rashmi Pujar <rashmi.pujar1@bell.ca> | 2022-03-31 11:52:53 -0400 |
---|---|---|
committer | Rashmi Pujar <rashmi.pujar1@bell.ca> | 2022-03-31 12:45:23 -0400 |
commit | d2be27372c1e3efb76e2edd648bcfab8945ea51f (patch) | |
tree | d137d765090e11de35dd32972b499718bc9f0fec /testsuites | |
parent | 6c3a6abb7e18be81284866f61a54557474e643ed (diff) |
Bug fixes for APEX PDP metrics
1. APEX engine metrics were being initialized to 0 in the
constructor which caused them to reset to 0. Hence, initialization
is removed, and updates are done to metrics only upon:
engineStart/Stop, executionEnter/Exit stages.
2. APEX engine Uptime was only updated when engine stopped,
hence always 0. Also, uptime is redundant since it can be derived
from lastStart timestamp and hence is removed as a metric.
3. Fixed a corner case bug which occurs when all
policies are undeployed the counters are not correct.
4. Fix Unit tests
Issue-ID: POLICY-4044
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I4d875ff288cf8c242a1851eb105e56dc69b97883
Diffstat (limited to 'testsuites')
0 files changed, 0 insertions, 0 deletions