From 4b780cfa3125e30acbd055e260bacf58d33c353e Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Thu, 4 May 2017 09:27:34 -0500 Subject: [POLICY-11] New REST APIs to obtain facts info The following REST APIs have been added, shown by example: GET policy/pdp/engine/controllers//drools : drools information for controller named For brevity in URL description, assume: DROOLS-REL-PATH=policy/pdp/engine/controllers//drools GET ${DROOLS-REL-PATH}/[?count=true] fact classes and count for in controller GET ${DROOLS-REL-PATH}// all fact objects of class for session GET ${DROOLS-REL-PATH}/// all fact objects returned by drools query named for the identifier (need corresponding query definition in drl is necessary) Change-Id: I2f62931f54a65eec4ef80472ad1af05f30ed83ba Signed-off-by: Jorge Hernandez --- .../src/main/java/org/openecomp/policy/drools/utils/ReflectionUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'policy-utils/src') diff --git a/policy-utils/src/main/java/org/openecomp/policy/drools/utils/ReflectionUtil.java b/policy-utils/src/main/java/org/openecomp/policy/drools/utils/ReflectionUtil.java index 0b86c2aa..1ab68282 100644 --- a/policy-utils/src/main/java/org/openecomp/policy/drools/utils/ReflectionUtil.java +++ b/policy-utils/src/main/java/org/openecomp/policy/drools/utils/ReflectionUtil.java @@ -36,7 +36,7 @@ public class ReflectionUtil { * * @param classLoader the class loader * @param classname the class name - * @return the PolicyEvent class + * @return the actual class * @throws IllegalArgumentException if an invalid parameter has been passed in */ public static Class fetchClass(ClassLoader classLoader, -- cgit 1.2.3-korg