aboutsummaryrefslogtreecommitdiffstats
path: root/appc-event-listener/appc-event-listener-bundle
diff options
context:
space:
mode:
authorPatrick Brady <patrick.brady@att.com>2018-10-30 15:15:21 -0700
committerPatrick Brady <patrick.brady@att.com>2018-10-30 23:20:09 -0700
commit01167176ce6f6c663055f77ee01cb18793aa8ea5 (patch)
treef1bac28d147d525397578e46c9401012b231b6cd /appc-event-listener/appc-event-listener-bundle
parent1477a9e18b1660ce7cad6645c0884e806ca168c9 (diff)
Fix capitalization difference in json format
The "r" was not capitalized in SubrequestID, but the message policy is sending does have a capital "r". Change-Id: I4a0c11278ea7d81c2fc0fe5a16696d0fd7d48df6 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1224
Diffstat (limited to 'appc-event-listener/appc-event-listener-bundle')
-rw-r--r--appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/model/CommonMessage.java2
-rw-r--r--appc-event-listener/appc-event-listener-bundle/src/test/resources/IncomingMessagedemo.txt2
-rw-r--r--appc-event-listener/appc-event-listener-bundle/src/test/resources/OutgoingMessagedemo.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/model/CommonMessage.java b/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/model/CommonMessage.java
index 6accc91d8..ae32828ac 100644
--- a/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/model/CommonMessage.java
+++ b/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/model/CommonMessage.java
@@ -155,7 +155,7 @@ public class CommonMessage implements Serializable {
/*
* The Subrequest Id of the message
*/
- @JsonProperty("SubrequestID")
+ @JsonProperty("SubRequestID")
private String subRequestId;
/**
diff --git a/appc-event-listener/appc-event-listener-bundle/src/test/resources/IncomingMessagedemo.txt b/appc-event-listener/appc-event-listener-bundle/src/test/resources/IncomingMessagedemo.txt
index 667cfae8c..bd56e003d 100644
--- a/appc-event-listener/appc-event-listener-bundle/src/test/resources/IncomingMessagedemo.txt
+++ b/appc-event-listener/appc-event-listener-bundle/src/test/resources/IncomingMessagedemo.txt
@@ -4,7 +4,7 @@
"APIver": "1.01",
"OriginatorID": "policy.pdp01",
"RequestID": "b74d13c5-bb26-4b04-992c-4679dfc8280e",
- "SubrequestID": "1"
+ "SubRequestID": "1"
},
"Action": "RESTART",
"Payload": {
diff --git a/appc-event-listener/appc-event-listener-bundle/src/test/resources/OutgoingMessagedemo.txt b/appc-event-listener/appc-event-listener-bundle/src/test/resources/OutgoingMessagedemo.txt
index 898eb622e..af79c5aad 100644
--- a/appc-event-listener/appc-event-listener-bundle/src/test/resources/OutgoingMessagedemo.txt
+++ b/appc-event-listener/appc-event-listener-bundle/src/test/resources/OutgoingMessagedemo.txt
@@ -4,7 +4,7 @@
"APIver": "1.01",
"OriginatorID": "policy.pdp01",
"RequestID": "b74d13c5-bb26-4b04-992c-4679dfc8280e",
- "SubrequestID": "1"
+ "SubRequestID": "1"
},
"Status": {
"Code": 100,