summaryrefslogtreecommitdiffstats
path: root/services/services-engine/src/test/resources/parameters/superDooperParams.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/services-engine/src/test/resources/parameters/superDooperParams.json')
-rw-r--r--services/services-engine/src/test/resources/parameters/superDooperParams.json82
1 files changed, 50 insertions, 32 deletions
diff --git a/services/services-engine/src/test/resources/parameters/superDooperParams.json b/services/services-engine/src/test/resources/parameters/superDooperParams.json
index 75820ebaf..ff06f4688 100644
--- a/services/services-engine/src/test/resources/parameters/superDooperParams.json
+++ b/services/services-engine/src/test/resources/parameters/superDooperParams.json
@@ -1,17 +1,30 @@
{
- "engineServiceParameters": {
- "name": "MyApexEngine",
- "version": "0.0.1",
- "id": 45,
- "instanceCount": 345,
- "deploymentPort": 65522
- },
- "eventOutputParameters": {
- "FirstProducer": {
- "carrierTechnologyParameters": {
- "carrierTechnology": "SUPER_DOOPER",
- "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperDooperCarrierTechnologyParameters",
- "parameters": {
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "topology_template": {
+ "policies": [
+ {
+ "onap.policies.apex.Simplecontrolloop": {
+ "type": "onap.policies.native.Apex",
+ "type_version": "1.0.0",
+ "name": "onap.policies.apex.Simplecontrolloop",
+ "version": "1.0.0",
+ "properties": {
+ "engineServiceParameters": {
+ "name": "MyApexEngine",
+ "version": "0.0.1",
+ "id": 45,
+ "instanceCount": 345,
+ "deploymentPort": 65522,
+ "policy_type_impl": {
+ "apexPolicyModel": {}
+ }
+ },
+ "eventOutputParameters": {
+ "FirstProducer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "SUPER_DOOPER",
+ "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperDooperCarrierTechnologyParameters",
+ "parameters": {
"bootstrapServers": "somehost:12345",
"acks": 0,
"retries": 25,
@@ -25,31 +38,36 @@
"producerTopic": "producer-out",
"consumerPollTime": 101,
"consumerTopicList": [
- "consumer-out-0",
- "consumer-out-1",
- "consumer-out-2"
+ "consumer-out-0",
+ "consumer-out-1",
+ "consumer-out-2"
],
"keySerializer": "some.key.serailizer",
"valueSerializer": "some.value.serailizer",
"keyDeserializer": "some.key.deserailizer",
"valueDeserializer": "some.value.deserailizer"
+ }
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "SUPER_TOK_DEL",
+ "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperTokenDelimitedEventProtocolParameters"
}
+ }
},
- "eventProtocolParameters": {
- "eventProtocol": "SUPER_TOK_DEL",
- "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperTokenDelimitedEventProtocolParameters"
- }
- }
- },
- "eventInputParameters": {
- "MySuperDooperConsumer1": {
- "carrierTechnologyParameters": {
- "carrierTechnology": "SUPER_DOOPER",
- "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperDooperCarrierTechnologyParameters"
- },
- "eventProtocolParameters": {
- "eventProtocol": "JSON"
+ "eventInputParameters": {
+ "MySuperDooperConsumer1": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "SUPER_DOOPER",
+ "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperDooperCarrierTechnologyParameters"
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ }
+ }
}
+ }
}
- }
-}
+ }
+ ]
+ }
+} \ No newline at end of file