...
Change the default policy drool pdp engine status to Active:
Create policy
...
:
curl -k --silent -w %{http_code} -k -v --user 'policyadmin:zb!XztG34' -X POST "https://{policy-api}:6969/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies" -H "Content-TypeAccept:application/json" -H "AcceptContent-Type:application/json" -d @policy_type.json
...
@modifycll.json
View file | ||||
---|---|---|---|---|
|
Deploy policy:
curl -k --silent -k -w %{http_code} --user 'policyadmin:zb!XztG34' -X POST "https://{policy-apipap}:6969/policy/apipap/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0pdps/policies" -H "Accept:application/json" -H "Content-Type:application/json" -d @modifycll@push_modifycll.json
View file | ||||
---|---|---|---|---|
|
Main components:
AAI, DCAE, Dmaap, Policy, SDNC, SO, UUI