Figured out that the name in the payload was wrong, it should have been the 
"instanceId"  of the pdp, which in my case is "dev-drools-0". Now I see the 
operational policy in the pdp usecases controller.
*get 
controllers/usecases/drools/facts/usecases/org.onap.policy.controlloop.params.ControlLoopParams*
*HTTP/1.1 200 OK*
*Content-Length: 1106*
*Content-Type: application/json*
*Date: Fri, 06 Sep 2019 07:04:57 GMT*
*Server: Jetty(9.4.14.v20181114)*

*[*
*{*
*"closedLoopControlName": 
"ControlLoop-vFirewall-135835e3-eed7-497a-83ab-8c315f37fa4a",*
*"controlLoopYaml": 
"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",*
*"policyName": "operational.modifyconfig",*
*"policyScope": "onap.policies.controlloop.Operational:1.0.0",*
*"policyVersion": "1.0.0"*
*}*
*]*

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18839): https://lists.onap.org/g/onap-discuss/message/18839
Mute This Topic: https://lists.onap.org/mt/33155887/21656
Mute #policy: https://lists.onap.org/mk?hashtag=policy&subid=2740164
Mute #dublin: https://lists.onap.org/mk?hashtag=dublin&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to