Adjust indexes for Op History table 19/121519/1
authorJim Hahn <jrh3@att.com>
Mon, 24 May 2021 15:39:42 +0000 (11:39 -0400)
committerJim Hahn <jrh3@att.com>
Mon, 24 May 2021 15:42:38 +0000 (11:42 -0400)
commit3031446fc890ac27d837df7b9e6b3d385de0fd43
tree99e1dc45e4543c799185b079dbd021e5679a7f92
parentd00c73842c6f8e7bb00b29d2fb5dd63b9cde4bfe
Adjust indexes for Op History table

Reordered one index to put requestId first, as that should significantly
reduce the number of index entries to be examined.
Added endtime to another index, which should also reduce the number of
index entries to be examined for look-ups by time.

Issue-ID: POLICY-2874
Change-Id: I29c10fb9cabb22b3520ed1b14d7fe3fd9db40a15
Signed-off-by: Jim Hahn <jrh3@att.com>
models-interactions/model-impl/guard/src/main/java/org/onap/policy/guard/OperationsHistory.java