commit | 4b780cfa3125e30acbd055e260bacf58d33c353e | [log] [tgz] |
---|---|---|
author | Jorge Hernandez <jh1730@att.com> | Thu May 04 09:27:34 2017 -0500 |
committer | Jorge Hernandez <jh1730@att.com> | Thu May 04 09:45:56 2017 -0500 |
tree | 8e69ce49abf8fb51a5ea9df66b5ce15336ceb44a | |
parent | 3273b61a5dca60033be9fac302be82a761232401 [diff] |
[POLICY-11] New REST APIs to obtain facts info The following REST APIs have been added, shown by example: GET policy/pdp/engine/controllers/<controller-name>/drools : drools information for controller named <controller-name> For brevity in URL description, assume: DROOLS-REL-PATH=policy/pdp/engine/controllers/<controller-name>/drools GET ${DROOLS-REL-PATH}/<session-name>[?count=true] fact classes and count for <session-name> in controller <name> GET ${DROOLS-REL-PATH}/<session-name>/<classname> all fact objects of class <classname> for session <session-name> GET ${DROOLS-REL-PATH}/<session-name>/<query-name>/<query-id> all fact objects returned by drools query named <query-name> for the identifier <query-id> (need corresponding query definition in drl is necessary) Change-Id: I2f62931f54a65eec4ef80472ad1af05f30ed83ba Signed-off-by: Jorge Hernandez <jh1730@att.com>
This source repository contains the OpenECOMP Policy DroolsPDP code. The settings file only needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment.
To build it using Maven 3, first build 'policy-common-modules' (which contains dependencies), and then run: mvn clean install