summaryrefslogtreecommitdiffstats
path: root/services/services-engine/src/test/resources/parameters/syncGoodParamsBothTimeout.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/services-engine/src/test/resources/parameters/syncGoodParamsBothTimeout.json')
-rw-r--r--services/services-engine/src/test/resources/parameters/syncGoodParamsBothTimeout.json147
1 files changed, 82 insertions, 65 deletions
diff --git a/services/services-engine/src/test/resources/parameters/syncGoodParamsBothTimeout.json b/services/services-engine/src/test/resources/parameters/syncGoodParamsBothTimeout.json
index 1988b76bd..4d2ad3205 100644
--- a/services/services-engine/src/test/resources/parameters/syncGoodParamsBothTimeout.json
+++ b/services/services-engine/src/test/resources/parameters/syncGoodParamsBothTimeout.json
@@ -1,76 +1,93 @@
{
- "engineServiceParameters": {
- "name": "MyApexEngine",
- "version": "0.0.1",
- "id": 45,
- "instanceCount": 19,
- "deploymentPort": 65522,
- "policyModelFileName": "src/test/resources/policymodels/SmallModel.json",
- "engineParameters": {
- "executorParameters": {
- "JAVASCRIPT": {
+ "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": 19,
+ "deploymentPort": 65522,
+ "policy_type_impl": {
+ "apexPolicyModel": {}
+ },
+ "engineParameters": {
+ "executorParameters": {
+ "JAVASCRIPT": {
"parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperDooperExecutorParameters"
+ }
}
- }
- }
- },
- "eventOutputParameters": {
- "SyncProducer0": {
- "carrierTechnologyParameters": {
- "carrierTechnology": "FILE",
- "parameters": {
- "fileName": "target/aaa.json"
- }
- },
- "synchronousTimeout": 12345,
- "eventProtocolParameters": {
- "eventProtocol": "JSON"
+ }
},
- "synchronousMode": true,
- "synchronousPeer": "SyncConsumer0"
- },
- "SyncProducer1": {
- "synchronousTimeout": 1,
- "synchronousMode": true,
- "carrierTechnologyParameters": {
- "carrierTechnology": "FILE",
- "parameters": {
+ "eventOutputParameters": {
+ "SyncProducer0": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE",
+ "parameters": {
"fileName": "target/aaa.json"
- }
- },
- "eventProtocolParameters": {
- "eventProtocol": "JSON"
- },
- "synchronousPeer": "SyncConsumer1"
- }
- },
- "eventInputParameters": {
- "SyncConsumer0": {
- "eventProtocolParameters": {
- "eventProtocol": "JSON"
+ }
+ },
+ "synchronousTimeout": 12345,
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ },
+ "synchronousMode": true,
+ "synchronousPeer": "SyncConsumer0"
+ },
+ "SyncProducer1": {
+ "synchronousTimeout": 1,
+ "synchronousMode": true,
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE",
+ "parameters": {
+ "fileName": "target/aaa.json"
+ }
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ },
+ "synchronousPeer": "SyncConsumer1"
+ }
},
- "synchronousTimeout": 12345,
- "synchronousMode": true,
- "synchronousPeer": "SyncProducer0",
- "carrierTechnologyParameters": {
- "carrierTechnology": "FILE",
- "parameters": {
+ "eventInputParameters": {
+ "SyncConsumer0": {
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ },
+ "synchronousTimeout": 12345,
+ "synchronousMode": true,
+ "synchronousPeer": "SyncProducer0",
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE",
+ "parameters": {
"fileName": "target/bbb.json"
+ }
}
+ },
+ "SyncConsumer1": {
+ "synchronousPeer": "SyncProducer1",
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "SUPER_DOOPER",
+ "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperDooperCarrierTechnologyParameters"
+ },
+ "synchronousTimeout": 1,
+ "eventProtocolParameters": {
+ "eventProtocol": "SUPER_TOK_DEL",
+ "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperTokenDelimitedEventProtocolParameters"
+ },
+ "synchronousMode": true
+ }
}
- },
- "SyncConsumer1": {
- "synchronousPeer": "SyncProducer1",
- "carrierTechnologyParameters": {
- "carrierTechnology": "SUPER_DOOPER",
- "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperDooperCarrierTechnologyParameters"
- },
- "synchronousTimeout": 1,
- "eventProtocolParameters": {
- "eventProtocol": "SUPER_TOK_DEL",
- "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperTokenDelimitedEventProtocolParameters"
- },
- "synchronousMode": true
+ }
}
- }
+ }
+ ]
+ }
} \ No newline at end of file