Hello,every one

In the VFW use case policy test process

Now that our policy environment is restored, Policy has received the 
notification of the onset event. The next processing flow is broken. According 
to the document, you should go to AAI query, but the policy-drools-0 log 
network.log does not exist. What should I do next?

in pod of the policy-drools-0,i has execed this commonds , plz help me what's 
the problem?:

> 
> > telemetry
> > https://localhost:9696/policy/pdp/engine>  cd controllers
> 

> 
> > https://localhost:9696/policy/pdp/engine/controllers> get
> HTTP/1.1 200 OK
> Content-Length: 24
> Content-Type: application/json
> Date: Thu, 07 May 2020 09:04:59 GMT
> Server: Jetty(9.4.20.v20190813)
> [
> "amsterdam",
> "usecases"
> 

> 
> ]
> > https://localhost:9696/policy/pdp/engine/controllers> cd usecases
> > https://localhost:9696/policy/pdp/engine/controllers/usecases> cd
> drools/facts
> >
> https://localhost:9696/policy/pdp/engine/controllers/usecases/drools/facts>
> get
> HTTP/1.1 200 OK
> Content-Length: 14
> Content-Type: application/json
> Date: Thu, 07 May 2020 09:05:27 GMT
> Server: Jetty(9.4.20.v20190813)
> 
> {
> "usecases": 2
> }
> 
> the pod is policy-drools-0 ,log :/var/log/onap/policy/pdpd/network.log,
> the log alse recieve the info:
> 
> 
>> [2020-05-07T09:31:12.912+00:00|DMAAP-source-DCAE_TOPIC][IN|DMAAP|DCAE_TOPIC]
>> 
>> {"closedLoopEventClient":"DCAE_INSTANCE_ID.dcae-tca","policyVersion":"v0.0.1","policyName":"DCAE.Config_tca-hi-lo","policyScope":"DCAE","target_type":"VM","AAI":{"vserver.vserver-name":"zdfw1fwl01fwl01"},"closedLoopAlarmStart":1588872485274816,"closedLoopEventStatus":"ONSET","closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","target":"vserver.vserver-name","requestID":"c6ab5acf-f410-4af1-9afc-9248d8fe914a","from":"DCAE"}
>> 
>> [2020-05-07T09:31:12.912+00:00|DMAAP-source-DCAE_TOPIC][IN|DMAAP|DCAE_TOPIC]
>> 
>> {"closedLoopEventClient":"DCAE_INSTANCE_ID.dcae-tca","policyVersion":"v0.0.1","policyName":"DCAE.Config_tca-hi-lo","policyScope":"DCAE","target_type":"VM","AAI":{"vserver.vserver-name":"zdfw1fwl01fwl01"},"closedLoopAlarmStart":1588872495307328,"closedLoopEventStatus":"ONSET","closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","target":"vserver.vserver-name","requestID":"4b72bb26-03cb-4230-9efe-fa27a043c29d","from":"DCAE"}
>> 
>> 
> 
> 
> 

i tried inject appc dmaap event,but it failed:

>http --verify=no -a "[email protected]:demo123456!" PUT 
>https://localhost:9696/policy/pdp/engine/topics/sources/noop/APPC-CL/switches/activation

> http --verify=no -a "[email protected]:demo123456!" PUT 
> https://localhost:9696/policy/pdp/engine/topics/sources/noop/APPC-CL/events 
> @appc.legacy.success.json Content-Type:'text/plain'

cat appc.legacy.success.json
{
  "CommonHeader" : {
    "TimeStamp" : 1506051879001 ,
    "APIver" : "1.01" ,
    "RequestID" : "c7c6a4aa-bb61-4a15-b831-ba1472dd4a65" ,
    "SubRequestID" : "1" ,
    "RequestTrack" : [] ,
    "Flags" : []
  } ,
  "Status" : {
    "Code" : 400 ,
    "Value" : "SUCCESS"
  } ,
  "Payload" : {
    "streams" : {
      "active-streams" : 5.0
    } ,
    "generic-vnf.vnf-id" : "7da01f3d-1e1f-374f-b049-f6385fe8d067"
  }
}

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

View/Reply Online (#20989): https://lists.onap.org/g/onap-discuss/message/20989
Mute This Topic: https://lists.onap.org/mt/74046974/21656
Mute #dmaap: https://lists.onap.org/mk?hashtag=dmaap&subid=2740164
Mute #elalto: https://lists.onap.org/mk?hashtag=elalto&subid=2740164
Mute #vfw: https://lists.onap.org/mk?hashtag=vfw&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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to