aboutsummaryrefslogtreecommitdiffstats
path: root/services/services-engine/src/test/resources/parameters/serviceContextBadClassPersistParams.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/services-engine/src/test/resources/parameters/serviceContextBadClassPersistParams.json')
-rw-r--r--services/services-engine/src/test/resources/parameters/serviceContextBadClassPersistParams.json49
1 files changed, 33 insertions, 16 deletions
diff --git a/services/services-engine/src/test/resources/parameters/serviceContextBadClassPersistParams.json b/services/services-engine/src/test/resources/parameters/serviceContextBadClassPersistParams.json
index 8c2331e32..239023aff 100644
--- a/services/services-engine/src/test/resources/parameters/serviceContextBadClassPersistParams.json
+++ b/services/services-engine/src/test/resources/parameters/serviceContextBadClassPersistParams.json
@@ -1,23 +1,40 @@
{
- "engineServiceParameters": {
- "name": "MyApexEngine",
- "version": "0.0.1",
- "id": 45,
- "instanceCount": 345,
- "deploymentPort": 65522,
- "policyModelFileName": "src/test/resources/policymodels/SmallModel.json",
- "engineParameters": {
- "contextParameters": {
- "parameterClassName": "org.onap.policy.apex.context.parameters.ContextParameters",
- "persistorParameters": {
+ "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": {}
+ },
+ "engineParameters": {
+ "contextParameters": {
+ "parameterClassName": "org.onap.policy.apex.context.parameters.ContextParameters",
+ "persistorParameters": {
"parameterClassName": "org.onap.policy.apex.context.parameters.ContextParameters"
- }
- },
- "executorParameters": {
- "JAVASCRIPT": {
+ }
+ },
+ "executorParameters": {
+ "JAVASCRIPT": {
"parameterClassName": "org.onap.policy.apex.service.engine.parameters.dummyclasses.SuperDooperExecutorParameters"
+ }
}
+ }
}
+ }
}
- }
+ }
+ ]
+ }
} \ No newline at end of file