aboutsummaryrefslogtreecommitdiffstats
path: root/policy-management/src/test/resources
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-02-10 16:20:35 -0600
committerjhh <jorge.hernandez-herrero@att.com>2021-02-11 19:21:40 -0600
commitef4198b40ee5108cf8c549c09a0a04b09e3f959a (patch)
tree3250ab0d9c327dacefc39551544e4113386d2908 /policy-management/src/test/resources
parentc3c83896d877602ead85c32215761b3d3555facb (diff)
support transaction reports in engine
Issue-ID: POLICY-3033 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id1f02c86be491d5145e74725f76953e294e2975c Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'policy-management/src/test/resources')
-rw-r--r--policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineManagerTest.json14
-rw-r--r--policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestAdd.json15
-rw-r--r--policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestConfig.json15
3 files changed, 41 insertions, 3 deletions
diff --git a/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineManagerTest.json b/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineManagerTest.json
index db50e53c..d2d2075e 100644
--- a/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineManagerTest.json
+++ b/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineManagerTest.json
@@ -20,5 +20,17 @@
"sources": [
{ "name": "source1-topic" },
{ "name": "source2-topic" }
- ]
+ ],
+ "stats": {
+ "groupStat": {
+ "averageExecutionTime":0.0,
+ "birthTime": 0,
+ "lastExecutionTime":0,
+ "lastStart":0,
+ "policyExecutedCount":0,
+ "policyExecutedFailCount":0,
+ "policyExecutedSuccessCount":0,
+ "totalElapsedTime": 0.0
+ },"subgroupStats":{}
+ }
}
diff --git a/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestAdd.json b/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestAdd.json
index 7a247d32..cbd696da 100644
--- a/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestAdd.json
+++ b/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestAdd.json
@@ -16,5 +16,18 @@
"features": [],
"controllers": [
"foo"
- ]
+ ],
+ "stats": {
+ "groupStat": {
+ "averageExecutionTime": 0.0,
+ "birthTime": 0,
+ "lastExecutionTime": 0,
+ "lastStart": 0,
+ "policyExecutedCount": 0,
+ "policyExecutedFailCount": 0,
+ "policyExecutedSuccessCount": 0,
+ "totalElapsedTime": 0.0
+ },
+ "subgroupStats": {}
+ }
}
diff --git a/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestConfig.json b/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestConfig.json
index 7f06f5a0..68c52da4 100644
--- a/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestConfig.json
+++ b/policy-management/src/test/resources/org/onap/policy/drools/system/PolicyEngineTestConfig.json
@@ -14,5 +14,18 @@
}
],
"features": [],
- "controllers": []
+ "controllers": [],
+ "stats": {
+ "groupStat": {
+ "averageExecutionTime": 0.0,
+ "birthTime": 0,
+ "lastExecutionTime": 0,
+ "lastStart": 0,
+ "policyExecutedCount": 0,
+ "policyExecutedFailCount": 0,
+ "policyExecutedSuccessCount": 0,
+ "totalElapsedTime": 0.0
+ },
+ "subgroupStats": {}
+ }
}