Versions Compared

Key

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

...

Table of Contents
outlinetrue
stylenone

...

Intentions and requirements

  1. make API on PAP/PDP to use the consistent structures on all operations
  2. simplify the usage of PAP/PDP API
  3. for transition period of about 1 year both the old and the new APIs to be maintained by PAP/PDP
  4. CLAMP to use only the new API of PAP in Dublin R4
  5. DCAE-Controller is requested to use both the new and the old APIs of PDP for the transition period to avoid breaking the existing components

...

...

PDP API change that impacts DCAE-Controller

  1. Design of the new API on PAP/PDP is in progress
  2. Only a subset of the new PAP/PDP API is designed and is in the draft status.
  3. The new API changes the following aspects (everything)
    1. url
    2. request structures are totally redesigned.  New field names, new placements, many fields are removed, no obvious mapping between the old and the new fields. 
    3. response structures are totally redesigned.  New field names, new placements, many fields are removed, no obvious mapping between the old and the new fields. 
    4. the structure of the policy config that contains the actual policy is changed to match the policy-model. 

The impact to DCAE-Controller is MAJOR and the PDP API design is far from being usable

...

replacement of (POST /getConfig) with the new Policy Decision API - Getting Policy Decisions (POST /decision/v1/) for a single policy_id

...

It seems that all the chain of platform components (policy-handler, deployment-handler, policy-plugin, onap-dcae-dcaepolicy-lib) in DCAE-Controller will have to be heavily changed to accommodate the new node types and use the new PDP API along with the old PDP API. 

Besides, each service component will have to be changed as well to consume the new policy structures.

...

Open issues

  1. It is not clear on whether and how the web-socket API is changing
    1. the web-socket API contains the policyName, policyVersion, as well as the matchingConditions used for matching to the policy-filters
    2. it is not clear how the policy-update notification can be matched to the new PDP API

...