aboutsummaryrefslogtreecommitdiffstats
path: root/examples/examples-periodic/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-periodic/src/main/resources')
-rw-r--r--examples/examples-periodic/src/main/resources/examples/config/Periodic/ApexConfigPeriodic.json58
1 files changed, 58 insertions, 0 deletions
diff --git a/examples/examples-periodic/src/main/resources/examples/config/Periodic/ApexConfigPeriodic.json b/examples/examples-periodic/src/main/resources/examples/config/Periodic/ApexConfigPeriodic.json
new file mode 100644
index 000000000..a4c94779b
--- /dev/null
+++ b/examples/examples-periodic/src/main/resources/examples/config/Periodic/ApexConfigPeriodic.json
@@ -0,0 +1,58 @@
+{
+ "engineServiceParameters": {
+ "name": "MyApexEngine",
+ "version": "0.0.1",
+ "id": 45,
+ "instanceCount": 4,
+ "deploymentPort": 12561,
+ "policyModelFileName": "examples/models/Periodic/PeriodicPolicyModel.json",
+ "periodicEventPeriod": 1000,
+ "engineParameters": {
+ "executorParameters": {
+ "JAVASCRIPT": {
+ "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
+ }
+ }
+ }
+ },
+ "eventInputParameters": {
+ "EventRequestorConsumer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "EVENT_REQUESTOR"
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "APEX"
+ },
+ "eventNameFilter": "InputEvent",
+ "requestorMode": true,
+ "requestorPeer": "EventRequestorProducer",
+ "requestorTimeout": 500
+ }
+ },
+ "eventOutputParameters": {
+ "EventRequestorProducer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "EVENT_REQUESTOR"
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "APEX"
+ },
+ "eventNameFilter": "EventListEvent",
+ "requestorMode": true,
+ "requestorPeer": "EventRequestorConsumer",
+ "requestorTimeout": 500
+ },
+ "logProducer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE",
+ "parameters": {
+ "fileName": "/tmp/PeriodicEventsOut.json"
+ }
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ },
+ "eventNameFilter": "OutputEvent"
+ }
+ }
+}