summaryrefslogtreecommitdiffstats
path: root/services/services-engine/src/test/resources/parameters/badParams.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/services-engine/src/test/resources/parameters/badParams.json')
-rw-r--r--services/services-engine/src/test/resources/parameters/badParams.json67
1 files changed, 42 insertions, 25 deletions
diff --git a/services/services-engine/src/test/resources/parameters/badParams.json b/services/services-engine/src/test/resources/parameters/badParams.json
index c3b96c7ba..33aaed4f3 100644
--- a/services/services-engine/src/test/resources/parameters/badParams.json
+++ b/services/services-engine/src/test/resources/parameters/badParams.json
@@ -1,31 +1,48 @@
{
- "engineServiceParameters": {
- "name": "hello there",
- "version": "PA1",
- "id": -45,
- "instanceCount": -345,
- "deploymentPort": 65536,
- "policyModelFileName": "/some/file/name.xml"
- },
- "eventOutputParameters": {
- "FirstProducer": {
- "carrierTechnologyParameters": {
- "carrierTechnology": "FILE"
+ "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": "hello there",
+ "version": "PA1",
+ "id": -45,
+ "instanceCount": -345,
+ "deploymentPort": 65536,
+ "policy_type_impl": {
+ "apexPolicyModel": {}
+ }
},
- "eventProtocolParameters": {
- "eventProtocol": "JSON"
- }
- }
- },
- "eventInputParameters": {
- "TheFileConsumer1": {
- "carrierTechnologyParameters": {
- "carrierTechnology": "FILE"
+ "eventOutputParameters": {
+ "FirstProducer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE"
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ }
+ }
},
- "eventProtocolParameters": {
- "eventProtocol": "SUPER_TOK_DEL",
- "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperTokenDelimitedEventProtocolParameters"
+ "eventInputParameters": {
+ "TheFileConsumer1": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE"
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "SUPER_TOK_DEL",
+ "parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperTokenDelimitedEventProtocolParameters"
+ }
+ }
}
+ }
}
- }
+ }
+ ]
+ }
} \ No newline at end of file