Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Policy Lifecycle API - Creating Coordination Policies



PAP API - Deploying Policies



Policy Decision API - Getting Policy Decisions

...

Code Block
http:{url}:{port}/decision/v1/ POST


domain=onap.policy.monitoring.cdap.tca.hi.lo.app






Pam Notes
1. PolicyId -> appending .* inside PolicyName to get any version, getConfig
2. PolicyFilter -> copy/paste of the getConfig API. Generates JSON. Had to replicate the matching of the filters
3. 

every property is stringified - must "know" which need to be parsed.






https://gerrit.onap.org/r/gitweb?p=dcaegen2/platform/policy-handler.git;a=blob;f=policyhandler/policy_rest.py;h=85dd914d5969529d28c2d365e392abe4ac174cf0;hb=HEAD

from ALEXANDER V SHATOV to Everyone:

https://gerrit.onap.org/r/gitweb?p=dcaegen2/platform/policy-handler.git;a=blob;f=policyhandler/policy_receiver.py;h=249c1f742ec19eaba46051344506d312c345ae73;hb=HEAD