diff options
author | 2018-01-04 11:35:51 -0500 | |
---|---|---|
committer | 2018-01-04 11:53:36 -0500 | |
commit | 62a8864f8972fd23878baf344d198c8dd942f654 (patch) | |
tree | 7262c5c9f467f98fd28fbd8ff304697dd11cd0e9 /src/main/java/org/onap/crud/event | |
parent | d86d24d971c5b8f696ace97b2244669a331342b1 (diff) |
Support for bulk API in async mode
Allow bulk request processing in Gizmo's async mode
Change-Id: I2aa86aaee9534e7a84bd360e97513ac5077485f2
Issue-ID: AAI-482
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
Diffstat (limited to 'src/main/java/org/onap/crud/event')
-rw-r--r-- | src/main/java/org/onap/crud/event/GraphEvent.java | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/main/java/org/onap/crud/event/GraphEvent.java b/src/main/java/org/onap/crud/event/GraphEvent.java index b841389..3cfcd8e 100644 --- a/src/main/java/org/onap/crud/event/GraphEvent.java +++ b/src/main/java/org/onap/crud/event/GraphEvent.java @@ -45,6 +45,9 @@ public class GraphEvent { @SerializedName("transaction-id") private String transactionId; + + @SerializedName("database-transaction-id") + private String dbTransactionId; private long timestamp; @@ -76,6 +79,14 @@ public class GraphEvent { public String getTransactionId() { return transactionId; } + + public String getDbTransactionId() { + return dbTransactionId; + } + + public void setDbTransactionId(String id) { + dbTransactionId = id; + } public long getTimestamp() { return timestamp; @@ -173,9 +184,8 @@ public class GraphEvent { } else if (this.getEdge() != null) { return this.getEdge().getId(); } - + return null; - } public String getObjectType() { @@ -186,7 +196,6 @@ public class GraphEvent { } return null; - } public static class Builder { |