Limit statistics record count 12/122612/3
authorJim Hahn <jrh3@att.com>
Tue, 13 Jul 2021 18:02:30 +0000 (14:02 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 13 Jul 2021 18:16:35 +0000 (14:16 -0400)
commit190b75c59bcc6f250446b627a96e4a12de52278f
treecda19d98788ed41f4946ac74e018aa12a9abf65e
parent15d89d8bfee2a56e5db53203983f20173a4165bb
Limit statistics record count

Modified PAP, for Honolulu only, to limit the number of statistics
records retrieved from the DB.
Also added the recordCount parameter to the REST APIs, because otherwise
it would only return one record.

Issue-ID: POLICY-3485
Change-Id: Ib0820cfda95672f1bc6f879dfd2ac172e7b42f0d
Signed-off-by: Jim Hahn <jrh3@att.com>
main/src/main/java/org/onap/policy/pap/main/rest/StatisticsRestControllerV1.java
main/src/main/java/org/onap/policy/pap/main/rest/StatisticsRestProvider.java