aboutsummaryrefslogtreecommitdiffstats
path: root/examples/examples-myfirstpolicy/src/main/resources/examples/config/MyFirstPolicy/4/MyFirstPolicyConfigFile2StdoutJsonEvent.json
diff options
context:
space:
mode:
authorwaynedunican <wayne.dunican@est.tech>2023-06-09 09:56:49 +0100
committerLiam Fallon <liam.fallon@est.tech>2023-06-15 14:41:14 +0000
commit4e0f76b5746ac333907a1415b135ffee89f21fa4 (patch)
treebb2cd3b43bfa59e7f549ddd165a318de2cc38a54 /examples/examples-myfirstpolicy/src/main/resources/examples/config/MyFirstPolicy/4/MyFirstPolicyConfigFile2StdoutJsonEvent.json
parentab917840ef7dca6d4127add0beb274924bbc17bd (diff)
Add AVRO example for MyFirstPolicylondon
- Avro example added for MFP - Documentation review to follow - Avro schemaTypes created individally in .avsc files Issue-ID: POLICY-4691 Change-Id: I6be22763eeac9251d75b80f67052ba4ae7274f75 Signed-off-by: waynedunican <wayne.dunican@est.tech> (cherry picked from commit 6b9adb56fe3af31b06a5d5a218d016e0d8780121)
Diffstat (limited to 'examples/examples-myfirstpolicy/src/main/resources/examples/config/MyFirstPolicy/4/MyFirstPolicyConfigFile2StdoutJsonEvent.json')
-rw-r--r--examples/examples-myfirstpolicy/src/main/resources/examples/config/MyFirstPolicy/4/MyFirstPolicyConfigFile2StdoutJsonEvent.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/examples/examples-myfirstpolicy/src/main/resources/examples/config/MyFirstPolicy/4/MyFirstPolicyConfigFile2StdoutJsonEvent.json b/examples/examples-myfirstpolicy/src/main/resources/examples/config/MyFirstPolicy/4/MyFirstPolicyConfigFile2StdoutJsonEvent.json
new file mode 100644
index 000000000..0a1731c54
--- /dev/null
+++ b/examples/examples-myfirstpolicy/src/main/resources/examples/config/MyFirstPolicy/4/MyFirstPolicyConfigFile2StdoutJsonEvent.json
@@ -0,0 +1,45 @@
+{
+ "engineServiceParameters": {
+ "name": "MyFirstPolicyApexEngine",
+ "version": "0.0.1",
+ "id": 103,
+ "instanceCount": 4,
+ "deploymentPort": 12345,
+ "engineParameters": {
+ "executorParameters": {
+ "MVEL": {
+ "parameterClassName": "org.onap.policy.apex.plugins.executor.mvel.MvelExecutorParameters"
+ },
+ "JAVASCRIPT": {
+ "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
+ }
+ }
+ }
+ },
+ "eventOutputParameters": {
+ "FirstProducer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE",
+ "parameters": {
+ "standardIo": true
+ }
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ }
+ }
+ },
+ "eventInputParameters": {
+ "FirstConsumer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE",
+ "parameters": {
+ "fileName": "examples/events/MyFirstPolicy/3/EventsIn.json.txt"
+ }
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ }
+ }
+ }
+}