Hi,
On Dublin, I am trying to update the PDP drools by posting the following
payload on the POLICY_PDP_PAP dmaap topic,
*{*
*"policies": [*
*{*
*"type": "onap.policies.controlloop.Operational",*
*"type_version": "1.0.0",*
*"properties": {*
*"content":
"controlLoop%3A%0A++++version%3A+2.0.0%0A++++controlLoopName%3A+ControlLoop-vFirewall-135835e3-eed7-497a-83ab-8c315f37fa4a%0A++++trigger_policy%3A+unique-policy-id-1-modifyConfig%0A++++timeout%3A+1200%0A++++abatement%3A+false%0Apolicies%3A%0A++++-+id%3A+unique-policy-id-1-modifyConfig%0A++++++name%3A+modify_packet_gen_config%0A++++++description%3A%0A++++++actor%3A+APPC%0A++++++recipe%3A+ModifyConfig%0A++++++target%3A%0A++++++++++resourceID%3A+DUMMY_INVARIAN_ID%0A++++++++++type%3A+VNF%0A++++++payload%3A%0A++++++++++streams%3A+%27%7B%22active-streams%22%3A5%7D%27%0A++++++retry%3A+0%0A++++++timeout%3A+300%0A++++++success%3A+final_success%0A++++++failure%3A+final_failure%0A++++++failure_timeout%3A+final_failure_timeout%0A++++++failure_retries%3A+final_failure_retries%0A++++++failure_exception%3A+final_failure_exception%0A++++++failure_guard%3A+final_failure_guard%0A"*
*},*
*"name": "operational.modifyconfig",*
*"version": "1.0.0"*
*}*
*],*
*"messageName": "PDP_UPDATE",*
*"requestId": "a7a32d3b-37b4-4fb7-9322-b90c6a6fe365",*
*"timestampMs": 1567696105,*
*"name": "PDPDcl",*
*"pdpGroup": "defaultGroup",*
*"pdpSubgroup": "drools"*
*}
* In the drools log, it shows that *pdp-update from DMAAP:POLICY-PDP-PAP is
invalid,* which as per my understanding happens if the pdpgroup and subgroup
provided in the payload are not correct. I am fetching the group and subgroup
name from the /policy/pap/v1/pdps REST API.
Any help is appreciated.
Thanks
-Sandeep
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18833): https://lists.onap.org/g/onap-discuss/message/18833
Mute This Topic: https://lists.onap.org/mt/33155887/21656
Mute #dublin: https://lists.onap.org/mk?hashtag=dublin&subid=2740164
Mute #policy: https://lists.onap.org/mk?hashtag=policy&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-