Fix comments and add debugging 65/83365/2
authorPamela Dragosh <pdragosh@research.att.com>
Tue, 26 Mar 2019 15:19:12 +0000 (11:19 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Tue, 26 Mar 2019 15:45:42 +0000 (11:45 -0400)
commitd3438454879ec3f3c31ca8af2fc5903b7f8697ae
tree68abbf250babf352e9cc2b08a7cac0a04729e2b1
parent2c847e0855b316c162c9fd31456fdf8e338a5dba
Fix comments and add debugging

Added some fixes from previous review and some debugging
for the JUnits. The merge failed in the JUnits and I
could not see why. I think the wrong request was sent, but
I'm not sure why the JUnits woulnd't fail locally or in
the verify job. We need to do a lot of testing with these
policy translations.

Also fixed the guard policies to use correct VF Module Create
recipe.

Issue-ID: POLICY-1273
Change-Id: I813bcca92436d356c43da5613eab7ba7746a4e3d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdMatchableTranslator.java
applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardPdpApplicationTest.java
applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml
applications/guard/src/test/resources/vDNS.policy.guard.minmax.output.tosca.yaml
main/src/test/resources/decisions/decision.guard.shoulddeny.input.json
main/src/test/resources/decisions/decision.guard.shoulddeny.input2.json
main/src/test/resources/decisions/decision.guard.shouldpermit.input.json