Policy - CDS integration for PNF is tested using drools-pdp.
For testing purposes, a PNF simulator is used. Also a CBA blueprint file used in a PM use case is modified and uploaded to CDS, so that Drools-PDP can make the required request to CDS.
Steps happening in the flow:
- Drools-PDP read the ONSET event from unauthenticated.DCAE_CL_OUTPUT DMaaP topic
- Based out of the event, a request is made to CDS using the CDS Actor by Drools-PDP, where the action is "create-subscription"
- CDS then does it's job, like fetching the PNF details from AAI etc and finally the new subscription is added to the PNF.
- Drools-PDP receives corresponding response from CDS, the results are logged as well to POLICY-CL-MGT topic.