Versions Compared

Key

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

...

Policy Lifecycle API - Creating Monitoring Policies

While designing a control loop using CLAMP, a Control Loop Designer will use the Model Schema for a specific DCAE mS component Policy Model and create a specific Policy.


Code Block
http:{url}:{port}/api/v1/domainsmodels?domainmodel=onap.policy.monitoring.cdap.tca.hi.lo.app&id=dublin.tca PUT


Using the payload in the previous code code specified exactly to the desired values.






Return payload:


PolicyId: UniqueId_1
PolicyVersion: 1




Should be able to GET


http:{url}:{port}/api/v1/domains/onap.policy.monitoring.cdap.tca.hi.lo.app/dublin.tca?PolicyId=UniqueId_1&PolicyVersion=1







...