aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/event/champ-vertex-event.json
diff options
context:
space:
mode:
authorSotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>2018-07-10 17:57:43 +0100
committerSotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>2018-07-10 17:57:43 +0100
commitd5322dbd0fa1e32d543b24824a28d6bf0a0b5497 (patch)
tree3fd9c7c2ce924395346601490e96327e47928afc /src/test/resources/event/champ-vertex-event.json
parent600ca7e0b82c6932caa4f4ffb53e6c053525d9d5 (diff)
Increase code coverage
Add tests to increase code coverage above 60 percent. Issue-ID: AAI-1198 Change-Id: I4c2f964ce41d01521cc1313e32e34fb6460d49bf Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
Diffstat (limited to 'src/test/resources/event/champ-vertex-event.json')
-rw-r--r--src/test/resources/event/champ-vertex-event.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/test/resources/event/champ-vertex-event.json b/src/test/resources/event/champ-vertex-event.json
new file mode 100644
index 0000000..815780f
--- /dev/null
+++ b/src/test/resources/event/champ-vertex-event.json
@@ -0,0 +1,25 @@
+{
+ "header": {
+ "request-id": "5cf7f973-c406-4507-ad71-72d7b3d26c36",
+ "timestamp": "20180316T092301Z",
+ "source-name": "CHAMP",
+ "event-type": "update-result",
+ "validation-entity-type": "pserver"
+ },
+ "body": {
+ "operation": "CREATE",
+ "transaction-id": "6544a144-0c56-4f71-81d8-a6170efbb296",
+ "timestamp": 1521192181065,
+ "vertex": {
+ "key": "890c8b3f-892f-48e3-85cd-748ebf0426a5",
+ "schema-version": "v13",
+ "type": "pserver",
+ "properties": {
+ "hostname":"hostname1",
+ "number-of-cpus":8
+ }
+ },
+ "result": "SUCCESS"
+ },
+ "policyViolations": []
+} \ No newline at end of file