Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add webconfig for dmaap/rapp rest client
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
dmaap
/
DmaapRequestMessage.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapRequestMessage.java
b/policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapRequestMessage.java
index
d7faa74
..
c2d0d4c
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapRequestMessage.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapRequestMessage.java
@@
-20,6
+20,10
@@
package org.oransc.policyagent.dmaap;
package org.oransc.policyagent.dmaap;
+import com.google.gson.JsonObject;
+
+import java.util.Optional;
+
import org.immutables.gson.Gson;
import org.immutables.value.Value;
import org.immutables.gson.Gson;
import org.immutables.value.Value;
@@
-31,8
+35,6
@@
public interface DmaapRequestMessage {
PUT, GET, DELETE, POST
}
PUT, GET, DELETE, POST
}
- String type();
-
String correlationId();
String target();
String correlationId();
String target();
@@
-49,5
+51,5
@@
public interface DmaapRequestMessage {
String url();
String url();
-
String
payload();
+
Optional<JsonObject>
payload();
}
}