diff options
author | 2018-11-08 20:06:03 +0000 | |
---|---|---|
committer | 2018-11-08 20:06:03 +0000 | |
commit | f5f76a2e0d8fb2fd6e17bb5f0e85a3f7d29cf0c4 (patch) | |
tree | 1370b6bad00367b6009f3dfb6a16a7008e4379e1 /testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2FileJsonEvent.json | |
parent | 8e6b49616df8e47a1c00629b20dcf947ea0bca68 (diff) | |
parent | cad452cdb6d999f822fe11dc4fdd232cce30ff6a (diff) |
Merge "Refactor unit test data" into casablanca3.0.0-ONAP2.0.3
Diffstat (limited to 'testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2FileJsonEvent.json')
-rw-r--r-- | testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2FileJsonEvent.json | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2FileJsonEvent.json b/testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2FileJsonEvent.json new file mode 100644 index 000000000..e72a6474a --- /dev/null +++ b/testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2FileJsonEvent.json @@ -0,0 +1,55 @@ +{ + "engineServiceParameters": { + "name": "MyApexEngine", + "version": "0.0.1", + "id": 45, + "instanceCount": 4, + "deploymentPort": 12345, + "policyModelFileName": "examples/models/SampleDomain/SamplePolicyModelJAVASCRIPT.xml", + "engineParameters": { + "executorParameters": { + "JAVASCRIPT": { + "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters" + } + } + } + }, + "eventOutputParameters": { + "FirstProducer": { + "carrierTechnologyParameters": { + "carrierTechnology": "FILE", + "parameters": { + "fileName": "examples/events/SampleDomain/EventsOut.json" + } + }, + "eventProtocolParameters": { + "eventProtocol": "JSON" + } + } + }, + "eventInputParameters": { + "FirstConsumer": { + "carrierTechnologyParameters": { + "carrierTechnology": "KAFKA", + "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters", + "parameters": { + "bootstrapServers": "localhost:49092", + "groupId": "apex-group-id", + "enableAutoCommit": true, + "autoCommitTime": 1000, + "sessionTimeout": 30000, + "consumerPollTime": 100, + "consumerTopicList": [ + "apex-in-0", + "apex-in-1" + ], + "keyDeserializer": "org.apache.kafka.common.serialization.StringDeserializer", + "valueDeserializer": "org.apache.kafka.common.serialization.StringDeserializer" + } + }, + "eventProtocolParameters": { + "eventProtocol": "JSON" + } + } + } +} |