Table of Contents |
---|
...
|
4. curl the topic on Message Router to retrieve kpi event:
curl -k https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.DCAE_KPI_OUTPUT/c1/g1
...
View filename kpipolicyinstance.json height 250
View filename kpipolicytype.json height 250
View filename deploykpipolicy.json height 250
name | kpipolicyinstance.json |
---|---|
height | 250 |
name | kpipolicytype.json |
---|---|
height | 250 |
name | deploykpipolicy.json |
---|---|
height | 250 |
Earlier the kpi policy was given in the "application_config.yaml" file in the app-config folder as "kpi.policy" . Now for migrating the kpi policy to the policies module we are creating the new policy-type and the policy-instance and deploy the kpi policy. Then changes in the values.yaml file to fetch the policy with the "policy-id" with the help of policy sidecar container.
Changes in values.yaml:
dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
policies:
policyID: |
'["com.Config_KPIMS_CONFIG_POLICY"]'