[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>
11 files changed
tree: 8e69ce49abf8fb51a5ea9df66b5ce15336ceb44a
  1. packages/
  2. policy-core/
  3. policy-endpoints/
  4. policy-healthcheck/
  5. policy-management/
  6. policy-persistence/
  7. policy-utils/
  8. project-configs/
  9. .gitignore
  10. .gitreview
  11. LICENSE.txt
  12. pom.xml
  13. README.md
  14. version.properties
README.md

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