Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Background:

...

  • Dmaap, create the following topic in dmaap:

curl --header "Content-type: application/json" --request POST --data '{"topicName": "DCAE_CL_RSP"}' http://<DMAAP_IP>:3904/events/DCAE_CL_RSP

curl --header "Content-type: application/json" --request POST --data '{"topicName": "unauthenticated.SEC_FAULT_OUTPUT"}' http://<DMAAP_IP>:3904/events/unauthenticated.SEC_FAULT_OUTPUT

curl --header "Content-type: application/json" --request POST --data '{"topicName": "unauthenticated.VES_MEASUREMENT_OUTPUT"}' http://<DMAAP_IP>:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT

curl --header "Content-type: application/json" --request POST --data '{"topicName": "unauthenticated.DCAE_CL_OUTPUT"}' http://<DMAAP_IP>:3904/events/unauthenticated.DCAE_CL_OUTPUT

...

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
namemodifycll.json
height250


Deploy policy:

curl -k -silent -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.0/pdps/policies" -H "Accept:application/json" -H "Content-Type:application/json" -d @modifycll@push_modifycll.json

View file
namepush_modifycll.json
height250

Main components:

AAI, DCAE, Dmaap, Policy, SDNC, SO, UUI

...