diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-12-11 10:00:21 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-12-23 13:33:19 +0000 |
commit | 85744c81b27a833db4a8089c90a4faeb98d8f349 (patch) | |
tree | 290b6c6f6dfcc7c108182c6af44116e7bcfae581 /main | |
parent | 4ff3b261231274ec9f3cd957ba50108fef3e0eb5 (diff) |
Add optimization subscriber request
Adding support for a preliminary request to pull subscriber details.
The returned decision adds scope attributes for the original request.
Fixed some checkstyle issues due to new checkstyle requirements.
Issue-ID: POLICY-2066
Change-Id: Ief02d896ce33e4864bb20e9185b0d0f5eb254bfd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/org/onap/policy/pdpx/main/rest/provider/DecisionProvider.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/main/java/org/onap/policy/pdpx/main/rest/provider/DecisionProvider.java b/main/src/main/java/org/onap/policy/pdpx/main/rest/provider/DecisionProvider.java index a5141b90..b6a4e5a0 100644 --- a/main/src/main/java/org/onap/policy/pdpx/main/rest/provider/DecisionProvider.java +++ b/main/src/main/java/org/onap/policy/pdpx/main/rest/provider/DecisionProvider.java @@ -39,9 +39,10 @@ public class DecisionProvider { /** * Retrieves the policy decision for the specified parameters. - * @param body * - * @return the Decision object + * @param request DecisionRequest + * @param queryParams Map of parameters + * @return DecisionResponse */ public DecisionResponse fetchDecision(DecisionRequest request, Map<String, String[]> queryParams) { LOGGER.debug("Fetching decision {}", request); |