2 # ============LICENSE_START=======================================================
 
   3 # archetype-closed-loop-demo-rules
 
   4 # ================================================================================
 
   5 # Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
 
   6 # ================================================================================
 
   7 # Licensed under the Apache License, Version 2.0 (the "License");
 
   8 # you may not use this file except in compliance with the License.
 
   9 # You may obtain a copy of the License at
 
  11 #      http://www.apache.org/licenses/LICENSE-2.0
 
  13 # Unless required by applicable law or agreed to in writing, software
 
  14 # distributed under the License is distributed on an "AS IS" BASIS,
 
  15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
  16 # See the License for the specific language governing permissions and
 
  17 # limitations under the License.
 
  18 # ============LICENSE_END=========================================================
 
  21 controller.name=${artifactId}
 
  23 dmaap.source.topics=${dcaeTopic},APPC-CL,APPC-LCM-WRITE,SDNR-CL-RSP
 
  25 dmaap.source.topics.${dcaeTopic}.servers=${dcaeServers}
 
  26 dmaap.source.topics.${dcaeTopic}.apiKey=
 
  27 dmaap.source.topics.${dcaeTopic}.apiSecret=
 
  28 dmaap.source.topics.${dcaeTopic}.events=org.onap.policy.controlloop.VirtualControlLoopEvent
 
  29 dmaap.source.topics.${dcaeTopic}.events.org.onap.policy.controlloop.VirtualControlLoopEvent.filter=[?($.closedLoopEventStatus =~ /.*/)]
 
  30 dmaap.source.topics.${dcaeTopic}.events.custom.gson=org.onap.policy.controlloop.util.Serialization,gson
 
  31 dmaap.source.topics.${dcaeTopic}.https=true
 
  33 dmaap.source.topics.APPC-CL.servers=${dmaapServers}
 
  34 dmaap.source.topics.APPC-CL.apiKey=
 
  35 dmaap.source.topics.APPC-CL.apiSecret=
 
  36 dmaap.source.topics.APPC-CL.events=org.onap.policy.appc.Response
 
  37 dmaap.source.topics.APPC-CL.events.org.onap.policy.appc.Response.filter=[?($.CommonHeader =~ /.*/ && $.Status =~ /.*/)]
 
  38 dmaap.source.topics.APPC-CL.events.custom.gson=org.onap.policy.appc.util.Serialization,gsonPretty
 
  39 dmaap.source.topics.APPC-CL.https=true
 
  41 dmaap.source.topics.APPC-LCM-WRITE.servers=${dmaapServers}
 
  42 dmaap.source.topics.APPC-LCM-WRITE.apiKey=
 
  43 dmaap.source.topics.APPC-LCM-WRITE.apiSecret=
 
  44 dmaap.source.topics.APPC-LCM-WRITE.events=org.onap.policy.appclcm.LcmResponseWrapper
 
  45 dmaap.source.topics.APPC-LCM-WRITE.events.org.onap.policy.appclcm.LcmResponseWrapper.filter=[?($.type == 'response')]
 
  46 dmaap.source.topics.APPC-LCM-WRITE.events.custom.gson=org.onap.policy.appclcm.util.Serialization,gson
 
  47 dmaap.source.topics.APPC-LCM-WRITE.https=true
 
  49 dmaap.source.topics.SDNR-CL-RSP.servers=${dmaapServers}
 
  50 dmaap.source.topics.SDNR-CL-RSP.apiKey=
 
  51 dmaap.source.topics.SDNR-CL-RSP.apiSecret=
 
  52 dmaap.source.topics.SDNR-CL-RSP.events=org.onap.policy.sdnr.PciResponseWrapper
 
  53 dmaap.source.topics.SDNR-CL-RSP.events.org.onap.policy.sdnr.PciResponseWrapper.filter=[?($.type == 'response')]
 
  54 dmaap.source.topics.SDNR-CL-RSP.events.custom.gson=org.onap.policy.sdnr.util.Serialization,gson
 
  55 dmaap.source.topics.SDNR-CL-RSP.https=true
 
  57 noop.sink.topics=APPC-CL,APPC-LCM-READ,POLICY-CL-MGT,SDNR-CL
 
  59 noop.sink.topics.APPC-CL.servers=${dmaapServers}
 
  60 noop.sink.topics.APPC-CL.apiKey=
 
  61 noop.sink.topics.APPC-CL.apiSecret=
 
  62 noop.sink.topics.APPC-CL.events=org.onap.policy.appc.Request
 
  63 noop.sink.topics.APPC-CL.events.custom.gson=org.onap.policy.appc.util.Serialization,gsonPretty
 
  65 noop.sink.topics.APPC-LCM-READ.servers=${dmaapServers}
 
  66 noop.sink.topics.APPC-LCM-READ.apiKey=
 
  67 noop.sink.topics.APPC-LCM-READ.apiSecret=
 
  68 noop.sink.topics.APPC-LCM-READ.events=org.onap.policy.appclcm.LcmRequestWrapper
 
  69 noop.sink.topics.APPC-LCM-READ.events.custom.gson=org.onap.policy.appclcm.util.Serialization,gson
 
  71 noop.sink.topics.POLICY-CL-MGT.servers=${dmaapServers}
 
  72 noop.sink.topics.POLICY-CL-MGT.apiKey=
 
  73 noop.sink.topics.POLICY-CL-MGT.apiSecret=
 
  74 noop.sink.topics.POLICY-CL-MGT.events=org.onap.policy.controlloop.VirtualControlLoopNotification
 
  75 noop.sink.topics.POLICY-CL-MGT.events.custom.gson=org.onap.policy.controlloop.util.Serialization,gsonPretty
 
  77 noop.sink.topics.SDNR-CL.servers=${dmaapServers}
 
  78 noop.sink.topics.SDNR-CL.apiKey=
 
  79 noop.sink.topics.SDNR-CL.apiSecret=
 
  80 noop.sink.topics.SDNR-CL.events=org.onap.policy.sdnr.PciRequestWrapper
 
  81 noop.sink.topics.SDNR-CL.events.custom.gson=org.onap.policy.sdnr.util.Serialization,gson
 
  83 rules.groupId=${groupId}
 
  84 rules.artifactId=${artifactId}
 
  85 rules.version=${version}