commit | 5af913104ec412086deab4d599359751246e4ba3 | [log] [tgz] |
---|---|---|
author | Rashmi Pujar <rashmi.pujar@bell.ca> | Mon Sep 30 12:12:07 2019 -0400 |
committer | Rashmi Pujar <rashmi.pujar@bell.ca> | Tue Oct 01 12:01:14 2019 +0000 |
tree | 436e10c0bb6e02aa354ffaf93714069309e2e611 | |
parent | f70ddacbd97e34ad0d1373466367115982a251db [diff] |
Update CDS grpc request generation in CDS Actor service provider - CDS payload requires resolution-key (random UUID) - Update the CDS request object to rename the payload child node key name from config-deploy-properties to policy-payload. - Generate dynamic childnode key name from the policy recipe-name aka CDS action-name. action-name itself is never included in serialization as is. Below is a sample: { "commonHeader": { "subRequestId": "$subReqId", "requestId": "$reqId", "originatorId": "POLICY" }, "actionIdentifiers": { "mode": "sync", "blueprintName": "$bpName", "blueprintVersion": "$bpVer", "actionName": "$recipeName" }, "payload": { "$recipeName-request": { "resolution-key": "{{$guid}}", "aai-properties": { "$key": "$value", ... }, "policy-payload": { "$clamp-payload" } } } } Issue-ID: POLICY-2120 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ia7f0551f94755bbe73b48ae387b4c53842729a81
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy Model code that is agnostic to any PDP. It is common amongst all the repositories.
To build it using Maven 3, run: mvn clean install